@ourofoundation/ouro-js 3.8.4 → 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.
Files changed (119) hide show
  1. package/.github/workflows/publish.yml +63 -0
  2. package/dist/{chunk-NK4K542Q.js → chunk-33ELNWOX.js} +2 -2
  3. package/dist/{chunk-NK4K542Q.js.map → chunk-33ELNWOX.js.map} +1 -1
  4. package/dist/chunk-3PRQXWQP.js +2 -0
  5. package/dist/chunk-3PRQXWQP.js.map +1 -0
  6. package/dist/{chunk-SB4X4GDQ.js → chunk-4276I2OP.js} +2 -2
  7. package/dist/{chunk-SB4X4GDQ.js.map → chunk-4276I2OP.js.map} +1 -1
  8. package/dist/{chunk-D2VAJ55Q.cjs → chunk-6DNS4QKU.cjs} +2 -2
  9. package/dist/{chunk-D2VAJ55Q.cjs.map → chunk-6DNS4QKU.cjs.map} +1 -1
  10. package/dist/{chunk-6KQTA6I7.cjs → chunk-BR3QVFVE.cjs} +2 -2
  11. package/dist/{chunk-6KQTA6I7.cjs.map → chunk-BR3QVFVE.cjs.map} +1 -1
  12. package/dist/{chunk-MV4VXP6M.js → chunk-BYYDLMAE.js} +2 -2
  13. package/dist/{chunk-MV4VXP6M.js.map → chunk-BYYDLMAE.js.map} +1 -1
  14. package/dist/chunk-CZMKRHO4.cjs +2 -0
  15. package/dist/chunk-CZMKRHO4.cjs.map +1 -0
  16. package/dist/{chunk-XTINLMDO.js → chunk-DA7VOYUY.js} +2 -2
  17. package/dist/{chunk-XTINLMDO.js.map → chunk-DA7VOYUY.js.map} +1 -1
  18. package/dist/{chunk-KV6R6XC2.cjs → chunk-F7URSDHU.cjs} +2 -2
  19. package/dist/{chunk-KV6R6XC2.cjs.map → chunk-F7URSDHU.cjs.map} +1 -1
  20. package/dist/chunk-HJW6XNOY.js +2 -0
  21. package/dist/chunk-HJW6XNOY.js.map +1 -0
  22. package/dist/chunk-J4GKOJZZ.cjs +2 -0
  23. package/dist/chunk-J4GKOJZZ.cjs.map +1 -0
  24. package/dist/{chunk-G3IGIXKD.cjs → chunk-KE53HYHH.cjs} +2 -2
  25. package/dist/{chunk-G3IGIXKD.cjs.map → chunk-KE53HYHH.cjs.map} +1 -1
  26. package/dist/{chunk-HKU6LRRS.js → chunk-O2BXIKRA.js} +2 -2
  27. package/dist/{chunk-HKU6LRRS.js.map → chunk-O2BXIKRA.js.map} +1 -1
  28. package/dist/{chunk-KTJTOSL2.cjs → chunk-OMO4474C.cjs} +2 -2
  29. package/dist/{chunk-KTJTOSL2.cjs.map → chunk-OMO4474C.cjs.map} +1 -1
  30. package/dist/{chunk-ZBNLKRMB.js → chunk-PMOXYEAS.js} +2 -2
  31. package/dist/{chunk-ZBNLKRMB.js.map → chunk-PMOXYEAS.js.map} +1 -1
  32. package/dist/{chunk-4GP5MIEM.cjs → chunk-R52RJPI3.cjs} +2 -2
  33. package/dist/{chunk-4GP5MIEM.cjs.map → chunk-R52RJPI3.cjs.map} +1 -1
  34. package/dist/{chunk-NGPSTYQD.js → chunk-RO6NRIGU.js} +2 -2
  35. package/dist/{chunk-NGPSTYQD.js.map → chunk-RO6NRIGU.js.map} +1 -1
  36. package/dist/chunk-SUVNXKE6.js +2 -0
  37. package/dist/chunk-SUVNXKE6.js.map +1 -0
  38. package/dist/{chunk-GS5VFJ22.cjs → chunk-SZW4GHCP.cjs} +2 -2
  39. package/dist/{chunk-GS5VFJ22.cjs.map → chunk-SZW4GHCP.cjs.map} +1 -1
  40. package/dist/chunk-UBSYUTZO.cjs +2 -0
  41. package/dist/chunk-UBSYUTZO.cjs.map +1 -0
  42. package/dist/{chunk-2GABFYUS.cjs → chunk-V352KM56.cjs} +2 -2
  43. package/dist/{chunk-2GABFYUS.cjs.map → chunk-V352KM56.cjs.map} +1 -1
  44. package/dist/{chunk-4UNQYG7I.cjs → chunk-V5W6FOUA.cjs} +2 -2
  45. package/dist/{chunk-4UNQYG7I.cjs.map → chunk-V5W6FOUA.cjs.map} +1 -1
  46. package/dist/{chunk-RCUD47O3.cjs → chunk-X5KE2IW6.cjs} +2 -2
  47. package/dist/{chunk-RCUD47O3.cjs.map → chunk-X5KE2IW6.cjs.map} +1 -1
  48. package/dist/{chunk-B4OJDZY5.js → chunk-XSZPAZEE.js} +2 -2
  49. package/dist/{chunk-B4OJDZY5.js.map → chunk-XSZPAZEE.js.map} +1 -1
  50. package/dist/{chunk-XQTA6BNA.js → chunk-Y37HRTGF.js} +2 -2
  51. package/dist/{chunk-XQTA6BNA.js.map → chunk-Y37HRTGF.js.map} +1 -1
  52. package/dist/{chunk-67Q4RMP6.js → chunk-ZM7J5MCU.js} +2 -2
  53. package/dist/{chunk-67Q4RMP6.js.map → chunk-ZM7J5MCU.js.map} +1 -1
  54. package/dist/index.cjs +1 -1
  55. package/dist/index.js +1 -1
  56. package/dist/schema/assets.cjs +1 -1
  57. package/dist/schema/assets.d.cts +4 -4
  58. package/dist/schema/assets.d.ts +4 -4
  59. package/dist/schema/assets.js +1 -1
  60. package/dist/schema/comments.cjs +1 -1
  61. package/dist/schema/comments.d.cts +8 -8
  62. package/dist/schema/comments.d.ts +8 -8
  63. package/dist/schema/comments.js +1 -1
  64. package/dist/schema/conversations.cjs +1 -1
  65. package/dist/schema/conversations.d.cts +6 -6
  66. package/dist/schema/conversations.d.ts +6 -6
  67. package/dist/schema/conversations.js +1 -1
  68. package/dist/schema/datasets.cjs +1 -1
  69. package/dist/schema/datasets.d.cts +11 -11
  70. package/dist/schema/datasets.d.ts +11 -11
  71. package/dist/schema/datasets.js +1 -1
  72. package/dist/schema/files.cjs +1 -1
  73. package/dist/schema/files.d.cts +10 -10
  74. package/dist/schema/files.d.ts +10 -10
  75. package/dist/schema/files.js +1 -1
  76. package/dist/schema/notifications.d.cts +1 -1
  77. package/dist/schema/notifications.d.ts +1 -1
  78. package/dist/schema/posts.cjs +1 -1
  79. package/dist/schema/posts.d.cts +6 -6
  80. package/dist/schema/posts.d.ts +6 -6
  81. package/dist/schema/posts.js +1 -1
  82. package/dist/schema/quests.cjs +1 -1
  83. package/dist/schema/quests.d.cts +6 -6
  84. package/dist/schema/quests.d.ts +6 -6
  85. package/dist/schema/quests.js +1 -1
  86. package/dist/schema/renditions.cjs +1 -1
  87. package/dist/schema/renditions.d.cts +1 -1
  88. package/dist/schema/renditions.d.ts +1 -1
  89. package/dist/schema/renditions.js +1 -1
  90. package/dist/schema/services.cjs +1 -1
  91. package/dist/schema/services.d.cts +14 -14
  92. package/dist/schema/services.d.ts +14 -14
  93. package/dist/schema/services.js +1 -1
  94. package/dist/schema/teams.cjs +1 -1
  95. package/dist/schema/teams.d.cts +2 -2
  96. package/dist/schema/teams.d.ts +2 -2
  97. package/dist/schema/teams.js +1 -1
  98. package/dist/utils/navigate.cjs +1 -1
  99. package/dist/utils/navigate.js +1 -1
  100. package/dist/utils/quest-submission-helpers.cjs +2 -0
  101. package/dist/utils/quest-submission-helpers.cjs.map +1 -0
  102. package/dist/utils/quest-submission-helpers.d.cts +2 -0
  103. package/dist/utils/quest-submission-helpers.d.ts +2 -0
  104. package/dist/utils/quest-submission-helpers.js +2 -0
  105. package/dist/utils/quest-submission-helpers.js.map +1 -0
  106. package/dist/utils/quest-submission.cjs +1 -1
  107. package/dist/utils/quest-submission.d.cts +60 -59
  108. package/dist/utils/quest-submission.d.ts +60 -59
  109. package/dist/utils/quest-submission.js +1 -1
  110. package/package.json +1 -1
  111. package/tests/navigate.test.mjs +53 -0
  112. package/dist/chunk-EY4OFSDP.js +0 -2
  113. package/dist/chunk-EY4OFSDP.js.map +0 -1
  114. package/dist/chunk-IUO6O47I.cjs +0 -2
  115. package/dist/chunk-IUO6O47I.cjs.map +0 -1
  116. package/dist/chunk-MOEVC3KD.cjs +0 -2
  117. package/dist/chunk-MOEVC3KD.cjs.map +0 -1
  118. package/dist/chunk-OZBQNIKJ.js +0 -2
  119. package/dist/chunk-OZBQNIKJ.js.map +0 -1
