@ourofoundation/ouro-js 3.8.3 → 3.8.4

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.
Files changed (172) hide show
  1. package/dist/chunk-2GABFYUS.cjs +2 -0
  2. package/dist/chunk-2GABFYUS.cjs.map +1 -0
  3. package/dist/chunk-4AEKCY33.js +2 -0
  4. package/dist/chunk-4AEKCY33.js.map +1 -0
  5. package/dist/chunk-4GP5MIEM.cjs +2 -0
  6. package/dist/chunk-4GP5MIEM.cjs.map +1 -0
  7. package/dist/{chunk-DSJ23DIB.cjs → chunk-4UNQYG7I.cjs} +2 -2
  8. package/dist/{chunk-DSJ23DIB.cjs.map → chunk-4UNQYG7I.cjs.map} +1 -1
  9. package/dist/{chunk-KU5AWMS5.cjs → chunk-5PWVQ2XA.cjs} +2 -2
  10. package/dist/{chunk-KU5AWMS5.cjs.map → chunk-5PWVQ2XA.cjs.map} +1 -1
  11. package/dist/chunk-67Q4RMP6.js +2 -0
  12. package/dist/chunk-67Q4RMP6.js.map +1 -0
  13. package/dist/chunk-6KQTA6I7.cjs +2 -0
  14. package/dist/{chunk-AIIAIQ6L.cjs.map → chunk-6KQTA6I7.cjs.map} +1 -1
  15. package/dist/chunk-B4OJDZY5.js +2 -0
  16. package/dist/{chunk-PGCNGDPK.js.map → chunk-B4OJDZY5.js.map} +1 -1
  17. package/dist/{chunk-OCG3P3PJ.js → chunk-BWUPF76F.js} +2 -2
  18. package/dist/{chunk-OCG3P3PJ.js.map → chunk-BWUPF76F.js.map} +1 -1
  19. package/dist/{chunk-RMMMRN4X.cjs → chunk-D2VAJ55Q.cjs} +2 -2
  20. package/dist/{chunk-RMMMRN4X.cjs.map → chunk-D2VAJ55Q.cjs.map} +1 -1
  21. package/dist/chunk-D6JWKEY5.cjs +2 -0
  22. package/dist/chunk-D6JWKEY5.cjs.map +1 -0
  23. package/dist/chunk-G3IGIXKD.cjs +2 -0
  24. package/dist/chunk-G3IGIXKD.cjs.map +1 -0
  25. package/dist/chunk-GS5VFJ22.cjs +2 -0
  26. package/dist/chunk-GS5VFJ22.cjs.map +1 -0
  27. package/dist/chunk-HKU6LRRS.js +2 -0
  28. package/dist/chunk-HKU6LRRS.js.map +1 -0
  29. package/dist/chunk-IUO6O47I.cjs +2 -0
  30. package/dist/chunk-IUO6O47I.cjs.map +1 -0
  31. package/dist/chunk-KTJTOSL2.cjs +2 -0
  32. package/dist/chunk-KTJTOSL2.cjs.map +1 -0
  33. package/dist/chunk-KV6R6XC2.cjs +2 -0
  34. package/dist/chunk-KV6R6XC2.cjs.map +1 -0
  35. package/dist/{chunk-LXDNBUOU.js → chunk-MV4VXP6M.js} +2 -2
  36. package/dist/{chunk-LXDNBUOU.js.map → chunk-MV4VXP6M.js.map} +1 -1
  37. package/dist/chunk-NGPSTYQD.js +2 -0
  38. package/dist/chunk-NGPSTYQD.js.map +1 -0
  39. package/dist/chunk-NK4K542Q.js +2 -0
  40. package/dist/chunk-NK4K542Q.js.map +1 -0
  41. package/dist/chunk-NLU672VS.js +2 -0
  42. package/dist/chunk-NLU672VS.js.map +1 -0
  43. package/dist/chunk-OC34WU3H.cjs +2 -0
  44. package/dist/chunk-OC34WU3H.cjs.map +1 -0
  45. package/dist/chunk-OZBQNIKJ.js +2 -0
  46. package/dist/chunk-OZBQNIKJ.js.map +1 -0
  47. package/dist/chunk-QVMN2EX4.js +2 -0
  48. package/dist/chunk-QVMN2EX4.js.map +1 -0
  49. package/dist/{chunk-E2FDUS3B.cjs → chunk-RCUD47O3.cjs} +2 -2
  50. package/dist/{chunk-E2FDUS3B.cjs.map → chunk-RCUD47O3.cjs.map} +1 -1
  51. package/dist/chunk-SB4X4GDQ.js +2 -0
  52. package/dist/chunk-SB4X4GDQ.js.map +1 -0
  53. package/dist/chunk-WMCUQQ2Q.cjs +2 -0
  54. package/dist/chunk-WMCUQQ2Q.cjs.map +1 -0
  55. package/dist/chunk-XQTA6BNA.js +2 -0
  56. package/dist/chunk-XQTA6BNA.js.map +1 -0
  57. package/dist/chunk-XTINLMDO.js +2 -0
  58. package/dist/{chunk-FGEMQEEM.js.map → chunk-XTINLMDO.js.map} +1 -1
  59. package/dist/chunk-ZBNLKRMB.js +2 -0
  60. package/dist/{chunk-MKRXM63S.js.map → chunk-ZBNLKRMB.js.map} +1 -1
  61. package/dist/index.cjs +1 -1
  62. package/dist/index.d.cts +6 -5
  63. package/dist/index.d.ts +6 -5
  64. package/dist/index.js +1 -1
  65. package/dist/schema/asset-filters.d.cts +2 -2
  66. package/dist/schema/asset-filters.d.ts +2 -2
  67. package/dist/schema/assets.cjs +1 -1
  68. package/dist/schema/assets.d.cts +6 -0
  69. package/dist/schema/assets.d.ts +6 -0
  70. package/dist/schema/assets.js +1 -1
  71. package/dist/schema/comments.cjs +1 -1
  72. package/dist/schema/comments.d.cts +36 -0
  73. package/dist/schema/comments.d.ts +36 -0
  74. package/dist/schema/comments.js +1 -1
  75. package/dist/schema/conversations.cjs +1 -1
  76. package/dist/schema/conversations.d.cts +12 -0
  77. package/dist/schema/conversations.d.ts +12 -0
  78. package/dist/schema/conversations.js +1 -1
  79. package/dist/schema/datasets.cjs +1 -1
  80. package/dist/schema/datasets.d.cts +13 -5
  81. package/dist/schema/datasets.d.ts +13 -5
  82. package/dist/schema/datasets.js +1 -1
  83. package/dist/schema/files.cjs +1 -1
  84. package/dist/schema/files.d.cts +168 -1
  85. package/dist/schema/files.d.ts +168 -1
  86. package/dist/schema/files.js +1 -1
  87. package/dist/schema/notifications.cjs +1 -1
  88. package/dist/schema/notifications.d.cts +20 -0
  89. package/dist/schema/notifications.d.ts +20 -0
  90. package/dist/schema/notifications.js +1 -1
  91. package/dist/schema/organizations.cjs +1 -1
  92. package/dist/schema/organizations.d.cts +3 -1
  93. package/dist/schema/organizations.d.ts +3 -1
  94. package/dist/schema/organizations.js +1 -1
  95. package/dist/schema/posts.cjs +1 -1
  96. package/dist/schema/posts.d.cts +36 -0
  97. package/dist/schema/posts.d.ts +36 -0
  98. package/dist/schema/posts.js +1 -1
  99. package/dist/schema/quests.cjs +1 -1
  100. package/dist/schema/quests.d.cts +88 -15
  101. package/dist/schema/quests.d.ts +88 -15
  102. package/dist/schema/quests.js +1 -1
  103. package/dist/schema/renditions.cjs +2 -0
  104. package/dist/schema/renditions.cjs.map +1 -0
  105. package/dist/schema/renditions.d.cts +196 -0
  106. package/dist/schema/renditions.d.ts +196 -0
  107. package/dist/schema/renditions.js +2 -0
  108. package/dist/schema/renditions.js.map +1 -0
  109. package/dist/schema/services.cjs +1 -1
  110. package/dist/schema/services.d.cts +319 -7
  111. package/dist/schema/services.d.ts +319 -7
  112. package/dist/schema/services.js +1 -1
  113. package/dist/schema/teams.cjs +1 -1
  114. package/dist/schema/teams.d.cts +25 -0
  115. package/dist/schema/teams.d.ts +25 -0
  116. package/dist/schema/teams.js +1 -1
  117. package/dist/schema/users.cjs +1 -1
  118. package/dist/schema/users.d.cts +42 -1
  119. package/dist/schema/users.d.ts +42 -1
  120. package/dist/schema/users.js +1 -1
  121. package/dist/utils/files.cjs +1 -1
  122. package/dist/utils/files.d.cts +2 -1
  123. package/dist/utils/files.d.ts +2 -1
  124. package/dist/utils/files.js +1 -1
  125. package/dist/utils/quest-submission.cjs +1 -1
  126. package/dist/utils/quest-submission.d.cts +10 -1
  127. package/dist/utils/quest-submission.d.ts +10 -1
  128. package/dist/utils/quest-submission.js +1 -1
  129. package/package.json +1 -1
  130. package/tests/file-classification.test.mjs +19 -0
  131. package/tests/files.test.mjs +21 -1
  132. package/tests/renditions.test.mjs +111 -0
  133. package/dist/chunk-3DGJ27WL.js +0 -2
  134. package/dist/chunk-3DGJ27WL.js.map +0 -1
  135. package/dist/chunk-3JPOAQ2M.cjs +0 -2
  136. package/dist/chunk-3JPOAQ2M.cjs.map +0 -1
  137. package/dist/chunk-64ZUBBP7.js +0 -2
  138. package/dist/chunk-64ZUBBP7.js.map +0 -1
  139. package/dist/chunk-ADLJ3UUW.cjs +0 -2
  140. package/dist/chunk-ADLJ3UUW.cjs.map +0 -1
  141. package/dist/chunk-AIIAIQ6L.cjs +0 -2
  142. package/dist/chunk-CDJH4OT5.js +0 -2
  143. package/dist/chunk-CDJH4OT5.js.map +0 -1
  144. package/dist/chunk-CIEATF7M.cjs +0 -2
  145. package/dist/chunk-CIEATF7M.cjs.map +0 -1
  146. package/dist/chunk-FGEMQEEM.js +0 -2
  147. package/dist/chunk-KHERHT26.cjs +0 -2
  148. package/dist/chunk-KHERHT26.cjs.map +0 -1
  149. package/dist/chunk-LMRFVO4I.cjs +0 -2
  150. package/dist/chunk-LMRFVO4I.cjs.map +0 -1
  151. package/dist/chunk-MKRXM63S.js +0 -2
  152. package/dist/chunk-OU4JKY4M.js +0 -2
  153. package/dist/chunk-OU4JKY4M.js.map +0 -1
  154. package/dist/chunk-PGCNGDPK.js +0 -2
  155. package/dist/chunk-PVUBGWOI.cjs +0 -2
  156. package/dist/chunk-PVUBGWOI.cjs.map +0 -1
  157. package/dist/chunk-RS5H4XDK.js +0 -2
  158. package/dist/chunk-RS5H4XDK.js.map +0 -1
  159. package/dist/chunk-W6KXPYCB.js +0 -2
  160. package/dist/chunk-W6KXPYCB.js.map +0 -1
  161. package/dist/chunk-XEA4DDOE.cjs +0 -2
  162. package/dist/chunk-XEA4DDOE.cjs.map +0 -1
  163. package/dist/chunk-XL2RQ3DZ.cjs +0 -2
  164. package/dist/chunk-XL2RQ3DZ.cjs.map +0 -1
  165. package/dist/chunk-XXFKHRNE.js +0 -2
  166. package/dist/chunk-XXFKHRNE.js.map +0 -1
  167. package/dist/chunk-Y6BK75KP.js +0 -2
  168. package/dist/chunk-Y6BK75KP.js.map +0 -1
  169. package/dist/chunk-YTCAK2AH.cjs +0 -2
  170. package/dist/chunk-YTCAK2AH.cjs.map +0 -1
  171. package/dist/chunk-ZFARY5F4.js +0 -2
  172. package/dist/chunk-ZFARY5F4.js.map +0 -1
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkRMMMRN4X_cjs=require('../chunk-RMMMRN4X.cjs');require('../chunk-3JPOAQ2M.cjs'),require('../chunk-KU5AWMS5.cjs'),require('../chunk-YTCAK2AH.cjs'),require('../chunk-YFEGRZXL.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-JRBBNFFI.cjs');Object.defineProperty(exports,"AssetMetadataSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.b}});Object.defineProperty(exports,"AssetSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.f}});Object.defineProperty(exports,"AttributionSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.e}});Object.defineProperty(exports,"CitationSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.d}});Object.defineProperty(exports,"CreateAssetSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.h}});Object.defineProperty(exports,"DEFAULT_ATTRIBUTION",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.g}});Object.defineProperty(exports,"RelationTypeSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.c}});Object.defineProperty(exports,"UpdateAssetSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.i}});Object.defineProperty(exports,"normalizeAssetConfigForParsing",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.a}});//# sourceMappingURL=assets.cjs.map
1
+ 'use strict';var chunkD2VAJ55Q_cjs=require('../chunk-D2VAJ55Q.cjs');require('../chunk-4GP5MIEM.cjs'),require('../chunk-5PWVQ2XA.cjs'),require('../chunk-WMCUQQ2Q.cjs'),require('../chunk-JRBBNFFI.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"AssetMetadataSchema",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.b}});Object.defineProperty(exports,"AssetSchema",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.f}});Object.defineProperty(exports,"AttributionSchema",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.e}});Object.defineProperty(exports,"CitationSchema",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.d}});Object.defineProperty(exports,"CreateAssetSchema",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.h}});Object.defineProperty(exports,"DEFAULT_ATTRIBUTION",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.g}});Object.defineProperty(exports,"RelationTypeSchema",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.c}});Object.defineProperty(exports,"UpdateAssetSchema",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.i}});Object.defineProperty(exports,"normalizeAssetConfigForParsing",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.a}});//# sourceMappingURL=assets.cjs.map
2
2
  //# sourceMappingURL=assets.cjs.map
@@ -184,6 +184,7 @@ declare const AssetSchema: z.ZodObject<{
184
184
  web_only: "web_only";
185
185
  api_only: "api_only";
186
186
  }>>>>;
187
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
187
188
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
188
189
  user_id: z.ZodUUID;
189
190
  role: z.ZodEnum<{
@@ -193,6 +194,11 @@ declare const AssetSchema: z.ZodObject<{
193
194
  none: "none";
194
195
  }>;
195
196
  }, z.core.$strip>>>>;
197
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
198
+ id: z.ZodUUID;
199
+ status: z.ZodString;
200
+ created_at: z.ZodString;
201
+ }, z.core.$strip>>>>;
196
202
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
197
203
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
198
204
  user_id: z.ZodUUID;
@@ -184,6 +184,7 @@ declare const AssetSchema: z.ZodObject<{
184
184
  web_only: "web_only";
185
185
  api_only: "api_only";
186
186
  }>>>>;
187
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
187
188
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
188
189
  user_id: z.ZodUUID;
189
190
  role: z.ZodEnum<{
@@ -193,6 +194,11 @@ declare const AssetSchema: z.ZodObject<{
193
194
  none: "none";
194
195
  }>;
195
196
  }, z.core.$strip>>>>;
197
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
198
+ id: z.ZodUUID;
199
+ status: z.ZodString;
200
+ created_at: z.ZodString;
201
+ }, z.core.$strip>>>>;
196
202
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
197
203
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
198
204
  user_id: z.ZodUUID;
