-
Notifications
You must be signed in to change notification settings - Fork 15
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
Mock V2 Endpoints #635
Mock V2 Endpoints #635
Conversation
backend/src/routes.ts
Outdated
server.delete('/api/v2/model/:modelId/releases/:semver', ...deleteRelease) | ||
|
||
server.get('/api/v2/model/:modelId/files', ...getModelFiles) | ||
server.post('/api/v2/model/:modelId/files/upload/simple', ...postSimpleUpload) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this endpoint?
|
||
interface DeleteReleaseResponse { | ||
data: { | ||
success: boolean |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to a message on success
|
||
inactive: false, | ||
hidden: false, | ||
use: 'deployment', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to kind
|
||
export const getMyTeamsSchema = z.object({}) | ||
|
||
interface PatchTeamResponse { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy & paste error
No description provided.