@@ -336,7 +336,6 @@ declare const FileSchema: z.ZodObject<{
336
336
  }, z.core.$strip>;
337
337
  }, z.core.$strip>;
338
338
  declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
339
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
340
339
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
341
340
  json: z.ZodRecord<z.ZodString, z.ZodAny>;
342
341
  text: z.ZodString;
@@ -347,6 +346,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
347
346
  "pay-per-use": "pay-per-use";
348
347
  }>>;
349
348
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
349
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
350
350
  license_id: z.ZodOptional<z.ZodString>;
351
351
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
352
352
  unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -493,7 +493,6 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
493
493
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
494
494
  }, z.core.$strip>;
495
495
  }, z.core.$strip>, z.ZodObject<{
496
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
497
496
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
498
497
  json: z.ZodRecord<z.ZodString, z.ZodAny>;
499
498
  text: z.ZodString;
@@ -504,6 +503,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
504
503
  "pay-per-use": "pay-per-use";
505
504
  }>>;
506
505
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
506
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
507
507
  license_id: z.ZodOptional<z.ZodString>;
508
508
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
509
509
  unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -610,7 +610,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
610
610
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
611
611
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
612
612
  }, z.core.$strip>;
613
- }, z.core.$strip>]>, z.ZodTransform<{
613
+ }, z.core.$strip>], "state">, z.ZodTransform<{
614
614
  id: string;
615
615
  team_id: string | null;
616
616
  org_id: string | null;
@@ -681,13 +681,13 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
681
681
  source?: string | null | undefined;
682
682
  reply_to_comment_id?: string | null | undefined;
683
683
  };
