@ourofoundation/ouro-js 3.6.0 → 3.7.1
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-2BABFO5H.js +2 -0
- package/dist/chunk-2BABFO5H.js.map +1 -0
- package/dist/{chunk-DBEBXFQI.cjs → chunk-2KXX5JF6.cjs} +2 -2
- package/dist/{chunk-DBEBXFQI.cjs.map → chunk-2KXX5JF6.cjs.map} +1 -1
- package/dist/chunk-G5V2WTN5.cjs +2 -0
- package/dist/chunk-G5V2WTN5.cjs.map +1 -0
- package/dist/{chunk-WNYOQITO.js → chunk-IL3WA4D7.js} +2 -2
- package/dist/{chunk-WNYOQITO.js.map → chunk-IL3WA4D7.js.map} +1 -1
- package/dist/chunk-KHERHT26.cjs +2 -0
- package/dist/chunk-KHERHT26.cjs.map +1 -0
- package/dist/{chunk-IWOXGKK4.js → chunk-LYP7DPZ3.js} +2 -2
- package/dist/{chunk-IWOXGKK4.js.map → chunk-LYP7DPZ3.js.map} +1 -1
- package/dist/chunk-N74Y47X7.js +2 -0
- package/dist/chunk-N74Y47X7.js.map +1 -0
- package/dist/{chunk-IBRRR3T2.cjs → chunk-O5CY3JW3.cjs} +2 -2
- package/dist/{chunk-IBRRR3T2.cjs.map → chunk-O5CY3JW3.cjs.map} +1 -1
- package/dist/chunk-OBXAWON7.js +2 -0
- package/dist/{chunk-4UE3XIYR.js.map → chunk-OBXAWON7.js.map} +1 -1
- package/dist/chunk-OU4JKY4M.js +2 -0
- package/dist/chunk-OU4JKY4M.js.map +1 -0
- package/dist/chunk-OWS6VJJ2.js +2 -0
- package/dist/{chunk-NGN2PI7X.js.map → chunk-OWS6VJJ2.js.map} +1 -1
- package/dist/{chunk-F5CWCYOP.cjs → chunk-PN763DHR.cjs} +2 -2
- package/dist/{chunk-F5CWCYOP.cjs.map → chunk-PN763DHR.cjs.map} +1 -1
- package/dist/chunk-PPZZKUF6.cjs +2 -0
- package/dist/chunk-PPZZKUF6.cjs.map +1 -0
- package/dist/chunk-QJG6O5OT.cjs +2 -0
- package/dist/chunk-QJG6O5OT.cjs.map +1 -0
- package/dist/chunk-R7YOQNVS.js +2 -0
- package/dist/chunk-R7YOQNVS.js.map +1 -0
- package/dist/{chunk-TYOQ32UV.js → chunk-S5VZHGMV.js} +2 -2
- package/dist/{chunk-TYOQ32UV.js.map → chunk-S5VZHGMV.js.map} +1 -1
- package/dist/{chunk-6ZJQTECB.cjs → chunk-VPYKCTVU.cjs} +2 -2
- package/dist/{chunk-6ZJQTECB.cjs.map → chunk-VPYKCTVU.cjs.map} +1 -1
- package/dist/{chunk-YKA3RUTN.cjs → chunk-Y6EN5F74.cjs} +2 -2
- package/dist/{chunk-YKA3RUTN.cjs.map → chunk-Y6EN5F74.cjs.map} +1 -1
- package/dist/{chunk-6GPIZJ4T.cjs → chunk-YCK6Y3BF.cjs} +2 -2
- package/dist/{chunk-6GPIZJ4T.cjs.map → chunk-YCK6Y3BF.cjs.map} +1 -1
- package/dist/chunk-YXVAFJZH.js +2 -0
- package/dist/{chunk-KCVE35IO.js.map → chunk-YXVAFJZH.js.map} +1 -1
- 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 +215 -46
- package/dist/schema/assets.d.ts +215 -46
- package/dist/schema/assets.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +132 -28
- package/dist/schema/comments.d.ts +132 -28
- package/dist/schema/comments.js +1 -1
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +235 -47
- package/dist/schema/conversations.d.ts +235 -47
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +302 -66
- package/dist/schema/datasets.d.ts +302 -66
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +302 -66
- package/dist/schema/files.d.ts +302 -66
- package/dist/schema/files.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +286 -74
- package/dist/schema/posts.d.ts +286 -74
- package/dist/schema/posts.js +1 -1
- package/dist/schema/quests.cjs +1 -1
- package/dist/schema/quests.d.cts +199 -47
- package/dist/schema/quests.d.ts +199 -47
- package/dist/schema/quests.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +286 -74
- package/dist/schema/services.d.ts +286 -74
- 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 +1 -1
- package/dist/chunk-4UE3XIYR.js +0 -2
- package/dist/chunk-FRMPLGE4.cjs +0 -2
- package/dist/chunk-FRMPLGE4.cjs.map +0 -1
- package/dist/chunk-G3VMEPTP.js +0 -2
- package/dist/chunk-G3VMEPTP.js.map +0 -1
- 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/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.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>;
|
|
@@ -293,6 +313,71 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
293
313
|
monetized: "monetized";
|
|
294
314
|
inherit: "inherit";
|
|
295
315
|
}>>>;
|
|
316
|
+
attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
317
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
318
|
+
original: "original";
|
|
319
|
+
derivative: "derivative";
|
|
320
|
+
"third-party": "third-party";
|
|
321
|
+
}>>>;
|
|
322
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
323
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
324
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
325
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
326
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
327
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
328
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
329
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
330
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
331
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
332
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
333
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
334
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
335
|
+
}, z.core.$strip>>>;
|
|
336
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
337
|
+
IsSupplementTo: "IsSupplementTo";
|
|
338
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
339
|
+
References: "References";
|
|
340
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
341
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
342
|
+
}>>>;
|
|
343
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
344
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
345
|
+
originality: "original" | "derivative" | "third-party";
|
|
346
|
+
external_url?: string | null | undefined;
|
|
347
|
+
github_url?: string | null | undefined;
|
|
348
|
+
paper_url?: string | null | undefined;
|
|
349
|
+
doi_url?: string | null | undefined;
|
|
350
|
+
citation?: {
|
|
351
|
+
doi?: string | null | undefined;
|
|
352
|
+
title?: string | null | undefined;
|
|
353
|
+
authors?: string[] | null | undefined;
|
|
354
|
+
year?: number | null | undefined;
|
|
355
|
+
venue?: string | null | undefined;
|
|
356
|
+
url?: string | null | undefined;
|
|
357
|
+
bibtex?: string | null | undefined;
|
|
358
|
+
source?: string | null | undefined;
|
|
359
|
+
} | null | undefined;
|
|
360
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
361
|
+
doi?: string | null | undefined;
|
|
362
|
+
}, {
|
|
363
|
+
originality: "original" | "derivative" | "third-party";
|
|
364
|
+
external_url?: string | null | undefined;
|
|
365
|
+
github_url?: string | null | undefined;
|
|
366
|
+
paper_url?: string | null | undefined;
|
|
367
|
+
doi_url?: string | null | undefined;
|
|
368
|
+
citation?: {
|
|
369
|
+
doi?: string | null | undefined;
|
|
370
|
+
title?: string | null | undefined;
|
|
371
|
+
authors?: string[] | null | undefined;
|
|
372
|
+
year?: number | null | undefined;
|
|
373
|
+
venue?: string | null | undefined;
|
|
374
|
+
url?: string | null | undefined;
|
|
375
|
+
bibtex?: string | null | undefined;
|
|
376
|
+
source?: string | null | undefined;
|
|
377
|
+
} | null | undefined;
|
|
378
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
379
|
+
doi?: string | null | undefined;
|
|
380
|
+
} | null | undefined>>;
|
|
296
381
|
created_at: z.ZodDefault<z.ZodString>;
|
|
297
382
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
298
383
|
asset_type: z.ZodDefault<z.ZodLiteral<"file">>;
|
|
@@ -310,15 +395,6 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
310
395
|
size: z.ZodNumber;
|
|
311
396
|
width: z.ZodOptional<z.ZodNumber>;
|
|
312
397
|
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
398
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
323
399
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
324
400
|
}, z.core.$strip>;
|
|
@@ -366,21 +442,77 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
366
442
|
monetized: "monetized";
|
|
367
443
|
inherit: "inherit";
|
|
368
444
|
}>>>;
|
|
445
|
+
attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
446
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
447
|
+
original: "original";
|
|
448
|
+
derivative: "derivative";
|
|
449
|
+
"third-party": "third-party";
|
|
450
|
+
}>>>;
|
|
451
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
452
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
453
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
454
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
455
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
456
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
457
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
458
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
459
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
460
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
461
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
462
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
463
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
464
|
+
}, z.core.$strip>>>;
|
|
465
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
466
|
+
IsSupplementTo: "IsSupplementTo";
|
|
467
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
468
|
+
References: "References";
|
|
469
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
470
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
471
|
+
}>>>;
|
|
472
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
473
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
474
|
+
originality: "original" | "derivative" | "third-party";
|
|
475
|
+
external_url?: string | null | undefined;
|
|
476
|
+
github_url?: string | null | undefined;
|
|
477
|
+
paper_url?: string | null | undefined;
|
|
478
|
+
doi_url?: string | null | undefined;
|
|
479
|
+
citation?: {
|
|
480
|
+
doi?: string | null | undefined;
|
|
481
|
+
title?: string | null | undefined;
|
|
482
|
+
authors?: string[] | null | undefined;
|
|
483
|
+
year?: number | null | undefined;
|
|
484
|
+
venue?: string | null | undefined;
|
|
485
|
+
url?: string | null | undefined;
|
|
486
|
+
bibtex?: string | null | undefined;
|
|
487
|
+
source?: string | null | undefined;
|
|
488
|
+
} | null | undefined;
|
|
489
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
490
|
+
doi?: string | null | undefined;
|
|
491
|
+
}, {
|
|
492
|
+
originality: "original" | "derivative" | "third-party";
|
|
493
|
+
external_url?: string | null | undefined;
|
|
494
|
+
github_url?: string | null | undefined;
|
|
495
|
+
paper_url?: string | null | undefined;
|
|
496
|
+
doi_url?: string | null | undefined;
|
|
497
|
+
citation?: {
|
|
498
|
+
doi?: string | null | undefined;
|
|
499
|
+
title?: string | null | undefined;
|
|
500
|
+
authors?: string[] | null | undefined;
|
|
501
|
+
year?: number | null | undefined;
|
|
502
|
+
venue?: string | null | undefined;
|
|
503
|
+
url?: string | null | undefined;
|
|
504
|
+
bibtex?: string | null | undefined;
|
|
505
|
+
source?: string | null | undefined;
|
|
506
|
+
} | null | undefined;
|
|
507
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
508
|
+
doi?: string | null | undefined;
|
|
509
|
+
} | null | undefined>>;
|
|
369
510
|
created_at: z.ZodDefault<z.ZodString>;
|
|
370
511
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
371
512
|
asset_type: z.ZodDefault<z.ZodLiteral<"file">>;
|
|
372
513
|
state: z.ZodDefault<z.ZodLiteral<"in-progress">>;
|
|
373
514
|
metadata: z.ZodObject<{
|
|
374
515
|
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
516
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
385
517
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
386
518
|
}, z.core.$strip>;
|
|
@@ -391,6 +523,25 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
391
523
|
name: string;
|
|
392
524
|
source: "api" | "web";
|
|
393
525
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
526
|
+
attribution: {
|
|
527
|
+
originality: "original" | "derivative" | "third-party";
|
|
528
|
+
external_url?: string | null | undefined;
|
|
529
|
+
github_url?: string | null | undefined;
|
|
530
|
+
paper_url?: string | null | undefined;
|
|
531
|
+
doi_url?: string | null | undefined;
|
|
532
|
+
citation?: {
|
|
533
|
+
doi?: string | null | undefined;
|
|
534
|
+
title?: string | null | undefined;
|
|
535
|
+
authors?: string[] | null | undefined;
|
|
536
|
+
year?: number | null | undefined;
|
|
537
|
+
venue?: string | null | undefined;
|
|
538
|
+
url?: string | null | undefined;
|
|
539
|
+
bibtex?: string | null | undefined;
|
|
540
|
+
source?: string | null | undefined;
|
|
541
|
+
} | null | undefined;
|
|
542
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
543
|
+
doi?: string | null | undefined;
|
|
544
|
+
};
|
|
394
545
|
created_at: string;
|
|
395
546
|
last_updated: string;
|
|
396
547
|
asset_type: "file";
|
|
@@ -405,11 +556,6 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
405
556
|
size: number;
|
|
406
557
|
width?: number | undefined;
|
|
407
558
|
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
559
|
source?: string | null | undefined;
|
|
414
560
|
reply_to_comment_id?: string | null | undefined;
|
|
415
561
|
};
|
|
@@ -438,17 +584,31 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
438
584
|
name: string;
|
|
439
585
|
source: "api" | "web";
|
|
440
586
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
587
|
+
attribution: {
|
|
588
|
+
originality: "original" | "derivative" | "third-party";
|
|
589
|
+
external_url?: string | null | undefined;
|
|
590
|
+
github_url?: string | null | undefined;
|
|
591
|
+
paper_url?: string | null | undefined;
|
|
592
|
+
doi_url?: string | null | undefined;
|
|
593
|
+
citation?: {
|
|
594
|
+
doi?: string | null | undefined;
|
|
595
|
+
title?: string | null | undefined;
|
|
596
|
+
authors?: string[] | null | undefined;
|
|
597
|
+
year?: number | null | undefined;
|
|
598
|
+
venue?: string | null | undefined;
|
|
599
|
+
url?: string | null | undefined;
|
|
600
|
+
bibtex?: string | null | undefined;
|
|
601
|
+
source?: string | null | undefined;
|
|
602
|
+
} | null | undefined;
|
|
603
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
604
|
+
doi?: string | null | undefined;
|
|
605
|
+
};
|
|
441
606
|
created_at: string;
|
|
442
607
|
last_updated: string;
|
|
443
608
|
asset_type: "file";
|
|
444
609
|
state: "in-progress";
|
|
445
610
|
metadata: {
|
|
446
611
|
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
612
|
source?: string | null | undefined;
|
|
453
613
|
reply_to_comment_id?: string | null | undefined;
|
|
454
614
|
};
|
|
@@ -477,6 +637,25 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
477
637
|
name: string;
|
|
478
638
|
source: "api" | "web";
|
|
479
639
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
640
|
+
attribution: {
|
|
641
|
+
originality: "original" | "derivative" | "third-party";
|
|
642
|
+
external_url?: string | null | undefined;
|
|
643
|
+
github_url?: string | null | undefined;
|
|
644
|
+
paper_url?: string | null | undefined;
|
|
645
|
+
doi_url?: string | null | undefined;
|
|
646
|
+
citation?: {
|
|
647
|
+
doi?: string | null | undefined;
|
|
648
|
+
title?: string | null | undefined;
|
|
649
|
+
authors?: string[] | null | undefined;
|
|
650
|
+
year?: number | null | undefined;
|
|
651
|
+
venue?: string | null | undefined;
|
|
652
|
+
url?: string | null | undefined;
|
|
653
|
+
bibtex?: string | null | undefined;
|
|
654
|
+
source?: string | null | undefined;
|
|
655
|
+
} | null | undefined;
|
|
656
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
657
|
+
doi?: string | null | undefined;
|
|
658
|
+
};
|
|
480
659
|
created_at: string;
|
|
481
660
|
last_updated: string;
|
|
482
661
|
asset_type: "file";
|
|
@@ -491,11 +670,6 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
491
670
|
size: number;
|
|
492
671
|
width?: number | undefined;
|
|
493
672
|
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
673
|
source?: string | null | undefined;
|
|
500
674
|
reply_to_comment_id?: string | null | undefined;
|
|
501
675
|
};
|
|
@@ -524,17 +698,31 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
524
698
|
name: string;
|
|
525
699
|
source: "api" | "web";
|
|
526
700
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
701
|
+
attribution: {
|
|
702
|
+
originality: "original" | "derivative" | "third-party";
|
|
703
|
+
external_url?: string | null | undefined;
|
|
704
|
+
github_url?: string | null | undefined;
|
|
705
|
+
paper_url?: string | null | undefined;
|
|
706
|
+
doi_url?: string | null | undefined;
|
|
707
|
+
citation?: {
|
|
708
|
+
doi?: string | null | undefined;
|
|
709
|
+
title?: string | null | undefined;
|
|
710
|
+
authors?: string[] | null | undefined;
|
|
711
|
+
year?: number | null | undefined;
|
|
712
|
+
venue?: string | null | undefined;
|
|
713
|
+
url?: string | null | undefined;
|
|
714
|
+
bibtex?: string | null | undefined;
|
|
715
|
+
source?: string | null | undefined;
|
|
716
|
+
} | null | undefined;
|
|
717
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
718
|
+
doi?: string | null | undefined;
|
|
719
|
+
};
|
|
527
720
|
created_at: string;
|
|
528
721
|
last_updated: string;
|
|
529
722
|
asset_type: "file";
|
|
530
723
|
state: "in-progress";
|
|
531
724
|
metadata: {
|
|
532
725
|
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
726
|
source?: string | null | undefined;
|
|
539
727
|
reply_to_comment_id?: string | null | undefined;
|
|
540
728
|
};
|
|
@@ -574,15 +762,6 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
574
762
|
size: z.ZodNumber;
|
|
575
763
|
width: z.ZodOptional<z.ZodNumber>;
|
|
576
764
|
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
765
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
587
766
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
588
767
|
}, z.core.$strip>>;
|
|
@@ -608,6 +787,35 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
608
787
|
"pay-to-unlock": "pay-to-unlock";
|
|
609
788
|
"pay-per-use": "pay-per-use";
|
|
610
789
|
}>>;
|
|
790
|
+
attribution: z.ZodOptional<z.ZodObject<{
|
|
791
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
792
|
+
original: "original";
|
|
793
|
+
derivative: "derivative";
|
|
794
|
+
"third-party": "third-party";
|
|
795
|
+
}>>>;
|
|
796
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
797
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
798
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
799
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
800
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
801
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
802
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
803
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
804
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
805
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
806
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
807
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
808
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
809
|
+
}, z.core.$strip>>>;
|
|
810
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
811
|
+
IsSupplementTo: "IsSupplementTo";
|
|
812
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
813
|
+
References: "References";
|
|
814
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
815
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
816
|
+
}>>>;
|
|
817
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
818
|
+
}, z.core.$strip>>;
|
|
611
819
|
state: z.ZodOptional<z.ZodEnum<{
|
|
612
820
|
success: "success";
|
|
613
821
|
queued: "queued";
|
|
@@ -650,11 +858,6 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
650
858
|
size: number;
|
|
651
859
|
width?: number | undefined;
|
|
652
860
|
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
861
|
source?: string | null | undefined;
|
|
659
862
|
reply_to_comment_id?: string | null | undefined;
|
|
660
863
|
} | undefined;
|
|
@@ -667,6 +870,25 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
667
870
|
} | null | undefined;
|
|
668
871
|
source?: "api" | "web" | undefined;
|
|
669
872
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
873
|
+
attribution?: {
|
|
874
|
+
originality: "original" | "derivative" | "third-party";
|
|
875
|
+
external_url?: string | null | undefined;
|
|
876
|
+
github_url?: string | null | undefined;
|
|
877
|
+
paper_url?: string | null | undefined;
|
|
878
|
+
doi_url?: string | null | undefined;
|
|
879
|
+
citation?: {
|
|
880
|
+
doi?: string | null | undefined;
|
|
881
|
+
title?: string | null | undefined;
|
|
882
|
+
authors?: string[] | null | undefined;
|
|
883
|
+
year?: number | null | undefined;
|
|
884
|
+
venue?: string | null | undefined;
|
|
885
|
+
url?: string | null | undefined;
|
|
886
|
+
bibtex?: string | null | undefined;
|
|
887
|
+
source?: string | null | undefined;
|
|
888
|
+
} | null | undefined;
|
|
889
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
890
|
+
doi?: string | null | undefined;
|
|
891
|
+
} | undefined;
|
|
670
892
|
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
671
893
|
parent_id?: string | null | undefined;
|
|
672
894
|
license_id?: string | undefined;
|
|
@@ -696,11 +918,6 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
696
918
|
size: number;
|
|
697
919
|
width?: number | undefined;
|
|
698
920
|
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
921
|
source?: string | null | undefined;
|
|
705
922
|
reply_to_comment_id?: string | null | undefined;
|
|
706
923
|
} | undefined;
|
|
@@ -713,6 +930,25 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
713
930
|
} | null | undefined;
|
|
714
931
|
source?: "api" | "web" | undefined;
|
|
715
932
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
933
|
+
attribution?: {
|
|
934
|
+
originality: "original" | "derivative" | "third-party";
|
|
935
|
+
external_url?: string | null | undefined;
|
|
936
|
+
github_url?: string | null | undefined;
|
|
937
|
+
paper_url?: string | null | undefined;
|
|
938
|
+
doi_url?: string | null | undefined;
|
|
939
|
+
citation?: {
|
|
940
|
+
doi?: string | null | undefined;
|
|
941
|
+
title?: string | null | undefined;
|
|
942
|
+
authors?: string[] | null | undefined;
|
|
943
|
+
year?: number | null | undefined;
|
|
944
|
+
venue?: string | null | undefined;
|
|
945
|
+
url?: string | null | undefined;
|
|
946
|
+
bibtex?: string | null | undefined;
|
|
947
|
+
source?: string | null | undefined;
|
|
948
|
+
} | null | undefined;
|
|
949
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
950
|
+
doi?: string | null | undefined;
|
|
951
|
+
} | undefined;
|
|
716
952
|
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
717
953
|
parent_id?: string | null | undefined;
|
|
718
954
|
license_id?: string | undefined;
|
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-YXVAFJZH.js';import'../chunk-2BABFO5H.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 chunkPN763DHR_cjs=require('../chunk-PN763DHR.cjs');require('../chunk-PPZZKUF6.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 chunkPN763DHR_cjs.b}});Object.defineProperty(exports,"CreatePostSchema",{enumerable:true,get:function(){return chunkPN763DHR_cjs.d}});Object.defineProperty(exports,"ListPostsSchema",{enumerable:true,get:function(){return chunkPN763DHR_cjs.g}});Object.defineProperty(exports,"PostSchema",{enumerable:true,get:function(){return chunkPN763DHR_cjs.c}});Object.defineProperty(exports,"ReadPostSchema",{enumerable:true,get:function(){return chunkPN763DHR_cjs.e}});Object.defineProperty(exports,"ReadPostsSchema",{enumerable:true,get:function(){return chunkPN763DHR_cjs.f}});Object.defineProperty(exports,"TipTapSchema",{enumerable:true,get:function(){return chunkPN763DHR_cjs.a}});Object.defineProperty(exports,"UpdatePostSchema",{enumerable:true,get:function(){return chunkPN763DHR_cjs.h}});//# sourceMappingURL=posts.cjs.map
|
|
2
2
|
//# sourceMappingURL=posts.cjs.map
|