@ourofoundation/ouro-js 3.8.3 → 3.8.5
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/.github/workflows/publish.yml +63 -0
- package/dist/chunk-33ELNWOX.js +2 -0
- package/dist/chunk-33ELNWOX.js.map +1 -0
- package/dist/chunk-3PRQXWQP.js +2 -0
- package/dist/chunk-3PRQXWQP.js.map +1 -0
- package/dist/chunk-4276I2OP.js +2 -0
- package/dist/chunk-4276I2OP.js.map +1 -0
- package/dist/chunk-4AEKCY33.js +2 -0
- package/dist/chunk-4AEKCY33.js.map +1 -0
- package/dist/{chunk-KU5AWMS5.cjs → chunk-5PWVQ2XA.cjs} +2 -2
- package/dist/{chunk-KU5AWMS5.cjs.map → chunk-5PWVQ2XA.cjs.map} +1 -1
- package/dist/{chunk-RMMMRN4X.cjs → chunk-6DNS4QKU.cjs} +2 -2
- package/dist/{chunk-RMMMRN4X.cjs.map → chunk-6DNS4QKU.cjs.map} +1 -1
- package/dist/{chunk-AIIAIQ6L.cjs → chunk-BR3QVFVE.cjs} +2 -2
- package/dist/{chunk-AIIAIQ6L.cjs.map → chunk-BR3QVFVE.cjs.map} +1 -1
- package/dist/{chunk-OCG3P3PJ.js → chunk-BWUPF76F.js} +2 -2
- package/dist/{chunk-OCG3P3PJ.js.map → chunk-BWUPF76F.js.map} +1 -1
- package/dist/{chunk-LXDNBUOU.js → chunk-BYYDLMAE.js} +2 -2
- package/dist/{chunk-LXDNBUOU.js.map → chunk-BYYDLMAE.js.map} +1 -1
- package/dist/chunk-CZMKRHO4.cjs +2 -0
- package/dist/chunk-CZMKRHO4.cjs.map +1 -0
- package/dist/chunk-D6JWKEY5.cjs +2 -0
- package/dist/chunk-D6JWKEY5.cjs.map +1 -0
- package/dist/chunk-DA7VOYUY.js +2 -0
- package/dist/{chunk-FGEMQEEM.js.map → chunk-DA7VOYUY.js.map} +1 -1
- package/dist/chunk-F7URSDHU.cjs +2 -0
- package/dist/chunk-F7URSDHU.cjs.map +1 -0
- package/dist/chunk-HJW6XNOY.js +2 -0
- package/dist/chunk-HJW6XNOY.js.map +1 -0
- package/dist/chunk-J4GKOJZZ.cjs +2 -0
- package/dist/chunk-J4GKOJZZ.cjs.map +1 -0
- package/dist/chunk-KE53HYHH.cjs +2 -0
- package/dist/chunk-KE53HYHH.cjs.map +1 -0
- package/dist/chunk-NLU672VS.js +2 -0
- package/dist/chunk-NLU672VS.js.map +1 -0
- package/dist/chunk-O2BXIKRA.js +2 -0
- package/dist/chunk-O2BXIKRA.js.map +1 -0
- package/dist/chunk-OC34WU3H.cjs +2 -0
- package/dist/chunk-OC34WU3H.cjs.map +1 -0
- package/dist/chunk-OMO4474C.cjs +2 -0
- package/dist/chunk-OMO4474C.cjs.map +1 -0
- package/dist/chunk-PMOXYEAS.js +2 -0
- package/dist/{chunk-MKRXM63S.js.map → chunk-PMOXYEAS.js.map} +1 -1
- package/dist/chunk-QVMN2EX4.js +2 -0
- package/dist/chunk-QVMN2EX4.js.map +1 -0
- package/dist/chunk-R52RJPI3.cjs +2 -0
- package/dist/chunk-R52RJPI3.cjs.map +1 -0
- package/dist/chunk-RO6NRIGU.js +2 -0
- package/dist/chunk-RO6NRIGU.js.map +1 -0
- package/dist/chunk-SUVNXKE6.js +2 -0
- package/dist/chunk-SUVNXKE6.js.map +1 -0
- package/dist/chunk-SZW4GHCP.cjs +2 -0
- package/dist/chunk-SZW4GHCP.cjs.map +1 -0
- package/dist/chunk-UBSYUTZO.cjs +2 -0
- package/dist/chunk-UBSYUTZO.cjs.map +1 -0
- package/dist/chunk-V352KM56.cjs +2 -0
- package/dist/chunk-V352KM56.cjs.map +1 -0
- package/dist/{chunk-DSJ23DIB.cjs → chunk-V5W6FOUA.cjs} +2 -2
- package/dist/{chunk-DSJ23DIB.cjs.map → chunk-V5W6FOUA.cjs.map} +1 -1
- package/dist/chunk-WMCUQQ2Q.cjs +2 -0
- package/dist/chunk-WMCUQQ2Q.cjs.map +1 -0
- package/dist/{chunk-E2FDUS3B.cjs → chunk-X5KE2IW6.cjs} +2 -2
- package/dist/{chunk-E2FDUS3B.cjs.map → chunk-X5KE2IW6.cjs.map} +1 -1
- package/dist/chunk-XSZPAZEE.js +2 -0
- package/dist/{chunk-PGCNGDPK.js.map → chunk-XSZPAZEE.js.map} +1 -1
- package/dist/chunk-Y37HRTGF.js +2 -0
- package/dist/chunk-Y37HRTGF.js.map +1 -0
- package/dist/chunk-ZM7J5MCU.js +2 -0
- package/dist/chunk-ZM7J5MCU.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +1 -1
- package/dist/schema/asset-filters.d.cts +2 -2
- package/dist/schema/asset-filters.d.ts +2 -2
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +10 -4
- package/dist/schema/assets.d.ts +10 -4
- package/dist/schema/assets.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +44 -8
- package/dist/schema/comments.d.ts +44 -8
- package/dist/schema/comments.js +1 -1
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +18 -6
- package/dist/schema/conversations.d.ts +18 -6
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +24 -16
- package/dist/schema/datasets.d.ts +24 -16
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +178 -11
- package/dist/schema/files.d.ts +178 -11
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.cjs +1 -1
- package/dist/schema/notifications.d.cts +21 -1
- package/dist/schema/notifications.d.ts +21 -1
- package/dist/schema/notifications.js +1 -1
- package/dist/schema/organizations.cjs +1 -1
- package/dist/schema/organizations.d.cts +3 -1
- package/dist/schema/organizations.d.ts +3 -1
- package/dist/schema/organizations.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +42 -6
- package/dist/schema/posts.d.ts +42 -6
- package/dist/schema/posts.js +1 -1
- package/dist/schema/quests.cjs +1 -1
- package/dist/schema/quests.d.cts +94 -21
- package/dist/schema/quests.d.ts +94 -21
- package/dist/schema/quests.js +1 -1
- package/dist/schema/renditions.cjs +2 -0
- package/dist/schema/renditions.cjs.map +1 -0
- package/dist/schema/renditions.d.cts +196 -0
- package/dist/schema/renditions.d.ts +196 -0
- package/dist/schema/renditions.js +2 -0
- package/dist/schema/renditions.js.map +1 -0
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +333 -21
- package/dist/schema/services.d.ts +333 -21
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.cjs +1 -1
- package/dist/schema/teams.d.cts +27 -2
- package/dist/schema/teams.d.ts +27 -2
- package/dist/schema/teams.js +1 -1
- package/dist/schema/users.cjs +1 -1
- package/dist/schema/users.d.cts +42 -1
- package/dist/schema/users.d.ts +42 -1
- package/dist/schema/users.js +1 -1
- package/dist/utils/files.cjs +1 -1
- package/dist/utils/files.d.cts +2 -1
- package/dist/utils/files.d.ts +2 -1
- package/dist/utils/files.js +1 -1
- package/dist/utils/navigate.cjs +1 -1
- package/dist/utils/navigate.js +1 -1
- package/dist/utils/quest-submission-helpers.cjs +2 -0
- package/dist/utils/quest-submission-helpers.cjs.map +1 -0
- package/dist/utils/quest-submission-helpers.d.cts +2 -0
- package/dist/utils/quest-submission-helpers.d.ts +2 -0
- package/dist/utils/quest-submission-helpers.js +2 -0
- package/dist/utils/quest-submission-helpers.js.map +1 -0
- package/dist/utils/quest-submission.cjs +1 -1
- package/dist/utils/quest-submission.d.cts +69 -59
- package/dist/utils/quest-submission.d.ts +69 -59
- package/dist/utils/quest-submission.js +1 -1
- package/package.json +1 -1
- package/tests/file-classification.test.mjs +19 -0
- package/tests/files.test.mjs +21 -1
- package/tests/navigate.test.mjs +53 -0
- package/tests/renditions.test.mjs +111 -0
- package/dist/chunk-3DGJ27WL.js +0 -2
- package/dist/chunk-3DGJ27WL.js.map +0 -1
- package/dist/chunk-3JPOAQ2M.cjs +0 -2
- package/dist/chunk-3JPOAQ2M.cjs.map +0 -1
- package/dist/chunk-64ZUBBP7.js +0 -2
- package/dist/chunk-64ZUBBP7.js.map +0 -1
- package/dist/chunk-ADLJ3UUW.cjs +0 -2
- package/dist/chunk-ADLJ3UUW.cjs.map +0 -1
- package/dist/chunk-CDJH4OT5.js +0 -2
- package/dist/chunk-CDJH4OT5.js.map +0 -1
- package/dist/chunk-CIEATF7M.cjs +0 -2
- package/dist/chunk-CIEATF7M.cjs.map +0 -1
- package/dist/chunk-EY4OFSDP.js +0 -2
- package/dist/chunk-EY4OFSDP.js.map +0 -1
- package/dist/chunk-FGEMQEEM.js +0 -2
- package/dist/chunk-KHERHT26.cjs +0 -2
- package/dist/chunk-KHERHT26.cjs.map +0 -1
- package/dist/chunk-LMRFVO4I.cjs +0 -2
- package/dist/chunk-LMRFVO4I.cjs.map +0 -1
- package/dist/chunk-MKRXM63S.js +0 -2
- package/dist/chunk-MOEVC3KD.cjs +0 -2
- package/dist/chunk-MOEVC3KD.cjs.map +0 -1
- package/dist/chunk-OU4JKY4M.js +0 -2
- package/dist/chunk-OU4JKY4M.js.map +0 -1
- package/dist/chunk-PGCNGDPK.js +0 -2
- package/dist/chunk-PVUBGWOI.cjs +0 -2
- package/dist/chunk-PVUBGWOI.cjs.map +0 -1
- package/dist/chunk-RS5H4XDK.js +0 -2
- package/dist/chunk-RS5H4XDK.js.map +0 -1
- package/dist/chunk-W6KXPYCB.js +0 -2
- package/dist/chunk-W6KXPYCB.js.map +0 -1
- package/dist/chunk-XEA4DDOE.cjs +0 -2
- package/dist/chunk-XEA4DDOE.cjs.map +0 -1
- package/dist/chunk-XL2RQ3DZ.cjs +0 -2
- package/dist/chunk-XL2RQ3DZ.cjs.map +0 -1
- package/dist/chunk-XXFKHRNE.js +0 -2
- package/dist/chunk-XXFKHRNE.js.map +0 -1
- package/dist/chunk-Y6BK75KP.js +0 -2
- package/dist/chunk-Y6BK75KP.js.map +0 -1
- package/dist/chunk-YTCAK2AH.cjs +0 -2
- package/dist/chunk-YTCAK2AH.cjs.map +0 -1
- package/dist/chunk-ZFARY5F4.js +0 -2
- package/dist/chunk-ZFARY5F4.js.map +0 -1
|
@@ -126,6 +126,7 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
126
126
|
web_only: "web_only";
|
|
127
127
|
api_only: "api_only";
|
|
128
128
|
}>>>>;
|
|
129
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
129
130
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
130
131
|
user_id: z.ZodUUID;
|
|
131
132
|
role: z.ZodEnum<{
|
|
@@ -135,6 +136,11 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
135
136
|
none: "none";
|
|
136
137
|
}>;
|
|
137
138
|
}, z.core.$strip>>>>;
|
|
139
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
140
|
+
id: z.ZodUUID;
|
|
141
|
+
status: z.ZodString;
|
|
142
|
+
created_at: z.ZodString;
|
|
143
|
+
}, z.core.$strip>>>>;
|
|
138
144
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
139
145
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
140
146
|
user_id: z.ZodUUID;
|
|
@@ -301,12 +307,12 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
301
307
|
}, z.core.$strip>>>>;
|
|
302
308
|
}, z.core.$strip>;
|
|
303
309
|
declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
304
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
305
310
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
306
311
|
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
307
312
|
text: z.ZodString;
|
|
308
313
|
}, z.core.$strip>>>>;
|
|
309
314
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
315
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
310
316
|
license_id: z.ZodOptional<z.ZodString>;
|
|
311
317
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
312
318
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -460,12 +466,12 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
460
466
|
source?: string | null | undefined;
|
|
461
467
|
reply_to_comment_id?: string | null | undefined;
|
|
462
468
|
};
|
|
463
|
-
parent?: Record<string, any> | undefined;
|
|
464
469
|
description?: {
|
|
465
470
|
json: Record<string, any>;
|
|
466
471
|
text: string;
|
|
467
472
|
} | null | undefined;
|
|
468
473
|
parent_id?: string | null | undefined;
|
|
474
|
+
parent?: Record<string, any> | undefined;
|
|
469
475
|
license_id?: string | undefined;
|
|
470
476
|
price?: number | null | undefined;
|
|
471
477
|
unit_cost?: number | null | undefined;
|
|
@@ -513,12 +519,12 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
513
519
|
source?: string | null | undefined;
|
|
514
520
|
reply_to_comment_id?: string | null | undefined;
|
|
515
521
|
};
|
|
516
|
-
parent?: Record<string, any> | undefined;
|
|
517
522
|
description?: {
|
|
518
523
|
json: Record<string, any>;
|
|
519
524
|
text: string;
|
|
520
525
|
} | null | undefined;
|
|
521
526
|
parent_id?: string | null | undefined;
|
|
527
|
+
parent?: Record<string, any> | undefined;
|
|
522
528
|
license_id?: string | undefined;
|
|
523
529
|
price?: number | null | undefined;
|
|
524
530
|
unit_cost?: number | null | undefined;
|
|
@@ -533,7 +539,6 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
533
539
|
}>>;
|
|
534
540
|
declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
535
541
|
asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"conversation">>>;
|
|
536
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
537
542
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
538
543
|
members: z.ZodArray<z.ZodString>;
|
|
539
544
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -635,6 +640,7 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
635
640
|
error: "error";
|
|
636
641
|
}>>>>;
|
|
637
642
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>>;
|
|
643
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
638
644
|
license_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
639
645
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
640
646
|
price: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
|
|
@@ -654,7 +660,6 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
654
660
|
preview: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>>;
|
|
655
661
|
}, z.core.$strip>, z.ZodTransform<{
|
|
656
662
|
asset_type?: "conversation" | undefined;
|
|
657
|
-
parent?: Record<string, any> | undefined;
|
|
658
663
|
metadata?: {
|
|
659
664
|
members: string[];
|
|
660
665
|
source?: string | null | undefined;
|
|
@@ -691,6 +696,7 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
691
696
|
} | undefined;
|
|
692
697
|
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
693
698
|
parent_id?: string | null | undefined;
|
|
699
|
+
parent?: Record<string, any> | undefined;
|
|
694
700
|
license_id?: string | undefined;
|
|
695
701
|
name_url_slug?: string | null | undefined;
|
|
696
702
|
price?: number | null | undefined;
|
|
@@ -704,7 +710,6 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
704
710
|
preview?: Record<string, any>[] | null | undefined;
|
|
705
711
|
}, {
|
|
706
712
|
asset_type?: "conversation" | undefined;
|
|
707
|
-
parent?: Record<string, any> | undefined;
|
|
708
713
|
metadata?: {
|
|
709
714
|
members: string[];
|
|
710
715
|
source?: string | null | undefined;
|
|
@@ -741,6 +746,7 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
741
746
|
} | undefined;
|
|
742
747
|
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
743
748
|
parent_id?: string | null | undefined;
|
|
749
|
+
parent?: Record<string, any> | undefined;
|
|
744
750
|
license_id?: string | undefined;
|
|
745
751
|
name_url_slug?: string | null | undefined;
|
|
746
752
|
price?: number | null | undefined;
|
|
@@ -938,6 +944,7 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
938
944
|
web_only: "web_only";
|
|
939
945
|
api_only: "api_only";
|
|
940
946
|
}>>>>;
|
|
947
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
941
948
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
942
949
|
user_id: z.ZodUUID;
|
|
943
950
|
role: z.ZodEnum<{
|
|
@@ -947,6 +954,11 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
947
954
|
none: "none";
|
|
948
955
|
}>;
|
|
949
956
|
}, z.core.$strip>>>>;
|
|
957
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
958
|
+
id: z.ZodUUID;
|
|
959
|
+
status: z.ZodString;
|
|
960
|
+
created_at: z.ZodString;
|
|
961
|
+
}, z.core.$strip>>>>;
|
|
950
962
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
951
963
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
952
964
|
user_id: z.ZodUUID;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as ConversationSchema,b as CreateConversationSchema,e as MessageReactionSchema,d as MessageReactionValueSchema,f as MessageSchema,c as UpdateConversationSchema}from'../chunk-
|
|
1
|
+
export{a as ConversationSchema,b as CreateConversationSchema,e as MessageReactionSchema,d as MessageReactionValueSchema,f as MessageSchema,c as UpdateConversationSchema}from'../chunk-DA7VOYUY.js';import'../chunk-BYYDLMAE.js';import'../chunk-XSZPAZEE.js';import'../chunk-ZM7J5MCU.js';import'../chunk-BWUPF76F.js';import'../chunk-NLU672VS.js';import'../chunk-33C7IDRP.js';import'../chunk-DUBPWSCA.js';import'../chunk-42ADEGDM.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 chunkOMO4474C_cjs=require('../chunk-OMO4474C.cjs');require('../chunk-6DNS4QKU.cjs'),require('../chunk-R52RJPI3.cjs'),require('../chunk-5PWVQ2XA.cjs'),require('../chunk-WMCUQQ2Q.cjs'),require('../chunk-YFEGRZXL.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-JRBBNFFI.cjs');Object.defineProperty(exports,"CreateDatasetFromFileSchema",{enumerable:true,get:function(){return chunkOMO4474C_cjs.h}});Object.defineProperty(exports,"CreateDatasetFromSchemaSchema",{enumerable:true,get:function(){return chunkOMO4474C_cjs.i}});Object.defineProperty(exports,"DatasetEnumColumnsSchema",{enumerable:true,get:function(){return chunkOMO4474C_cjs.c}});Object.defineProperty(exports,"DatasetRefsSchema",{enumerable:true,get:function(){return chunkOMO4474C_cjs.b}});Object.defineProperty(exports,"DatasetSchema",{enumerable:true,get:function(){return chunkOMO4474C_cjs.g}});Object.defineProperty(exports,"EnrichedDatasetSchemaFieldSchema",{enumerable:true,get:function(){return chunkOMO4474C_cjs.d}});Object.defineProperty(exports,"RefKindSchema",{enumerable:true,get:function(){return chunkOMO4474C_cjs.a}});Object.defineProperty(exports,"ResolvedRefSchema",{enumerable:true,get:function(){return chunkOMO4474C_cjs.e}});Object.defineProperty(exports,"ResolvedRefsSchema",{enumerable:true,get:function(){return chunkOMO4474C_cjs.f}});Object.defineProperty(exports,"updateDatasetSchema",{enumerable:true,get:function(){return chunkOMO4474C_cjs.j}});//# sourceMappingURL=datasets.cjs.map
|
|
2
2
|
//# sourceMappingURL=datasets.cjs.map
|
|
@@ -47,16 +47,18 @@ declare const DatasetEnumColumnsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
47
47
|
/**
|
|
48
48
|
* A single column from GET /datasets/:id/schema, enriched server-side.
|
|
49
49
|
*
|
|
50
|
-
* The FK fields come straight from get_table_schema. `
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* `
|
|
54
|
-
*
|
|
50
|
+
* The FK fields come straight from get_table_schema. `is_nullable` is the
|
|
51
|
+
* Postgres nullability of the column. `semantic_type` is pure inference:
|
|
52
|
+
* "reference" when the column has an FK to a referenceable table, with
|
|
53
|
+
* `ref_kind` naming which one ("asset" | "action"). The optional `asset_type`
|
|
54
|
+
* is the declared target-type hint from metadata.refs (display + soft
|
|
55
|
+
* validation only, asset kind only). `semantic_type: "enum"` comes from
|
|
55
56
|
* metadata.enum_columns and exposes its known values.
|
|
56
57
|
*/
|
|
57
58
|
declare const EnrichedDatasetSchemaFieldSchema: z.ZodObject<{
|
|
58
59
|
column_name: z.ZodString;
|
|
59
60
|
data_type: z.ZodString;
|
|
61
|
+
is_nullable: z.ZodOptional<z.ZodBoolean>;
|
|
60
62
|
fk_constraint_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
63
|
foreign_table_schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
64
|
foreign_table_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -111,7 +113,7 @@ declare const ResolvedRefSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
111
113
|
name: z.ZodNullable<z.ZodString>;
|
|
112
114
|
web_url: z.ZodNullable<z.ZodString>;
|
|
113
115
|
created_at: z.ZodNullable<z.ZodString>;
|
|
114
|
-
}, z.core.$strip>]>;
|
|
116
|
+
}, z.core.$strip>], "kind">;
|
|
115
117
|
/** column -> (referenced uuid -> resolved reference). */
|
|
116
118
|
declare const ResolvedRefsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
117
119
|
kind: z.ZodLiteral<"asset">;
|
|
@@ -140,7 +142,7 @@ declare const ResolvedRefsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodStri
|
|
|
140
142
|
name: z.ZodNullable<z.ZodString>;
|
|
141
143
|
web_url: z.ZodNullable<z.ZodString>;
|
|
142
144
|
created_at: z.ZodNullable<z.ZodString>;
|
|
143
|
-
}, z.core.$strip>]>>>;
|
|
145
|
+
}, z.core.$strip>], "kind">>>;
|
|
144
146
|
declare const DatasetSchema: z.ZodObject<{
|
|
145
147
|
id: z.ZodUUID;
|
|
146
148
|
user_id: z.ZodUUID;
|
|
@@ -267,6 +269,7 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
267
269
|
web_only: "web_only";
|
|
268
270
|
api_only: "api_only";
|
|
269
271
|
}>>>>;
|
|
272
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
270
273
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
271
274
|
user_id: z.ZodUUID;
|
|
272
275
|
role: z.ZodEnum<{
|
|
@@ -276,6 +279,11 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
276
279
|
none: "none";
|
|
277
280
|
}>;
|
|
278
281
|
}, z.core.$strip>>>>;
|
|
282
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
283
|
+
id: z.ZodUUID;
|
|
284
|
+
status: z.ZodString;
|
|
285
|
+
created_at: z.ZodString;
|
|
286
|
+
}, z.core.$strip>>>>;
|
|
279
287
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
280
288
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
281
289
|
user_id: z.ZodUUID;
|
|
@@ -438,7 +446,6 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
438
446
|
preview: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
439
447
|
}, z.core.$strip>;
|
|
440
448
|
declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
441
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
442
449
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
443
450
|
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
444
451
|
text: z.ZodString;
|
|
@@ -449,6 +456,7 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
449
456
|
"pay-per-use": "pay-per-use";
|
|
450
457
|
}>>;
|
|
451
458
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
459
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
452
460
|
license_id: z.ZodOptional<z.ZodString>;
|
|
453
461
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
454
462
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -647,13 +655,13 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
647
655
|
reply_to_comment_id?: string | null | undefined;
|
|
648
656
|
};
|
|
649
657
|
preview: Record<string, any>[];
|
|
650
|
-
parent?: Record<string, any> | undefined;
|
|
651
658
|
description?: {
|
|
652
659
|
json: Record<string, any>;
|
|
653
660
|
text: string;
|
|
654
661
|
} | null | undefined;
|
|
655
662
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
656
663
|
parent_id?: string | null | undefined;
|
|
664
|
+
parent?: Record<string, any> | undefined;
|
|
657
665
|
license_id?: string | undefined;
|
|
658
666
|
price?: number | null | undefined;
|
|
659
667
|
unit_cost?: number | null | undefined;
|
|
@@ -716,13 +724,13 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
716
724
|
reply_to_comment_id?: string | null | undefined;
|
|
717
725
|
};
|
|
718
726
|
preview: Record<string, any>[];
|
|
719
|
-
parent?: Record<string, any> | undefined;
|
|
720
727
|
description?: {
|
|
721
728
|
json: Record<string, any>;
|
|
722
729
|
text: string;
|
|
723
730
|
} | null | undefined;
|
|
724
731
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
725
732
|
parent_id?: string | null | undefined;
|
|
733
|
+
parent?: Record<string, any> | undefined;
|
|
726
734
|
license_id?: string | undefined;
|
|
727
735
|
price?: number | null | undefined;
|
|
728
736
|
unit_cost?: number | null | undefined;
|
|
@@ -735,7 +743,6 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
735
743
|
name_url_slug?: string | null | undefined;
|
|
736
744
|
}>>;
|
|
737
745
|
declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
738
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
739
746
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
740
747
|
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
741
748
|
text: z.ZodString;
|
|
@@ -746,6 +753,7 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
746
753
|
"pay-per-use": "pay-per-use";
|
|
747
754
|
}>>;
|
|
748
755
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
756
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
749
757
|
license_id: z.ZodOptional<z.ZodString>;
|
|
750
758
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
751
759
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -927,13 +935,13 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
927
935
|
reply_to_comment_id?: string | null | undefined;
|
|
928
936
|
};
|
|
929
937
|
preview: Record<string, any>[];
|
|
930
|
-
parent?: Record<string, any> | undefined;
|
|
931
938
|
description?: {
|
|
932
939
|
json: Record<string, any>;
|
|
933
940
|
text: string;
|
|
934
941
|
} | null | undefined;
|
|
935
942
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
936
943
|
parent_id?: string | null | undefined;
|
|
944
|
+
parent?: Record<string, any> | undefined;
|
|
937
945
|
license_id?: string | undefined;
|
|
938
946
|
price?: number | null | undefined;
|
|
939
947
|
unit_cost?: number | null | undefined;
|
|
@@ -989,13 +997,13 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
989
997
|
reply_to_comment_id?: string | null | undefined;
|
|
990
998
|
};
|
|
991
999
|
preview: Record<string, any>[];
|
|
992
|
-
parent?: Record<string, any> | undefined;
|
|
993
1000
|
description?: {
|
|
994
1001
|
json: Record<string, any>;
|
|
995
1002
|
text: string;
|
|
996
1003
|
} | null | undefined;
|
|
997
1004
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
998
1005
|
parent_id?: string | null | undefined;
|
|
1006
|
+
parent?: Record<string, any> | undefined;
|
|
999
1007
|
license_id?: string | undefined;
|
|
1000
1008
|
price?: number | null | undefined;
|
|
1001
1009
|
unit_cost?: number | null | undefined;
|
|
@@ -1009,7 +1017,6 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1009
1017
|
}>>;
|
|
1010
1018
|
declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
1011
1019
|
org_id: z.ZodOptional<z.ZodUUID>;
|
|
1012
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1013
1020
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
1014
1021
|
table_name: z.ZodString;
|
|
1015
1022
|
schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
|
|
@@ -1108,6 +1115,7 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1108
1115
|
error: "error";
|
|
1109
1116
|
}>>;
|
|
1110
1117
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
1118
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1111
1119
|
license_id: z.ZodOptional<z.ZodString>;
|
|
1112
1120
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1113
1121
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -1132,7 +1140,6 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1132
1140
|
asset_type: "dataset";
|
|
1133
1141
|
last_updated: string;
|
|
1134
1142
|
org_id?: string | undefined;
|
|
1135
|
-
parent?: Record<string, any> | undefined;
|
|
1136
1143
|
metadata?: {
|
|
1137
1144
|
table_name: string;
|
|
1138
1145
|
schema: "datasets";
|
|
@@ -1184,6 +1191,7 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1184
1191
|
} | undefined;
|
|
1185
1192
|
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
1186
1193
|
parent_id?: string | null | undefined;
|
|
1194
|
+
parent?: Record<string, any> | undefined;
|
|
1187
1195
|
license_id?: string | undefined;
|
|
1188
1196
|
license?: Record<string, any> | undefined;
|
|
1189
1197
|
name_url_slug?: string | null | undefined;
|
|
@@ -1200,7 +1208,6 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1200
1208
|
asset_type: "dataset";
|
|
1201
1209
|
last_updated: string;
|
|
1202
1210
|
org_id?: string | undefined;
|
|
1203
|
-
parent?: Record<string, any> | undefined;
|
|
1204
1211
|
metadata?: {
|
|
1205
1212
|
table_name: string;
|
|
1206
1213
|
schema: "datasets";
|
|
@@ -1252,6 +1259,7 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1252
1259
|
} | undefined;
|
|
1253
1260
|
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
1254
1261
|
parent_id?: string | null | undefined;
|
|
1262
|
+
parent?: Record<string, any> | undefined;
|
|
1255
1263
|
license_id?: string | undefined;
|
|
1256
1264
|
license?: Record<string, any> | undefined;
|
|
1257
1265
|
name_url_slug?: string | null | undefined;
|
|
@@ -47,16 +47,18 @@ declare const DatasetEnumColumnsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
47
47
|
/**
|
|
48
48
|
* A single column from GET /datasets/:id/schema, enriched server-side.
|
|
49
49
|
*
|
|
50
|
-
* The FK fields come straight from get_table_schema. `
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* `
|
|
54
|
-
*
|
|
50
|
+
* The FK fields come straight from get_table_schema. `is_nullable` is the
|
|
51
|
+
* Postgres nullability of the column. `semantic_type` is pure inference:
|
|
52
|
+
* "reference" when the column has an FK to a referenceable table, with
|
|
53
|
+
* `ref_kind` naming which one ("asset" | "action"). The optional `asset_type`
|
|
54
|
+
* is the declared target-type hint from metadata.refs (display + soft
|
|
55
|
+
* validation only, asset kind only). `semantic_type: "enum"` comes from
|
|
55
56
|
* metadata.enum_columns and exposes its known values.
|
|
56
57
|
*/
|
|
57
58
|
declare const EnrichedDatasetSchemaFieldSchema: z.ZodObject<{
|
|
58
59
|
column_name: z.ZodString;
|
|
59
60
|
data_type: z.ZodString;
|
|
61
|
+
is_nullable: z.ZodOptional<z.ZodBoolean>;
|
|
60
62
|
fk_constraint_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
63
|
foreign_table_schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
64
|
foreign_table_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -111,7 +113,7 @@ declare const ResolvedRefSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
111
113
|
name: z.ZodNullable<z.ZodString>;
|
|
112
114
|
web_url: z.ZodNullable<z.ZodString>;
|
|
113
115
|
created_at: z.ZodNullable<z.ZodString>;
|
|
114
|
-
}, z.core.$strip>]>;
|
|
116
|
+
}, z.core.$strip>], "kind">;
|
|
115
117
|
/** column -> (referenced uuid -> resolved reference). */
|
|
116
118
|
declare const ResolvedRefsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
117
119
|
kind: z.ZodLiteral<"asset">;
|
|
@@ -140,7 +142,7 @@ declare const ResolvedRefsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodStri
|
|
|
140
142
|
name: z.ZodNullable<z.ZodString>;
|
|
141
143
|
web_url: z.ZodNullable<z.ZodString>;
|
|
142
144
|
created_at: z.ZodNullable<z.ZodString>;
|
|
143
|
-
}, z.core.$strip>]>>>;
|
|
145
|
+
}, z.core.$strip>], "kind">>>;
|
|
144
146
|
declare const DatasetSchema: z.ZodObject<{
|
|
145
147
|
id: z.ZodUUID;
|
|
146
148
|
user_id: z.ZodUUID;
|
|
@@ -267,6 +269,7 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
267
269
|
web_only: "web_only";
|
|
268
270
|
api_only: "api_only";
|
|
269
271
|
}>>>>;
|
|
272
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
270
273
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
271
274
|
user_id: z.ZodUUID;
|
|
272
275
|
role: z.ZodEnum<{
|
|
@@ -276,6 +279,11 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
276
279
|
none: "none";
|
|
277
280
|
}>;
|
|
278
281
|
}, z.core.$strip>>>>;
|
|
282
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
283
|
+
id: z.ZodUUID;
|
|
284
|
+
status: z.ZodString;
|
|
285
|
+
created_at: z.ZodString;
|
|
286
|
+
}, z.core.$strip>>>>;
|
|
279
287
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
280
288
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
281
289
|
user_id: z.ZodUUID;
|
|
@@ -438,7 +446,6 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
438
446
|
preview: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
439
447
|
}, z.core.$strip>;
|
|
440
448
|
declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
441
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
442
449
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
443
450
|
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
444
451
|
text: z.ZodString;
|
|
@@ -449,6 +456,7 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
449
456
|
"pay-per-use": "pay-per-use";
|
|
450
457
|
}>>;
|
|
451
458
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
459
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
452
460
|
license_id: z.ZodOptional<z.ZodString>;
|
|
453
461
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
454
462
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -647,13 +655,13 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
647
655
|
reply_to_comment_id?: string | null | undefined;
|
|
648
656
|
};
|
|
649
657
|
preview: Record<string, any>[];
|
|
650
|
-
parent?: Record<string, any> | undefined;
|
|
651
658
|
description?: {
|
|
652
659
|
json: Record<string, any>;
|
|
653
660
|
text: string;
|
|
654
661
|
} | null | undefined;
|
|
655
662
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
656
663
|
parent_id?: string | null | undefined;
|
|
664
|
+
parent?: Record<string, any> | undefined;
|
|
657
665
|
license_id?: string | undefined;
|
|
658
666
|
price?: number | null | undefined;
|
|
659
667
|
unit_cost?: number | null | undefined;
|
|
@@ -716,13 +724,13 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
716
724
|
reply_to_comment_id?: string | null | undefined;
|
|
717
725
|
};
|
|
718
726
|
preview: Record<string, any>[];
|
|
719
|
-
parent?: Record<string, any> | undefined;
|
|
720
727
|
description?: {
|
|
721
728
|
json: Record<string, any>;
|
|
722
729
|
text: string;
|
|
723
730
|
} | null | undefined;
|
|
724
731
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
725
732
|
parent_id?: string | null | undefined;
|
|
733
|
+
parent?: Record<string, any> | undefined;
|
|
726
734
|
license_id?: string | undefined;
|
|
727
735
|
price?: number | null | undefined;
|
|
728
736
|
unit_cost?: number | null | undefined;
|
|
@@ -735,7 +743,6 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
735
743
|
name_url_slug?: string | null | undefined;
|
|
736
744
|
}>>;
|
|
737
745
|
declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
738
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
739
746
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
740
747
|
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
741
748
|
text: z.ZodString;
|
|
@@ -746,6 +753,7 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
746
753
|
"pay-per-use": "pay-per-use";
|
|
747
754
|
}>>;
|
|
748
755
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
756
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
749
757
|
license_id: z.ZodOptional<z.ZodString>;
|
|
750
758
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
751
759
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -927,13 +935,13 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
927
935
|
reply_to_comment_id?: string | null | undefined;
|
|
928
936
|
};
|
|
929
937
|
preview: Record<string, any>[];
|
|
930
|
-
parent?: Record<string, any> | undefined;
|
|
931
938
|
description?: {
|
|
932
939
|
json: Record<string, any>;
|
|
933
940
|
text: string;
|
|
934
941
|
} | null | undefined;
|
|
935
942
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
936
943
|
parent_id?: string | null | undefined;
|
|
944
|
+
parent?: Record<string, any> | undefined;
|
|
937
945
|
license_id?: string | undefined;
|
|
938
946
|
price?: number | null | undefined;
|
|
939
947
|
unit_cost?: number | null | undefined;
|
|
@@ -989,13 +997,13 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
989
997
|
reply_to_comment_id?: string | null | undefined;
|
|
990
998
|
};
|
|
991
999
|
preview: Record<string, any>[];
|
|
992
|
-
parent?: Record<string, any> | undefined;
|
|
993
1000
|
description?: {
|
|
994
1001
|
json: Record<string, any>;
|
|
995
1002
|
text: string;
|
|
996
1003
|
} | null | undefined;
|
|
997
1004
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
998
1005
|
parent_id?: string | null | undefined;
|
|
1006
|
+
parent?: Record<string, any> | undefined;
|
|
999
1007
|
license_id?: string | undefined;
|
|
1000
1008
|
price?: number | null | undefined;
|
|
1001
1009
|
unit_cost?: number | null | undefined;
|
|
@@ -1009,7 +1017,6 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1009
1017
|
}>>;
|
|
1010
1018
|
declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
1011
1019
|
org_id: z.ZodOptional<z.ZodUUID>;
|
|
1012
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1013
1020
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
1014
1021
|
table_name: z.ZodString;
|
|
1015
1022
|
schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
|
|
@@ -1108,6 +1115,7 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1108
1115
|
error: "error";
|
|
1109
1116
|
}>>;
|
|
1110
1117
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
1118
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1111
1119
|
license_id: z.ZodOptional<z.ZodString>;
|
|
1112
1120
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1113
1121
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -1132,7 +1140,6 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1132
1140
|
asset_type: "dataset";
|
|
1133
1141
|
last_updated: string;
|
|
1134
1142
|
org_id?: string | undefined;
|
|
1135
|
-
parent?: Record<string, any> | undefined;
|
|
1136
1143
|
metadata?: {
|
|
1137
1144
|
table_name: string;
|
|
1138
1145
|
schema: "datasets";
|
|
@@ -1184,6 +1191,7 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1184
1191
|
} | undefined;
|
|
1185
1192
|
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
1186
1193
|
parent_id?: string | null | undefined;
|
|
1194
|
+
parent?: Record<string, any> | undefined;
|
|
1187
1195
|
license_id?: string | undefined;
|
|
1188
1196
|
license?: Record<string, any> | undefined;
|
|
1189
1197
|
name_url_slug?: string | null | undefined;
|
|
@@ -1200,7 +1208,6 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1200
1208
|
asset_type: "dataset";
|
|
1201
1209
|
last_updated: string;
|
|
1202
1210
|
org_id?: string | undefined;
|
|
1203
|
-
parent?: Record<string, any> | undefined;
|
|
1204
1211
|
metadata?: {
|
|
1205
1212
|
table_name: string;
|
|
1206
1213
|
schema: "datasets";
|
|
@@ -1252,6 +1259,7 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1252
1259
|
} | undefined;
|
|
1253
1260
|
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
1254
1261
|
parent_id?: string | null | undefined;
|
|
1262
|
+
parent?: Record<string, any> | undefined;
|
|
1255
1263
|
license_id?: string | undefined;
|
|
1256
1264
|
license?: Record<string, any> | undefined;
|
|
1257
1265
|
name_url_slug?: string | null | undefined;
|
package/dist/schema/datasets.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{h as CreateDatasetFromFileSchema,i as CreateDatasetFromSchemaSchema,c as DatasetEnumColumnsSchema,b as DatasetRefsSchema,g as DatasetSchema,d as EnrichedDatasetSchemaFieldSchema,a as RefKindSchema,e as ResolvedRefSchema,f as ResolvedRefsSchema,j as updateDatasetSchema}from'../chunk-
|
|
1
|
+
export{h as CreateDatasetFromFileSchema,i as CreateDatasetFromSchemaSchema,c as DatasetEnumColumnsSchema,b as DatasetRefsSchema,g as DatasetSchema,d as EnrichedDatasetSchemaFieldSchema,a as RefKindSchema,e as ResolvedRefSchema,f as ResolvedRefsSchema,j as updateDatasetSchema}from'../chunk-Y37HRTGF.js';import'../chunk-XSZPAZEE.js';import'../chunk-ZM7J5MCU.js';import'../chunk-BWUPF76F.js';import'../chunk-NLU672VS.js';import'../chunk-33C7IDRP.js';import'../chunk-DUBPWSCA.js';import'../chunk-42ADEGDM.js';//# sourceMappingURL=datasets.js.map
|
|
2
2
|
//# sourceMappingURL=datasets.js.map
|
package/dist/schema/files.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkKE53HYHH_cjs=require('../chunk-KE53HYHH.cjs');require('../chunk-6DNS4QKU.cjs'),require('../chunk-R52RJPI3.cjs'),require('../chunk-5PWVQ2XA.cjs'),require('../chunk-WMCUQQ2Q.cjs'),require('../chunk-YFEGRZXL.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-JRBBNFFI.cjs');Object.defineProperty(exports,"CreateFileSchema",{enumerable:true,get:function(){return chunkKE53HYHH_cjs.d}});Object.defineProperty(exports,"FileSchema",{enumerable:true,get:function(){return chunkKE53HYHH_cjs.c}});Object.defineProperty(exports,"StructureSummarySchema",{enumerable:true,get:function(){return chunkKE53HYHH_cjs.b}});Object.defineProperty(exports,"ZipArchiveMetadataSchema",{enumerable:true,get:function(){return chunkKE53HYHH_cjs.a}});Object.defineProperty(exports,"updateFileSchema",{enumerable:true,get:function(){return chunkKE53HYHH_cjs.e}});//# sourceMappingURL=files.cjs.map
|
|
2
2
|
//# sourceMappingURL=files.cjs.map
|