@ourofoundation/ouro-js 1.0.5 → 1.0.7

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
@@ -6,7 +6,7 @@ import { DatasetSchema, CreateDatasetFromFileSchema, CreateDatasetFromSchemaSche
6
6
  import { FileSchema, CreateFileSchema, type File, type CreateFile, type UpdateFile, updateFileSchema } from "./schema/files";
7
7
  import { NotificationSchema, type Notification } from "./schema/notifications";
8
8
  import { OrganizationsSchema, MembershipSchema, type Organization, type Membership } from "./schema/organizations";
9
- import { TipTapSchema, ContentSchema, PostSchema, CreatePostSchema, ListPostsSchema, ReadPostSchema, ReadPostsSchema, updatePostSchema, type Post, type CreatePost, type ListPosts, type ReadPost, type ReadPosts, type UpdatePost, type Content, type TipTap } from "./schema/posts";
9
+ import { TipTapSchema, ContentSchema, PostSchema, CreatePostSchema, ListPostsSchema, ReadPostSchema, ReadPostsSchema, UpdatePostSchema, type Post, type CreatePost, type ListPosts, type ReadPost, type ReadPosts, type UpdatePost, type Content, type TipTap } from "./schema/posts";
10
10
  import { routeSchema, serviceSchema, authType, type Service, type Route, type AuthType } from "./schema/services";
11
11
  import { TeamSchema, CreateTeamSchema, ReadTeamSchema, ReadTeamsSchema, UpdateTeamSchema, type Team, type CreateTeam, type ReadTeam, type ReadTeams, type UpdateTeam } from "./schema/teams";
12
12
  import { ProfileSchema, ReadProfileSchema, UpdateProfileSchema, type Profile, type UpdateProfile, type ReadProfile } from "./schema/users";
@@ -15,4 +15,4 @@ 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
+ 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, };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
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
4
  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; } });