684
- parent?: Record<string, any> | undefined;
685
684
  description?: {
686
685
  json: Record<string, any>;
687
686
  text: string;
688
687
  } | null | undefined;
689
688
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
690
689
  parent_id?: string | null | undefined;
690
+ parent?: Record<string, any> | undefined;
691
691
  license_id?: string | undefined;
692
692
  price?: number | null | undefined;
693
693
  unit_cost?: number | null | undefined;
@@ -734,13 +734,13 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
734
734
  source?: string | null | undefined;
735
735
  reply_to_comment_id?: string | null | undefined;
736
736
  };
737
- parent?: Record<string, any> | undefined;
738
737
  description?: {
739
738
  json: Record<string, any>;
740
739
  text: string;
741
740
  } | null | undefined;
742
741
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
743
742
  parent_id?: string | null | undefined;
743
+ parent?: Record<string, any> | undefined;
744
744
  license_id?: string | undefined;
745
745
  price?: number | null | undefined;
746
746
  unit_cost?: number | null | undefined;
@@ -823,13 +823,13 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
823
823
  source?: string | null | undefined;
824
824
  reply_to_comment_id?: string | null | undefined;
825
825
  };
826
- parent?: Record<string, any> | undefined;
827
826
  description?: {
828
827
  json: Record<string, any>;
829
828
  text: string;
830
829
  } | null | undefined;
831
830
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
832
831
  parent_id?: string | null | undefined;
832
+ parent?: Record<string, any> | undefined;
833
833
  license_id?: string | undefined;
834
834
  price?: number | null | undefined;
835
835
  unit_cost?: number | null | undefined;
@@ -876,13 +876,13 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
876
876
  source?: string | null | undefined;
877
877
  reply_to_comment_id?: string | null | undefined;
878
878
  };
879
- parent?: Record<string, any> | undefined;
880
879
  description?: {
881
880
  json: Record<string, any>;
882
881
  text: string;
883
882
  } | null | undefined;
884
883
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
885
884
  parent_id?: string | null | undefined;
885
+ parent?: Record<string, any> | undefined;
886
886
  license_id?: string | undefined;
887
887
  price?: number | null | undefined;
888
888
  unit_cost?: number | null | undefined;
@@ -898,7 +898,6 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
898
898
  declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
899
899
  asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"file">>>;
900
900
  org_id: z.ZodOptional<z.ZodUUID>;
901
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
902
901
  metadata: z.ZodOptional<z.ZodObject<{
903
902
  id: z.ZodUUID;
904
903
  path: z.ZodString;
@@ -1002,6 +1001,7 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
1002
1001
  error: "error";
1003
1002
  }>>;
1004
1003
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
1004
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1005
1005
  license_id: z.ZodOptional<z.ZodString>;
1006
1006
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1007
1007
  name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -1025,7 +1025,6 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
1025
1025
  last_updated: string;
1026
1026
  asset_type?: "file" | undefined;
1027
1027
  org_id?: string | undefined;
1028
- parent?: Record<string, any> | undefined;
1029
1028
  metadata?: {
1030
1029
  id: string;
1031
1030
  path: string;
@@ -1097,6 +1096,7 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
1097
1096
  } | undefined;
1098
1097
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1099
1098
  parent_id?: string | null | undefined;
1099
+ parent?: Record<string, any> | undefined;
1100
1100
  license_id?: string | undefined;
1101
1101
  license?: Record<string, any> | undefined;
1102
1102
  name_url_slug?: string | null | undefined;
@@ -1113,7 +1113,6 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
1113
1113
  last_updated: string;
1114
1114
  asset_type?: "file" | undefined;
1115
1115
  org_id?: string | undefined;
1116
- parent?: Record<string, any> | undefined;
1117
1116
  metadata?: {
1118
1117
  id: string;
1119
1118
  path: string;
@@ -1185,6 +1184,7 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
1185
1184
  } | undefined;
1186
1185
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1187
1186
  parent_id?: string | null | undefined;
