@ourofoundation/ouro-js 1.0.6 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -15,4 +15,5 @@ import { BlueprintSchema, CreateBlueprintSchema, UpdateBlueprintSchema, type Blu
15
15
  import { filterListToString } from "./utils/dataset";
16
16
  import { getAssetUrl, createUrlSlug, createNameUrlSlug } from "./utils/navigate";
17
17
  import { parseMarkdown } from "./utils/air/markdown-parser";
18
- export { RoleSchema, VisibilitySchema, MonetizationSchema, ConnectionSchema, EmbeddingSchema, AssetTypeSchema, type Role, type Connection, type Embedding, type Visibility, type Monetization, type AssetTypes, Asset, type AssetSchema, CreateAssetSchema, type CreateAsset, CommentSchema, CreateCommentSchema, type Comment, type CreateComment, PurchaseAssetSchema, PermissionSchema, type PurchaseAsset, type Permission, MessageSchema, UpdateConversationSchema, CreateConversationSchema, ConversationSchema, type Conversation, type CreateConversation, type UpdateConversation, type Message, DatasetSchema, CreateDatasetFromFileSchema, CreateDatasetFromSchemaSchema, updateDatasetSchema, type Dataset, type CreateFromFileDataset, type CreateFromSchemaDataset, type UpdateDataset, FileSchema, type File, CreateFileSchema, type CreateFile, updateFileSchema, type UpdateFile, NotificationSchema, type Notification, OrganizationsSchema, MembershipSchema, type Organization, type Membership, TipTapSchema, ContentSchema, PostSchema, CreatePostSchema, ListPostsSchema, ReadPostSchema, ReadPostsSchema, UpdatePostSchema, type Post, type CreatePost, type ListPosts, type ReadPost, type ReadPosts, type UpdatePost, type Content, type TipTap, routeSchema, serviceSchema, authType, type Service, type Route, type AuthType, TeamSchema, CreateTeamSchema, ReadTeamSchema, ReadTeamsSchema, UpdateTeamSchema, type Team, type CreateTeam, type ReadTeam, type ReadTeams, type UpdateTeam, ProfileSchema, ReadProfileSchema, UpdateProfileSchema, type Profile, type UpdateProfile, type ReadProfile, ReplicationSchema, CreateReplicationSchema, UpdateReplicationSchema, type Replication, type CreateReplication, type UpdateReplication, BlueprintSchema, CreateBlueprintSchema, UpdateBlueprintSchema, type Blueprint, type CreateBlueprint, type UpdateBlueprint, filterListToString, getAssetUrl, createUrlSlug, createNameUrlSlug, parseMarkdown, };
18
+ import { getReferencesInContent } from "./utils/air";
19
+ export { RoleSchema, VisibilitySchema, MonetizationSchema, ConnectionSchema, EmbeddingSchema, AssetTypeSchema, type Role, type Connection, type Embedding, type Visibility, type Monetization, type AssetTypes, Asset, type AssetSchema, CreateAssetSchema, type CreateAsset, CommentSchema, CreateCommentSchema, type Comment, type CreateComment, PurchaseAssetSchema, PermissionSchema, type PurchaseAsset, type Permission, MessageSchema, UpdateConversationSchema, CreateConversationSchema, ConversationSchema, type Conversation, type CreateConversation, type UpdateConversation, type Message, DatasetSchema, CreateDatasetFromFileSchema, CreateDatasetFromSchemaSchema, updateDatasetSchema, type Dataset, type CreateFromFileDataset, type CreateFromSchemaDataset, type UpdateDataset, FileSchema, type File, CreateFileSchema, type CreateFile, updateFileSchema, type UpdateFile, NotificationSchema, type Notification, OrganizationsSchema, MembershipSchema, type Organization, type Membership, TipTapSchema, ContentSchema, PostSchema, CreatePostSchema, ListPostsSchema, ReadPostSchema, ReadPostsSchema, UpdatePostSchema, type Post, type CreatePost, type ListPosts, type ReadPost, type ReadPosts, type UpdatePost, type Content, type TipTap, routeSchema, serviceSchema, authType, type Service, type Route, type AuthType, TeamSchema, CreateTeamSchema, ReadTeamSchema, ReadTeamsSchema, UpdateTeamSchema, type Team, type CreateTeam, type ReadTeam, type ReadTeams, type UpdateTeam, ProfileSchema, ReadProfileSchema, UpdateProfileSchema, type Profile, type UpdateProfile, type ReadProfile, ReplicationSchema, CreateReplicationSchema, UpdateReplicationSchema, type Replication, type CreateReplication, type UpdateReplication, BlueprintSchema, CreateBlueprintSchema, UpdateBlueprintSchema, type Blueprint, type CreateBlueprint, type UpdateBlueprint, filterListToString, getAssetUrl, createUrlSlug, createNameUrlSlug, parseMarkdown, getReferencesInContent, };
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateBlueprintSchema = exports.CreateBlueprintSchema = exports.BlueprintSchema = exports.UpdateReplicationSchema = exports.CreateReplicationSchema = exports.ReplicationSchema = exports.UpdateProfileSchema = exports.ReadProfileSchema = exports.ProfileSchema = exports.UpdateTeamSchema = exports.ReadTeamsSchema = exports.ReadTeamSchema = exports.CreateTeamSchema = exports.TeamSchema = exports.authType = exports.serviceSchema = exports.routeSchema = exports.UpdatePostSchema = exports.ReadPostsSchema = exports.ReadPostSchema = exports.ListPostsSchema = exports.CreatePostSchema = exports.PostSchema = exports.ContentSchema = exports.TipTapSchema = exports.MembershipSchema = exports.OrganizationsSchema = exports.NotificationSchema = exports.updateFileSchema = exports.CreateFileSchema = exports.FileSchema = exports.updateDatasetSchema = exports.CreateDatasetFromSchemaSchema = exports.CreateDatasetFromFileSchema = exports.DatasetSchema = exports.ConversationSchema = exports.CreateConversationSchema = exports.UpdateConversationSchema = exports.MessageSchema = exports.PermissionSchema = exports.PurchaseAssetSchema = exports.CreateCommentSchema = exports.CommentSchema = exports.CreateAssetSchema = exports.AssetTypeSchema = exports.EmbeddingSchema = exports.ConnectionSchema = exports.MonetizationSchema = exports.VisibilitySchema = exports.RoleSchema = void 0;
4
- exports.parseMarkdown = exports.createNameUrlSlug = exports.createUrlSlug = exports.getAssetUrl = exports.filterListToString = void 0;
4
+ exports.getReferencesInContent = exports.parseMarkdown = exports.createNameUrlSlug = exports.createUrlSlug = exports.getAssetUrl = exports.filterListToString = void 0;
5
5
  const assets_1 = require("./schema/assets");
6
6
  Object.defineProperty(exports, "CreateAssetSchema", { enumerable: true, get: function () { return assets_1.CreateAssetSchema; } });
7
7
  const comments_1 = require("./schema/comments");
@@ -75,4 +75,6 @@ Object.defineProperty(exports, "createUrlSlug", { enumerable: true, get: functio
75
75
  Object.defineProperty(exports, "createNameUrlSlug", { enumerable: true, get: function () { return navigate_1.createNameUrlSlug; } });
76
76
  const markdown_parser_1 = require("./utils/air/markdown-parser");
77
77
  Object.defineProperty(exports, "parseMarkdown", { enumerable: true, get: function () { return markdown_parser_1.parseMarkdown; } });
78
+ const air_1 = require("./utils/air");
79
+ Object.defineProperty(exports, "getReferencesInContent", { enumerable: true, get: function () { return air_1.getReferencesInContent; } });
78
80
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,4CAKyB;AAkKvB,kGArKA,0BAAiB,OAqKA;AAjKnB,gDAK2B;AA8JzB,8FAlKA,wBAAa,OAkKA;AACb,oGAlKA,8BAAmB,OAkKA;AA7JrB,4CAiByB;AA+IvB,oGA/JA,4BAAmB,OA+JA;AACnB,iGA/JA,yBAAgB,OA+JA;AAtBhB,2FAxIA,mBAAU,OAwIA;AACV,iGAxIA,yBAAgB,OAwIA;AAChB,mGAxIA,2BAAkB,OAwIA;AAClB,iGAxIA,yBAAgB,OAwIA;AAChB,gGAxIA,wBAAe,OAwIA;AACf,gGAxIA,wBAAe,OAwIA;AA7HjB,0DASgC;AAyI9B,8FAjJA,6BAAa,OAiJA;AACb,yGAjJA,wCAAwB,OAiJA;AACxB,yGAjJA,wCAAwB,OAiJA;AACxB,mGAjJA,kCAAkB,OAiJA;AA1IpB,gDAS2B;AAuIzB,8FA/IA,wBAAa,OA+IA;AACb,4GA/IA,sCAA2B,OA+IA;AAC3B,8GA/IA,wCAA6B,OA+IA;AAC7B,oGA/IA,8BAAmB,OA+IA;AAxIrB,0CAOwB;AAuItB,2FA7IA,kBAAU,OA6IA;AAEV,iGA9IA,wBAAgB,OA8IA;AAEhB,iGA5IA,wBAAgB,OA4IA;AAzIlB,0DAA+E;AA4I7E,mGA5IO,kCAAkB,OA4IP;AA1IpB,0DAKgC;AAwI9B,oGA5IA,mCAAmB,OA4IA;AACnB,iGA5IA,gCAAgB,OA4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uIA;AACd,gGAvIA,uBAAe,OAuIA;AACf,iGAvIA,wBAAgB,OAuIA;AA/HlB,0CAOwB;AA+HtB,8FArIA,qBAAa,OAqIA;AACb,kGArIA,yBAAiB,OAqIA;AACjB,oGArIA,2BAAmB,OAqIA;AA/HrB,wDAO+B;AA6H7B,kGAnIA,gCAAiB,OAmIA;AACjB,wGAnIA,sCAAuB,OAmIA;AACvB,wGAnIA,sCAAuB,OAmIA;AA7HzB,oDAO6B;AA2H3B,gGAjIA,4BAAe,OAiIA;AACf,sGAjIA,kCAAqB,OAiIA;AACrB,sGAjIA,kCAAqB,OAiIA;AA3HvB,QAAQ;AACR,6CAAqD;AA+HnD,mGA/HO,4BAAkB,OA+HP;AA9HpB,+CAI0B;AA2HxB,4FA9HA,sBAAW,OA8HA;AACX,8FA9HA,wBAAa,OA8HA;AACb,kGA9HA,4BAAiB,OA8HA;AA3HnB,iEAA4D;AA4H1D,8FA5HO,+BAAa,OA4HP;AA3Hf,qCAAqD;AA4HnD,uGA5HO,4BAAsB,OA4HP"}
@@ -106,7 +106,8 @@ declare const AssetSchema: z.ZodObject<{
106
106
  default_role?: "none" | "admin" | "read" | "write" | undefined;
107
107
  }>>;
108
108
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
109
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
109
+ parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
110
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
110
111
  name: z.ZodString;
111
112
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
113
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -130,7 +131,7 @@ declare const AssetSchema: z.ZodObject<{
130
131
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
131
132
  user_id: string;
132
133
  org_id: string;
133
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
134
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
134
135
  created_at: string;
135
136
  last_updated: string;
136
137
  team_id: string;
@@ -138,6 +139,7 @@ declare const AssetSchema: z.ZodObject<{
138
139
  state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
139
140
  metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
140
141
  description?: string | null | undefined;
142
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
141
143
  user?: {
142
144
  id?: string | undefined;
143
145
  user_id?: string | undefined;
@@ -187,7 +189,7 @@ declare const AssetSchema: z.ZodObject<{
187
189
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
188
190
  user_id: string;
189
191
  org_id: string;
190
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
192
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
191
193
  created_at: string;
192
194
  last_updated: string;
193
195
  team_id: string;
@@ -195,6 +197,7 @@ declare const AssetSchema: z.ZodObject<{
195
197
  state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
196
198
  metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
197
199
  description?: string | null | undefined;
200
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
198
201
  user?: {
199
202
  id?: string | undefined;
200
203
  user_id?: string | undefined;
@@ -346,7 +349,8 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
346
349
  default_role?: "none" | "admin" | "read" | "write" | undefined;
347
350
  }>>>;
348
351
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
349
- asset_type: z.ZodOptional<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
352
+ parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
353
+ asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
350
354
  name: z.ZodOptional<z.ZodString>;
351
355
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
352
356
  slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -364,7 +368,7 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
364
368
  state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
365
369
  created_at: z.ZodOptional<z.ZodString>;
366
370
  last_updated: z.ZodOptional<z.ZodString>;
367
- }, "user" | "organization" | "user_id" | "team" | "slug">, {
371
+ }, "user" | "organization" | "team" | "user_id" | "slug">, {
368
372
  id: z.ZodDefault<z.ZodString>;
369
373
  team_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
370
374
  org_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -385,7 +389,8 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
385
389
  team_id: string | null;
386
390
  metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
387
391
  description?: string | null | undefined;
388
- asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
392
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
393
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
389
394
  parent_id?: string | null | undefined;
390
395
  name_url_slug?: string | null | undefined;
391
396
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
@@ -403,8 +408,9 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
403
408
  visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
404
409
  metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
405
410
  description?: string | null | undefined;
411
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
406
412
  org_id?: string | null | undefined;
407
- asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
413
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
408
414
  created_at?: string | undefined;
409
415
  last_updated?: string | undefined;
410
416
  team_id?: string | null | undefined;
@@ -16,6 +16,8 @@ const AssetSchema = zod_1.z.object({
16
16
  team_id: zod_1.z.string().uuid(),
17
17
  team: teams_1.TeamSchema.partial().optional(),
18
18
  parent_id: zod_1.z.string().uuid().optional().nullable(),
19
+ // parent: z.lazy(() => AssetSchema.partial()).optional(),
20
+ parent: zod_1.z.object({}).passthrough().optional(),
19
21
  asset_type: common_1.AssetTypeSchema,
20
22
  name: zod_1.z.string(),
21
23
  name_url_slug: zod_1.z.string().optional().nullable(),
@@ -1 +1 @@
1
- {"version":3,"file":"assets.js","sourceRoot":"","sources":["../../src/schema/assets.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,qCAKkB;AAClB,mDAAsD;AACtD,mCAAqC;AAErC,mCAAwC;AACxC,mCAAgC;AAEhC,MAAM,WAAW,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3B,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB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AAC,OAAO,CAAC,SAAS,CAAC;IACjD,UAAU,EAAE,yBAAgB,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC;IACzD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAC9D,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;CACjE,CAAC,CAAC;AAKiB,8CAAiB"}
@@ -106,7 +106,8 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
106
106
  default_role?: "none" | "admin" | "read" | "write" | undefined;
107
107
  }>>;
108
108
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
109
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
109
+ parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
110
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
110
111
  name: z.ZodString;
111
112
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
113
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -125,14 +126,14 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
125
126
  created_at: z.ZodString;
126
127
  last_updated: z.ZodString;
127
128
  }, {
128
- asset_type: z.ZodEffects<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
129
+ asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
129
130
  }>, "strip", z.ZodTypeAny, {
130
131
  id: string;
131
132
  name: string;
132
133
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
133
134
  user_id: string;
134
135
  org_id: string;
135
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
136
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
136
137
  created_at: string;
137
138
  last_updated: string;
138
139
  team_id: string;
@@ -140,6 +141,7 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
140
141
  state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
141
142
  metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
142
143
  description?: string | null | undefined;
144
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
143
145
  user?: {
144
146
  id?: string | undefined;
145
147
  user_id?: string | undefined;
@@ -189,7 +191,7 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
189
191
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
190
192
  user_id: string;
191
193
  org_id: string;
192
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
194
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
193
195
  created_at: string;
194
196
  last_updated: string;
195
197
  team_id: string;
@@ -197,6 +199,7 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
197
199
  state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
198
200
  metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
199
201
  description?: string | null | undefined;
202
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
200
203
  user?: {
201
204
  id?: string | undefined;
202
205
  user_id?: string | undefined;
@@ -348,7 +351,8 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
348
351
  default_role?: "none" | "admin" | "read" | "write" | undefined;
349
352
  }>>>;
350
353
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
351
- asset_type: z.ZodOptional<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
354
+ parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
355
+ asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
352
356
  name: z.ZodOptional<z.ZodString>;
353
357
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
354
358
  slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -396,6 +400,7 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
396
400
  name?: string | undefined;
397
401
  visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
398
402
  description?: string | null | undefined;
403
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
399
404
  user?: {
400
405
  id?: string | undefined;
401
406
  user_id?: string | undefined;
@@ -420,10 +425,6 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
420
425
  }[] | null | undefined;
421
426
  base_role?: "none" | "admin" | "read" | "write" | undefined;
422
427
  } | undefined;
423
- user_id?: string | undefined;
424
- asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
425
- created_at?: string | undefined;
426
- last_updated?: string | undefined;
427
428
  team?: {
428
429
  id?: string | undefined;
429
430
  name?: string | undefined;
@@ -433,6 +434,10 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
433
434
  created_at?: string | undefined;
434
435
  default_role?: "none" | "admin" | "read" | "write" | undefined;
435
436
  } | undefined;
437
+ user_id?: string | undefined;
438
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
439
+ created_at?: string | undefined;
440
+ last_updated?: string | undefined;
436
441
  parent_id?: string | null | undefined;
437
442
  slug?: string | null | undefined;
438
443
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
@@ -456,6 +461,7 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
456
461
  name?: string | undefined;
457
462
  visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
458
463
  description?: string | null | undefined;
464
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
459
465
  user?: {
460
466
  id?: string | undefined;
461
467
  user_id?: string | undefined;
@@ -480,12 +486,6 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
480
486
  }[] | null | undefined;
481
487
  base_role?: "none" | "admin" | "read" | "write" | undefined;
482
488
  } | undefined;
483
- user_id?: string | undefined;
484
- org_id?: string | undefined;
485
- asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
486
- created_at?: string | undefined;
487
- last_updated?: string | undefined;
488
- team_id?: string | undefined;
489
489
  team?: {
490
490
  id?: string | undefined;
491
491
  name?: string | undefined;
@@ -495,6 +495,12 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
495
495
  created_at?: string | undefined;
496
496
  default_role?: "none" | "admin" | "read" | "write" | undefined;
497
497
  } | undefined;
498
+ user_id?: string | undefined;
499
+ org_id?: string | undefined;
500
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
501
+ created_at?: string | undefined;
502
+ last_updated?: string | undefined;
503
+ team_id?: string | undefined;
498
504
  parent_id?: string | null | undefined;
499
505
  slug?: string | null | undefined;
500
506
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
@@ -106,7 +106,8 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
106
106
  default_role?: "none" | "admin" | "read" | "write" | undefined;
107
107
  }>>;
108
108
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
109
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
109
+ parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
110
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
110
111
  name: z.ZodString;
111
112
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
113
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -154,6 +155,7 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
154
155
  state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
155
156
  metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
156
157
  description?: string | null | undefined;
158
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
157
159
  user?: {
158
160
  id?: string | undefined;
159
161
  user_id?: string | undefined;
@@ -209,6 +211,7 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
209
211
  state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
210
212
  metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
211
213
  description?: string | null | undefined;
214
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
212
215
  user?: {
213
216
  id?: string | undefined;
214
217
  user_id?: string | undefined;
@@ -233,7 +236,6 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
233
236
  }[] | null | undefined;
234
237
  base_role?: "none" | "admin" | "read" | "write" | undefined;
235
238
  } | undefined;
236
- asset_type?: "comment" | undefined;
237
239
  team?: {
238
240
  id?: string | undefined;
239
241
  name?: string | undefined;
@@ -243,6 +245,7 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
243
245
  created_at?: string | undefined;
244
246
  default_role?: "none" | "admin" | "read" | "write" | undefined;
245
247
  } | undefined;
248
+ asset_type?: "comment" | undefined;
246
249
  parent_id?: string | null | undefined;
247
250
  name_url_slug?: string | null | undefined;
248
251
  slug?: string | null | undefined;
@@ -364,6 +367,7 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
364
367
  default_role?: "none" | "admin" | "read" | "write" | undefined;
365
368
  }>>>;
366
369
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
370
+ parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
367
371
  name: z.ZodOptional<z.ZodString>;
368
372
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
369
373
  slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -407,6 +411,7 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
407
411
  visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
408
412
  metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
409
413
  description?: string | null | undefined;
414
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
410
415
  user?: {
411
416
  id?: string | undefined;
412
417
  user_id?: string | undefined;
@@ -431,8 +436,6 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
431
436
  }[] | null | undefined;
432
437
  base_role?: "none" | "admin" | "read" | "write" | undefined;
433
438
  } | undefined;
434
- org_id?: string | undefined;
435
- team_id?: string | undefined;
436
439
  team?: {
437
440
  id?: string | undefined;
438
441
  name?: string | undefined;
@@ -442,6 +445,8 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
442
445
  created_at?: string | undefined;
443
446
  default_role?: "none" | "admin" | "read" | "write" | undefined;
444
447
  } | undefined;
448
+ org_id?: string | undefined;
449
+ team_id?: string | undefined;
445
450
  parent_id?: string | null | undefined;
446
451
  name_url_slug?: string | null | undefined;
447
452
  slug?: string | null | undefined;
@@ -463,6 +468,7 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
463
468
  visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
464
469
  metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
465
470
  description?: string | null | undefined;
471
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
466
472
  user?: {
467
473
  id?: string | undefined;
468
474
  user_id?: string | undefined;
@@ -487,11 +493,6 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
487
493
  }[] | null | undefined;
488
494
  base_role?: "none" | "admin" | "read" | "write" | undefined;
489
495
  } | undefined;
490
- org_id?: string | undefined;
491
- asset_type?: "comment" | undefined;
492
- created_at?: string | undefined;
493
- last_updated?: string | undefined;
494
- team_id?: string | undefined;
495
496
  team?: {
496
497
  id?: string | undefined;
497
498
  name?: string | undefined;
@@ -501,6 +502,11 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
501
502
  created_at?: string | undefined;
502
503
  default_role?: "none" | "admin" | "read" | "write" | undefined;
503
504
  } | undefined;
505
+ org_id?: string | undefined;
506
+ asset_type?: "comment" | undefined;
507
+ created_at?: string | undefined;
508
+ last_updated?: string | undefined;
509
+ team_id?: string | undefined;
504
510
  parent_id?: string | null | undefined;
505
511
  name_url_slug?: string | null | undefined;
506
512
  slug?: string | null | undefined;
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- declare const AssetTypeSchema: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
2
+ declare const AssetTypeSchema: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
3
3
  declare const VisibilitySchema: z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>;
4
4
  declare const RoleSchema: z.ZodEnum<["admin", "read", "write", "none"]>;
5
5
  declare const MonetizationSchema: z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>;
@@ -9,7 +9,7 @@ declare const EmbeddingSchema: z.ZodObject<{
9
9
  org_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  embedding: z.ZodArray<z.ZodNumber, "many">;
11
11
  content: z.ZodString;
12
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
12
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
13
13
  asset_id: z.ZodString;
14
14
  metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
15
15
  created_at: z.ZodString;
@@ -19,7 +19,7 @@ declare const EmbeddingSchema: z.ZodObject<{
19
19
  content: string;
20
20
  user_id: string;
21
21
  embedding: number[];
22
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
22
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
23
23
  asset_id: string;
24
24
  created_at: string;
25
25
  last_updated: string;
@@ -30,7 +30,7 @@ declare const EmbeddingSchema: z.ZodObject<{
30
30
  content: string;
31
31
  user_id: string;
32
32
  embedding: number[];
33
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
33
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
34
34
  asset_id: string;
35
35
  created_at: string;
36
36
  last_updated: string;
@@ -44,8 +44,8 @@ declare const ConnectionSchema: z.ZodObject<{
44
44
  action_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
45
45
  source_id: z.ZodString;
46
46
  target_id: z.ZodString;
47
- source_asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
48
- target_asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
47
+ source_asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
48
+ target_asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
49
49
  created_at: z.ZodString;
50
50
  last_updated: z.ZodString;
51
51
  }, "strip", z.ZodTypeAny, {
@@ -56,8 +56,8 @@ declare const ConnectionSchema: z.ZodObject<{
56
56
  last_updated: string;
57
57
  source_id: string;
58
58
  target_id: string;
59
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
60
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
59
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
60
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
61
61
  action_id?: string | null | undefined;
62
62
  }, {
63
63
  type: "action" | "comment" | "reference" | "mention" | "component";
@@ -67,24 +67,25 @@ declare const ConnectionSchema: z.ZodObject<{
67
67
  last_updated: string;
68
68
  source_id: string;
69
69
  target_id: string;
70
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
71
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
70
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
71
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
72
72
  action_id?: string | null | undefined;
73
73
  }>;
74
74
  declare const PurchaseAssetSchema: z.ZodObject<{
75
75
  assetId: z.ZodString;
76
76
  method: z.ZodEnum<["checkout", "api"]>;
77
- assetType: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
77
+ assetType: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
78
78
  }, "strip", z.ZodTypeAny, {
79
79
  method: "checkout" | "api";
80
80
  assetId: string;
81
- assetType: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
81
+ assetType: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
82
82
  }, {
83
83
  method: "checkout" | "api";
84
84
  assetId: string;
85
- assetType: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
85
+ assetType: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
86
86
  }>;
87
87
  declare const PermissionSchema: z.ZodObject<{
88
+ id: z.ZodString;
88
89
  role: z.ZodEnum<["admin", "read", "write", "none"]>;
89
90
  user: z.ZodObject<{
90
91
  user_id: z.ZodString;
@@ -93,16 +94,36 @@ declare const PermissionSchema: z.ZodObject<{
93
94
  }, {
94
95
  user_id: string;
95
96
  }>;
97
+ user_id: z.ZodNullable<z.ZodString>;
98
+ org_id: z.ZodNullable<z.ZodString>;
99
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
100
+ asset_id: z.ZodString;
101
+ created_at: z.ZodString;
102
+ last_updated: z.ZodString;
96
103
  }, "strip", z.ZodTypeAny, {
104
+ id: string;
97
105
  role: "none" | "admin" | "read" | "write";
98
106
  user: {
99
107
  user_id: string;
100
108
  };
109
+ user_id: string | null;
110
+ org_id: string | null;
111
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
112
+ asset_id: string;
113
+ created_at: string;
114
+ last_updated: string;
101
115
  }, {
116
+ id: string;
102
117
  role: "none" | "admin" | "read" | "write";
103
118
  user: {
104
119
  user_id: string;
105
120
  };
121
+ user_id: string | null;
122
+ org_id: string | null;
123
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
124
+ asset_id: string;
125
+ created_at: string;
126
+ last_updated: string;
106
127
  }>;
107
128
  declare const StatusSchema: z.ZodEnum<["queued", "in-progress", "success", "error"]>;
108
129
  type Role = z.infer<typeof RoleSchema>;
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StatusSchema = exports.PermissionSchema = exports.PurchaseAssetSchema = exports.AssetTypeSchema = exports.EmbeddingSchema = exports.ConnectionSchema = exports.MonetizationSchema = exports.VisibilitySchema = exports.RoleSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const AssetTypeSchema = zod_1.z.enum([
6
- // "user",
7
- // "organization",
8
- // "team",
6
+ "user",
7
+ "organization",
8
+ "team",
9
9
  "dataset",
10
10
  "file",
11
11
  "service",
@@ -69,10 +69,17 @@ const PurchaseAssetSchema = zod_1.z.object({
69
69
  });
70
70
  exports.PurchaseAssetSchema = PurchaseAssetSchema;
71
71
  const PermissionSchema = zod_1.z.object({
72
+ id: zod_1.z.string().uuid(),
72
73
  role: RoleSchema,
73
74
  user: zod_1.z.object({
74
75
  user_id: zod_1.z.string().uuid(),
75
76
  }),
77
+ user_id: zod_1.z.string().uuid().nullable(),
78
+ org_id: zod_1.z.string().uuid().nullable(),
79
+ asset_type: AssetTypeSchema,
80
+ asset_id: zod_1.z.string().uuid(),
81
+ created_at: zod_1.z.string(),
82
+ last_updated: zod_1.z.string(),
76
83
  });
77
84
  exports.PermissionSchema = PermissionSchema;
78
85
  const StatusSchema = zod_1.z.enum(["queued", "in-progress", "success", "error"]);
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/schema/common.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,eAAe,GAAG,OAAC,CAAC,IAAI,CAAC;IAC7B,UAAU;IACV,kBAAkB;IAClB,UAAU;IACV,SAAS;IACT,MAAM;IACN,SAAS;IACT,OAAO;IACP,MAAM;IACN,SAAS;IACT,cAAc;IACd,WAAW;IACX,aAAa;CACd,CAAC,CAAC;AA+ED,0CAAe;AA7EjB,MAAM,gBAAgB,GAAG,OAAC,CAAC,IAAI,CAAC;IAC9B,QAAQ;IACR,SAAS;IACT,cAAc;IACd,WAAW;IACX,SAAS;CACV,CAAC,CAAC;AAmED,4CAAgB;AAjElB,MAAM,UAAU,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;AAgE5D,gCAAU;A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