@@ -43,7 +43,7 @@ Object.defineProperty(exports, "CreatePostSchema", { enumerable: true, get: func
43
43
  Object.defineProperty(exports, "ListPostsSchema", { enumerable: true, get: function () { return posts_1.ListPostsSchema; } });
44
44
  Object.defineProperty(exports, "ReadPostSchema", { enumerable: true, get: function () { return posts_1.ReadPostSchema; } });
45
45
  Object.defineProperty(exports, "ReadPostsSchema", { enumerable: true, get: function () { return posts_1.ReadPostsSchema; } });
46
- Object.defineProperty(exports, "updatePostSchema", { enumerable: true, get: function () { return posts_1.updatePostSchema; } });
46
+ Object.defineProperty(exports, "UpdatePostSchema", { enumerable: true, get: function () { return posts_1.UpdatePostSchema; } });
47
47
  const services_1 = require("./schema/services");
48
48
  Object.defineProperty(exports, "routeSchema", { enumerable: true, get: function () { return services_1.routeSchema; } });
49
49
  Object.defineProperty(exports, "serviceSchema", { enumerable: true, get: function () { return services_1.serviceSchema; } });
@@ -106,7 +106,7 @@ 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
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
110
110
  name: z.ZodString;
111
111
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
112
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -130,7 +130,7 @@ declare const AssetSchema: z.ZodObject<{
130
130
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
131
131
  user_id: string;
132
132
  org_id: string;
133
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
133
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
134
134
  created_at: string;
135
135
  last_updated: string;
136
136
  team_id: string;
@@ -187,7 +187,7 @@ declare const AssetSchema: z.ZodObject<{
187
187
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
188
188
  user_id: string;
189
189
  org_id: string;
190
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
190
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
191
191
  created_at: string;
192
192
  last_updated: string;
193
193
  team_id: string;
@@ -346,7 +346,7 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
346
346
  default_role?: "none" | "admin" | "read" | "write" | undefined;
347
347
  }>>>;
348
348
  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"]>>;
349
+ asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
350
350
  name: z.ZodOptional<z.ZodString>;
351
351
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
352
352
  slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -364,61 +364,30 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
364
364
  state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
365
365
  created_at: z.ZodOptional<z.ZodString>;
366
366
  last_updated: z.ZodOptional<z.ZodString>;
367
- }, "user_id">, {
367
+ }, "user" | "organization" | "team" | "user_id" | "slug">, {
368
368
  id: z.ZodDefault<z.ZodString>;
369
369
  team_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
370
370
  org_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
371
+ name: z.ZodString;
371
372
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
372
373
  state: z.ZodDefault<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>;
373
374
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>>;
375
+ created_at: z.ZodDefault<z.ZodString>;
376
+ last_updated: z.ZodDefault<z.ZodString>;
374
377
  }>, "strip", z.ZodTypeAny, {
375
378
  id: string;
376
379
  state: "error" | "in-progress" | "success" | "queued";
380
+ name: string;
377
381
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
378
382
  org_id: string | null;
383
+ created_at: string;
384
+ last_updated: string;
379
385
  team_id: string | null;
380
- name?: string | undefined;
381
386
  metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
382
387
  description?: string | null | undefined;
383
- user?: {
384
- id?: string | undefined;
385
- user_id?: string | undefined;
386
- avatar_path?: string | null | undefined;
387
- urls?: {
388
- value: string;
389
- }[] | undefined;
390
- username?: string | null | undefined;
391
- bio?: string | null | undefined;
392
- last_active?: string | undefined;
393
- } | undefined;
394
- organization?: {
395
- id?: string | undefined;
396
- name?: string | undefined;
397
- size?: string | undefined;
398
- email?: string | null | undefined;
399
- avatar_path?: string | null | undefined;
400
- mission?: string | null | undefined;
401
- domain?: string | null | undefined;
402
- urls?: {
403
- value: string;
404
- }[] | null | undefined;
405
- base_role?: "none" | "admin" | "read" | "write" | undefined;
406
- } | undefined;
407
- asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
408
- created_at?: string | undefined;
409
- last_updated?: string | undefined;
410
- team?: {
411
- id?: string | undefined;
412
- name?: string | undefined;
413
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
414
- description?: string | null | undefined;
415
- org_id?: string | undefined;
416
- created_at?: string | undefined;
417
- default_role?: "none" | "admin" | "read" | "write" | undefined;
418
- } | undefined;
388
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
419
389
  parent_id?: string | null | undefined;
420
390
  name_url_slug?: string | null | undefined;
421
- slug?: string | null | undefined;
422
391
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
423
392
  price?: number | null | undefined;
424
393
  unit_cost?: number | null | undefined;
@@ -428,53 +397,19 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
428
397
  price_id?: string | null | undefined;
429
398
  preview?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[] | null | undefined;
430
399
  }, {
400
+ name: string;
431
401
  id?: string | undefined;
432
402
  state?: "error" | "in-progress" | "success" | "queued" | undefined;
433
- name?: string | undefined;
434
403
  visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
435
404
  metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
436
405
  description?: string | null | undefined;
437
- user?: {
438
- id?: string | undefined;
439
- user_id?: string | undefined;
440
- avatar_path?: string | null | undefined;
441
- urls?: {
442
- value: string;
443
- }[] | undefined;
444
- username?: string | null | undefined;
445
- bio?: string | null | undefined;
446
- last_active?: string | undefined;
447
- } | undefined;
448
- organization?: {
449
- id?: string | undefined;
450
- name?: string | undefined;
451
- size?: string | undefined;
452
- email?: string | null | undefined;
453
- avatar_path?: string | null | undefined;
454
- mission?: string | null | undefined;
455
- domain?: string | null | undefined;
456
- urls?: {
457
- value: string;
458
- }[] | null | undefined;
459
- base_role?: "none" | "admin" | "read" | "write" | undefined;
460
- } | undefined;
461
406
  org_id?: string | null | undefined;
462
- asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
407
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
463
408
  created_at?: string | undefined;
464
409
  last_updated?: string | undefined;
465
410
  team_id?: string | null | undefined;
466
- team?: {
467
- id?: string | undefined;
468
- name?: string | undefined;
469
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
470
- description?: string | null | undefined;
471
- org_id?: string | undefined;
472
- created_at?: string | undefined;
473
- default_role?: "none" | "admin" | "read" | "write" | undefined;
474
- } | undefined;
475
411
  parent_id?: string | null | undefined;
476
412
  name_url_slug?: string | null | undefined;
477
- slug?: string | null | undefined;
478
413
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
479
414
  price?: number | null | undefined;
480
415
  unit_cost?: number | null | undefined;
@@ -41,6 +41,12 @@ exports.AssetSchema = AssetSchema;
41
41
  const CreateAssetSchema = AssetSchema.partial()
42
42
  .omit({
43
43
  user_id: true,
44
+ // Remove extended foreign fields
45
+ user: true,
46
+ organization: true,
47
+ team: true,
48
+ // remove added slug
49
+ slug: true,
44
50
  })
45
51
  .extend({
46
52
  id: zod_1.z
@@ -57,9 +63,19 @@ const CreateAssetSchema = AssetSchema.partial()
57
63
  .uuid()
58
64
  .nullish()
59
65
  .default("00000000-0000-0000-0000-000000000000"),
66
+ name: zod_1.z
67
+ .string()
68
+ .min(1, {
69
+ message: "Name cannot be empty",
70
+ })
71
+ .max(255, {
72
+ message: "Name must be less than 255 characters",
73
+ }),
60
74
  name_url_slug: zod_1.z.string().optional().nullable(),
61
75
  state: common_1.StatusSchema.optional().default("success"),
62
76
  visibility: common_1.VisibilitySchema.optional().default("public"),
77
+ created_at: zod_1.z.string().default(() => new Date().toISOString()),
78
+ last_updated: zod_1.z.string().default(() => new Date().toISOString()),
63
79
  });
64
80
  exports.CreateAssetSchema = CreateAssetSchema;
65
81
  //# sourceMappingURL=assets.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"assets.js","sourceRoot":"","sources":["../../src/schema/assets.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,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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
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
110
110
  name: z.ZodString;
111
111
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
112
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -125,14 +125,14 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
125
125
  created_at: z.ZodString;
126
126
  last_updated: z.ZodString;
127
127
  }, {
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">;
128
+ 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
129
  }>, "strip", z.ZodTypeAny, {
130
130
  id: string;
131
131
  name: string;
132
132
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
133
133
  user_id: string;
134
134
  org_id: string;
135
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
135
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
136
136
  created_at: string;
137
137
  last_updated: string;
138
138
  team_id: string;
@@ -189,7 +189,7 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
189
189
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
190
190
  user_id: string;
191
191
  org_id: string;
192
- 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";
193
193
  created_at: string;
194
194
  last_updated: string;
195
195
  team_id: string;
@@ -348,7 +348,7 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
348
348
  default_role?: "none" | "admin" | "read" | "write" | undefined;
349
349
  }>>>;
350
350
  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"]>>;
351
+ asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
352
352
  name: z.ZodOptional<z.ZodString>;
353
353
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
354
354
  slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -420,10 +420,6 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
420
420
  }[] | null | undefined;
421
421
  base_role?: "none" | "admin" | "read" | "write" | undefined;
422
422
  } | 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