1187
+ parent?: Record<string, any> | undefined;
1188
1188
  license_id?: string | undefined;
1189
1189
  license?: Record<string, any> | undefined;
1190
1190
  name_url_slug?: string | null | undefined;
@@ -336,7 +336,6 @@ declare const FileSchema: z.ZodObject<{
336
336
  }, z.core.$strip>;
337
337
  }, z.core.$strip>;
338
338
  declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
339
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
340
339
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
341
340
  json: z.ZodRecord<z.ZodString, z.ZodAny>;
342
341
  text: z.ZodString;
@@ -347,6 +346,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
347
346
  "pay-per-use": "pay-per-use";
348
347
  }>>;
349
348
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
349
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
350
350
  license_id: z.ZodOptional<z.ZodString>;
351
351
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
352
352
  unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -493,7 +493,6 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
493
493
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
494
494
  }, z.core.$strip>;
495
495
  }, z.core.$strip>, z.ZodObject<{
496
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
497
496
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
498
497
  json: z.ZodRecord<z.ZodString, z.ZodAny>;
499
498
  text: z.ZodString;
@@ -504,6 +503,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
504
503
  "pay-per-use": "pay-per-use";
505
504
  }>>;
506
505
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
506
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
507
507
  license_id: z.ZodOptional<z.ZodString>;
508
508
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
509
509
  unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -610,7 +610,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
610
610
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
611
611
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
612
612
  }, z.core.$strip>;
613
- }, z.core.$strip>]>, z.ZodTransform<{
613
+ }, z.core.$strip>], "state">, z.ZodTransform<{
614
614
  id: string;
615
615
  team_id: string | null;
616
616
  org_id: string | null;
@@ -681,13 +681,13 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
681
681
  source?: string | null | undefined;
682
682
  reply_to_comment_id?: string | null | undefined;
683
683
  };
684
- parent?: Record<string, any> | undefined;
685
684
  description?: {
686
685
  json: Record<string, any>;
687
686
  text: string;
688
687
  } | null | undefined;
689
688
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
690
689
  parent_id?: string | null | undefined;
690
+ parent?: Record<string, any> | undefined;
691
691
  license_id?: string | undefined;
692
692
  price?: number | null | undefined;
693
693
  unit_cost?: number | null | undefined;
@@ -734,13 +734,13 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
734
734
  source?: string | null | undefined;
735
735
  reply_to_comment_id?: string | null | undefined;
736
736
  };
737
- parent?: Record<string, any> | undefined;
738
737
  description?: {
739
738
  json: Record<string, any>;
740
739
  text: string;
741
740
  } | null | undefined;
742
741
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
743
742
  parent_id?: string | null | undefined;
743
+ parent?: Record<string, any> | undefined;
744
744
  license_id?: string | undefined;
745
745
  price?: number | null | undefined;
746
746
  unit_cost?: number | null | undefined;
@@ -823,13 +823,13 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
823
823
  source?: string | null | undefined;
824
824
  reply_to_comment_id?: string | null | undefined;
825
825
  };
826
- parent?: Record<string, any> | undefined;
827
826
  description?: {
828
827
  json: Record<string, any>;
829
828
  text: string;
830
829
  } | null | undefined;
831
830
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
832
831
  parent_id?: string | null | undefined;
832
+ parent?: Record<string, any> | undefined;
833
833
  license_id?: string | undefined;
834
834
  price?: number | null | undefined;
835
835
  unit_cost?: number | null | undefined;
@@ -876,13 +876,13 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
876
876
  source?: string | null | undefined;
877
877
  reply_to_comment_id?: string | null | undefined;
878
878
  };
879
- parent?: Record<string, any> | undefined;
880
879
  description?: {
881
880
  json: Record<string, any>;
882
881
  text: string;
883
882
  } | null | undefined;
884
883
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
885
884
  parent_id?: string | null | undefined;
885
+ parent?: Record<string, any> | undefined;
886
886
  license_id?: string | undefined;
887
887
  price?: number | null | undefined;
888
888
  unit_cost?: number | null | undefined;
@@ -898,7 +898,6 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
898
898
  declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
899
899
  asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"file">>>;
900
900
  org_id: z.ZodOptional<z.ZodUUID>;
901
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
902
901
  metadata: z.ZodOptional<z.ZodObject<{
903
902
  id: z.ZodUUID;
904
903
  path: z.ZodString;
@@ -1002,6 +1001,7 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
1002
1001
  error: "error";
1003
1002
  }>>;
1004
1003
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
1004
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1005
1005
  license_id: z.ZodOptional<z.ZodString>;
1006
1006
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1007
1007
  name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -1025,7 +1025,6 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
1025
1025
  last_updated: string;
1026
1026
  asset_type?: "file" | undefined;
1027
1027
  org_id?: string | undefined;
1028
- parent?: Record<string, any> | undefined;
1029
1028
  metadata?: {
1030
1029
  id: string;
1031
1030
  path: string;
@@ -1097,6 +1096,7 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
1097
1096
  } | undefined;
1098
1097
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1099
1098
  parent_id?: string | null | undefined;
1099
+ parent?: Record<string, any> | undefined;
1100
1100
  license_id?: string | undefined;
1101
1101
  license?: Record<string, any> | undefined;
