@ourofoundation/ouro-js 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { Asset, type AssetSchema } from "./schema/assets";
1
+ import { Asset, CreateAssetSchema, 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";
5
5
  import { DatasetSchema, CreateDatasetFromFileSchema, CreateDatasetFromSchemaSchema, updateDatasetSchema, type Dataset, type CreateFromFileDataset, type CreateFromSchemaDataset, type UpdateDataset } from "./schema/datasets";
6
- import { FileSchema, type File } from "./schema/files";
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
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";
@@ -12,4 +12,6 @@ import { TeamSchema, CreateTeamSchema, ReadTeamSchema, ReadTeamsSchema, UpdateTe
12
12
  import { ProfileSchema, ReadProfileSchema, UpdateProfileSchema, type Profile, type UpdateProfile, type ReadProfile } from "./schema/users";
13
13
  import { ReplicationSchema, CreateReplicationSchema, UpdateReplicationSchema, type Replication, type CreateReplication, type UpdateReplication } from "./schema/replications";
14
14
  import { BlueprintSchema, CreateBlueprintSchema, UpdateBlueprintSchema, type Blueprint, type CreateBlueprint, type UpdateBlueprint } from "./schema/blueprints";
15
- export { RoleSchema, VisibilitySchema, MonetizationSchema, ConnectionSchema, EmbeddingSchema, AssetTypeSchema, type Role, type Connection, type Embedding, type Visibility, type Monetization, type AssetTypes, Asset, type AssetSchema, 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, 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, };
15
+ import { filterListToString } from "./utils/dataset";
16
+ import { getAssetUrl, createUrlSlug, createNameUrlSlug } from "./utils/navigate";
17
+ 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 };
package/dist/index.js CHANGED
@@ -1,6 +1,9 @@
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.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.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
+ exports.createNameUrlSlug = exports.createUrlSlug = exports.getAssetUrl = exports.filterListToString = void 0;
5
+ const assets_1 = require("./schema/assets");
6
+ Object.defineProperty(exports, "CreateAssetSchema", { enumerable: true, get: function () { return assets_1.CreateAssetSchema; } });
4
7
  const comments_1 = require("./schema/comments");
5
8
  Object.defineProperty(exports, "CommentSchema", { enumerable: true, get: function () { return comments_1.CommentSchema; } });
6
9
  Object.defineProperty(exports, "CreateCommentSchema", { enumerable: true, get: function () { return comments_1.CreateCommentSchema; } });
@@ -25,6 +28,8 @@ Object.defineProperty(exports, "CreateDatasetFromSchemaSchema", { enumerable: tr
25
28
  Object.defineProperty(exports, "updateDatasetSchema", { enumerable: true, get: function () { return datasets_1.updateDatasetSchema; } });
26
29
  const files_1 = require("./schema/files");
27
30
  Object.defineProperty(exports, "FileSchema", { enumerable: true, get: function () { return files_1.FileSchema; } });
31
+ Object.defineProperty(exports, "CreateFileSchema", { enumerable: true, get: function () { return files_1.CreateFileSchema; } });
32
+ Object.defineProperty(exports, "updateFileSchema", { enumerable: true, get: function () { return files_1.updateFileSchema; } });
28
33
  const notifications_1 = require("./schema/notifications");
29
34
  Object.defineProperty(exports, "NotificationSchema", { enumerable: true, get: function () { return notifications_1.NotificationSchema; } });
30
35
  const organizations_1 = require("./schema/organizations");
@@ -61,4 +66,11 @@ const blueprints_1 = require("./schema/blueprints");
61
66
  Object.defineProperty(exports, "BlueprintSchema", { enumerable: true, get: function () { return blueprints_1.BlueprintSchema; } });
62
67
  Object.defineProperty(exports, "CreateBlueprintSchema", { enumerable: true, get: function () { return blueprints_1.CreateBlueprintSchema; } });
63
68
  Object.defineProperty(exports, "UpdateBlueprintSchema", { enumerable: true, get: function () { return blueprints_1.UpdateBlueprintSchema; } });
69
+ // Utils
70
+ const dataset_1 = require("./utils/dataset");
71
+ Object.defineProperty(exports, "filterListToString", { enumerable: true, get: function () { return dataset_1.filterListToString; } });
72
+ const navigate_1 = require("./utils/navigate");
73
+ Object.defineProperty(exports, "getAssetUrl", { enumerable: true, get: function () { return navigate_1.getAssetUrl; } });
74
+ Object.defineProperty(exports, "createUrlSlug", { enumerable: true, get: function () { return navigate_1.createUrlSlug; } });
75
+ Object.defineProperty(exports, "createNameUrlSlug", { enumerable: true, get: function () { return navigate_1.createNameUrlSlug; } });
64
76
  //# 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":";;;AACA,gDAK2B;AA2IzB,8FA/IA,wBAAa,OA+IA;AACb,oGA/IA,8BAAmB,OA+IA;AA1IrB,4CAiByB;AA4HvB,oGA5IA,4BAAmB,OA4IA;AACnB,iGA5IA,yBAAgB,OA4IA;AApBhB,2FAvHA,mBAAU,OAuHA;AACV,iGAvHA,yBAAgB,OAuHA;AAChB,mGAvHA,2BAAkB,OAuHA;AAClB,iGAvHA,yBAAgB,OAuHA;AAChB,gGAvHA,wBAAe,OAuHA;AACf,gGAvHA,wBAAe,OAuHA;AA5GjB,0DASgC;AAsH9B,8FA9HA,6BAAa,OA8HA;AACb,yGA9HA,wCAAwB,OA8HA;AACxB,yGA9HA,wCAAwB,OA8HA;AACxB,mGA9HA,kCAAkB,OA8HA;AAvHpB,gDAS2B;AAoHzB,8FA5HA,wBAAa,OA4HA;AACb,4GA5HA,sCAA2B,OA4HA;AAC3B,8GA5HA,wCAA6B,OA4HA;AAC7B,oGA5HA,8BAAmB,OA4HA;AArHrB,0CAAuD;AA2HrD,2FA3HO,kBAAU,OA2HP;AAzHZ,0DAA+E;AA4H7E,mGA5HO,kCAAkB,OA4HP;AA1HpB,0DAKgC;AAwH9B,oGA5HA,mCAAmB,OA4HA;AACnB,iGA5HA,gCAAgB,OA4HA;AAvHlB,0CAiBwB;AA0GtB,6FA1HA,oBAAY,OA0HA;AACZ,8FA1HA,qBAAa,OA0HA;AACb,2FA1HA,kBAAU,OA0HA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1HA,kCAAqB,OA0HA;AACrB,sGA1HA,kCAAqB,OA0HA;AApHvB,QAAQ;AACR,6CAAqD;AAwHnD,mGAxHO,4BAAkB,OAwHP;AAvHpB,+CAAiF;AAwH/E,4FAxHO,sBAAW,OAwHP;AACX,8FAzHoB,wBAAa,OAyHpB;AACb,kGA1HmC,4BAAiB,OA0HnC"}
@@ -40,7 +40,6 @@ declare const AssetSchema: z.ZodObject<{
40
40
  org_id: z.ZodString;
41
41
  organization: z.ZodOptional<z.ZodObject<{
42
42
  id: z.ZodOptional<z.ZodString>;
43
- owner_id: z.ZodOptional<z.ZodString>;
44
43
  name: z.ZodOptional<z.ZodString>;
45
44
  avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
46
45
  mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -60,7 +59,6 @@ declare const AssetSchema: z.ZodObject<{
60
59
  name?: string | undefined;
61
60
  size?: string | undefined;
62
61
  email?: string | null | undefined;
63
- owner_id?: string | undefined;
64
62
  avatar_path?: string | null | undefined;
65
63
  mission?: string | null | undefined;
66
64
  domain?: string | null | undefined;
@@ -73,7 +71,6 @@ declare const AssetSchema: z.ZodObject<{
73
71
  name?: string | undefined;
74
72
  size?: string | undefined;
75
73
  email?: string | null | undefined;
76
- owner_id?: string | undefined;
77
74
  avatar_path?: string | null | undefined;
78
75
  mission?: string | null | undefined;
79
76
  domain?: string | null | undefined;
@@ -109,7 +106,7 @@ declare const AssetSchema: z.ZodObject<{
109
106
  default_role?: "none" | "admin" | "read" | "write" | undefined;
110
107
  }>>;
111
108
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
- asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
109
+ asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
113
110
  name: z.ZodString;
114
111
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
115
112
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -124,6 +121,7 @@ declare const AssetSchema: z.ZodObject<{
124
121
  price_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
125
122
  metadata: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
126
123
  preview: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>>;
124
+ state: z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>;
127
125
  created_at: z.ZodString;
128
126
  last_updated: z.ZodString;
129
127
  }, "strip", z.ZodTypeAny, {
@@ -132,11 +130,12 @@ declare const AssetSchema: z.ZodObject<{
132
130
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
133
131
  user_id: string;
134
132
  org_id: string;
135
- asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
133
+ asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
136
134
  created_at: string;
137
135
  last_updated: string;
138
136
  team_id: string;
139
137
  monetization: "none" | "pay-to-unlock" | "pay-per-use";
138
+ state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
140
139
  metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
141
140
  description?: string | null | undefined;
142
141
  user?: {
@@ -155,7 +154,6 @@ declare const AssetSchema: z.ZodObject<{
155
154
  name?: string | undefined;
156
155
  size?: string | undefined;
157
156
  email?: string | null | undefined;
158
- owner_id?: string | undefined;
159
157
  avatar_path?: string | null | undefined;
160
158
  mission?: string | null | undefined;
161
159
  domain?: string | null | undefined;
@@ -189,11 +187,12 @@ declare const AssetSchema: z.ZodObject<{
189
187
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
190
188
  user_id: string;
191
189
  org_id: string;
192
- asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
190
+ asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
193
191
  created_at: string;
194
192
  last_updated: string;
195
193
  team_id: string;
196
194
  monetization: "none" | "pay-to-unlock" | "pay-per-use";
195
+ state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
197
196
  metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
198
197
  description?: string | null | undefined;
199
198
  user?: {
@@ -212,7 +211,6 @@ declare const AssetSchema: z.ZodObject<{
212
211
  name?: string | undefined;
213
212
  size?: string | undefined;
214
213
  email?: string | null | undefined;
215
- owner_id?: string | undefined;
216
214
  avatar_path?: string | null | undefined;
217
215
  mission?: string | null | undefined;
218
216
  domain?: string | null | undefined;
@@ -241,5 +239,251 @@ declare const AssetSchema: z.ZodObject<{
241
239
  price_id?: string | null | undefined;
242
240
  preview?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[] | null | undefined;
243
241
  }>;
244
- export type Asset = z.infer<typeof AssetSchema>;
245
- export { AssetSchema };
242
+ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
243
+ id: z.ZodOptional<z.ZodString>;
244
+ user_id: z.ZodOptional<z.ZodString>;
245
+ user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
246
+ id: z.ZodOptional<z.ZodString>;
247
+ user_id: z.ZodOptional<z.ZodString>;
248
+ username: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
249
+ avatar_path: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
250
+ bio: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
251
+ urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
252
+ value: z.ZodString;
253
+ }, "strip", z.ZodTypeAny, {
254
+ value: string;
255
+ }, {
256
+ value: string;
257
+ }>, "many">>>;
258
+ last_active: z.ZodOptional<z.ZodString>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ id?: string | undefined;
261
+ user_id?: string | undefined;
262
+ avatar_path?: string | null | undefined;
263
+ urls?: {
264
+ value: string;
265
+ }[] | undefined;
266
+ username?: string | null | undefined;
267
+ bio?: string | null | undefined;
268
+ last_active?: string | undefined;
269
+ }, {
270
+ id?: string | undefined;
271
+ user_id?: string | undefined;
272
+ avatar_path?: string | null | undefined;
273
+ urls?: {
274
+ value: string;
275
+ }[] | undefined;
276
+ username?: string | null | undefined;
277
+ bio?: string | null | undefined;
278
+ last_active?: string | undefined;
279
+ }>>>;
280
+ org_id: z.ZodOptional<z.ZodString>;
281
+ organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
282
+ id: z.ZodOptional<z.ZodString>;
283
+ name: z.ZodOptional<z.ZodString>;
284
+ avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
285
+ mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
286
+ size: z.ZodOptional<z.ZodString>;
287
+ email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
288
+ domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
289
+ urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
290
+ value: z.ZodString;
291
+ }, "strip", z.ZodTypeAny, {
292
+ value: string;
293
+ }, {
294
+ value: string;
295
+ }>, "many">>>>;
296
+ base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
297
+ }, "strip", z.ZodTypeAny, {
298
+ id?: string | undefined;
299
+ name?: string | undefined;
300
+ size?: string | undefined;
301
+ email?: string | null | undefined;
302
+ avatar_path?: string | null | undefined;
303
+ mission?: string | null | undefined;
304
+ domain?: string | null | undefined;
305
+ urls?: {
306
+ value: string;
307
+ }[] | null | undefined;
308
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
309
+ }, {
310
+ id?: string | undefined;
311
+ name?: string | undefined;
312
+ size?: string | undefined;
313
+ email?: string | null | undefined;
314
+ avatar_path?: string | null | undefined;
315
+ mission?: string | null | undefined;
316
+ domain?: string | null | undefined;
317
+ urls?: {
318
+ value: string;
319
+ }[] | null | undefined;
320
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
321
+ }>>>;
322
+ team_id: z.ZodOptional<z.ZodString>;
323
+ team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
324
+ id: z.ZodOptional<z.ZodString>;
325
+ org_id: z.ZodOptional<z.ZodString>;
326
+ name: z.ZodOptional<z.ZodString>;
327
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
328
+ default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
329
+ visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
330
+ created_at: z.ZodOptional<z.ZodString>;
331
+ }, "strip", z.ZodTypeAny, {
332
+ id?: string | undefined;
333
+ name?: string | undefined;
334
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
335
+ description?: string | null | undefined;
336
+ org_id?: string | undefined;
337
+ created_at?: string | undefined;
338
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
339
+ }, {
340
+ id?: string | undefined;
341
+ name?: string | undefined;
342
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
343
+ description?: string | null | undefined;
344
+ org_id?: string | undefined;
345
+ created_at?: string | undefined;
346
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
347
+ }>>>;
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"]>>;
350
+ name: z.ZodOptional<z.ZodString>;
351
+ name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
352
+ slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
353
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
354
+ visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
355
+ monetization: z.ZodOptional<z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>>;
356
+ price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
357
+ unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
358
+ cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["fixed", "variable"]>>>>;
359
+ cost_unit: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
360
+ product_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
361
+ price_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
362
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>>;
363
+ 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">>>>;
364
+ state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
365
+ created_at: z.ZodOptional<z.ZodString>;
366
+ last_updated: z.ZodOptional<z.ZodString>;
367
+ }, "user_id">, {
368
+ id: z.ZodDefault<z.ZodString>;
369
+ team_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
370
+ org_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
371
+ name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
372
+ state: z.ZodDefault<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>;
373
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>>;
374
+ }>, "strip", z.ZodTypeAny, {
375
+ id: string;
376
+ state: "error" | "in-progress" | "success" | "queued";
377
+ visibility: "inherit" | "private" | "public" | "organization" | "monetized";
378
+ org_id: string | null;
379
+ team_id: string | null;
380
+ name?: string | undefined;
381
+ metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
382
+ 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;
419
+ parent_id?: string | null | undefined;
420
+ name_url_slug?: string | null | undefined;
421
+ slug?: string | null | undefined;
422
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
423
+ price?: number | null | undefined;
424
+ unit_cost?: number | null | undefined;
425
+ cost_accounting?: "fixed" | "variable" | null | undefined;
426
+ cost_unit?: string | null | undefined;
427
+ product_id?: string | null | undefined;
428
+ price_id?: string | null | undefined;
429
+ preview?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[] | null | undefined;
430
+ }, {
431
+ id?: string | undefined;
432
+ state?: "error" | "in-progress" | "success" | "queued" | undefined;
433
+ name?: string | undefined;
434
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
435
+ metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
436
+ 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
+ org_id?: string | null | undefined;
462
+ asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
463
+ created_at?: string | undefined;
464
+ last_updated?: string | undefined;
465
+ 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
+ parent_id?: string | null | undefined;
476
+ name_url_slug?: string | null | undefined;
477
+ slug?: string | null | undefined;
478
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
479
+ price?: number | null | undefined;
480
+ unit_cost?: number | null | undefined;
481
+ cost_accounting?: "fixed" | "variable" | null | undefined;
482
+ cost_unit?: string | null | undefined;
483
+ product_id?: string | null | undefined;
484
+ price_id?: string | null | undefined;
485
+ preview?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[] | null | undefined;
486
+ }>;
487
+ type Asset = z.infer<typeof AssetSchema>;
488
+ type CreateAsset = z.infer<typeof CreateAssetSchema>;
489
+ export { AssetSchema, CreateAssetSchema, type Asset, type CreateAsset };
@@ -1,11 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AssetSchema = void 0;
3
+ 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");
7
7
  const teams_1 = require("./teams");
8
8
  const users_1 = require("./users");
9
+ const uuidv7_1 = require("uuidv7");
9
10
  const AssetSchema = zod_1.z.object({
10
11
  id: zod_1.z.string().uuid(),
11
12
  user_id: zod_1.z.string().uuid(),
@@ -32,8 +33,33 @@ const AssetSchema = zod_1.z.object({
32
33
  // Metadata information
33
34
  metadata: zod_1.z.object({}).passthrough().optional().nullable(),
34
35
  preview: zod_1.z.array(zod_1.z.object({}).passthrough()).optional().nullable(),
36
+ state: common_1.StatusSchema.optional().nullable(),
35
37
  created_at: zod_1.z.string(),
36
38
  last_updated: zod_1.z.string(),
37
39
  });
38
40
  exports.AssetSchema = AssetSchema;
41
+ const CreateAssetSchema = AssetSchema.partial()
42
+ .omit({
43
+ user_id: true,
44
+ })
45
+ .extend({
46
+ id: zod_1.z
47
+ .string()
48
+ .uuid()
49
+ .default(() => (0, uuidv7_1.uuidv7)()),
50
+ team_id: zod_1.z
51
+ .string()
52
+ .uuid()
53
+ .nullish()
54
+ .default("00000000-0000-0000-0000-000000000000"),
55
+ org_id: zod_1.z
56
+ .string()
57
+ .uuid()
58
+ .nullish()
59
+ .default("00000000-0000-0000-0000-000000000000"),
60
+ name_url_slug: zod_1.z.string().optional().nullable(),
61
+ state: common_1.StatusSchema.optional().default("success"),
62
+ visibility: common_1.VisibilitySchema.optional().default("public"),
63
+ });
64
+ exports.CreateAssetSchema = CreateAssetSchema;
39
65
  //# sourceMappingURL=assets.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"assets.js","sourceRoot":"","sources":["../../src/schema/assets.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,qCAIkB;AAClB,mDAAsD;AACtD,mCAAqC;AAErC,mCAAwC;AAExC,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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