423
  team?: {
428
424
  id?: string | undefined;
429
425
  name?: string | undefined;
@@ -433,6 +429,10 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
433
429
  created_at?: string | undefined;
434
430
  default_role?: "none" | "admin" | "read" | "write" | undefined;
435
431
  } | undefined;
432
+ user_id?: string | undefined;
433
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
434
+ created_at?: string | undefined;
435
+ last_updated?: string | undefined;
436
436
  parent_id?: string | null | undefined;
437
437
  slug?: string | null | undefined;
438
438
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
@@ -480,12 +480,6 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
480
480
  }[] | null | undefined;
481
481
  base_role?: "none" | "admin" | "read" | "write" | undefined;
482
482
  } | 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
483
  team?: {
490
484
  id?: string | undefined;
491
485
  name?: string | undefined;
@@ -495,6 +489,12 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
495
489
  created_at?: string | undefined;
496
490
  default_role?: "none" | "admin" | "read" | "write" | undefined;
497
491
  } | undefined;
492
+ user_id?: string | undefined;
493
+ org_id?: string | undefined;
494
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
495
+ created_at?: string | undefined;
496
+ last_updated?: string | undefined;
497
+ team_id?: string | undefined;
498
498
  parent_id?: string | null | undefined;
499
499
  slug?: string | null | undefined;
500
500
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
@@ -106,7 +106,7 @@ 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
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
110
110
  name: z.ZodString;
111
111
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
112
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -125,7 +125,7 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
125
125
  created_at: z.ZodString;
126
126
  last_updated: z.ZodString;
127
127
  }, {
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">;
128
+ asset_type: z.ZodDefault<z.ZodLiteral<"comment">>;
129
129
  preview: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodObject<{
130
130
  type: z.ZodEffects<z.ZodString, string, string>;
131
131
  content: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
@@ -142,7 +142,7 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
142
142
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
143
143
  user_id: string;
144
144
  org_id: string;
145
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
145
+ asset_type: "comment";
146
146
  created_at: string;
147
147
  last_updated: string;
148
148
  team_id: string;
@@ -202,7 +202,6 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
202
202
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
203
203
  user_id: string;
204
204
  org_id: string;
205
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
206
205
  created_at: string;
207
206
  last_updated: string;
208
207
  team_id: string;
@@ -243,6 +242,7 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
243
242
  created_at?: string | undefined;
244
243
  default_role?: "none" | "admin" | "read" | "write" | undefined;
245
244
  } | undefined;
245
+ asset_type?: "comment" | undefined;
246
246
  parent_id?: string | null | undefined;
247
247
  name_url_slug?: string | null | undefined;
248
248
  slug?: string | null | undefined;
@@ -380,7 +380,7 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
380
380
  state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
381
381
  created_at: z.ZodOptional<z.ZodString>;
382
382
  last_updated: z.ZodOptional<z.ZodString>;
383
- asset_type: z.ZodOptional<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">>;
383
+ asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"comment">>>;
384
384
  preview: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodObject<{
385
385
  type: z.ZodEffects<z.ZodString, string, string>;
386
386
  content: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
@@ -392,7 +392,7 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
392
392
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
393
393
  }>>>>>;
394
394
  }, "id" | "user_id">, {
395
- asset_type: z.ZodEffects<z.ZodDefault<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" | undefined>;
395
+ asset_type: z.ZodDefault<z.ZodLiteral<"comment">>;
396
396
  id: z.ZodDefault<z.ZodString>;
397
397
  name: z.ZodDefault<z.ZodString>;
398
398
  created_at: z.ZodDefault<z.ZodString>;
@@ -400,7 +400,7 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
400
400
  }>, "strip", z.ZodTypeAny, {
401
401
  id: string;
402
402
  name: string;
403
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
403
+ asset_type: "comment";
404
404
  created_at: string;
405
405
  last_updated: string;
406
406
  state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
@@ -431,8 +431,6 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
431
431
  }[] | null | undefined;