1102
1102
  name_url_slug?: string | null | undefined;
@@ -1113,7 +1113,6 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
1113
1113
  last_updated: string;
1114
1114
  asset_type?: "file" | undefined;
1115
1115
  org_id?: string | undefined;
1116
- parent?: Record<string, any> | undefined;
1117
1116
  metadata?: {
1118
1117
  id: string;
1119
1118
  path: string;
@@ -1185,6 +1184,7 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
1185
1184
  } | undefined;
1186
1185
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1187
1186
  parent_id?: string | null | undefined;
1187
+ parent?: Record<string, any> | undefined;
1188
1188
  license_id?: string | undefined;
1189
1189
  license?: Record<string, any> | undefined;
1190
1190
  name_url_slug?: string | null | undefined;
@@ -1,2 +1,2 @@
1
- export{d as CreateFileSchema,c as FileSchema,b as StructureSummarySchema,a as ZipArchiveMetadataSchema,e as updateFileSchema}from'../chunk-HKU6LRRS.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=files.js.map
1
+ export{d as CreateFileSchema,c as FileSchema,b as StructureSummarySchema,a as ZipArchiveMetadataSchema,e as updateFileSchema}from'../chunk-O2BXIKRA.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=files.js.map
2
2
  //# sourceMappingURL=files.js.map
@@ -3586,7 +3586,7 @@ declare const NotificationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3586
3586
  content: z.ZodObject<{
3587
3587
  text: z.ZodOptional<z.ZodString>;
3588
3588
  }, z.core.$strip>;
3589
- }, z.core.$strip>]>;
3589
+ }, z.core.$strip>], "type">;
3590
3590
  type Notification = z.infer<typeof NotificationSchema>;
3591
3591
  type NotificationType = z.infer<typeof NotificationTypeSchema>;
3592
3592
  type NotificationOfType<T extends NotificationType> = Extract<Notification, {
@@ -3586,7 +3586,7 @@ declare const NotificationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3586
3586
  content: z.ZodObject<{
3587
3587
  text: z.ZodOptional<z.ZodString>;
3588
3588
  }, z.core.$strip>;
3589
- }, z.core.$strip>]>;
3589
+ }, z.core.$strip>], "type">;
3590
3590
  type Notification = z.infer<typeof NotificationSchema>;
3591
3591
  type NotificationType = z.infer<typeof NotificationTypeSchema>;
3592
3592
  type NotificationOfType<T extends NotificationType> = Extract<Notification, {
@@ -1,2 +1,2 @@
1
- 'use strict';var chunk4UNQYG7I_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,"ContentSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.b}});Object.defineProperty(exports,"CreatePostSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.d}});Object.defineProperty(exports,"ListPostsSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.g}});Object.defineProperty(exports,"PostSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.c}});Object.defineProperty(exports,"ReadPostSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.e}});Object.defineProperty(exports,"ReadPostsSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.f}});Object.defineProperty(exports,"TipTapSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.a}});Object.defineProperty(exports,"UpdatePostSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.h}});//# sourceMappingURL=posts.cjs.map
1
+ 'use strict';var chunkV5W6FOUA_cjs=require('../chunk-V5W6FOUA.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,"ContentSchema",{enumerable:true,get:function(){return chunkV5W6FOUA_cjs.b}});Object.defineProperty(exports,"CreatePostSchema",{enumerable:true,get:function(){return chunkV5W6FOUA_cjs.d}});Object.defineProperty(exports,"ListPostsSchema",{enumerable:true,get:function(){return chunkV5W6FOUA_cjs.g}});Object.defineProperty(exports,"PostSchema",{enumerable:true,get:function(){return chunkV5W6FOUA_cjs.c}});Object.defineProperty(exports,"ReadPostSchema",{enumerable:true,get:function(){return chunkV5W6FOUA_cjs.e}});Object.defineProperty(exports,"ReadPostsSchema",{enumerable:true,get:function(){return chunkV5W6FOUA_cjs.f}});Object.defineProperty(exports,"TipTapSchema",{enumerable:true,get:function(){return chunkV5W6FOUA_cjs.a}});Object.defineProperty(exports,"UpdatePostSchema",{enumerable:true,get:function(){return chunkV5W6FOUA_cjs.h}});//# sourceMappingURL=posts.cjs.map
2
2
  //# sourceMappingURL=posts.cjs.map
@@ -301,7 +301,6 @@ declare const PostSchema: z.ZodObject<{
301
301
  }, z.core.$strip>>;
302
302
  }, z.core.$strip>;
303
303
  declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
304
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
305
304
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
306
305
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
307
306
  reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -316,6 +315,7 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
316
315
  "pay-per-use": "pay-per-use";
317
316
  }>>;
318
317
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
318
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
319
319
  license_id: z.ZodOptional<z.ZodString>;
320
320
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
321
321
  unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -460,7 +460,6 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
460
460
  type: "doc";
461
461
  content: any[];
462
462
  };
463
- parent?: Record<string, any> | undefined;
464
463
  metadata?: {
465
464
  source?: string | null | undefined;
466
465
  reply_to_comment_id?: string | null | undefined;
@@ -471,6 +470,7 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
471
470
  } | null | undefined;