@@ -1,2 +1,2 @@
1
- export{b as AssetMetadataSchema,f as AssetSchema,e as AttributionSchema,d as CitationSchema,h as CreateAssetSchema,g as DEFAULT_ATTRIBUTION,c as RelationTypeSchema,i as UpdateAssetSchema,a as normalizeAssetConfigForParsing}from'../chunk-PGCNGDPK.js';import'../chunk-Y6BK75KP.js';import'../chunk-OCG3P3PJ.js';import'../chunk-CDJH4OT5.js';import'../chunk-33C7IDRP.js';import'../chunk-DUBPWSCA.js';import'../chunk-42ADEGDM.js';//# sourceMappingURL=assets.js.map
1
+ export{b as AssetMetadataSchema,f as AssetSchema,e as AttributionSchema,d as CitationSchema,h as CreateAssetSchema,g as DEFAULT_ATTRIBUTION,c as RelationTypeSchema,i as UpdateAssetSchema,a as normalizeAssetConfigForParsing}from'../chunk-B4OJDZY5.js';import'../chunk-67Q4RMP6.js';import'../chunk-BWUPF76F.js';import'../chunk-NLU672VS.js';import'../chunk-42ADEGDM.js';import'../chunk-DUBPWSCA.js';import'../chunk-33C7IDRP.js';//# sourceMappingURL=assets.js.map
2
2
  //# sourceMappingURL=assets.js.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkE2FDUS3B_cjs=require('../chunk-E2FDUS3B.cjs');require('../chunk-T4BUMCXS.cjs'),require('../chunk-DSJ23DIB.cjs'),require('../chunk-RMMMRN4X.cjs'),require('../chunk-3JPOAQ2M.cjs'),require('../chunk-KU5AWMS5.cjs'),require('../chunk-YTCAK2AH.cjs'),require('../chunk-YFEGRZXL.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-JRBBNFFI.cjs');Object.defineProperty(exports,"CommentRepliesAggregateSchema",{enumerable:true,get:function(){return chunkE2FDUS3B_cjs.c}});Object.defineProperty(exports,"CommentSchema",{enumerable:true,get:function(){return chunkE2FDUS3B_cjs.a}});Object.defineProperty(exports,"CreateCommentSchema",{enumerable:true,get:function(){return chunkE2FDUS3B_cjs.b}});Object.defineProperty(exports,"ReadCommentSchema",{enumerable:true,get:function(){return chunkE2FDUS3B_cjs.d}});//# sourceMappingURL=comments.cjs.map
