Skip to content

Commit 3c9e1d4

Browse files
committed
checkpoint
1 parent d18aa9b commit 3c9e1d4

63 files changed

Lines changed: 2961 additions & 4677 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/modeling-commons-backend/client/rest.d.ts

Lines changed: 5 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -80,94 +80,6 @@ export interface paths {
8080
patch?: never;
8181
trace?: never;
8282
};
83-
"/api/v1/files/{id}": {
84-
parameters: {
85-
query?: never;
86-
header?: never;
87-
path?: never;
88-
cookie?: never;
89-
};
90-
get: {
91-
parameters: {
92-
query?: never;
93-
header?: never;
94-
path: {
95-
id: string;
96-
};
97-
cookie?: never;
98-
};
99-
requestBody?: never;
100-
responses: {
101-
/** @description Default Response */
102-
200: {
103-
headers: {
104-
[name: string]: unknown;
105-
};
106-
content: {
107-
"application/json": {
108-
/**
109-
* Format: uuid
110-
* @description Entity's id
111-
* @example 2cdc8ab1-6d50-49cc-ba14-54e4ac7ec231
112-
*/
113-
id: string;
114-
} & {
115-
filename: string;
116-
contentType: string;
117-
sizeBytes: number;
118-
/** Format: date-time */
119-
createdAt: string;
120-
downloadUrl: string;
121-
};
122-
};
123-
};
124-
};
125-
};
126-
put?: never;
127-
post?: never;
128-
delete?: never;
129-
options?: never;
130-
head?: never;
131-
patch?: never;
132-
trace?: never;
133-
};
134-
"/api/v1/files/{id}/download": {
135-
parameters: {
136-
query?: never;
137-
header?: never;
138-
path?: never;
139-
cookie?: never;
140-
};
141-
get: {
142-
parameters: {
143-
query?: {
144-
token?: string;
145-
};
146-
header?: never;
147-
path: {
148-
id: string;
149-
};
150-
cookie?: never;
151-
};
152-
requestBody?: never;
153-
responses: {
154-
/** @description Default Response */
155-
200: {
156-
headers: {
157-
[name: string]: unknown;
158-
};
159-
content?: never;
160-
};
161-
};
162-
};
163-
put?: never;
164-
post?: never;
165-
delete?: never;
166-
options?: never;
167-
head?: never;
168-
patch?: never;
169-
trace?: never;
170-
};
17183
"/api/v1/models": {
17284
parameters: {
17385
query?: never;
@@ -462,8 +374,7 @@ export interface paths {
462374
versionNumber: number;
463375
title: string;
464376
description: string | null;
465-
/** Format: uuid */
466-
nlogoxFileId: string;
377+
netlogoFileKey: string;
467378
netlogoVersion: string | null;
468379
infoTab: string | null;
469380
/** Format: date-time */
@@ -649,8 +560,7 @@ export interface paths {
649560
/** Format: uuid */
650561
modelId: string;
651562
taggedVersionNumber: number;
652-
/** Format: uuid */
653-
fileId: string;
563+
fileKey: string;
654564
filename: string;
655565
contentType: string;
656566
sizeBytes: number;
@@ -692,8 +602,7 @@ export interface paths {
692602
/** Format: uuid */
693603
modelId: string;
694604
taggedVersionNumber: number;
695-
/** Format: uuid */
696-
fileId: string;
605+
fileKey: string;
697606
filename: string;
698607
contentType: string;
699608
sizeBytes: number;
@@ -1180,8 +1089,7 @@ export interface paths {
11801089
versionNumber: number;
11811090
title: string;
11821091
description: string | null;
1183-
/** Format: uuid */
1184-
nlogoxFileId: string;
1092+
netlogoFileKey: string;
11851093
netlogoVersion: string | null;
11861094
infoTab: string | null;
11871095
/** Format: date-time */
@@ -1304,8 +1212,7 @@ export interface paths {
13041212
versionNumber: number;
13051213
title: string;
13061214
description: string | null;
1307-
/** Format: uuid */
1308-
nlogoxFileId: string;
1215+
netlogoFileKey: string;
13091216
netlogoVersion: string | null;
13101217
infoTab: string | null;
13111218
/** Format: date-time */

apps/modeling-commons-backend/generated/prisma/edge.js

Lines changed: 8 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/modeling-commons-backend/generated/prisma/index-browser.js

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ exports.Prisma.ModelVersionScalarFieldEnum = {
208208
title: 'title',
209209
description: 'description',
210210
previewImage: 'previewImage',
211-
nlogoxFileId: 'nlogoxFileId',
211+
netlogoFileKey: 'netlogoFileKey',
212212
netlogoVersion: 'netlogoVersion',
213213
infoTab: 'infoTab',
214214
createdAt: 'createdAt',
@@ -219,7 +219,7 @@ exports.Prisma.ModelVersionFileScalarFieldEnum = {
219219
id: 'id',
220220
modelId: 'modelId',
221221
versionNumber: 'versionNumber',
222-
fileId: 'fileId'
222+
fileKey: 'fileKey'
223223
};
224224

225225
exports.Prisma.ModelVersionTagScalarFieldEnum = {
@@ -229,26 +229,18 @@ exports.Prisma.ModelVersionTagScalarFieldEnum = {
229229
createdAt: 'createdAt'
230230
};
231231

232-
exports.Prisma.FileScalarFieldEnum = {
233-
id: 'id',
234-
filename: 'filename',
235-
contentType: 'contentType',
236-
sizeBytes: 'sizeBytes',
237-
blob: 'blob',
238-
createdAt: 'createdAt'
239-
};
240-
241232
exports.Prisma.ModelAdditionalFileScalarFieldEnum = {
242233
id: 'id',
243234
modelId: 'modelId',
244235
taggedVersionNumber: 'taggedVersionNumber',
245-
fileId: 'fileId',
236+
fileKey: 'fileKey',
246237
createdAt: 'createdAt'
247238
};
248239

249240
exports.Prisma.TagScalarFieldEnum = {
250241
id: 'id',
251242
name: 'name',
243+
displayName: 'displayName',
252244
createdAt: 'createdAt'
253245
};
254246

@@ -342,7 +334,6 @@ exports.Prisma.ModelName = {
342334
ModelVersion: 'ModelVersion',
343335
ModelVersionFile: 'ModelVersionFile',
344336
ModelVersionTag: 'ModelVersionTag',
345-
File: 'File',
346337
ModelAdditionalFile: 'ModelAdditionalFile',
347338
Tag: 'Tag',
348339
ModelAuthor: 'ModelAuthor',

0 commit comments

Comments
 (0)