Skip to content

refactor: create api folder#95

Merged
sergioramos merged 3 commits into
mainfrom
separate-backend-calls-from-filesystem
Jun 7, 2023
Merged

refactor: create api folder#95
sergioramos merged 3 commits into
mainfrom
separate-backend-calls-from-filesystem

Conversation

@sehyod

@sehyod sehyod commented Jun 5, 2023

Copy link
Copy Markdown
Collaborator

Fixes #94

  • Move ingestion-related types and functions to an api folder.

  • For now the types.ts is written by hand but could be automatically generated in the future.

  • Exported functions of the api should always return data with internal types and not exposed the API types to the rest of the app

  • filesystem.tsx has also be renamed to filesystem.ts because it doesn't contain any JSX code.

@sehyod sehyod marked this pull request as ready for review June 5, 2023 15:48
@cguedes cguedes self-requested a review June 6, 2023 09:25
cguedes
cguedes previously approved these changes Jun 6, 2023
@sehyod sehyod requested a review from cguedes June 7, 2023 09:05
@sergioramos sergioramos merged commit fccdb87 into main Jun 7, 2023
@sergioramos sergioramos deleted the separate-backend-calls-from-filesystem branch June 7, 2023 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove API call from filesystem file

3 participants