1
+ 'use strict';var chunkRCUD47O3_cjs=require('../chunk-RCUD47O3.cjs');require('../chunk-T4BUMCXS.cjs'),require('../chunk-4UNQYG7I.cjs'),require('../chunk-D2VAJ55Q.cjs'),require('../chunk-4GP5MIEM.cjs'),require('../chunk-5PWVQ2XA.cjs'),require('../chunk-WMCUQQ2Q.cjs'),require('../chunk-JRBBNFFI.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"CommentRepliesAggregateSchema",{enumerable:true,get:function(){return chunkRCUD47O3_cjs.c}});Object.defineProperty(exports,"CommentSchema",{enumerable:true,get:function(){return chunkRCUD47O3_cjs.a}});Object.defineProperty(exports,"CreateCommentSchema",{enumerable:true,get:function(){return chunkRCUD47O3_cjs.b}});Object.defineProperty(exports,"ReadCommentSchema",{enumerable:true,get:function(){return chunkRCUD47O3_cjs.d}});//# sourceMappingURL=comments.cjs.map
2
2
  //# sourceMappingURL=comments.cjs.map
@@ -126,6 +126,7 @@ declare const CommentSchema: 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 CommentSchema: 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;
@@ -386,6 +392,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
386
392
  web_only: "web_only";
387
393
  api_only: "api_only";
388
394
  }>>>>;