472
471
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
473
472
  parent_id?: string | null | undefined;
473
+ parent?: Record<string, any> | undefined;
474
474
  license_id?: string | undefined;
475
475
  price?: number | null | undefined;
476
476
  unit_cost?: number | null | undefined;
@@ -515,7 +515,6 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
515
515
  type: "doc";
516
516
  content: any[];
517
517
  };
518
- parent?: Record<string, any> | undefined;
519
518
  metadata?: {
520
519
  source?: string | null | undefined;
521
520
  reply_to_comment_id?: string | null | undefined;
@@ -526,6 +525,7 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
526
525
  } | null | undefined;
527
526
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
528
527
  parent_id?: string | null | undefined;
528
+ parent?: Record<string, any> | undefined;
529
529
  license_id?: string | undefined;
530
530
  price?: number | null | undefined;
531
531
  unit_cost?: number | null | undefined;
@@ -2049,7 +2049,6 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
2049
2049
  conversation: "conversation";
2050
2050
  }>>;
2051
2051
  org_id: z.ZodOptional<z.ZodUUID>;
2052
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2053
2052
  metadata: z.ZodOptional<z.ZodObject<{
2054
2053
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2055
2054
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -2113,6 +2112,7 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
2113
2112
  error: "error";
2114
2113
  }>>;
2115
2114
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
2115
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2116
2116
  license_id: z.ZodOptional<z.ZodString>;
2117
2117
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2118
2118
  name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -2139,7 +2139,6 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
2139
2139
  last_updated: string;
2140
2140
  asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
2141
2141
  org_id?: string | undefined;
2142
- parent?: Record<string, any> | undefined;
2143
2142
  metadata?: {
2144
2143
  source?: string | null | undefined;
2145
2144
  reply_to_comment_id?: string | null | undefined;
@@ -2174,6 +2173,7 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
2174
2173
  } | undefined;
2175
2174
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
2176
2175
  parent_id?: string | null | undefined;
2176
+ parent?: Record<string, any> | undefined;
2177
2177
  license_id?: string | undefined;
2178
2178
  license?: Record<string, any> | undefined;
2179
2179
  name_url_slug?: string | null | undefined;
@@ -2193,7 +2193,6 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
2193
2193
  last_updated: string;
2194
2194
  asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
2195
2195
  org_id?: string | undefined;
2196
- parent?: Record<string, any> | undefined;
2197
2196
  metadata?: {
2198
2197
  source?: string | null | undefined;
2199
2198
  reply_to_comment_id?: string | null | undefined;
@@ -2228,6 +2227,7 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
2228
2227
  } | undefined;
2229
2228
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
2230
2229
  parent_id?: string | null | undefined;
2230
+ parent?: Record<string, any> | undefined;
2231
2231
  license_id?: string | undefined;
2232
2232
  license?: Record<string, any> | undefined;
2233
2233
  name_url_slug?: string | null | undefined;
@@ -301,7 +301,6 @@ declare const PostSchema: z.ZodObject<{
301
301
  }, z.core.$strip>>;
302
302
  }, z.core.$strip>;
303
303
  declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
304
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
305
304
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
306
305
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
307
306
  reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -316,6 +315,7 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
316
315
  "pay-per-use": "pay-per-use";
317
316
  }>>;
318
317
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
318
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
319
319
  license_id: z.ZodOptional<z.ZodString>;
320
320
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
321
321
  unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -460,7 +460,6 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
460
460
  type: "doc";
461
461
  content: any[];
462
462
  };
463
- parent?: Record<string, any> | undefined;
464
463
  metadata?: {
465
464
  source?: string | null | undefined;
466
465
  reply_to_comment_id?: string | null | undefined;
@@ -471,6 +470,7 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
471
470
  } | null | undefined;
472
471
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
473
472
  parent_id?: string | null | undefined;
473
+ parent?: Record<string, any> | undefined;
474
474
  license_id?: string | undefined;
475
475
  price?: number | null | undefined;
476
476
  unit_cost?: number | null | undefined;
@@ -515,7 +515,6 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
515
515
  type: "doc";
516
516
  content: any[];
517
517
  };
518
- parent?: Record<string, any> | undefined;
519
518
  metadata?: {
520
519
  source?: string | null | undefined;
521
520
  reply_to_comment_id?: string | null | undefined;
@@ -526,6 +525,7 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
526
525
  } | null | undefined;
527
526
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
528
527
  parent_id?: string | null | undefined;
528
+ parent?: Record<string, any> | undefined;
529
529
  license_id?: string | undefined;
530
530
  price?: number | null | undefined;
531
531
  unit_cost?: number | null | undefined;
@@ -2049,7 +2049,6 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
2049
2049
  conversation: "conversation";
2050
2050
  }>>;
2051
2051
  org_id: z.ZodOptional<z.ZodUUID>;
2052
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2053
2052
  metadata: z.ZodOptional<z.ZodObject<{
2054
2053
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2055
2054
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -2113,6 +2112,7 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
2113
2112
  error: "error";
2114
2113
  }>>;
2115
2114
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
2115
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2116
2116
  license_id: z.ZodOptional<z.ZodString>;
2117
2117
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2118
2118
  name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -2139,7 +2139,6 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
