@ourofoundation/ouro-js 1.0.7 → 1.1.1

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
@@ -1,4 +1,4 @@
1
- import { Asset, CreateAssetSchema, type AssetSchema, type CreateAsset } from "./schema/assets";
1
+ import { Asset, CreateAssetSchema, UpdateAsset, UpdateAssetSchema, type AssetSchema, type CreateAsset } from "./schema/assets";
2
2
  import { CommentSchema, CreateCommentSchema, type Comment, type CreateComment } from "./schema/comments";
3
3
  import { PurchaseAssetSchema, PermissionSchema, RoleSchema, VisibilitySchema, MonetizationSchema, ConnectionSchema, EmbeddingSchema, AssetTypeSchema, type Role, type Connection, type Embedding, type Visibility, type Monetization, type AssetTypes, type PurchaseAsset, type Permission } from "./schema/common";
4
4
  import { MessageSchema, UpdateConversationSchema, CreateConversationSchema, ConversationSchema, type Conversation, type CreateConversation, type UpdateConversation, type Message } from "./schema/conversations";
@@ -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, UpdateAssetSchema, type CreateAsset, type UpdateAsset, 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,9 +1,10 @@
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;
4
- exports.parseMarkdown = exports.createNameUrlSlug = exports.createUrlSlug = exports.getAssetUrl = exports.filterListToString = void 0;
3
+ 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.UpdateAssetSchema = exports.CreateAssetSchema = exports.AssetTypeSchema = exports.EmbeddingSchema = exports.ConnectionSchema = exports.MonetizationSchema = exports.VisibilitySchema = exports.RoleSchema = void 0;
4
+ exports.getReferencesInContent = exports.parseMarkdown = exports.createNameUrlSlug = exports.createUrlSlug = exports.getAssetUrl = exports.filterListToString = exports.UpdateBlueprintSchema = 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
+ Object.defineProperty(exports, "UpdateAssetSchema", { enumerable: true, get: function () { return assets_1.UpdateAssetSchema; } });
7
8
  const comments_1 = require("./schema/comments");
8
9
  Object.defineProperty(exports, "CommentSchema", { enumerable: true, get: function () { return comments_1.CommentSchema; } });
9
10
  Object.defineProperty(exports, "CreateCommentSchema", { enumerable: true, get: function () { return comments_1.CreateCommentSchema; } });