395
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
389
396
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
390
397
  user_id: z.ZodUUID;
391
398
  role: z.ZodEnum<{
@@ -395,6 +402,11 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
395
402
  none: "none";
396
403
  }>;
397
404
  }, z.core.$strip>>>>;
405
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
406
+ id: z.ZodUUID;
407
+ status: z.ZodString;
408
+ created_at: z.ZodString;
409
+ }, z.core.$strip>>>>;
398
410
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
399
411
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
400
412
  user_id: z.ZodUUID;
@@ -656,10 +668,16 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
656
668
  visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
657
669
  actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
658
670
  source_policy?: "any" | "web_only" | "api_only" | null | undefined;
671
+ join_policy?: string | undefined;
659
672
  userMembership?: {
660
673
  user_id: string;
661
674
  role: "admin" | "read" | "write" | "none";
662
675
  } | null | undefined;
676
+ userJoinRequest?: {
677
+ id: string;
678
+ status: string;
679
+ created_at: string;
680
+ } | null | undefined;
663
681
  memberCount?: number | null | undefined;
664
682
  members?: {
665
683
  user_id: string;
@@ -814,10 +832,16 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
814
832
  visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
815
833
  actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
816
834
  source_policy?: "any" | "web_only" | "api_only" | null | undefined;
835
+ join_policy?: string | undefined;
817
836
  userMembership?: {
818
837
  user_id: string;
819
838
  role: "admin" | "read" | "write" | "none";
820
839
  } | null | undefined;
840
+ userJoinRequest?: {
841
+ id: string;
842
+ status: string;
843
+ created_at: string;
844
+ } | null | undefined;
821
845
  memberCount?: number | null | undefined;
822
846
  members?: {
823
847
  user_id: string;
@@ -1013,6 +1037,7 @@ declare const ReadCommentSchema: z.ZodObject<{
1013
1037
  web_only: "web_only";
1014
1038
  api_only: "api_only";
1015
1039
  }>>>>;
1040
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
1016
1041
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1017
1042
  user_id: z.ZodUUID;
1018
1043
  role: z.ZodEnum<{
@@ -1022,6 +1047,11 @@ declare const ReadCommentSchema: z.ZodObject<{
1022
1047
  none: "none";
1023
1048
  }>;
1024
1049
  }, z.core.$strip>>>>;
1050
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1051
+ id: z.ZodUUID;
1052
+ status: z.ZodString;
1053
+ created_at: z.ZodString;
1054
+ }, z.core.$strip>>>>;
1025
1055
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1026
1056
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
1027
1057
  user_id: z.ZodUUID;
@@ -1283,6 +1313,7 @@ declare const ReadCommentSchema: z.ZodObject<{
1283
1313
  web_only: "web_only";
1284
1314
  api_only: "api_only";
1285
1315
  }>>>>;
1316
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
1286
1317
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1287
1318
  user_id: z.ZodUUID;
1288
1319
  role: z.ZodEnum<{
@@ -1292,6 +1323,11 @@ declare const ReadCommentSchema: z.ZodObject<{
1292
1323
  none: "none";
1293
1324
  }>;
1294
1325
  }, z.core.$strip>>>>;
1326
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1327
+ id: z.ZodUUID;
1328
+ status: z.ZodString;
1329
+ created_at: z.ZodString;
1330
+ }, z.core.$strip>>>>;
1295
1331
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1296
1332
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
1297
1333
  user_id: z.ZodUUID;
