@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/comments.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as CommentSchema,b as CreateCommentSchema}from'../chunk-
|
|
1
|
+
export{a as CommentSchema,b as CreateCommentSchema}from'../chunk-ITF5WQQB.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=comments.js.map
|
|
2
2
|
//# sourceMappingURL=comments.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkHW6FGPTA_cjs=require('../chunk-HW6FGPTA.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,"ConversationSchema",{enumerable:true,get:function(){return chunkHW6FGPTA_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunkHW6FGPTA_cjs.b}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunkHW6FGPTA_cjs.d}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunkHW6FGPTA_cjs.c}});//# sourceMappingURL=conversations.cjs.map
|
|
2
2
|
//# sourceMappingURL=conversations.cjs.map
|
|
@@ -206,6 +206,35 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
206
206
|
stripe_product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
207
207
|
stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
208
208
|
stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
209
|
+
attribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
210
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
211
|
+
original: "original";
|
|
212
|
+
derivative: "derivative";
|
|
213
|
+
"third-party": "third-party";
|
|
214
|
+
}>>>;
|
|
215
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
216
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
217
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
220
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
221
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
222
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
223
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
224
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
225
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
226
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
227
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
228
|
+
}, z.core.$strip>>>;
|
|
229
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
230
|
+
IsSupplementTo: "IsSupplementTo";
|
|
231
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
232
|
+
References: "References";
|
|
233
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
234
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
235
|
+
}>>>;
|
|
236
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
237
|
+
}, z.core.$strip>>>;
|
|
209
238
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
210
239
|
state: z.ZodEnum<{
|
|
211
240
|
success: "success";
|
|
@@ -237,15 +266,6 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
237
266
|
name: z.ZodNullable<z.ZodString>;
|
|
238
267
|
metadata: z.ZodObject<{
|
|
239
268
|
members: z.ZodArray<z.ZodString>;
|
|
240
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
241
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
242
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
243
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
244
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
245
|
-
original: "original";
|
|
246
|
-
derivative: "derivative";
|
|
247
|
-
"third-party": "third-party";
|
|
248
|
-
}>>;
|
|
249
269
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
250
270
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
251
271
|
}, z.core.$strip>;
|
|
@@ -296,6 +316,35 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
296
316
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
297
317
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
298
318
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
319
|
+
attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
320
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
321
|
+
original: "original";
|
|
322
|
+
derivative: "derivative";
|
|
323
|
+
"third-party": "third-party";
|
|
324
|
+
}>>>;
|
|
325
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
326
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
327
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
328
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
329
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
330
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
331
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
332
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
333
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
334
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
335
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
336
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
337
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
338
|
+
}, z.core.$strip>>>;
|
|
339
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
340
|
+
IsSupplementTo: "IsSupplementTo";
|
|
341
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
342
|
+
References: "References";
|
|
343
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
344
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
345
|
+
}>>>;
|
|
346
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
347
|
+
}, z.core.$strip>>>>;
|
|
299
348
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
300
349
|
id: z.ZodDefault<z.ZodUUID>;
|
|
301
350
|
team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -330,15 +379,6 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
330
379
|
name: z.ZodPipe<z.ZodPipe<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>, z.ZodTransform<string | undefined, string | null>>, z.ZodTransform<string | null, string | undefined>>;
|
|
331
380
|
metadata: z.ZodObject<{
|
|
332
381
|
members: z.ZodArray<z.ZodString>;
|
|
333
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
334
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
335
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
336
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
337
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
338
|
-
original: "original";
|
|
339
|
-
derivative: "derivative";
|
|
340
|
-
"third-party": "third-party";
|
|
341
|
-
}>>;
|
|
342
382
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
343
383
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
344
384
|
}, z.core.$strip>;
|
|
@@ -356,11 +396,6 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
356
396
|
name: string | null;
|
|
357
397
|
metadata: {
|
|
358
398
|
members: string[];
|
|
359
|
-
doi_url?: string | null | undefined;
|
|
360
|
-
external_url?: string | null | undefined;
|
|
361
|
-
paper_url?: string | null | undefined;
|
|
362
|
-
github_url?: string | null | undefined;
|
|
363
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
364
399
|
source?: string | null | undefined;
|
|
365
400
|
reply_to_comment_id?: string | null | undefined;
|
|
366
401
|
};
|
|
@@ -379,6 +414,25 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
379
414
|
stripe_product_id?: string | null | undefined;
|
|
380
415
|
stripe_price_id?: string | null | undefined;
|
|
381
416
|
stripe_meter_id?: string | null | undefined;
|
|
417
|
+
attribution?: {
|
|
418
|
+
originality: "original" | "derivative" | "third-party";
|
|
419
|
+
external_url?: string | null | undefined;
|
|
420
|
+
github_url?: string | null | undefined;
|
|
421
|
+
paper_url?: string | null | undefined;
|
|
422
|
+
doi_url?: string | null | undefined;
|
|
423
|
+
citation?: {
|
|
424
|
+
doi?: string | null | undefined;
|
|
425
|
+
title?: string | null | undefined;
|
|
426
|
+
authors?: string[] | null | undefined;
|
|
427
|
+
year?: number | null | undefined;
|
|
428
|
+
venue?: string | null | undefined;
|
|
429
|
+
url?: string | null | undefined;
|
|
430
|
+
bibtex?: string | null | undefined;
|
|
431
|
+
source?: string | null | undefined;
|
|
432
|
+
} | null | undefined;
|
|
433
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
434
|
+
doi?: string | null | undefined;
|
|
435
|
+
} | null | undefined;
|
|
382
436
|
preview?: Record<string, any>[] | null | undefined;
|
|
383
437
|
name_url_slug?: string | null | undefined;
|
|
384
438
|
}, {
|
|
@@ -395,11 +449,6 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
395
449
|
name: string | null;
|
|
396
450
|
metadata: {
|
|
397
451
|
members: string[];
|
|
398
|
-
doi_url?: string | null | undefined;
|
|
399
|
-
external_url?: string | null | undefined;
|
|
400
|
-
paper_url?: string | null | undefined;
|
|
401
|
-
github_url?: string | null | undefined;
|
|
402
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
403
452
|
source?: string | null | undefined;
|
|
404
453
|
reply_to_comment_id?: string | null | undefined;
|
|
405
454
|
};
|
|
@@ -418,6 +467,25 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
418
467
|
stripe_product_id?: string | null | undefined;
|
|
419
468
|
stripe_price_id?: string | null | undefined;
|
|
420
469
|
stripe_meter_id?: string | null | undefined;
|
|
470
|
+
attribution?: {
|
|
471
|
+
originality: "original" | "derivative" | "third-party";
|
|
472
|
+
external_url?: string | null | undefined;
|
|
473
|
+
github_url?: string | null | undefined;
|
|
474
|
+
paper_url?: string | null | undefined;
|
|
475
|
+
doi_url?: string | null | undefined;
|
|
476
|
+
citation?: {
|
|
477
|
+
doi?: string | null | undefined;
|
|
478
|
+
title?: string | null | undefined;
|
|
479
|
+
authors?: string[] | null | undefined;
|
|
480
|
+
year?: number | null | undefined;
|
|
481
|
+
venue?: string | null | undefined;
|
|
482
|
+
url?: string | null | undefined;
|
|
483
|
+
bibtex?: string | null | undefined;
|
|
484
|
+
source?: string | null | undefined;
|
|
485
|
+
} | null | undefined;
|
|
486
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
487
|
+
doi?: string | null | undefined;
|
|
488
|
+
} | null | undefined;
|
|
421
489
|
preview?: Record<string, any>[] | null | undefined;
|
|
422
490
|
name_url_slug?: string | null | undefined;
|
|
423
491
|
}>>;
|
|
@@ -426,15 +494,6 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
426
494
|
parent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
427
495
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
428
496
|
members: z.ZodArray<z.ZodString>;
|
|
429
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
430
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
431
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
432
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
433
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
434
|
-
original: "original";
|
|
435
|
-
derivative: "derivative";
|
|
436
|
-
"third-party": "third-party";
|
|
437
|
-
}>>;
|
|
438
497
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
439
498
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
440
499
|
}, z.core.$strip>>;
|
|
@@ -485,17 +544,41 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
485
544
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
486
545
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
487
546
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
547
|
+
attribution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
548
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
549
|
+
original: "original";
|
|
550
|
+
derivative: "derivative";
|
|
551
|
+
"third-party": "third-party";
|
|
552
|
+
}>>>;
|
|
553
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
554
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
555
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
556
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
557
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
558
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
559
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
560
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
561
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
562
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
563
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
564
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
565
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
566
|
+
}, z.core.$strip>>>;
|
|
567
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
568
|
+
IsSupplementTo: "IsSupplementTo";
|
|
569
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
570
|
+
References: "References";
|
|
571
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
572
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
573
|
+
}>>>;
|
|
574
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
575
|
+
}, z.core.$strip>>>>>;
|
|
488
576
|
preview: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>>;
|
|
489
577
|
}, z.core.$strip>, z.ZodTransform<{
|
|
490
578
|
asset_type?: "conversation" | undefined;
|
|
491
579
|
parent?: Record<string, any> | undefined;
|
|
492
580
|
metadata?: {
|
|
493
581
|
members: string[];
|
|
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
|
} | undefined;
|
|
@@ -521,17 +604,31 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
521
604
|
stripe_product_id?: string | null | undefined;
|
|
522
605
|
stripe_price_id?: string | null | undefined;
|
|
523
606
|
stripe_meter_id?: string | null | undefined;
|
|
607
|
+
attribution?: {
|
|
608
|
+
originality: "original" | "derivative" | "third-party";
|
|
609
|
+
external_url?: string | null | undefined;
|
|
610
|
+
github_url?: string | null | undefined;
|
|
611
|
+
paper_url?: string | null | undefined;
|
|
612
|
+
doi_url?: string | null | undefined;
|
|
613
|
+
citation?: {
|
|
614
|
+
doi?: string | null | undefined;
|
|
615
|
+
title?: string | null | undefined;
|
|
616
|
+
authors?: string[] | null | undefined;
|
|
617
|
+
year?: number | null | undefined;
|
|
618
|
+
venue?: string | null | undefined;
|
|
619
|
+
url?: string | null | undefined;
|
|
620
|
+
bibtex?: string | null | undefined;
|
|
621
|
+
source?: string | null | undefined;
|
|
622
|
+
} | null | undefined;
|
|
623
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
624
|
+
doi?: string | null | undefined;
|
|
625
|
+
} | null | undefined;
|
|
524
626
|
preview?: Record<string, any>[] | null | undefined;
|
|
525
627
|
}, {
|
|
526
628
|
asset_type?: "conversation" | undefined;
|
|
527
629
|
parent?: Record<string, any> | undefined;
|
|
528
630
|
metadata?: {
|
|
529
631
|
members: string[];
|
|
530
|
-
doi_url?: string | null | undefined;
|
|
531
|
-
external_url?: string | null | undefined;
|
|
532
|
-
paper_url?: string | null | undefined;
|
|
533
|
-
github_url?: string | null | undefined;
|
|
534
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
535
632
|
source?: string | null | undefined;
|
|
536
633
|
reply_to_comment_id?: string | null | undefined;
|
|
537
634
|
} | undefined;
|
|
@@ -557,6 +654,25 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
557
654
|
stripe_product_id?: string | null | undefined;
|
|
558
655
|
stripe_price_id?: string | null | undefined;
|
|
559
656
|
stripe_meter_id?: string | null | undefined;
|
|
657
|
+
attribution?: {
|
|
658
|
+
originality: "original" | "derivative" | "third-party";
|
|
659
|
+
external_url?: string | null | undefined;
|
|
660
|
+
github_url?: string | null | undefined;
|
|
661
|
+
paper_url?: string | null | undefined;
|
|
662
|
+
doi_url?: string | null | undefined;
|
|
663
|
+
citation?: {
|
|
664
|
+
doi?: string | null | undefined;
|
|
665
|
+
title?: string | null | undefined;
|
|
666
|
+
authors?: string[] | null | undefined;
|
|
667
|
+
year?: number | null | undefined;
|
|
668
|
+
venue?: string | null | undefined;
|
|
669
|
+
url?: string | null | undefined;
|
|
670
|
+
bibtex?: string | null | undefined;
|
|
671
|
+
source?: string | null | undefined;
|
|
672
|
+
} | null | undefined;
|
|
673
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
674
|
+
doi?: string | null | undefined;
|
|
675
|
+
} | null | undefined;
|
|
560
676
|
preview?: Record<string, any>[] | null | undefined;
|
|
561
677
|
}>>;
|
|
562
678
|
declare const MessageSchema: z.ZodObject<{
|
|
@@ -206,6 +206,35 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
206
206
|
stripe_product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
207
207
|
stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
208
208
|
stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
209
|
+
attribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
210
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
211
|
+
original: "original";
|
|
212
|
+
derivative: "derivative";
|
|
213
|
+
"third-party": "third-party";
|
|
214
|
+
}>>>;
|
|
215
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
216
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
217
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
220
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
221
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
222
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
223
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
224
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
225
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
226
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
227
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
228
|
+
}, z.core.$strip>>>;
|
|
229
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
230
|
+
IsSupplementTo: "IsSupplementTo";
|
|
231
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
232
|
+
References: "References";
|
|
233
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
234
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
235
|
+
}>>>;
|
|
236
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
237
|
+
}, z.core.$strip>>>;
|
|
209
238
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
210
239
|
state: z.ZodEnum<{
|
|
211
240
|
success: "success";
|
|
@@ -237,15 +266,6 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
237
266
|
name: z.ZodNullable<z.ZodString>;
|
|
238
267
|
metadata: z.ZodObject<{
|
|
239
268
|
members: z.ZodArray<z.ZodString>;
|
|
240
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
241
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
242
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
243
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
244
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
245
|
-
original: "original";
|
|
246
|
-
derivative: "derivative";
|
|
247
|
-
"third-party": "third-party";
|
|
248
|
-
}>>;
|
|
249
269
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
250
270
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
251
271
|
}, z.core.$strip>;
|
|
@@ -296,6 +316,35 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
296
316
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
297
317
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
298
318
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
319
|
+
attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
320
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
321
|
+
original: "original";
|
|
322
|
+
derivative: "derivative";
|
|
323
|
+
"third-party": "third-party";
|
|
324
|
+
}>>>;
|
|
325
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
326
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
327
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
328
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
329
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
330
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
331
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
332
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
333
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
334
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
335
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
336
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
337
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
338
|
+
}, z.core.$strip>>>;
|
|
339
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
340
|
+
IsSupplementTo: "IsSupplementTo";
|
|
341
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
342
|
+
References: "References";
|
|
343
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
344
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
345
|
+
}>>>;
|
|
346
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
347
|
+
}, z.core.$strip>>>>;
|
|
299
348
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
300
349
|
id: z.ZodDefault<z.ZodUUID>;
|
|
301
350
|
team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -330,15 +379,6 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
330
379
|
name: z.ZodPipe<z.ZodPipe<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>, z.ZodTransform<string | undefined, string | null>>, z.ZodTransform<string | null, string | undefined>>;
|
|
331
380
|
metadata: z.ZodObject<{
|
|
332
381
|
members: z.ZodArray<z.ZodString>;
|
|
333
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
334
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
335
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
336
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
337
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
338
|
-
original: "original";
|
|
339
|
-
derivative: "derivative";
|
|
340
|
-
"third-party": "third-party";
|
|
341
|
-
}>>;
|
|
342
382
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
343
383
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
344
384
|
}, z.core.$strip>;
|
|
@@ -356,11 +396,6 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
356
396
|
name: string | null;
|
|
357
397
|
metadata: {
|
|
358
398
|
members: string[];
|
|
359
|
-
doi_url?: string | null | undefined;
|
|
360
|
-
external_url?: string | null | undefined;
|
|
361
|
-
paper_url?: string | null | undefined;
|
|
362
|
-
github_url?: string | null | undefined;
|
|
363
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
364
399
|
source?: string | null | undefined;
|
|
365
400
|
reply_to_comment_id?: string | null | undefined;
|
|
366
401
|
};
|
|
@@ -379,6 +414,25 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
379
414
|
stripe_product_id?: string | null | undefined;
|
|
380
415
|
stripe_price_id?: string | null | undefined;
|
|
381
416
|
stripe_meter_id?: string | null | undefined;
|
|
417
|
+
attribution?: {
|
|
418
|
+
originality: "original" | "derivative" | "third-party";
|
|
419
|
+
external_url?: string | null | undefined;
|
|
420
|
+
github_url?: string | null | undefined;
|
|
421
|
+
paper_url?: string | null | undefined;
|
|
422
|
+
doi_url?: string | null | undefined;
|
|
423
|
+
citation?: {
|
|
424
|
+
doi?: string | null | undefined;
|
|
425
|
+
title?: string | null | undefined;
|
|
426
|
+
authors?: string[] | null | undefined;
|
|
427
|
+
year?: number | null | undefined;
|
|
428
|
+
venue?: string | null | undefined;
|
|
429
|
+
url?: string | null | undefined;
|
|
430
|
+
bibtex?: string | null | undefined;
|
|
431
|
+
source?: string | null | undefined;
|
|
432
|
+
} | null | undefined;
|
|
433
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
434
|
+
doi?: string | null | undefined;
|
|
435
|
+
} | null | undefined;
|
|
382
436
|
preview?: Record<string, any>[] | null | undefined;
|
|
383
437
|
name_url_slug?: string | null | undefined;
|
|
384
438
|
}, {
|
|
@@ -395,11 +449,6 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
395
449
|
name: string | null;
|
|
396
450
|
metadata: {
|
|
397
451
|
members: string[];
|
|
398
|
-
doi_url?: string | null | undefined;
|
|
399
|
-
external_url?: string | null | undefined;
|
|
400
|
-
paper_url?: string | null | undefined;
|
|
401
|
-
github_url?: string | null | undefined;
|
|
402
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
403
452
|
source?: string | null | undefined;
|
|
404
453
|
reply_to_comment_id?: string | null | undefined;
|
|
405
454
|
};
|
|
@@ -418,6 +467,25 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
418
467
|
stripe_product_id?: string | null | undefined;
|
|
419
468
|
stripe_price_id?: string | null | undefined;
|
|
420
469
|
stripe_meter_id?: string | null | undefined;
|
|
470
|
+
attribution?: {
|
|
471
|
+
originality: "original" | "derivative" | "third-party";
|
|
472
|
+
external_url?: string | null | undefined;
|
|
473
|
+
github_url?: string | null | undefined;
|
|
474
|
+
paper_url?: string | null | undefined;
|
|
475
|
+
doi_url?: string | null | undefined;
|
|
476
|
+
citation?: {
|
|
477
|
+
doi?: string | null | undefined;
|
|
478
|
+
title?: string | null | undefined;
|
|
479
|
+
authors?: string[] | null | undefined;
|
|
480
|
+
year?: number | null | undefined;
|
|
481
|
+
venue?: string | null | undefined;
|
|
482
|
+
url?: string | null | undefined;
|
|
483
|
+
bibtex?: string | null | undefined;
|
|
484
|
+
source?: string | null | undefined;
|
|
485
|
+
} | null | undefined;
|
|
486
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
487
|
+
doi?: string | null | undefined;
|
|
488
|
+
} | null | undefined;
|
|
421
489
|
preview?: Record<string, any>[] | null | undefined;
|
|
422
490
|
name_url_slug?: string | null | undefined;
|
|
423
491
|
}>>;
|
|
@@ -426,15 +494,6 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
426
494
|
parent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
427
495
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
428
496
|
members: z.ZodArray<z.ZodString>;
|
|
429
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
430
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
431
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
432
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
433
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
434
|
-
original: "original";
|
|
435
|
-
derivative: "derivative";
|
|
436
|
-
"third-party": "third-party";
|
|
437
|
-
}>>;
|
|
438
497
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
439
498
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
440
499
|
}, z.core.$strip>>;
|
|
@@ -485,17 +544,41 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
485
544
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
486
545
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
487
546
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
547
|
+
attribution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
548
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
549
|
+
original: "original";
|
|
550
|
+
derivative: "derivative";
|
|
551
|
+
"third-party": "third-party";
|
|
552
|
+
}>>>;
|
|
553
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
554
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
555
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
556
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
557
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
558
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
559
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
560
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
561
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
562
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
563
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
564
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
565
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
566
|
+
}, z.core.$strip>>>;
|
|
567
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
568
|
+
IsSupplementTo: "IsSupplementTo";
|
|
569
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
570
|
+
References: "References";
|
|
571
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
572
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
573
|
+
}>>>;
|
|
574
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
575
|
+
}, z.core.$strip>>>>>;
|
|
488
576
|
preview: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>>;
|
|
489
577
|
}, z.core.$strip>, z.ZodTransform<{
|
|
490
578
|
asset_type?: "conversation" | undefined;
|
|
491
579
|
parent?: Record<string, any> | undefined;
|
|
492
580
|
metadata?: {
|
|
493
581
|
members: string[];
|
|
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
|
} | undefined;
|
|
@@ -521,17 +604,31 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
521
604
|
stripe_product_id?: string | null | undefined;
|
|
522
605
|
stripe_price_id?: string | null | undefined;
|
|
523
606
|
stripe_meter_id?: string | null | undefined;
|
|
607
|
+
attribution?: {
|
|
608
|
+
originality: "original" | "derivative" | "third-party";
|
|
609
|
+
external_url?: string | null | undefined;
|
|
610
|
+
github_url?: string | null | undefined;
|
|
611
|
+
paper_url?: string | null | undefined;
|
|
612
|
+
doi_url?: string | null | undefined;
|
|
613
|
+
citation?: {
|
|
614
|
+
doi?: string | null | undefined;
|
|
615
|
+
title?: string | null | undefined;
|
|
616
|
+
authors?: string[] | null | undefined;
|
|
617
|
+
year?: number | null | undefined;
|
|
618
|
+
venue?: string | null | undefined;
|
|
619
|
+
url?: string | null | undefined;
|
|
620
|
+
bibtex?: string | null | undefined;
|
|
621
|
+
source?: string | null | undefined;
|
|
622
|
+
} | null | undefined;
|
|
623
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
624
|
+
doi?: string | null | undefined;
|
|
625
|
+
} | null | undefined;
|
|
524
626
|
preview?: Record<string, any>[] | null | undefined;
|
|
525
627
|
}, {
|
|
526
628
|
asset_type?: "conversation" | undefined;
|
|
527
629
|
parent?: Record<string, any> | undefined;
|
|
528
630
|
metadata?: {
|
|
529
631
|
members: string[];
|
|
530
|
-
doi_url?: string | null | undefined;
|
|
531
|
-
external_url?: string | null | undefined;
|
|
532
|
-
paper_url?: string | null | undefined;
|
|
533
|
-
github_url?: string | null | undefined;
|
|
534
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
535
632
|
source?: string | null | undefined;
|
|
536
633
|
reply_to_comment_id?: string | null | undefined;
|
|
537
634
|
} | undefined;
|
|
@@ -557,6 +654,25 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
557
654
|
stripe_product_id?: string | null | undefined;
|
|
558
655
|
stripe_price_id?: string | null | undefined;
|
|
559
656
|
stripe_meter_id?: string | null | undefined;
|
|
657
|
+
attribution?: {
|
|
658
|
+
originality: "original" | "derivative" | "third-party";
|
|
659
|
+
external_url?: string | null | undefined;
|
|
660
|
+
github_url?: string | null | undefined;
|
|
661
|
+
paper_url?: string | null | undefined;
|
|
662
|
+
doi_url?: string | null | undefined;
|
|
663
|
+
citation?: {
|
|
664
|
+
doi?: string | null | undefined;
|
|
665
|
+
title?: string | null | undefined;
|
|
666
|
+
authors?: string[] | null | undefined;
|
|
667
|
+
year?: number | null | undefined;
|
|
668
|
+
venue?: string | null | undefined;
|
|
669
|
+
url?: string | null | undefined;
|
|
670
|
+
bibtex?: string | null | undefined;
|
|
671
|
+
source?: string | null | undefined;
|
|
672
|
+
} | null | undefined;
|
|
673
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
674
|
+
doi?: string | null | undefined;
|
|
675
|
+
} | null | undefined;
|
|
560
676
|
preview?: Record<string, any>[] | null | undefined;
|
|
561
677
|
}>>;
|
|
562
678
|
declare const MessageSchema: z.ZodObject<{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as ConversationSchema,b as CreateConversationSchema,d as MessageSchema,c as UpdateConversationSchema}from'../chunk-
|
|
1
|
+
export{a as ConversationSchema,b as CreateConversationSchema,d as MessageSchema,c as UpdateConversationSchema}from'../chunk-JUELSRCY.js';import'../chunk-7EKD5NQB.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=conversations.js.map
|
|
2
2
|
//# sourceMappingURL=conversations.js.map
|
package/dist/schema/datasets.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkAI2FA44G_cjs=require('../chunk-AI2FA44G.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,"CreateDatasetFromFileSchema",{enumerable:true,get:function(){return chunkAI2FA44G_cjs.h}});Object.defineProperty(exports,"CreateDatasetFromSchemaSchema",{enumerable:true,get:function(){return chunkAI2FA44G_cjs.i}});Object.defineProperty(exports,"DatasetEnumColumnsSchema",{enumerable:true,get:function(){return chunkAI2FA44G_cjs.c}});Object.defineProperty(exports,"DatasetRefsSchema",{enumerable:true,get:function(){return chunkAI2FA44G_cjs.b}});Object.defineProperty(exports,"DatasetSchema",{enumerable:true,get:function(){return chunkAI2FA44G_cjs.g}});Object.defineProperty(exports,"EnrichedDatasetSchemaFieldSchema",{enumerable:true,get:function(){return chunkAI2FA44G_cjs.d}});Object.defineProperty(exports,"RefKindSchema",{enumerable:true,get:function(){return chunkAI2FA44G_cjs.a}});Object.defineProperty(exports,"ResolvedRefSchema",{enumerable:true,get:function(){return chunkAI2FA44G_cjs.e}});Object.defineProperty(exports,"ResolvedRefsSchema",{enumerable:true,get:function(){return chunkAI2FA44G_cjs.f}});Object.defineProperty(exports,"updateDatasetSchema",{enumerable:true,get:function(){return chunkAI2FA44G_cjs.j}});//# sourceMappingURL=datasets.cjs.map
|
|
2
2
|
//# sourceMappingURL=datasets.cjs.map
|