@@ -75,4 +76,6 @@ Object.defineProperty(exports, "createUrlSlug", { enumerable: true, get: functio
75
76
  Object.defineProperty(exports, "createNameUrlSlug", { enumerable: true, get: function () { return navigate_1.createNameUrlSlug; } });
76
77
  const markdown_parser_1 = require("./utils/air/markdown-parser");
77
78
  Object.defineProperty(exports, "parseMarkdown", { enumerable: true, get: function () { return markdown_parser_1.parseMarkdown; } });
79
+ const air_1 = require("./utils/air");
80
+ Object.defineProperty(exports, "getReferencesInContent", { enumerable: true, get: function () { return air_1.getReferencesInContent; } });
78
81
  //# 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,O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A;AACd,gGA7IA,uBAAe,OA6IA;AACf,iGA7IA,wBAAgB,OA6IA;AAlIlB,gDAO2B;AAqIzB,4FA3IA,sBAAW,OA2IA;AACX,8FA3IA,wBAAa,OA2IA;AACb,yFA3IA,mBAAQ,OA2IA;AArIV,0CAWwB;AA+HtB,2FAzIA,kBAAU,OAyIA;AACV,iGAzIA,wBAAgB,OAyIA;AAChB,+FAzIA,sBAAc,OAyIA;AACd,gGAzIA,uBAAe,OAyIA;AACf,iGAzIA,wBAAgB,OAyIA;AAjIlB,0CAOwB;AAiItB,8FAvIA,qBAAa,OAuIA;AACb,kGAvIA,yBAAiB,OAuIA;AACjB,oGAvIA,2BAAmB,OAuIA;AAjIrB,wDAO+B;AA+H7B,kGArIA,gCAAiB,OAqIA;AACjB,wGArIA,sCAAuB,OAqIA;AACvB,wGArIA,sCAAuB,OAqIA;AA/HzB,oDAO6B;AA6H3B,gGAnIA,4BAAe,OAmIA;AACf,sGAnIA,kCAAqB,OAmIA;AACrB,sGAnIA,kCAAqB,OAmIA;AA7HvB,QAAQ;AACR,6CAAqD;AAiInD,mGAjIO,4BAAkB,OAiIP;AAhIpB,+CAI0B;AA6HxB,4FAhIA,sBAAW,OAgIA;AACX,8FAhIA,wBAAa,OAgIA;AACb,kGAhIA,4BAAiB,OAgIA;AA7HnB,iEAA4D;AA8H1D,8FA9HO,+BAAa,OA8HP;AA7Hf,qCAAqD;AA8HnD,uGA9HO,4BAAsB,OA8HP"}
@@ -106,6 +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
+ parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
109
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>>;
@@ -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;
@@ -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,6 +349,7 @@ 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>>>;
352
+ parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
349
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>>>;
@@ -385,6 +389,7 @@ 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;
392
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
388
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;
@@ -403,6 +408,7 @@ 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
413
  asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
408
414
  created_at?: string | undefined;
@@ -419,6 +425,176 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
419
425
  price_id?: string | null | undefined;
420
426
  preview?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[] | null | undefined;
421
427
  }>;
428
+ declare const UpdateAssetSchema: z.ZodObject<Omit<{
429
+ id: z.ZodOptional<z.ZodString>;
430
+ user_id: z.ZodOptional<z.ZodString>;
431
+ user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
432
+ id: z.ZodOptional<z.ZodString>;
433
+ user_id: z.ZodOptional<z.ZodString>;
434
+ username: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
435
+ avatar_path: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
436
+ bio: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
437
+ urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
438
+ value: z.ZodString;
439
+ }, "strip", z.ZodTypeAny, {
440
+ value: string;
441
+ }, {
442
+ value: string;
443
+ }>, "many">>>;
444
+ last_active: z.ZodOptional<z.ZodString>;
445
+ }, "strip", z.ZodTypeAny, {
446
+ id?: string | undefined;
447
+ user_id?: string | undefined;
448
+ avatar_path?: string | null | undefined;
449
+ urls?: {
450
+ value: string;
451
+ }[] | undefined;
452
+ username?: string | null | undefined;
453
+ bio?: string | null | undefined;
454
+ last_active?: string | undefined;
455
+ }, {
456
+ id?: string | undefined;
457
+ user_id?: string | undefined;
458
+ avatar_path?: string | null | undefined;
459
+ urls?: {
460
+ value: string;
461
+ }[] | undefined;
462
+ username?: string | null | undefined;
463
+ bio?: string | null | undefined;
464
+ last_active?: string | undefined;
465
+ }>>>;
466
+ org_id: z.ZodOptional<z.ZodString>;
467
+ organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
468
+ id: z.ZodOptional<z.ZodString>;
469
+ name: z.ZodOptional<z.ZodString>;
470
+ avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
471
+ mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
472
+ size: z.ZodOptional<z.ZodString>;
473
+ email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
474
+ domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
475
+ urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
476
+ value: z.ZodString;
477
+ }, "strip", z.ZodTypeAny, {
478
+ value: string;
479
+ }, {
480
+ value: string;
481
+ }>, "many">>>>;
482
+ base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
483
+ }, "strip", z.ZodTypeAny, {
484
+ id?: string | undefined;
485
+ name?: string | undefined;
486
+ size?: string | undefined;
487
+ email?: string | null | undefined;
488
+ avatar_path?: string | null | undefined;
489
+ mission?: string | null | undefined;
490
+ domain?: string | null | undefined;
491
+ urls?: {
492
+ value: string;
493
+ }[] | null | undefined;
494
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
495
+ }, {
496
+ id?: string | undefined;
497
+ name?: string | undefined;
498
+ size?: string | undefined;
499
+ email?: string | null | undefined;
500
+ avatar_path?: string | null | undefined;
501
+ mission?: string | null | undefined;
502
+ domain?: string | null | undefined;
503
+ urls?: {
504
+ value: string;
505
+ }[] | null | undefined;
506
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
507
+ }>>>;
508
+ team_id: z.ZodOptional<z.ZodString>;
509
+ team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
510
+ id: z.ZodOptional<z.ZodString>;
511
+ org_id: z.ZodOptional<z.ZodString>;
512
+ name: z.ZodOptional<z.ZodString>;
513
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
514
+ default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
515
+ visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
516
+ created_at: z.ZodOptional<z.ZodString>;
517
+ }, "strip", z.ZodTypeAny, {
518
+ id?: string | undefined;
519
+ name?: string | undefined;
520
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
521
+ description?: string | null | undefined;
522
+ org_id?: string | undefined;
523
+ created_at?: string | undefined;
524
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
525
+ }, {
526
+ id?: string | undefined;
527
+ name?: string | undefined;
528
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
529
+ description?: string | null | undefined;
530
+ org_id?: string | undefined;
531
+ created_at?: string | undefined;
532
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
533
+ }>>>;
534
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
535
+ parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
536
+ asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
537
+ name: z.ZodOptional<z.ZodString>;
538
+ name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
539
+ slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
540
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
541
+ visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
542
+ monetization: z.ZodOptional<z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>>;
543
+ price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
544
+ unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
545
+ cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["fixed", "variable"]>>>>;
546
+ cost_unit: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
547
+ product_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
548
+ price_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
549
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>>;
550
+ preview: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>>>;
551
+ state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
552
+ created_at: z.ZodOptional<z.ZodString>;
553
+ last_updated: z.ZodOptional<z.ZodString>;
554
+ }, "id" | "user" | "organization" | "team" | "user_id" | "created_at" | "slug">, "strip", z.ZodTypeAny, {
555
+ state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
556
+ name?: string | undefined;
557
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
558
+ metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
559
+ description?: string | null | undefined;
560
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
561
+ org_id?: string | undefined;
562
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
563
+ last_updated?: string | undefined;
564
+ team_id?: string | undefined;
565
+ parent_id?: string | null | undefined;
566
+ name_url_slug?: string | null | undefined;
567
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
568
+ price?: number | null | undefined;
569
+ unit_cost?: number | null | undefined;
570
+ cost_accounting?: "fixed" | "variable" | null | undefined;
571
+ cost_unit?: string | null | undefined;
572
+ product_id?: string | null | undefined;
573
+ price_id?: string | null | undefined;
574
+ preview?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[] | null | undefined;
575
+ }, {
576
+ state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
577
+ name?: string | undefined;
578
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
579
+ metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
580
+ description?: string | null | undefined;
581
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
582
+ org_id?: string | undefined;
583
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
584
+ last_updated?: string | undefined;
585
+ team_id?: string | undefined;
586
+ parent_id?: string | null | undefined;
587
+ name_url_slug?: string | null | undefined;
588
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
589
+ price?: number | null | undefined;
590
+ unit_cost?: number | null | undefined;
591
+ cost_accounting?: "fixed" | "variable" | null | undefined;
592
+ cost_unit?: string | null | undefined;
593
+ product_id?: string | null | undefined;
594
+ price_id?: string | null | undefined;
595
+ preview?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[] | null | undefined;
596
+ }>;
422
597
  type Asset = z.infer<typeof AssetSchema>;