@@ -126,6 +126,7 @@ declare const CommentSchema: 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 CommentSchema: 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;
@@ -386,6 +392,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
386
392
  web_only: "web_only";
387
393
  api_only: "api_only";
388
394
  }>>>>;
395
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
389
396
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
390
397
  user_id: z.ZodUUID;
391
398
  role: z.ZodEnum<{
@@ -395,6 +402,11 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
395
402
  none: "none";
396
403
  }>;
397
404
  }, z.core.$strip>>>>;
405
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
406
+ id: z.ZodUUID;
407
+ status: z.ZodString;
408
+ created_at: z.ZodString;
409
+ }, z.core.$strip>>>>;
398
410
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
399
411
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
400
412
  user_id: z.ZodUUID;
@@ -656,10 +668,16 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
656
668
  visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
657
669
  actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
658
670
  source_policy?: "any" | "web_only" | "api_only" | null | undefined;
671
+ join_policy?: string | undefined;
659
672
  userMembership?: {
660
673
  user_id: string;
661
674
  role: "admin" | "read" | "write" | "none";
662
675
  } | null | undefined;
676
+ userJoinRequest?: {
677
+ id: string;
678
+ status: string;
679
+ created_at: string;
680
+ } | null | undefined;
663
681
  memberCount?: number | null | undefined;