2139
2139
  last_updated: string;
2140
2140
  asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
2141
2141
  org_id?: string | undefined;
2142
- parent?: Record<string, any> | undefined;
2143
2142
  metadata?: {
2144
2143
  source?: string | null | undefined;
2145
2144
  reply_to_comment_id?: string | null | undefined;
@@ -2174,6 +2173,7 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
2174
2173
  } | undefined;
2175
2174
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
2176
2175
  parent_id?: string | null | undefined;
2176
+ parent?: Record<string, any> | undefined;
2177
2177
  license_id?: string | undefined;
2178
2178
  license?: Record<string, any> | undefined;
2179
2179
  name_url_slug?: string | null | undefined;
@@ -2193,7 +2193,6 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
2193
2193
  last_updated: string;
2194
2194
  asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
2195
2195
  org_id?: string | undefined;
2196
- parent?: Record<string, any> | undefined;
2197
2196
  metadata?: {
2198
2197
  source?: string | null | undefined;
2199
2198
  reply_to_comment_id?: string | null | undefined;
@@ -2228,6 +2227,7 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
2228
2227
  } | undefined;
2229
2228
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
2230
2229
  parent_id?: string | null | undefined;
2230
+ parent?: Record<string, any> | undefined;
2231
2231
  license_id?: string | undefined;
2232
2232
  license?: Record<string, any> | undefined;
2233
2233
  name_url_slug?: string | null | undefined;
@@ -1,2 +1,2 @@
1
- export{b as ContentSchema,d as CreatePostSchema,g as ListPostsSchema,c as PostSchema,e as ReadPostSchema,f as ReadPostsSchema,a as TipTapSchema,h as UpdatePostSchema}from'../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=posts.js.map
1
+ export{b as ContentSchema,d as CreatePostSchema,g as ListPostsSchema,c as PostSchema,e as ReadPostSchema,f as ReadPostsSchema,a as TipTapSchema,h as UpdatePostSchema}from'../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=posts.js.map
2
2
  //# sourceMappingURL=posts.js.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkKV6R6XC2_cjs=require('../chunk-KV6R6XC2.cjs'),chunkIUO6O47I_cjs=require('../chunk-IUO6O47I.cjs');require('../chunk-GS5VFJ22.cjs'),require('../chunk-OC34WU3H.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,"CreateEntrySchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.q}});Object.defineProperty(exports,"CreateQuestItemObjectSchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.j}});Object.defineProperty(exports,"CreateQuestItemSchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.k}});Object.defineProperty(exports,"CreateQuestSchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.m}});Object.defineProperty(exports,"EntryEvalStatusSchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.e}});Object.defineProperty(exports,"EntrySchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.p}});Object.defineProperty(exports,"EntryStatusSchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.f}});Object.defineProperty(exports,"LeaderboardOrderSchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.g}});Object.defineProperty(exports,"QuestItemBaseSchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.h}});Object.defineProperty(exports,"QuestItemSchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.i}});Object.defineProperty(exports,"QuestItemStatusSchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.c}});Object.defineProperty(exports,"QuestSchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.l}});Object.defineProperty(exports,"QuestStatusSchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.b}});Object.defineProperty(exports,"QuestTypeSchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.a}});Object.defineProperty(exports,"ReviewEntrySchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.r}});Object.defineProperty(exports,"RewardCurrencySchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.d}});Object.defineProperty(exports,"UpdateQuestItemSchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.o}});Object.defineProperty(exports,"UpdateQuestSchema",{enumerable:true,get:function(){return chunkKV6R6XC2_cjs.n}});Object.defineProperty(exports,"KeyedAssetInputSchema",{enumerable:true,get:function(){return chunkIUO6O47I_cjs.c}});Object.defineProperty(exports,"KeyedAssetRefsSchema",{enumerable:true,get:function(){return chunkIUO6O47I_cjs.a}});Object.defineProperty(exports,"QuestSubmissionAssetDeclarationSchema",{enumerable:true,get:function(){return chunkIUO6O47I_cjs.d}});//# sourceMappingURL=quests.cjs.map