432
432
  base_role?: "none" | "admin" | "read" | "write" | undefined;
433
433
  } | undefined;
434
- org_id?: string | undefined;
435
- team_id?: string | undefined;
436
434
  team?: {
437
435
  id?: string | undefined;
438
436
  name?: string | undefined;
@@ -442,6 +440,8 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
442
440
  created_at?: string | undefined;
443
441
  default_role?: "none" | "admin" | "read" | "write" | undefined;
444
442
  } | undefined;
443
+ org_id?: string | undefined;
444
+ team_id?: string | undefined;
445
445
  parent_id?: string | null | undefined;
446
446
  name_url_slug?: string | null | undefined;
447
447
  slug?: string | null | undefined;
@@ -487,11 +487,6 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
487
487
  }[] | null | undefined;
488
488
  base_role?: "none" | "admin" | "read" | "write" | undefined;
489
489
  } | undefined;
490
- org_id?: string | undefined;
491
- asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
492
- created_at?: string | undefined;
493
- last_updated?: string | undefined;
494
- team_id?: string | undefined;
495
490
  team?: {
496
491
  id?: string | undefined;
497
492
  name?: string | undefined;
@@ -501,6 +496,11 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
501
496
  created_at?: string | undefined;
502
497
  default_role?: "none" | "admin" | "read" | "write" | undefined;
503
498
  } | undefined;
499
+ org_id?: string | undefined;
500
+ asset_type?: "comment" | undefined;
501
+ created_at?: string | undefined;
502
+ last_updated?: string | undefined;
503
+ team_id?: string | undefined;
504
504
  parent_id?: string | null | undefined;
505
505
  name_url_slug?: string | null | undefined;
506
506
  slug?: string | null | undefined;
@@ -4,9 +4,8 @@ exports.CreateCommentSchema = exports.CommentSchema = void 0;
4
4
  const uuidv7_1 = require("uuidv7");
5
5
  const zod_1 = require("zod");
6
6
  const assets_1 = require("./assets");
7
- const common_1 = require("./common");
8
7
  const CommentSchema = assets_1.AssetSchema.extend({
9
- asset_type: common_1.AssetTypeSchema.refine((x) => ["comment"].includes(x)),
8
+ asset_type: zod_1.z.literal("comment").default("comment"),
10
9
  preview: zod_1.z
11
10
  .object({
12
11
  type: zod_1.z.string().refine((x) => x === "doc"),
@@ -23,7 +22,7 @@ const CreateCommentSchema = CommentSchema.partial()
23
22
  user_id: true,
24
23
  })
25
24
  .extend({
26
- asset_type: common_1.AssetTypeSchema.default("comment").refine((x) => x === "comment"),
25
+ asset_type: zod_1.z.literal("comment").default("comment"),
27
26
  id: zod_1.z.string().default(() => (0, uuidv7_1.uuidv7)()),
28
27
  name: zod_1.z.string().default(""),
29
28
  created_at: zod_1.z.string().default(() => new Date().toISOString()),
@@ -1 +1 @@
1
- {"version":3,"file":"comments.js","sourceRoot":"","sources":["../../src/schema/comments.ts"],"names":[],"mappings":";;;AAAA,mCAAgC;AAChC,6BAAwB;AAExB,qCAAuC;AACvC,qCAA2C;AAE3C,MAAM,aAAa,GAAG,oBAAW,CAAC,MAAM,CAAC;IACvC,UAAU,EAAE,wBAAe,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,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W,EAAE,CAAC;CACjE,CAAC,CAAC;AAEmB,kDAAmB"}
@@ -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,22 +67,22 @@ 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
88
  role: z.ZodEnum<["admin", "read", "write", "none"]>;
@@ -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",
@@ -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;AA9DZ,MAAM,kBAAkB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,eAAe,EAAE,aAAa,CAAC,CAAC,CAAC;AAgE1E,gDAAkB;AA9DpB,MAAM,eAAe,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/B,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxC,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,OAAO,EAAE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