664
682
  members?: {
665
683
  user_id: string;
@@ -814,10 +832,16 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
814
832
  visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
815
833
  actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
816
834
  source_policy?: "any" | "web_only" | "api_only" | null | undefined;
835
+ join_policy?: string | undefined;
817
836
  userMembership?: {
818
837
  user_id: string;
819
838
  role: "admin" | "read" | "write" | "none";
820
839
  } | null | undefined;
840
+ userJoinRequest?: {
841
+ id: string;
842
+ status: string;
843
+ created_at: string;
844
+ } | null | undefined;
821
845
  memberCount?: number | null | undefined;
822
846
  members?: {
823
847
  user_id: string;
@@ -1013,6 +1037,7 @@ declare const ReadCommentSchema: z.ZodObject<{
1013
1037
  web_only: "web_only";
1014
1038
  api_only: "api_only";
1015
1039
  }>>>>;
1040
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
1016
1041
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1017
1042
  user_id: z.ZodUUID;
1018
1043
  role: z.ZodEnum<{
@@ -1022,6 +1047,11 @@ declare const ReadCommentSchema: z.ZodObject<{
1022
1047
  none: "none";
1023
1048
  }>;
1024
1049
  }, z.core.$strip>>>>;
1050
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1051
+ id: z.ZodUUID;
1052
+ status: z.ZodString;
1053
+ created_at: z.ZodString;
1054
+ }, z.core.$strip>>>>;
1025
1055
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1026
1056
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
1027
1057
  user_id: z.ZodUUID;
@@ -1283,6 +1313,7 @@ declare const ReadCommentSchema: z.ZodObject<{
1283
1313
  web_only: "web_only";
1284
1314
  api_only: "api_only";
1285
1315
  }>>>>;
1316
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
1286
1317
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1287
1318
  user_id: z.ZodUUID;
1288
1319
  role: z.ZodEnum<{
@@ -1292,6 +1323,11 @@ declare const ReadCommentSchema: z.ZodObject<{
1292
1323
  none: "none";
1293
1324
  }>;
1294
1325
  }, z.core.$strip>>>>;
1326
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1327
+ id: z.ZodUUID;
1328
+ status: z.ZodString;
1329
+ created_at: z.ZodString;
1330
+ }, z.core.$strip>>>>;
1295
1331
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1296
1332
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
1297
1333
  user_id: z.ZodUUID;
