Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow uploads to S3 bucket for model #727

Merged
merged 8 commits into from
Sep 11, 2023
Merged

Conversation

a3957273
Copy link
Member

@a3957273 a3957273 commented Sep 9, 2023

No description provided.

size: { type: Number, required: true },
mime: { type: String, required: true },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this by typed? Perhaps https://www.npmjs.com/package/@types/mime-types?

Happy to leave it as a string, though.

@@ -28,7 +28,6 @@ export const getFiles = [
modelId: 'example-model',

name: 'example-file',
category: FileCategory.Other,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the mime property here too?

@a3957273 a3957273 merged commit 037ab67 into main Sep 11, 2023
@a3957273 a3957273 deleted the feature/simple-post-upload branch September 11, 2023 23:32
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.

2 participants