1
+ 'use strict';var chunkF7URSDHU_cjs=require('../chunk-F7URSDHU.cjs'),chunkCZMKRHO4_cjs=require('../chunk-CZMKRHO4.cjs');require('../chunk-J4GKOJZZ.cjs'),require('../chunk-SZW4GHCP.cjs'),require('../chunk-OC34WU3H.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,"CreateEntrySchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.q}});Object.defineProperty(exports,"CreateQuestItemObjectSchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.j}});Object.defineProperty(exports,"CreateQuestItemSchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.k}});Object.defineProperty(exports,"CreateQuestSchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.m}});Object.defineProperty(exports,"EntryEvalStatusSchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.e}});Object.defineProperty(exports,"EntrySchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.p}});Object.defineProperty(exports,"EntryStatusSchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.f}});Object.defineProperty(exports,"LeaderboardOrderSchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.g}});Object.defineProperty(exports,"QuestItemBaseSchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.h}});Object.defineProperty(exports,"QuestItemSchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.i}});Object.defineProperty(exports,"QuestItemStatusSchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.c}});Object.defineProperty(exports,"QuestSchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.l}});Object.defineProperty(exports,"QuestStatusSchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.b}});Object.defineProperty(exports,"QuestTypeSchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.a}});Object.defineProperty(exports,"ReviewEntrySchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.r}});Object.defineProperty(exports,"RewardCurrencySchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.d}});Object.defineProperty(exports,"UpdateQuestItemSchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.o}});Object.defineProperty(exports,"UpdateQuestSchema",{enumerable:true,get:function(){return chunkF7URSDHU_cjs.n}});Object.defineProperty(exports,"KeyedAssetInputSchema",{enumerable:true,get:function(){return chunkCZMKRHO4_cjs.c}});Object.defineProperty(exports,"KeyedAssetRefsSchema",{enumerable:true,get:function(){return chunkCZMKRHO4_cjs.a}});Object.defineProperty(exports,"QuestSubmissionAssetDeclarationSchema",{enumerable:true,get:function(){return chunkCZMKRHO4_cjs.d}});//# sourceMappingURL=quests.cjs.map
2
2
  //# sourceMappingURL=quests.cjs.map
@@ -915,7 +915,6 @@ declare const QuestSchema: z.ZodObject<{
915
915
  * into `{ description }`.
916
916
  */
917
917
  declare const CreateQuestSchema: z.ZodPipe<z.ZodObject<{
918
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
919
918
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
920
919
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
921
920
  reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -926,6 +925,7 @@ declare const CreateQuestSchema: z.ZodPipe<z.ZodObject<{
926
925
  "pay-per-use": "pay-per-use";
927
926
  }>>;
928
927
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
928
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
929
929
  license_id: z.ZodOptional<z.ZodString>;
930
930
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
931
931
  unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -1248,13 +1248,13 @@ declare const CreateQuestSchema: z.ZodPipe<z.ZodObject<{
1248
1248
  }> | null | undefined;
1249
1249
  notes?: string | null | undefined;
1250
1250
  }[];
1251
- parent?: Record<string, any> | undefined;
1252
1251
  metadata?: {
1253
1252
  source?: string | null | undefined;
1254
1253
  reply_to_comment_id?: string | null | undefined;
1255
1254
  } | null | undefined;
1256
1255
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
1257
1256
  parent_id?: string | null | undefined;
1257
+ parent?: Record<string, any> | undefined;
1258
1258
  license_id?: string | undefined;
1259
1259
  price?: number | null | undefined;
1260
1260
  unit_cost?: number | null | undefined;
@@ -1346,13 +1346,13 @@ declare const CreateQuestSchema: z.ZodPipe<z.ZodObject<{
1346
1346
  }> | null | undefined;
1347
1347
  notes?: string | null | undefined;
1348
1348
  }[];
1349
- parent?: Record<string, any> | undefined;
1350
1349
  metadata?: {
1351
1350
  source?: string | null | undefined;
1352
1351
  reply_to_comment_id?: string | null | undefined;
1353
1352
  } | null | undefined;
1354
1353
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
1355
1354
  parent_id?: string | null | undefined;
1355
+ parent?: Record<string, any> | undefined;
1356
1356
  license_id?: string | undefined;
1357
1357
  price?: number | null | undefined;
1358
1358
  unit_cost?: number | null | undefined;
@@ -1389,7 +1389,6 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1389
1389
  closed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1390
1390
  }, z.core.$strip>>>;
1391
1391
  org_id: z.ZodOptional<z.ZodUUID>;
1392
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1393
1392
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1394
1393
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1395
1394
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -1453,6 +1452,7 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1453
1452
  error: "error";
1454
1453
  }>>;
1455
1454
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
1455
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1456
1456
  license_id: z.ZodOptional<z.ZodString>;
1457
1457
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1458
1458
  name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -1483,7 +1483,6 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1483
1483
  closed_at?: string | null | undefined;
1484
1484
  } | undefined;
1485
1485
  org_id?: string | undefined;
1486
- parent?: Record<string, any> | undefined;
1487
1486
  metadata?: {
1488
1487
  source?: string | null | undefined;
1489
1488
  reply_to_comment_id?: string | null | undefined;
@@ -1518,6 +1517,7 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1518
1517
  } | undefined;
1519
1518
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1520
1519
  parent_id?: string | null | undefined;
1520
+ parent?: Record<string, any> | undefined;
1521
1521
  license_id?: string | undefined;
1522
1522
  license?: Record<string, any> | undefined;
1523
1523
  name_url_slug?: string | null | undefined;
@@ -1540,7 +1540,6 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1540
1540
  closed_at?: string | null | undefined;
1541
1541
  } | undefined;
1542
1542
  org_id?: string | undefined;
1543
- parent?: Record<string, any> | undefined;
1544
1543
  metadata?: {
1545
1544
  source?: string | null | undefined;
1546
1545
  reply_to_comment_id?: string | null | undefined;
@@ -1575,6 +1574,7 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1575
1574
  } | undefined;
1576
1575
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1577
1576
  parent_id?: string | null | undefined;
1577
+ parent?: Record<string, any> | undefined;
1578
1578
  license_id?: string | undefined;
1579
1579
  license?: Record<string, any> | undefined;
1580
1580
  name_url_slug?: string | null | undefined;