@@ -1,2 +1,2 @@
1
- export{c as CommentRepliesAggregateSchema,a as CommentSchema,b as CreateCommentSchema,d as ReadCommentSchema}from'../chunk-MKRXM63S.js';import'../chunk-WE6CXCEQ.js';import'../chunk-LXDNBUOU.js';import'../chunk-PGCNGDPK.js';import'../chunk-Y6BK75KP.js';import'../chunk-OCG3P3PJ.js';import'../chunk-CDJH4OT5.js';import'../chunk-33C7IDRP.js';import'../chunk-DUBPWSCA.js';import'../chunk-42ADEGDM.js';//# sourceMappingURL=comments.js.map
1
+ export{c as CommentRepliesAggregateSchema,a as CommentSchema,b as CreateCommentSchema,d as ReadCommentSchema}from'../chunk-ZBNLKRMB.js';import'../chunk-WE6CXCEQ.js';import'../chunk-MV4VXP6M.js';import'../chunk-B4OJDZY5.js';import'../chunk-67Q4RMP6.js';import'../chunk-BWUPF76F.js';import'../chunk-NLU672VS.js';import'../chunk-42ADEGDM.js';import'../chunk-DUBPWSCA.js';import'../chunk-33C7IDRP.js';//# sourceMappingURL=comments.js.map
2
2
  //# sourceMappingURL=comments.js.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkAIIAIQ6L_cjs=require('../chunk-AIIAIQ6L.cjs');require('../chunk-DSJ23DIB.cjs'),require('../chunk-RMMMRN4X.cjs'),require('../chunk-3JPOAQ2M.cjs'),require('../chunk-KU5AWMS5.cjs'),require('../chunk-YTCAK2AH.cjs'),require('../chunk-YFEGRZXL.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-JRBBNFFI.cjs');Object.defineProperty(exports,"ConversationSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.b}});Object.defineProperty(exports,"MessageReactionSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.e}});Object.defineProperty(exports,"MessageReactionValueSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.d}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.f}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.c}});//# sourceMappingURL=conversations.cjs.map