423
598
  type CreateAsset = z.infer<typeof CreateAssetSchema>;
424
- export { AssetSchema, CreateAssetSchema, type Asset, type CreateAsset };
599
+ type UpdateAsset = z.infer<typeof UpdateAssetSchema>;
600
+ export { AssetSchema, CreateAssetSchema, UpdateAssetSchema, type Asset, type CreateAsset, type UpdateAsset, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateAssetSchema = exports.AssetSchema = void 0;
3
+ exports.UpdateAssetSchema = exports.CreateAssetSchema = exports.AssetSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const common_1 = require("./common");
6
6
  const organizations_1 = require("./organizations");
@@ -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(),
@@ -78,4 +80,16 @@ const CreateAssetSchema = AssetSchema.partial()
78
80
  last_updated: zod_1.z.string().default(() => new Date().toISOString()),
79
81
  });
80
82
  exports.CreateAssetSchema = CreateAssetSchema;
83
+ const UpdateAssetSchema = AssetSchema.partial().omit({
84
+ id: true,
85
+ user_id: true,
86
+ created_at: true,
87
+ // Remove extended foreign fields
88
+ user: true,
89
+ organization: true,
90
+ team: true,
91
+ // remove added slug
92
+ slug: true,
93
+ });
94
+ exports.UpdateAssetSchema = UpdateAssetSchema;
81
95
  //# sourceMappingURL=assets.js.map
@@ -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,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC1B,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACxC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,YAAY,EAAE,mCAAmB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtD,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC1B,IAAI,EAAE,kBAAU,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACrC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAClD,UAAU,EAAE,wBAAe;IAC3B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC/C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACtC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC7C,UAAU,EAAE,yBAAgB;IAC5B,sBAAsB;IACtB,YAAY,EAAE,2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,OAAC;SACN,MAAM,EAAE;SACR,IAAI,EAAE;SACN,OAAO,EAAE;SACT,OAAO,CAAC,sCAAsC,CAAC;IAClD,IAAI,EAAE,OAAC;SACJ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE;QACN,OAAO,EAAE,sBAAsB;KAChC,CAAC;SACD,GAAG,CAAC,GAAG,EAAE;QACR,OAAO,EAAE,uCAAuC;KACjD,CAAC;IACJ,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC/C,KAAK,EAAE,qBAAY,CAAC,QAAQ,EAAE,CAAC,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;AAoBH,8CAAiB;AAlBnB,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC;IACnD,EAAE,EAAE,IAAI;IACR,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,IAAI;IAChB,iCAAiC;IACjC,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,IAAI;IAClB,IAAI,EAAE,IAAI;IACV,oBAAoB;IACpB,IAAI,EAAE,IAAI;CACX,CAAC,CAAC;AASD,8CAAiB"}
@@ -106,6 +106,7 @@ 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
+ parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
109
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>>;
@@ -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;
@@ -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,6 +351,7 @@ 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>>>;
354
+ parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
351
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>>>;
@@ -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;
@@ -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;
@@ -106,6 +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
+ parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
109
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>>;
@@ -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;
@@ -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;
@@ -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;
@@ -85,6 +85,7 @@ declare const PurchaseAssetSchema: z.ZodObject<{
85
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>;
@@ -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,MAAM;IACN,cAAc;IACd,MAAM;IACN,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,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