@ourofoundation/ouro-js 3.6.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-6GPIZJ4T.cjs → chunk-57RRLX7P.cjs} +2 -2
- package/dist/{chunk-6GPIZJ4T.cjs.map → chunk-57RRLX7P.cjs.map} +1 -1
- package/dist/chunk-5EQ5LO7V.cjs +2 -0
- package/dist/chunk-5EQ5LO7V.cjs.map +1 -0
- package/dist/chunk-7EKD5NQB.js +2 -0
- package/dist/{chunk-IWOXGKK4.js.map → chunk-7EKD5NQB.js.map} +1 -1
- package/dist/{chunk-YKA3RUTN.cjs → chunk-AI2FA44G.cjs} +2 -2
- package/dist/{chunk-YKA3RUTN.cjs.map → chunk-AI2FA44G.cjs.map} +1 -1
- package/dist/chunk-DY5QSBE4.js +2 -0
- package/dist/{chunk-NGN2PI7X.js.map → chunk-DY5QSBE4.js.map} +1 -1
- package/dist/{chunk-DBEBXFQI.cjs → chunk-HW6FGPTA.cjs} +2 -2
- package/dist/{chunk-DBEBXFQI.cjs.map → chunk-HW6FGPTA.cjs.map} +1 -1
- package/dist/{chunk-G3VMEPTP.js → chunk-ITF5WQQB.js} +2 -2
- package/dist/{chunk-G3VMEPTP.js.map → chunk-ITF5WQQB.js.map} +1 -1
- package/dist/{chunk-IBRRR3T2.cjs → chunk-IVO3RQUN.cjs} +2 -2
- package/dist/{chunk-IBRRR3T2.cjs.map → chunk-IVO3RQUN.cjs.map} +1 -1
- package/dist/chunk-JUELSRCY.js +2 -0
- package/dist/{chunk-4UE3XIYR.js.map → chunk-JUELSRCY.js.map} +1 -1
- package/dist/chunk-KHERHT26.cjs +2 -0
- package/dist/chunk-KHERHT26.cjs.map +1 -0
- package/dist/{chunk-F5CWCYOP.cjs → chunk-NTWSEN2H.cjs} +2 -2
- package/dist/{chunk-F5CWCYOP.cjs.map → chunk-NTWSEN2H.cjs.map} +1 -1
- package/dist/chunk-OU4JKY4M.js +2 -0
- package/dist/chunk-OU4JKY4M.js.map +1 -0
- package/dist/chunk-QBL6KIST.js +2 -0
- package/dist/{chunk-WNYOQITO.js.map → chunk-QBL6KIST.js.map} +1 -1
- package/dist/{chunk-6ZJQTECB.cjs → chunk-QNERXSMJ.cjs} +2 -2
- package/dist/{chunk-6ZJQTECB.cjs.map → chunk-QNERXSMJ.cjs.map} +1 -1
- package/dist/chunk-QSOXS57A.cjs +2 -0
- package/dist/chunk-QSOXS57A.cjs.map +1 -0
- package/dist/chunk-RD6EPK44.js +2 -0
- package/dist/{chunk-KCVE35IO.js.map → chunk-RD6EPK44.js.map} +1 -1
- package/dist/{chunk-FRMPLGE4.cjs → chunk-SY5IKIT6.cjs} +2 -2
- package/dist/{chunk-FRMPLGE4.cjs.map → chunk-SY5IKIT6.cjs.map} +1 -1
- package/dist/chunk-TGOXRPF5.js +2 -0
- package/dist/chunk-TGOXRPF5.js.map +1 -0
- package/dist/{chunk-TYOQ32UV.js → chunk-TMNFNVTZ.js} +2 -2
- package/dist/{chunk-TYOQ32UV.js.map → chunk-TMNFNVTZ.js.map} +1 -1
- package/dist/chunk-ZC2VDKSH.js +2 -0
- package/dist/chunk-ZC2VDKSH.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +175 -45
- package/dist/schema/assets.d.ts +175 -45
- package/dist/schema/assets.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +95 -27
- package/dist/schema/comments.d.ts +95 -27
- package/dist/schema/comments.js +1 -1
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +163 -47
- package/dist/schema/conversations.d.ts +163 -47
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +230 -66
- package/dist/schema/datasets.d.ts +230 -66
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +230 -66
- package/dist/schema/files.d.ts +230 -66
- package/dist/schema/files.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +250 -74
- package/dist/schema/posts.d.ts +250 -74
- package/dist/schema/posts.js +1 -1
- package/dist/schema/quests.cjs +1 -1
- package/dist/schema/quests.d.cts +163 -47
- package/dist/schema/quests.d.ts +163 -47
- package/dist/schema/quests.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +247 -71
- package/dist/schema/services.d.ts +247 -71
- package/dist/schema/services.js +1 -1
- package/dist/utils/files.cjs +2 -0
- package/dist/utils/files.cjs.map +1 -0
- package/dist/utils/files.d.cts +18 -0
- package/dist/utils/files.d.ts +18 -0
- package/dist/utils/files.js +2 -0
- package/dist/utils/files.js.map +1 -0
- package/dist/utils/quest-submission.cjs +1 -1
- package/dist/utils/quest-submission.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-4UE3XIYR.js +0 -2
- package/dist/chunk-IWOXGKK4.js +0 -2
- package/dist/chunk-KCVE35IO.js +0 -2
- package/dist/chunk-MLTO7TMM.js +0 -2
- package/dist/chunk-MLTO7TMM.js.map +0 -1
- package/dist/chunk-NGN2PI7X.js +0 -2
- package/dist/chunk-ROMY5WNQ.cjs +0 -2
- package/dist/chunk-ROMY5WNQ.cjs.map +0 -1
- package/dist/chunk-SR5UZ4NP.js +0 -2
- package/dist/chunk-SR5UZ4NP.js.map +0 -1
- package/dist/chunk-V73EW77Y.cjs +0 -2
- package/dist/chunk-V73EW77Y.cjs.map +0 -1
- package/dist/chunk-WNYOQITO.js +0 -2
package/dist/schema/files.d.ts
CHANGED
|
@@ -207,6 +207,35 @@ declare const FileSchema: z.ZodObject<{
|
|
|
207
207
|
stripe_product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
208
208
|
stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
209
209
|
stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
210
|
+
attribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
211
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
212
|
+
original: "original";
|
|
213
|
+
derivative: "derivative";
|
|
214
|
+
"third-party": "third-party";
|
|
215
|
+
}>>>;
|
|
216
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
217
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
220
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
221
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
222
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
223
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
224
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
225
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
226
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
227
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
228
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
229
|
+
}, z.core.$strip>>>;
|
|
230
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
231
|
+
IsSupplementTo: "IsSupplementTo";
|
|
232
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
233
|
+
References: "References";
|
|
234
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
235
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
236
|
+
}>>>;
|
|
237
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
238
|
+
}, z.core.$strip>>>;
|
|
210
239
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
211
240
|
state: z.ZodEnum<{
|
|
212
241
|
success: "success";
|
|
@@ -236,15 +265,6 @@ declare const FileSchema: z.ZodObject<{
|
|
|
236
265
|
size: z.ZodNumber;
|
|
237
266
|
width: z.ZodOptional<z.ZodNumber>;
|
|
238
267
|
height: z.ZodOptional<z.ZodNumber>;
|
|
239
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
240
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
241
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
242
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
243
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
244
|
-
original: "original";
|
|
245
|
-
derivative: "derivative";
|
|
246
|
-
"third-party": "third-party";
|
|
247
|
-
}>>;
|
|
248
268
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
249
269
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
250
270
|
}, z.core.$strip>;
|
|
@@ -276,6 +296,35 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
276
296
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
277
297
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
278
298
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
299
|
+
attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
300
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
301
|
+
original: "original";
|
|
302
|
+
derivative: "derivative";
|
|
303
|
+
"third-party": "third-party";
|
|
304
|
+
}>>>;
|
|
305
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
306
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
307
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
308
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
309
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
310
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
311
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
312
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
313
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
314
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
315
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
316
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
317
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
318
|
+
}, z.core.$strip>>>;
|
|
319
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
320
|
+
IsSupplementTo: "IsSupplementTo";
|
|
321
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
322
|
+
References: "References";
|
|
323
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
324
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
325
|
+
}>>>;
|
|
326
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
327
|
+
}, z.core.$strip>>>>;
|
|
279
328
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
280
329
|
id: z.ZodDefault<z.ZodUUID>;
|
|
281
330
|
team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -310,15 +359,6 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
310
359
|
size: z.ZodNumber;
|
|
311
360
|
width: z.ZodOptional<z.ZodNumber>;
|
|
312
361
|
height: z.ZodOptional<z.ZodNumber>;
|
|
313
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
314
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
315
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
316
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
317
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
318
|
-
original: "original";
|
|
319
|
-
derivative: "derivative";
|
|
320
|
-
"third-party": "third-party";
|
|
321
|
-
}>>;
|
|
322
362
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
323
363
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
324
364
|
}, z.core.$strip>;
|
|
@@ -349,6 +389,35 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
349
389
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
350
390
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
351
391
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
392
|
+
attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
393
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
394
|
+
original: "original";
|
|
395
|
+
derivative: "derivative";
|
|
396
|
+
"third-party": "third-party";
|
|
397
|
+
}>>>;
|
|
398
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
399
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
400
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
401
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
402
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
403
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
404
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
405
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
406
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
407
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
408
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
409
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
410
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
411
|
+
}, z.core.$strip>>>;
|
|
412
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
413
|
+
IsSupplementTo: "IsSupplementTo";
|
|
414
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
415
|
+
References: "References";
|
|
416
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
417
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
418
|
+
}>>>;
|
|
419
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
420
|
+
}, z.core.$strip>>>>;
|
|
352
421
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
353
422
|
id: z.ZodDefault<z.ZodUUID>;
|
|
354
423
|
team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -372,15 +441,6 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
372
441
|
state: z.ZodDefault<z.ZodLiteral<"in-progress">>;
|
|
373
442
|
metadata: z.ZodObject<{
|
|
374
443
|
type: z.ZodString;
|
|
375
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
376
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
377
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
378
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
379
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
380
|
-
original: "original";
|
|
381
|
-
derivative: "derivative";
|
|
382
|
-
"third-party": "third-party";
|
|
383
|
-
}>>;
|
|
384
444
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
385
445
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
386
446
|
}, z.core.$strip>;
|
|
@@ -405,11 +465,6 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
405
465
|
size: number;
|
|
406
466
|
width?: number | undefined;
|
|
407
467
|
height?: number | undefined;
|
|
408
|
-
doi_url?: string | null | undefined;
|
|
409
|
-
external_url?: string | null | undefined;
|
|
410
|
-
paper_url?: string | null | undefined;
|
|
411
|
-
github_url?: string | null | undefined;
|
|
412
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
413
468
|
source?: string | null | undefined;
|
|
414
469
|
reply_to_comment_id?: string | null | undefined;
|
|
415
470
|
};
|
|
@@ -429,6 +484,25 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
429
484
|
stripe_product_id?: string | null | undefined;
|
|
430
485
|
stripe_price_id?: string | null | undefined;
|
|
431
486
|
stripe_meter_id?: string | null | undefined;
|
|
487
|
+
attribution?: {
|
|
488
|
+
originality: "original" | "derivative" | "third-party";
|
|
489
|
+
external_url?: string | null | undefined;
|
|
490
|
+
github_url?: string | null | undefined;
|
|
491
|
+
paper_url?: string | null | undefined;
|
|
492
|
+
doi_url?: string | null | undefined;
|
|
493
|
+
citation?: {
|
|
494
|
+
doi?: string | null | undefined;
|
|
495
|
+
title?: string | null | undefined;
|
|
496
|
+
authors?: string[] | null | undefined;
|
|
497
|
+
year?: number | null | undefined;
|
|
498
|
+
venue?: string | null | undefined;
|
|
499
|
+
url?: string | null | undefined;
|
|
500
|
+
bibtex?: string | null | undefined;
|
|
501
|
+
source?: string | null | undefined;
|
|
502
|
+
} | null | undefined;
|
|
503
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
504
|
+
doi?: string | null | undefined;
|
|
505
|
+
} | null | undefined;
|
|
432
506
|
preview?: Record<string, any>[] | null | undefined;
|
|
433
507
|
name_url_slug?: string | null | undefined;
|
|
434
508
|
} | {
|
|
@@ -444,11 +518,6 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
444
518
|
state: "in-progress";
|
|
445
519
|
metadata: {
|
|
446
520
|
type: string;
|
|
447
|
-
doi_url?: string | null | undefined;
|
|
448
|
-
external_url?: string | null | undefined;
|
|
449
|
-
paper_url?: string | null | undefined;
|
|
450
|
-
github_url?: string | null | undefined;
|
|
451
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
452
521
|
source?: string | null | undefined;
|
|
453
522
|
reply_to_comment_id?: string | null | undefined;
|
|
454
523
|
};
|
|
@@ -468,6 +537,25 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
468
537
|
stripe_product_id?: string | null | undefined;
|
|
469
538
|
stripe_price_id?: string | null | undefined;
|
|
470
539
|
stripe_meter_id?: string | null | undefined;
|
|
540
|
+
attribution?: {
|
|
541
|
+
originality: "original" | "derivative" | "third-party";
|
|
542
|
+
external_url?: string | null | undefined;
|
|
543
|
+
github_url?: string | null | undefined;
|
|
544
|
+
paper_url?: string | null | undefined;
|
|
545
|
+
doi_url?: string | null | undefined;
|
|
546
|
+
citation?: {
|
|
547
|
+
doi?: string | null | undefined;
|
|
548
|
+
title?: string | null | undefined;
|
|
549
|
+
authors?: string[] | null | undefined;
|
|
550
|
+
year?: number | null | undefined;
|
|
551
|
+
venue?: string | null | undefined;
|
|
552
|
+
url?: string | null | undefined;
|
|
553
|
+
bibtex?: string | null | undefined;
|
|
554
|
+
source?: string | null | undefined;
|
|
555
|
+
} | null | undefined;
|
|
556
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
557
|
+
doi?: string | null | undefined;
|
|
558
|
+
} | null | undefined;
|
|
471
559
|
preview?: Record<string, any>[] | null | undefined;
|
|
472
560
|
name_url_slug?: string | null | undefined;
|
|
473
561
|
}, {
|
|
@@ -491,11 +579,6 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
491
579
|
size: number;
|
|
492
580
|
width?: number | undefined;
|
|
493
581
|
height?: number | undefined;
|
|
494
|
-
doi_url?: string | null | undefined;
|
|
495
|
-
external_url?: string | null | undefined;
|
|
496
|
-
paper_url?: string | null | undefined;
|
|
497
|
-
github_url?: string | null | undefined;
|
|
498
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
499
582
|
source?: string | null | undefined;
|
|
500
583
|
reply_to_comment_id?: string | null | undefined;
|
|
501
584
|
};
|
|
@@ -515,6 +598,25 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
515
598
|
stripe_product_id?: string | null | undefined;
|
|
516
599
|
stripe_price_id?: string | null | undefined;
|
|
517
600
|
stripe_meter_id?: string | null | undefined;
|
|
601
|
+
attribution?: {
|
|
602
|
+
originality: "original" | "derivative" | "third-party";
|
|
603
|
+
external_url?: string | null | undefined;
|
|
604
|
+
github_url?: string | null | undefined;
|
|
605
|
+
paper_url?: string | null | undefined;
|
|
606
|
+
doi_url?: string | null | undefined;
|
|
607
|
+
citation?: {
|
|
608
|
+
doi?: string | null | undefined;
|
|
609
|
+
title?: string | null | undefined;
|
|
610
|
+
authors?: string[] | null | undefined;
|
|
611
|
+
year?: number | null | undefined;
|
|
612
|
+
venue?: string | null | undefined;
|
|
613
|
+
url?: string | null | undefined;
|
|
614
|
+
bibtex?: string | null | undefined;
|
|
615
|
+
source?: string | null | undefined;
|
|
616
|
+
} | null | undefined;
|
|
617
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
618
|
+
doi?: string | null | undefined;
|
|
619
|
+
} | null | undefined;
|
|
518
620
|
preview?: Record<string, any>[] | null | undefined;
|
|
519
621
|
name_url_slug?: string | null | undefined;
|
|
520
622
|
} | {
|
|
@@ -530,11 +632,6 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
530
632
|
state: "in-progress";
|
|
531
633
|
metadata: {
|
|
532
634
|
type: string;
|
|
533
|
-
doi_url?: string | null | undefined;
|
|
534
|
-
external_url?: string | null | undefined;
|
|
535
|
-
paper_url?: string | null | undefined;
|
|
536
|
-
github_url?: string | null | undefined;
|
|
537
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
538
635
|
source?: string | null | undefined;
|
|
539
636
|
reply_to_comment_id?: string | null | undefined;
|
|
540
637
|
};
|
|
@@ -554,6 +651,25 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
554
651
|
stripe_product_id?: string | null | undefined;
|
|
555
652
|
stripe_price_id?: string | null | undefined;
|
|
556
653
|
stripe_meter_id?: string | null | undefined;
|
|
654
|
+
attribution?: {
|
|
655
|
+
originality: "original" | "derivative" | "third-party";
|
|
656
|
+
external_url?: string | null | undefined;
|
|
657
|
+
github_url?: string | null | undefined;
|
|
658
|
+
paper_url?: string | null | undefined;
|
|
659
|
+
doi_url?: string | null | undefined;
|
|
660
|
+
citation?: {
|
|
661
|
+
doi?: string | null | undefined;
|
|
662
|
+
title?: string | null | undefined;
|
|
663
|
+
authors?: string[] | null | undefined;
|
|
664
|
+
year?: number | null | undefined;
|
|
665
|
+
venue?: string | null | undefined;
|
|
666
|
+
url?: string | null | undefined;
|
|
667
|
+
bibtex?: string | null | undefined;
|
|
668
|
+
source?: string | null | undefined;
|
|
669
|
+
} | null | undefined;
|
|
670
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
671
|
+
doi?: string | null | undefined;
|
|
672
|
+
} | null | undefined;
|
|
557
673
|
preview?: Record<string, any>[] | null | undefined;
|
|
558
674
|
name_url_slug?: string | null | undefined;
|
|
559
675
|
}>>;
|
|
@@ -574,15 +690,6 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
574
690
|
size: z.ZodNumber;
|
|
575
691
|
width: z.ZodOptional<z.ZodNumber>;
|
|
576
692
|
height: z.ZodOptional<z.ZodNumber>;
|
|
577
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
578
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
579
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
580
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
581
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
582
|
-
original: "original";
|
|
583
|
-
derivative: "derivative";
|
|
584
|
-
"third-party": "third-party";
|
|
585
|
-
}>>;
|
|
586
693
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
587
694
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
588
695
|
}, z.core.$strip>>;
|
|
@@ -633,6 +740,35 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
633
740
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
634
741
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
635
742
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
743
|
+
attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
744
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
745
|
+
original: "original";
|
|
746
|
+
derivative: "derivative";
|
|
747
|
+
"third-party": "third-party";
|
|
748
|
+
}>>>;
|
|
749
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
750
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
751
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
752
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
753
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
754
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
755
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
756
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
757
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
758
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
759
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
760
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
761
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
762
|
+
}, z.core.$strip>>>;
|
|
763
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
764
|
+
IsSupplementTo: "IsSupplementTo";
|
|
765
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
766
|
+
References: "References";
|
|
767
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
768
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
769
|
+
}>>>;
|
|
770
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
771
|
+
}, z.core.$strip>>>>;
|
|
636
772
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
637
773
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
638
774
|
}, z.core.$strip>, z.ZodTransform<{
|
|
@@ -650,11 +786,6 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
650
786
|
size: number;
|
|
651
787
|
width?: number | undefined;
|
|
652
788
|
height?: number | undefined;
|
|
653
|
-
doi_url?: string | null | undefined;
|
|
654
|
-
external_url?: string | null | undefined;
|
|
655
|
-
paper_url?: string | null | undefined;
|
|
656
|
-
github_url?: string | null | undefined;
|
|
657
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
658
789
|
source?: string | null | undefined;
|
|
659
790
|
reply_to_comment_id?: string | null | undefined;
|
|
660
791
|
} | undefined;
|
|
@@ -680,6 +811,25 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
680
811
|
stripe_product_id?: string | null | undefined;
|
|
681
812
|
stripe_price_id?: string | null | undefined;
|
|
682
813
|
stripe_meter_id?: string | null | undefined;
|
|
814
|
+
attribution?: {
|
|
815
|
+
originality: "original" | "derivative" | "third-party";
|
|
816
|
+
external_url?: string | null | undefined;
|
|
817
|
+
github_url?: string | null | undefined;
|
|
818
|
+
paper_url?: string | null | undefined;
|
|
819
|
+
doi_url?: string | null | undefined;
|
|
820
|
+
citation?: {
|
|
821
|
+
doi?: string | null | undefined;
|
|
822
|
+
title?: string | null | undefined;
|
|
823
|
+
authors?: string[] | null | undefined;
|
|
824
|
+
year?: number | null | undefined;
|
|
825
|
+
venue?: string | null | undefined;
|
|
826
|
+
url?: string | null | undefined;
|
|
827
|
+
bibtex?: string | null | undefined;
|
|
828
|
+
source?: string | null | undefined;
|
|
829
|
+
} | null | undefined;
|
|
830
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
831
|
+
doi?: string | null | undefined;
|
|
832
|
+
} | null | undefined;
|
|
683
833
|
preview?: Record<string, any>[] | null | undefined;
|
|
684
834
|
}, {
|
|
685
835
|
last_updated: string;
|
|
@@ -696,11 +846,6 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
696
846
|
size: number;
|
|
697
847
|
width?: number | undefined;
|
|
698
848
|
height?: number | undefined;
|
|
699
|
-
doi_url?: string | null | undefined;
|
|
700
|
-
external_url?: string | null | undefined;
|
|
701
|
-
paper_url?: string | null | undefined;
|
|
702
|
-
github_url?: string | null | undefined;
|
|
703
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
704
849
|
source?: string | null | undefined;
|
|
705
850
|
reply_to_comment_id?: string | null | undefined;
|
|
706
851
|
} | undefined;
|
|
@@ -726,6 +871,25 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
726
871
|
stripe_product_id?: string | null | undefined;
|
|
727
872
|
stripe_price_id?: string | null | undefined;
|
|
728
873
|
stripe_meter_id?: string | null | undefined;
|
|
874
|
+
attribution?: {
|
|
875
|
+
originality: "original" | "derivative" | "third-party";
|
|
876
|
+
external_url?: string | null | undefined;
|
|
877
|
+
github_url?: string | null | undefined;
|
|
878
|
+
paper_url?: string | null | undefined;
|
|
879
|
+
doi_url?: string | null | undefined;
|
|
880
|
+
citation?: {
|
|
881
|
+
doi?: string | null | undefined;
|
|
882
|
+
title?: string | null | undefined;
|
|
883
|
+
authors?: string[] | null | undefined;
|
|
884
|
+
year?: number | null | undefined;
|
|
885
|
+
venue?: string | null | undefined;
|
|
886
|
+
url?: string | null | undefined;
|
|
887
|
+
bibtex?: string | null | undefined;
|
|
888
|
+
source?: string | null | undefined;
|
|
889
|
+
} | null | undefined;
|
|
890
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
891
|
+
doi?: string | null | undefined;
|
|
892
|
+
} | null | undefined;
|
|
729
893
|
preview?: Record<string, any>[] | null | undefined;
|
|
730
894
|
}>>;
|
|
731
895
|
|
package/dist/schema/files.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as CreateFileSchema,a as FileSchema,c as updateFileSchema}from'../chunk-
|
|
1
|
+
export{b as CreateFileSchema,a as FileSchema,c as updateFileSchema}from'../chunk-RD6EPK44.js';import'../chunk-TGOXRPF5.js';import'../chunk-CF56NFUG.js';import'../chunk-WLGOABHV.js';import'../chunk-3N56ERWF.js';import'../chunk-WRHPQNEL.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=files.js.map
|
|
2
2
|
//# sourceMappingURL=files.js.map
|
package/dist/schema/posts.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkNTWSEN2H_cjs=require('../chunk-NTWSEN2H.cjs');require('../chunk-5EQ5LO7V.cjs'),require('../chunk-UY43EQTO.cjs'),require('../chunk-VOY623ZD.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-43KB23BA.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"ContentSchema",{enumerable:true,get:function(){return chunkNTWSEN2H_cjs.b}});Object.defineProperty(exports,"CreatePostSchema",{enumerable:true,get:function(){return chunkNTWSEN2H_cjs.d}});Object.defineProperty(exports,"ListPostsSchema",{enumerable:true,get:function(){return chunkNTWSEN2H_cjs.g}});Object.defineProperty(exports,"PostSchema",{enumerable:true,get:function(){return chunkNTWSEN2H_cjs.c}});Object.defineProperty(exports,"ReadPostSchema",{enumerable:true,get:function(){return chunkNTWSEN2H_cjs.e}});Object.defineProperty(exports,"ReadPostsSchema",{enumerable:true,get:function(){return chunkNTWSEN2H_cjs.f}});Object.defineProperty(exports,"TipTapSchema",{enumerable:true,get:function(){return chunkNTWSEN2H_cjs.a}});Object.defineProperty(exports,"UpdatePostSchema",{enumerable:true,get:function(){return chunkNTWSEN2H_cjs.h}});//# sourceMappingURL=posts.cjs.map
|
|
2
2
|
//# sourceMappingURL=posts.cjs.map
|