1
+ 'use strict';var chunk6KQTA6I7_cjs=require('../chunk-6KQTA6I7.cjs');require('../chunk-4UNQYG7I.cjs'),require('../chunk-D2VAJ55Q.cjs'),require('../chunk-4GP5MIEM.cjs'),require('../chunk-5PWVQ2XA.cjs'),require('../chunk-WMCUQQ2Q.cjs'),require('../chunk-JRBBNFFI.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"ConversationSchema",{enumerable:true,get:function(){return chunk6KQTA6I7_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunk6KQTA6I7_cjs.b}});Object.defineProperty(exports,"MessageReactionSchema",{enumerable:true,get:function(){return chunk6KQTA6I7_cjs.e}});Object.defineProperty(exports,"MessageReactionValueSchema",{enumerable:true,get:function(){return chunk6KQTA6I7_cjs.d}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunk6KQTA6I7_cjs.f}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunk6KQTA6I7_cjs.c}});//# sourceMappingURL=conversations.cjs.map
2
2
  //# sourceMappingURL=conversations.cjs.map
@@ -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;
@@ -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;
@@ -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;
@@ -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-FGEMQEEM.js';import'../chunk-LXDNBUOU.js';import'../chunk-PGCNGDPK.js';import'../chunk-Y6BK75KP.js';import'../chunk-OCG3P3PJ.js';import'../chunk-CDJH4OT5.js';import'../chunk-33C7IDRP.js';import'../chunk-DUBPWSCA.js';import'../chunk-42ADEGDM.js';//# sourceMappingURL=conversations.js.map
1
+ export{a as ConversationSchema,b as CreateConversationSchema,e as MessageReactionSchema,d as MessageReactionValueSchema,f as MessageSchema,c as UpdateConversationSchema}from'../chunk-XTINLMDO.js';import'../chunk-MV4VXP6M.js';import'../chunk-B4OJDZY5.js';import'../chunk-67Q4RMP6.js';import'../chunk-BWUPF76F.js';import'../chunk-NLU672VS.js';import'../chunk-42ADEGDM.js';import'../chunk-DUBPWSCA.js';import'../chunk-33C7IDRP.js';//# sourceMappingURL=conversations.js.map
2
2
  //# sourceMappingURL=conversations.js.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkPVUBGWOI_cjs=require('../chunk-PVUBGWOI.cjs');require('../chunk-RMMMRN4X.cjs'),require('../chunk-3JPOAQ2M.cjs'),require('../chunk-KU5AWMS5.cjs'),require('../chunk-YTCAK2AH.cjs'),require('../chunk-YFEGRZXL.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-JRBBNFFI.cjs');Object.defineProperty(exports,"CreateDatasetFromFileSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.h}});Object.defineProperty(exports,"CreateDatasetFromSchemaSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.i}});Object.defineProperty(exports,"DatasetEnumColumnsSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.c}});Object.defineProperty(exports,"DatasetRefsSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.b}});Object.defineProperty(exports,"DatasetSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.g}});Object.defineProperty(exports,"EnrichedDatasetSchemaFieldSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.d}});Object.defineProperty(exports,"RefKindSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.a}});Object.defineProperty(exports,"ResolvedRefSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.e}});Object.defineProperty(exports,"ResolvedRefsSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.f}});Object.defineProperty(exports,"updateDatasetSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.j}});//# sourceMappingURL=datasets.cjs.map
1
+ 'use strict';var chunkKTJTOSL2_cjs=require('../chunk-KTJTOSL2.cjs');require('../chunk-D2VAJ55Q.cjs'),require('../chunk-4GP5MIEM.cjs'),require('../chunk-5PWVQ2XA.cjs'),require('../chunk-WMCUQQ2Q.cjs'),require('../chunk-JRBBNFFI.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"CreateDatasetFromFileSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.h}});Object.defineProperty(exports,"CreateDatasetFromSchemaSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.i}});Object.defineProperty(exports,"DatasetEnumColumnsSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.c}});Object.defineProperty(exports,"DatasetRefsSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.b}});Object.defineProperty(exports,"DatasetSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.g}});Object.defineProperty(exports,"EnrichedDatasetSchemaFieldSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.d}});Object.defineProperty(exports,"RefKindSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.a}});Object.defineProperty(exports,"ResolvedRefSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.e}});Object.defineProperty(exports,"ResolvedRefsSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.f}});Object.defineProperty(exports,"updateDatasetSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_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. `semantic_type` is pure
51
- * inference: "reference" when the column has an FK to a referenceable table,
52
- * with `ref_kind` naming which one ("asset" | "action"). The optional
53
- * `asset_type` is the declared target-type hint from metadata.refs (display +
54
- * soft validation only, asset kind only). `semantic_type: "enum"` comes from
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>>;
@@ -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;
@@ -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. `semantic_type` is pure
51
- * inference: "reference" when the column has an FK to a referenceable table,
52
- * with `ref_kind` naming which one ("asset" | "action"). The optional
53
- * `asset_type` is the declared target-type hint from metadata.refs (display +
54
- * soft validation only, asset kind only). `semantic_type: "enum"` comes from
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>>;
@@ -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;
@@ -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-W6KXPYCB.js';import'../chunk-PGCNGDPK.js';import'../chunk-Y6BK75KP.js';import'../chunk-OCG3P3PJ.js';import'../chunk-CDJH4OT5.js';import'../chunk-33C7IDRP.js';import'../chunk-DUBPWSCA.js';import'../chunk-42ADEGDM.js';//# sourceMappingURL=datasets.js.map
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-XQTA6BNA.js';import'../chunk-B4OJDZY5.js';import'../chunk-67Q4RMP6.js';import'../chunk-BWUPF76F.js';import'../chunk-NLU672VS.js';import'../chunk-42ADEGDM.js';import'../chunk-DUBPWSCA.js';import'../chunk-33C7IDRP.js';//# sourceMappingURL=datasets.js.map
2
2
  //# sourceMappingURL=datasets.js.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkXL2RQ3DZ_cjs=require('../chunk-XL2RQ3DZ.cjs');require('../chunk-RMMMRN4X.cjs'),require('../chunk-3JPOAQ2M.cjs'),require('../chunk-KU5AWMS5.cjs'),require('../chunk-YTCAK2AH.cjs'),require('../chunk-YFEGRZXL.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-JRBBNFFI.cjs');Object.defineProperty(exports,"CreateFileSchema",{enumerable:true,get:function(){return chunkXL2RQ3DZ_cjs.c}});Object.defineProperty(exports,"FileSchema",{enumerable:true,get:function(){return chunkXL2RQ3DZ_cjs.b}});Object.defineProperty(exports,"ZipArchiveMetadataSchema",{enumerable:true,get:function(){return chunkXL2RQ3DZ_cjs.a}});Object.defineProperty(exports,"updateFileSchema",{enumerable:true,get:function(){return chunkXL2RQ3DZ_cjs.d}});//# sourceMappingURL=files.cjs.map
1
+ 'use strict';var chunkG3IGIXKD_cjs=require('../chunk-G3IGIXKD.cjs');require('../chunk-D2VAJ55Q.cjs'),require('../chunk-4GP5MIEM.cjs'),require('../chunk-5PWVQ2XA.cjs'),require('../chunk-WMCUQQ2Q.cjs'),require('../chunk-JRBBNFFI.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"CreateFileSchema",{enumerable:true,get:function(){return chunkG3IGIXKD_cjs.d}});Object.defineProperty(exports,"FileSchema",{enumerable:true,get:function(){return chunkG3IGIXKD_cjs.c}});Object.defineProperty(exports,"StructureSummarySchema",{enumerable:true,get:function(){return chunkG3IGIXKD_cjs.b}});Object.defineProperty(exports,"ZipArchiveMetadataSchema",{enumerable:true,get:function(){return chunkG3IGIXKD_cjs.a}});Object.defineProperty(exports,"updateFileSchema",{enumerable:true,get:function(){return chunkG3IGIXKD_cjs.e}});//# sourceMappingURL=files.cjs.map
2
2
  //# sourceMappingURL=files.cjs.map