@ourofoundation/ouro-js 3.0.4 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-25FGGQFY.cjs +2 -0
- package/dist/chunk-25FGGQFY.cjs.map +1 -0
- package/dist/chunk-332F74RS.js +2 -0
- package/dist/chunk-332F74RS.js.map +1 -0
- package/dist/{chunk-FPRFE54S.cjs → chunk-4KUHOXA5.cjs} +2 -2
- package/dist/{chunk-FPRFE54S.cjs.map → chunk-4KUHOXA5.cjs.map} +1 -1
- package/dist/chunk-63BUDJ7V.js +2 -0
- package/dist/chunk-63BUDJ7V.js.map +1 -0
- package/dist/chunk-6RGIIOOP.js +2 -0
- package/dist/chunk-6RGIIOOP.js.map +1 -0
- package/dist/chunk-6UH4ZK6D.cjs +2 -0
- package/dist/chunk-6UH4ZK6D.cjs.map +1 -0
- package/dist/chunk-6XNV6B6L.cjs +2 -0
- package/dist/chunk-6XNV6B6L.cjs.map +1 -0
- package/dist/chunk-7HF5VHUN.cjs +2 -0
- package/dist/chunk-7HF5VHUN.cjs.map +1 -0
- package/dist/chunk-B7NJYI4N.cjs +2 -0
- package/dist/{chunk-IIKZ5DYT.cjs.map → chunk-B7NJYI4N.cjs.map} +1 -1
- package/dist/chunk-BDFRHJD4.js +2 -0
- package/dist/chunk-BDFRHJD4.js.map +1 -0
- package/dist/chunk-BULBWSNF.js +2 -0
- package/dist/chunk-BULBWSNF.js.map +1 -0
- package/dist/chunk-CBWCC3NJ.js +2 -0
- package/dist/chunk-CBWCC3NJ.js.map +1 -0
- package/dist/chunk-D4SCLCSO.cjs +2 -0
- package/dist/chunk-D4SCLCSO.cjs.map +1 -0
- package/dist/chunk-DAN33Z3Q.cjs +2 -0
- package/dist/chunk-DAN33Z3Q.cjs.map +1 -0
- package/dist/chunk-DHQJ2FCF.cjs +2 -0
- package/dist/chunk-DHQJ2FCF.cjs.map +1 -0
- package/dist/chunk-DUBPWSCA.js +2 -0
- package/dist/chunk-DUBPWSCA.js.map +1 -0
- package/dist/{chunk-NUGG4SK2.js → chunk-FS5P754F.js} +2 -2
- package/dist/{chunk-NUGG4SK2.js.map → chunk-FS5P754F.js.map} +1 -1
- package/dist/chunk-ICU37YVV.js +2 -0
- package/dist/chunk-ICU37YVV.js.map +1 -0
- package/dist/chunk-J2SVE52E.js +2 -0
- package/dist/chunk-J2SVE52E.js.map +1 -0
- package/dist/chunk-JANLRWLU.cjs +2 -0
- package/dist/chunk-JANLRWLU.cjs.map +1 -0
- package/dist/chunk-JNBXFB5P.cjs +2 -0
- package/dist/chunk-JNBXFB5P.cjs.map +1 -0
- package/dist/chunk-LDAPPQXR.js +2 -0
- package/dist/chunk-LDAPPQXR.js.map +1 -0
- package/dist/chunk-MAHNRYUV.cjs +2 -0
- package/dist/chunk-MAHNRYUV.cjs.map +1 -0
- package/dist/chunk-MQYRINJ5.cjs +2 -0
- package/dist/chunk-MQYRINJ5.cjs.map +1 -0
- package/dist/chunk-OD7M3RFZ.cjs +2 -0
- package/dist/chunk-OD7M3RFZ.cjs.map +1 -0
- package/dist/chunk-P4VD5SVM.cjs +2 -0
- package/dist/chunk-P4VD5SVM.cjs.map +1 -0
- package/dist/chunk-PX6OZKCX.cjs +2 -0
- package/dist/chunk-PX6OZKCX.cjs.map +1 -0
- package/dist/chunk-QZ3AAXO5.js +2 -0
- package/dist/chunk-QZ3AAXO5.js.map +1 -0
- package/dist/chunk-S5TPBKS6.js +2 -0
- package/dist/{chunk-T3J5Y445.js.map → chunk-S5TPBKS6.js.map} +1 -1
- package/dist/chunk-T4BUMCXS.cjs +2 -0
- package/dist/chunk-T4BUMCXS.cjs.map +1 -0
- package/dist/chunk-VBRZ227O.js +2 -0
- package/dist/chunk-VBRZ227O.js.map +1 -0
- package/dist/chunk-WE6CXCEQ.js +2 -0
- package/dist/chunk-WE6CXCEQ.js.map +1 -0
- package/dist/chunk-XJH3EC3E.js +2 -0
- package/dist/chunk-XJH3EC3E.js.map +1 -0
- package/dist/chunk-XPQVPGJX.js +2 -0
- package/dist/chunk-XPQVPGJX.js.map +1 -0
- package/dist/chunk-Z2GTDYQ6.cjs +2 -0
- package/dist/chunk-Z2GTDYQ6.cjs.map +1 -0
- package/dist/chunk-ZQAXMMR2.js +2 -0
- package/dist/chunk-ZQAXMMR2.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +156 -32
- package/dist/schema/assets.d.ts +156 -32
- package/dist/schema/assets.js +1 -1
- package/dist/schema/blueprints.cjs +1 -1
- package/dist/schema/blueprints.d.cts +420 -42
- package/dist/schema/blueprints.d.ts +420 -42
- package/dist/schema/blueprints.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +411 -51
- package/dist/schema/comments.d.ts +411 -51
- package/dist/schema/comments.js +1 -1
- package/dist/schema/common.cjs +1 -1
- package/dist/schema/common.d.cts +18 -18
- package/dist/schema/common.d.ts +18 -18
- package/dist/schema/common.js +1 -1
- package/dist/schema/constants.cjs +2 -0
- package/dist/schema/constants.cjs.map +1 -0
- package/dist/schema/constants.d.cts +5 -0
- package/dist/schema/constants.d.ts +5 -0
- package/dist/schema/constants.js +2 -0
- package/dist/schema/constants.js.map +1 -0
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +237 -37
- package/dist/schema/conversations.d.ts +237 -37
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +352 -40
- package/dist/schema/datasets.d.ts +352 -40
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +342 -38
- package/dist/schema/files.d.ts +342 -38
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.cjs +1 -1
- package/dist/schema/notifications.d.cts +1 -1
- package/dist/schema/notifications.d.ts +1 -1
- package/dist/schema/notifications.js +1 -1
- package/dist/schema/organizations.cjs +1 -1
- package/dist/schema/organizations.d.cts +40 -9
- package/dist/schema/organizations.d.ts +40 -9
- package/dist/schema/organizations.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +428 -86
- package/dist/schema/posts.d.ts +428 -86
- package/dist/schema/posts.js +1 -1
- package/dist/schema/reactions.cjs +1 -1
- package/dist/schema/reactions.d.cts +3 -3
- package/dist/schema/reactions.d.ts +3 -3
- package/dist/schema/reactions.js +1 -1
- package/dist/schema/replications.cjs +1 -1
- package/dist/schema/replications.d.cts +422 -42
- package/dist/schema/replications.d.ts +422 -42
- package/dist/schema/replications.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +450 -92
- package/dist/schema/services.d.ts +450 -92
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.cjs +1 -1
- package/dist/schema/teams.d.cts +152 -36
- package/dist/schema/teams.d.ts +152 -36
- package/dist/schema/teams.js +1 -1
- package/dist/schema/users.cjs +1 -1
- package/dist/schema/users.d.cts +25 -7
- package/dist/schema/users.d.ts +25 -7
- package/dist/schema/users.js +1 -1
- package/dist/utils/air/index.cjs +1 -1
- package/dist/utils/air/index.d.cts +2 -2
- package/dist/utils/air/index.d.ts +2 -2
- package/dist/utils/air/index.js +1 -1
- package/dist/utils/navigate.cjs +1 -1
- package/dist/utils/navigate.js +1 -1
- package/package.json +1 -1
- package/tsup.config.ts +16 -16
- package/dist/chunk-23QZJWT4.js +0 -2
- package/dist/chunk-23QZJWT4.js.map +0 -1
- package/dist/chunk-25I3OOVX.js +0 -2
- package/dist/chunk-25I3OOVX.js.map +0 -1
- package/dist/chunk-2UEII2SB.js +0 -2
- package/dist/chunk-2UEII2SB.js.map +0 -1
- package/dist/chunk-3RRKHJ3K.cjs +0 -2
- package/dist/chunk-3RRKHJ3K.cjs.map +0 -1
- package/dist/chunk-46OPRUDE.cjs +0 -2
- package/dist/chunk-46OPRUDE.cjs.map +0 -1
- package/dist/chunk-5GTFTJIX.cjs +0 -2
- package/dist/chunk-5GTFTJIX.cjs.map +0 -1
- package/dist/chunk-ARSGP6GA.js +0 -2
- package/dist/chunk-ARSGP6GA.js.map +0 -1
- package/dist/chunk-C6YNSHLF.cjs +0 -2
- package/dist/chunk-C6YNSHLF.cjs.map +0 -1
- package/dist/chunk-D2H3DN4E.cjs +0 -2
- package/dist/chunk-D2H3DN4E.cjs.map +0 -1
- package/dist/chunk-DBKWAOAN.js +0 -2
- package/dist/chunk-DBKWAOAN.js.map +0 -1
- package/dist/chunk-E5NMUCCO.js +0 -2
- package/dist/chunk-E5NMUCCO.js.map +0 -1
- package/dist/chunk-ENCQWA5V.js +0 -2
- package/dist/chunk-ENCQWA5V.js.map +0 -1
- package/dist/chunk-F6BY6AFM.cjs +0 -2
- package/dist/chunk-F6BY6AFM.cjs.map +0 -1
- package/dist/chunk-GZWXQVKW.cjs +0 -2
- package/dist/chunk-GZWXQVKW.cjs.map +0 -1
- package/dist/chunk-HXZE74XM.js +0 -2
- package/dist/chunk-HXZE74XM.js.map +0 -1
- package/dist/chunk-I43MBJPR.cjs +0 -2
- package/dist/chunk-I43MBJPR.cjs.map +0 -1
- package/dist/chunk-IDZYYMV6.js +0 -2
- package/dist/chunk-IDZYYMV6.js.map +0 -1
- package/dist/chunk-IIKZ5DYT.cjs +0 -2
- package/dist/chunk-LJK4UVDH.cjs +0 -2
- package/dist/chunk-LJK4UVDH.cjs.map +0 -1
- package/dist/chunk-N5ADIAWW.cjs +0 -2
- package/dist/chunk-N5ADIAWW.cjs.map +0 -1
- package/dist/chunk-PRJQMFU6.cjs +0 -2
- package/dist/chunk-PRJQMFU6.cjs.map +0 -1
- package/dist/chunk-QCRTFUD5.cjs +0 -2
- package/dist/chunk-QCRTFUD5.cjs.map +0 -1
- package/dist/chunk-QTPX6PU3.cjs +0 -2
- package/dist/chunk-QTPX6PU3.cjs.map +0 -1
- package/dist/chunk-RDRNI4JL.js +0 -2
- package/dist/chunk-RDRNI4JL.js.map +0 -1
- package/dist/chunk-RNMWNMZ4.js +0 -2
- package/dist/chunk-RNMWNMZ4.js.map +0 -1
- package/dist/chunk-RPUL3U2U.js +0 -2
- package/dist/chunk-RPUL3U2U.js.map +0 -1
- package/dist/chunk-SO5EANPA.js +0 -2
- package/dist/chunk-SO5EANPA.js.map +0 -1
- package/dist/chunk-T3J5Y445.js +0 -2
- package/dist/chunk-VEBHQ6A7.cjs +0 -2
- package/dist/chunk-VEBHQ6A7.cjs.map +0 -1
- package/dist/chunk-VOX7A2FD.js +0 -2
- package/dist/chunk-VOX7A2FD.js.map +0 -1
- package/dist/chunk-X3BAM4T3.cjs +0 -2
- package/dist/chunk-X3BAM4T3.cjs.map +0 -1
- package/dist/chunk-YBDW45V3.js +0 -2
- package/dist/chunk-YBDW45V3.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
3
|
declare const BlueprintSchema: z.ZodObject<{
|
|
4
|
-
id: z.
|
|
5
|
-
user_id: z.
|
|
4
|
+
id: z.ZodUUID;
|
|
5
|
+
user_id: z.ZodUUID;
|
|
6
6
|
user: z.ZodOptional<z.ZodObject<{
|
|
7
7
|
id: z.ZodOptional<z.ZodUUID>;
|
|
8
8
|
user_id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -13,18 +13,23 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
13
13
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14
14
|
value: z.ZodString;
|
|
15
15
|
}, z.core.$strip>>>>;
|
|
16
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
17
|
-
|
|
16
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
17
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
18
|
+
base: "base";
|
|
19
|
+
agent: "agent";
|
|
20
|
+
verified: "verified";
|
|
21
|
+
}>>;
|
|
18
22
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
19
23
|
free: "free";
|
|
20
24
|
gold: "gold";
|
|
21
25
|
}>>;
|
|
22
26
|
last_active: z.ZodOptional<z.ZodString>;
|
|
23
27
|
}, z.core.$strip>>;
|
|
24
|
-
org_id: z.
|
|
28
|
+
org_id: z.ZodUUID;
|
|
25
29
|
organization: z.ZodOptional<z.ZodObject<{
|
|
26
|
-
id: z.ZodOptional<z.
|
|
30
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
27
31
|
name: z.ZodOptional<z.ZodString>;
|
|
32
|
+
display_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
28
33
|
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
29
34
|
mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
30
35
|
size: z.ZodOptional<z.ZodString>;
|
|
@@ -39,14 +44,28 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
39
44
|
write: "write";
|
|
40
45
|
none: "none";
|
|
41
46
|
}>>>;
|
|
47
|
+
allow_external_members: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
48
|
+
allow_external_public_team_creation: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
49
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
50
|
+
actor_type_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
51
|
+
any: "any";
|
|
52
|
+
verified_only: "verified_only";
|
|
53
|
+
agents_only: "agents_only";
|
|
54
|
+
}>>>>;
|
|
55
|
+
source_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
56
|
+
any: "any";
|
|
57
|
+
web_only: "web_only";
|
|
58
|
+
api_only: "api_only";
|
|
59
|
+
}>>>>;
|
|
42
60
|
}, z.core.$strip>>;
|
|
43
|
-
team_id: z.
|
|
61
|
+
team_id: z.ZodUUID;
|
|
44
62
|
team: z.ZodOptional<z.ZodObject<{
|
|
45
|
-
id: z.ZodOptional<z.
|
|
46
|
-
org_id: z.ZodOptional<z.
|
|
63
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
64
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
47
65
|
organization: z.ZodOptional<z.ZodObject<{
|
|
48
|
-
id: z.
|
|
66
|
+
id: z.ZodUUID;
|
|
49
67
|
name: z.ZodString;
|
|
68
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
69
|
avatar_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
70
|
mission: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
71
|
size: z.ZodString;
|
|
@@ -61,6 +80,19 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
61
80
|
write: "write";
|
|
62
81
|
none: "none";
|
|
63
82
|
}>>;
|
|
83
|
+
allow_external_members: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
84
|
+
allow_external_public_team_creation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
85
|
+
join_policy: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
86
|
+
actor_type_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
87
|
+
any: "any";
|
|
88
|
+
verified_only: "verified_only";
|
|
89
|
+
agents_only: "agents_only";
|
|
90
|
+
}>>>;
|
|
91
|
+
source_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
92
|
+
any: "any";
|
|
93
|
+
web_only: "web_only";
|
|
94
|
+
api_only: "api_only";
|
|
95
|
+
}>>>;
|
|
64
96
|
}, z.core.$strip>>;
|
|
65
97
|
name: z.ZodOptional<z.ZodString>;
|
|
66
98
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -74,14 +106,24 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
74
106
|
none: "none";
|
|
75
107
|
}>>;
|
|
76
108
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
77
|
-
organization: "organization";
|
|
78
109
|
public: "public";
|
|
79
110
|
private: "private";
|
|
111
|
+
organization: "organization";
|
|
80
112
|
monetized: "monetized";
|
|
81
113
|
inherit: "inherit";
|
|
82
114
|
}>>;
|
|
115
|
+
actor_type_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
116
|
+
any: "any";
|
|
117
|
+
verified_only: "verified_only";
|
|
118
|
+
agents_only: "agents_only";
|
|
119
|
+
}>>>>;
|
|
120
|
+
source_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
121
|
+
any: "any";
|
|
122
|
+
web_only: "web_only";
|
|
123
|
+
api_only: "api_only";
|
|
124
|
+
}>>>>;
|
|
83
125
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
84
|
-
user_id: z.
|
|
126
|
+
user_id: z.ZodUUID;
|
|
85
127
|
role: z.ZodEnum<{
|
|
86
128
|
admin: "admin";
|
|
87
129
|
read: "read";
|
|
@@ -91,7 +133,7 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
91
133
|
}, z.core.$strip>>>>;
|
|
92
134
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
93
135
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
94
|
-
user_id: z.
|
|
136
|
+
user_id: z.ZodUUID;
|
|
95
137
|
role: z.ZodEnum<{
|
|
96
138
|
admin: "admin";
|
|
97
139
|
read: "read";
|
|
@@ -109,8 +151,12 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
109
151
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
110
152
|
value: z.ZodString;
|
|
111
153
|
}, z.core.$strip>>>>;
|
|
112
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
113
|
-
|
|
154
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
155
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
156
|
+
base: "base";
|
|
157
|
+
agent: "agent";
|
|
158
|
+
verified: "verified";
|
|
159
|
+
}>>;
|
|
114
160
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
115
161
|
free: "free";
|
|
116
162
|
gold: "gold";
|
|
@@ -120,7 +166,7 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
120
166
|
}, z.core.$strip>>>;
|
|
121
167
|
created_at: z.ZodOptional<z.ZodString>;
|
|
122
168
|
}, z.core.$strip>>;
|
|
123
|
-
parent_id: z.ZodOptional<z.ZodNullable<z.
|
|
169
|
+
parent_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
124
170
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
125
171
|
license_id: z.ZodString;
|
|
126
172
|
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -132,9 +178,9 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
132
178
|
text: z.ZodString;
|
|
133
179
|
}, z.core.$strip>>>;
|
|
134
180
|
visibility: z.ZodEnum<{
|
|
135
|
-
organization: "organization";
|
|
136
181
|
public: "public";
|
|
137
182
|
private: "private";
|
|
183
|
+
organization: "organization";
|
|
138
184
|
monetized: "monetized";
|
|
139
185
|
inherit: "inherit";
|
|
140
186
|
}>;
|
|
@@ -171,9 +217,9 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
171
217
|
created_at: z.ZodString;
|
|
172
218
|
last_updated: z.ZodString;
|
|
173
219
|
asset_type: z.ZodEnum<{
|
|
220
|
+
organization: "organization";
|
|
174
221
|
file: "file";
|
|
175
222
|
user: "user";
|
|
176
|
-
organization: "organization";
|
|
177
223
|
team: "team";
|
|
178
224
|
dataset: "dataset";
|
|
179
225
|
service: "service";
|
|
@@ -200,8 +246,8 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
200
246
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
201
247
|
}, z.core.$strip>;
|
|
202
248
|
}, z.core.$strip>;
|
|
203
|
-
declare const CreateBlueprintSchema: z.ZodObject<{
|
|
204
|
-
user_id: z.ZodOptional<z.
|
|
249
|
+
declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
|
|
250
|
+
user_id: z.ZodOptional<z.ZodUUID>;
|
|
205
251
|
user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
206
252
|
id: z.ZodOptional<z.ZodUUID>;
|
|
207
253
|
user_id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -212,8 +258,12 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
212
258
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
213
259
|
value: z.ZodString;
|
|
214
260
|
}, z.core.$strip>>>>;
|
|
215
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
216
|
-
|
|
261
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
262
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
263
|
+
base: "base";
|
|
264
|
+
agent: "agent";
|
|
265
|
+
verified: "verified";
|
|
266
|
+
}>>;
|
|
217
267
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
218
268
|
free: "free";
|
|
219
269
|
gold: "gold";
|
|
@@ -221,8 +271,9 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
221
271
|
last_active: z.ZodOptional<z.ZodString>;
|
|
222
272
|
}, z.core.$strip>>>;
|
|
223
273
|
organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
224
|
-
id: z.ZodOptional<z.
|
|
274
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
225
275
|
name: z.ZodOptional<z.ZodString>;
|
|
276
|
+
display_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
226
277
|
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
227
278
|
mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
228
279
|
size: z.ZodOptional<z.ZodString>;
|
|
@@ -237,13 +288,27 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
237
288
|
write: "write";
|
|
238
289
|
none: "none";
|
|
239
290
|
}>>>;
|
|
291
|
+
allow_external_members: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
292
|
+
allow_external_public_team_creation: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
293
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
294
|
+
actor_type_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
295
|
+
any: "any";
|
|
296
|
+
verified_only: "verified_only";
|
|
297
|
+
agents_only: "agents_only";
|
|
298
|
+
}>>>>;
|
|
299
|
+
source_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
300
|
+
any: "any";
|
|
301
|
+
web_only: "web_only";
|
|
302
|
+
api_only: "api_only";
|
|
303
|
+
}>>>>;
|
|
240
304
|
}, z.core.$strip>>>;
|
|
241
305
|
team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
242
|
-
id: z.ZodOptional<z.
|
|
243
|
-
org_id: z.ZodOptional<z.
|
|
306
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
307
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
244
308
|
organization: z.ZodOptional<z.ZodObject<{
|
|
245
|
-
id: z.
|
|
309
|
+
id: z.ZodUUID;
|
|
246
310
|
name: z.ZodString;
|
|
311
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
247
312
|
avatar_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
248
313
|
mission: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
249
314
|
size: z.ZodString;
|
|
@@ -258,6 +323,19 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
258
323
|
write: "write";
|
|
259
324
|
none: "none";
|
|
260
325
|
}>>;
|
|
326
|
+
allow_external_members: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
327
|
+
allow_external_public_team_creation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
328
|
+
join_policy: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
329
|
+
actor_type_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
330
|
+
any: "any";
|
|
331
|
+
verified_only: "verified_only";
|
|
332
|
+
agents_only: "agents_only";
|
|
333
|
+
}>>>;
|
|
334
|
+
source_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
335
|
+
any: "any";
|
|
336
|
+
web_only: "web_only";
|
|
337
|
+
api_only: "api_only";
|
|
338
|
+
}>>>;
|
|
261
339
|
}, z.core.$strip>>;
|
|
262
340
|
name: z.ZodOptional<z.ZodString>;
|
|
263
341
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -271,14 +349,24 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
271
349
|
none: "none";
|
|
272
350
|
}>>;
|
|
273
351
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
274
|
-
organization: "organization";
|
|
275
352
|
public: "public";
|
|
276
353
|
private: "private";
|
|
354
|
+
organization: "organization";
|
|
277
355
|
monetized: "monetized";
|
|
278
356
|
inherit: "inherit";
|
|
279
357
|
}>>;
|
|
358
|
+
actor_type_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
359
|
+
any: "any";
|
|
360
|
+
verified_only: "verified_only";
|
|
361
|
+
agents_only: "agents_only";
|
|
362
|
+
}>>>>;
|
|
363
|
+
source_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
364
|
+
any: "any";
|
|
365
|
+
web_only: "web_only";
|
|
366
|
+
api_only: "api_only";
|
|
367
|
+
}>>>>;
|
|
280
368
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
281
|
-
user_id: z.
|
|
369
|
+
user_id: z.ZodUUID;
|
|
282
370
|
role: z.ZodEnum<{
|
|
283
371
|
admin: "admin";
|
|
284
372
|
read: "read";
|
|
@@ -288,7 +376,7 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
288
376
|
}, z.core.$strip>>>>;
|
|
289
377
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
290
378
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
291
|
-
user_id: z.
|
|
379
|
+
user_id: z.ZodUUID;
|
|
292
380
|
role: z.ZodEnum<{
|
|
293
381
|
admin: "admin";
|
|
294
382
|
read: "read";
|
|
@@ -306,8 +394,12 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
306
394
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
307
395
|
value: z.ZodString;
|
|
308
396
|
}, z.core.$strip>>>>;
|
|
309
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
310
|
-
|
|
397
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
398
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
399
|
+
base: "base";
|
|
400
|
+
agent: "agent";
|
|
401
|
+
verified: "verified";
|
|
402
|
+
}>>;
|
|
311
403
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
312
404
|
free: "free";
|
|
313
405
|
gold: "gold";
|
|
@@ -317,14 +409,14 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
317
409
|
}, z.core.$strip>>>;
|
|
318
410
|
created_at: z.ZodOptional<z.ZodString>;
|
|
319
411
|
}, z.core.$strip>>>;
|
|
320
|
-
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
412
|
+
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
321
413
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
322
414
|
license_id: z.ZodOptional<z.ZodString>;
|
|
323
415
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
324
416
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
417
|
+
organization: "organization";
|
|
325
418
|
file: "file";
|
|
326
419
|
user: "user";
|
|
327
|
-
organization: "organization";
|
|
328
420
|
team: "team";
|
|
329
421
|
dataset: "dataset";
|
|
330
422
|
service: "service";
|
|
@@ -343,9 +435,9 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
343
435
|
text: z.ZodString;
|
|
344
436
|
}, z.core.$strip>>>>;
|
|
345
437
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
346
|
-
organization: "organization";
|
|
347
438
|
public: "public";
|
|
348
439
|
private: "private";
|
|
440
|
+
organization: "organization";
|
|
349
441
|
monetized: "monetized";
|
|
350
442
|
inherit: "inherit";
|
|
351
443
|
}>>;
|
|
@@ -381,9 +473,9 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
381
473
|
}>>;
|
|
382
474
|
created_at: z.ZodOptional<z.ZodString>;
|
|
383
475
|
last_updated: z.ZodOptional<z.ZodString>;
|
|
384
|
-
id: z.ZodDefault<z.
|
|
385
|
-
team_id: z.ZodDefault<z.
|
|
386
|
-
org_id: z.ZodDefault<z.
|
|
476
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
477
|
+
team_id: z.ZodDefault<z.ZodUUID>;
|
|
478
|
+
org_id: z.ZodDefault<z.ZodUUID>;
|
|
387
479
|
name_url_slug: z.ZodString;
|
|
388
480
|
metadata: z.ZodObject<{
|
|
389
481
|
edges: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -399,22 +491,308 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
399
491
|
}>>;
|
|
400
492
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
401
493
|
}, z.core.$loose>;
|
|
402
|
-
}, z.core.$strip
|
|
403
|
-
|
|
404
|
-
team_id:
|
|
494
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
495
|
+
id: string;
|
|
496
|
+
team_id: string;
|
|
497
|
+
org_id: string;
|
|
498
|
+
name_url_slug: string;
|
|
499
|
+
metadata: {
|
|
500
|
+
[x: string]: unknown;
|
|
501
|
+
edges: Record<string, any>[];
|
|
502
|
+
nodes: Record<string, any>[];
|
|
503
|
+
doi_url?: string | null | undefined;
|
|
504
|
+
external_url?: string | null | undefined;
|
|
505
|
+
paper_url?: string | null | undefined;
|
|
506
|
+
github_url?: string | null | undefined;
|
|
507
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
508
|
+
source?: string | null | undefined;
|
|
509
|
+
};
|
|
510
|
+
user_id?: string | undefined;
|
|
511
|
+
user?: {
|
|
512
|
+
id?: string | undefined;
|
|
513
|
+
user_id?: string | undefined;
|
|
514
|
+
username?: string | null | undefined;
|
|
515
|
+
name?: string | null | undefined;
|
|
516
|
+
avatar_path?: string | null | undefined;
|
|
517
|
+
bio?: string | null | undefined;
|
|
518
|
+
urls?: {
|
|
519
|
+
value: string;
|
|
520
|
+
}[] | undefined;
|
|
521
|
+
post_id?: string | null | undefined;
|
|
522
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
523
|
+
plan_type?: "free" | "gold" | undefined;
|
|
524
|
+
last_active?: string | undefined;
|
|
525
|
+
} | undefined;
|
|
526
|
+
organization?: {
|
|
527
|
+
id?: string | undefined;
|
|
528
|
+
name?: string | undefined;
|
|
529
|
+
display_name?: string | null | undefined;
|
|
530
|
+
avatar_path?: string | null | undefined;
|
|
531
|
+
mission?: string | null | undefined;
|
|
532
|
+
size?: string | undefined;
|
|
533
|
+
email?: string | null | undefined;
|
|
534
|
+
domain?: string | null | undefined;
|
|
535
|
+
urls?: {
|
|
536
|
+
value: string;
|
|
537
|
+
}[] | null | undefined;
|
|
538
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
539
|
+
allow_external_members?: boolean | undefined;
|
|
540
|
+
allow_external_public_team_creation?: boolean | undefined;
|
|
541
|
+
join_policy?: string | undefined;
|
|
542
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
543
|
+
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
544
|
+
} | undefined;
|
|
545
|
+
team?: {
|
|
546
|
+
id?: string | undefined;
|
|
547
|
+
org_id?: string | undefined;
|
|
548
|
+
organization?: {
|
|
549
|
+
id: string;
|
|
550
|
+
name: string;
|
|
551
|
+
size: string;
|
|
552
|
+
base_role: "admin" | "read" | "write" | "none";
|
|
553
|
+
allow_external_members: boolean;
|
|
554
|
+
allow_external_public_team_creation: boolean;
|
|
555
|
+
join_policy: string;
|
|
556
|
+
actor_type_policy: "any" | "verified_only" | "agents_only";
|
|
557
|
+
source_policy: "any" | "web_only" | "api_only";
|
|
558
|
+
display_name?: string | null | undefined;
|
|
559
|
+
avatar_path?: string | null | undefined;
|
|
560
|
+
mission?: string | null | undefined;
|
|
561
|
+
email?: string | null | undefined;
|
|
562
|
+
domain?: string | null | undefined;
|
|
563
|
+
urls?: {
|
|
564
|
+
value: string;
|
|
565
|
+
}[] | null | undefined;
|
|
566
|
+
} | undefined;
|
|
567
|
+
name?: string | undefined;
|
|
568
|
+
description?: {
|
|
569
|
+
text: string;
|
|
570
|
+
json: Record<string, any>;
|
|
571
|
+
} | null | undefined;
|
|
572
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
573
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
574
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
575
|
+
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
576
|
+
userMembership?: {
|
|
577
|
+
user_id: string;
|
|
578
|
+
role: "admin" | "read" | "write" | "none";
|
|
579
|
+
} | null | undefined;
|
|
580
|
+
memberCount?: number | null | undefined;
|
|
581
|
+
members?: {
|
|
582
|
+
user_id: string;
|
|
583
|
+
role: "admin" | "read" | "write" | "none";
|
|
584
|
+
added_at: string;
|
|
585
|
+
user?: {
|
|
586
|
+
id?: string | undefined;
|
|
587
|
+
user_id?: string | undefined;
|
|
588
|
+
username?: string | null | undefined;
|
|
589
|
+
name?: string | null | undefined;
|
|
590
|
+
avatar_path?: string | null | undefined;
|
|
591
|
+
bio?: string | null | undefined;
|
|
592
|
+
urls?: {
|
|
593
|
+
value: string;
|
|
594
|
+
}[] | undefined;
|
|
595
|
+
post_id?: string | null | undefined;
|
|
596
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
597
|
+
plan_type?: "free" | "gold" | undefined;
|
|
598
|
+
last_active?: string | undefined;
|
|
599
|
+
} | null | undefined;
|
|
600
|
+
}[] | undefined;
|
|
601
|
+
created_at?: string | undefined;
|
|
602
|
+
} | undefined;
|
|
603
|
+
parent_id?: string | null | undefined;
|
|
604
|
+
parent?: Record<string, any> | undefined;
|
|
605
|
+
license_id?: string | undefined;
|
|
606
|
+
license?: Record<string, any> | undefined;
|
|
607
|
+
asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
|
|
608
|
+
name?: string | undefined;
|
|
609
|
+
slug?: string | null | undefined;
|
|
610
|
+
description?: {
|
|
611
|
+
json: Record<string, any>;
|
|
612
|
+
text: string;
|
|
613
|
+
} | null | undefined;
|
|
614
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
615
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
616
|
+
price?: number | null | undefined;
|
|
617
|
+
unit_cost?: number | null | undefined;
|
|
618
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
619
|
+
cost_unit?: string | null | undefined;
|
|
620
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
621
|
+
stripe_product_id?: string | null | undefined;
|
|
622
|
+
stripe_price_id?: string | null | undefined;
|
|
623
|
+
stripe_meter_id?: string | null | undefined;
|
|
624
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
625
|
+
state?: "success" | "error" | "queued" | "in-progress" | undefined;
|
|
626
|
+
source?: "web" | "api" | undefined;
|
|
627
|
+
created_at?: string | undefined;
|
|
628
|
+
last_updated?: string | undefined;
|
|
629
|
+
}, {
|
|
630
|
+
id: string;
|
|
631
|
+
team_id: string;
|
|
632
|
+
org_id: string;
|
|
633
|
+
name_url_slug: string;
|
|
634
|
+
metadata: {
|
|
635
|
+
[x: string]: unknown;
|
|
636
|
+
edges: Record<string, any>[];
|
|
637
|
+
nodes: Record<string, any>[];
|
|
638
|
+
doi_url?: string | null | undefined;
|
|
639
|
+
external_url?: string | null | undefined;
|
|
640
|
+
paper_url?: string | null | undefined;
|
|
641
|
+
github_url?: string | null | undefined;
|
|
642
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
643
|
+
source?: string | null | undefined;
|
|
644
|
+
};
|
|
645
|
+
user_id?: string | undefined;
|
|
646
|
+
user?: {
|
|
647
|
+
id?: string | undefined;
|
|
648
|
+
user_id?: string | undefined;
|
|
649
|
+
username?: string | null | undefined;
|
|
650
|
+
name?: string | null | undefined;
|
|
651
|
+
avatar_path?: string | null | undefined;
|
|
652
|
+
bio?: string | null | undefined;
|
|
653
|
+
urls?: {
|
|
654
|
+
value: string;
|
|
655
|
+
}[] | undefined;
|
|
656
|
+
post_id?: string | null | undefined;
|
|
657
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
658
|
+
plan_type?: "free" | "gold" | undefined;
|
|
659
|
+
last_active?: string | undefined;
|
|
660
|
+
} | undefined;
|
|
661
|
+
organization?: {
|
|
662
|
+
id?: string | undefined;
|
|
663
|
+
name?: string | undefined;
|
|
664
|
+
display_name?: string | null | undefined;
|
|
665
|
+
avatar_path?: string | null | undefined;
|
|
666
|
+
mission?: string | null | undefined;
|
|
667
|
+
size?: string | undefined;
|
|
668
|
+
email?: string | null | undefined;
|
|
669
|
+
domain?: string | null | undefined;
|
|
670
|
+
urls?: {
|
|
671
|
+
value: string;
|
|
672
|
+
}[] | null | undefined;
|
|
673
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
674
|
+
allow_external_members?: boolean | undefined;
|
|
675
|
+
allow_external_public_team_creation?: boolean | undefined;
|
|
676
|
+
join_policy?: string | undefined;
|
|
677
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
678
|
+
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
679
|
+
} | undefined;
|
|
680
|
+
team?: {
|
|
681
|
+
id?: string | undefined;
|
|
682
|
+
org_id?: string | undefined;
|
|
683
|
+
organization?: {
|
|
684
|
+
id: string;
|
|
685
|
+
name: string;
|
|
686
|
+
size: string;
|
|
687
|
+
base_role: "admin" | "read" | "write" | "none";
|
|
688
|
+
allow_external_members: boolean;
|
|
689
|
+
allow_external_public_team_creation: boolean;
|
|
690
|
+
join_policy: string;
|
|
691
|
+
actor_type_policy: "any" | "verified_only" | "agents_only";
|
|
692
|
+
source_policy: "any" | "web_only" | "api_only";
|
|
693
|
+
display_name?: string | null | undefined;
|
|
694
|
+
avatar_path?: string | null | undefined;
|
|
695
|
+
mission?: string | null | undefined;
|
|
696
|
+
email?: string | null | undefined;
|
|
697
|
+
domain?: string | null | undefined;
|
|
698
|
+
urls?: {
|
|
699
|
+
value: string;
|
|
700
|
+
}[] | null | undefined;
|
|
701
|
+
} | undefined;
|
|
702
|
+
name?: string | undefined;
|
|
703
|
+
description?: {
|
|
704
|
+
text: string;
|
|
705
|
+
json: Record<string, any>;
|
|
706
|
+
} | null | undefined;
|
|
707
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
708
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
709
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
710
|
+
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
711
|
+
userMembership?: {
|
|
712
|
+
user_id: string;
|
|
713
|
+
role: "admin" | "read" | "write" | "none";
|
|
714
|
+
} | null | undefined;
|
|
715
|
+
memberCount?: number | null | undefined;
|
|
716
|
+
members?: {
|
|
717
|
+
user_id: string;
|
|
718
|
+
role: "admin" | "read" | "write" | "none";
|
|
719
|
+
added_at: string;
|
|
720
|
+
user?: {
|
|
721
|
+
id?: string | undefined;
|
|
722
|
+
user_id?: string | undefined;
|
|
723
|
+
username?: string | null | undefined;
|
|
724
|
+
name?: string | null | undefined;
|
|
725
|
+
avatar_path?: string | null | undefined;
|
|
726
|
+
bio?: string | null | undefined;
|
|
727
|
+
urls?: {
|
|
728
|
+
value: string;
|
|
729
|
+
}[] | undefined;
|
|
730
|
+
post_id?: string | null | undefined;
|
|
731
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
732
|
+
plan_type?: "free" | "gold" | undefined;
|
|
733
|
+
last_active?: string | undefined;
|
|
734
|
+
} | null | undefined;
|
|
735
|
+
}[] | undefined;
|
|
736
|
+
created_at?: string | undefined;
|
|
737
|
+
} | undefined;
|
|
738
|
+
parent_id?: string | null | undefined;
|
|
739
|
+
parent?: Record<string, any> | undefined;
|
|
740
|
+
license_id?: string | undefined;
|
|
741
|
+
license?: Record<string, any> | undefined;
|
|
742
|
+
asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
|
|
743
|
+
name?: string | undefined;
|
|
744
|
+
slug?: string | null | undefined;
|
|
745
|
+
description?: {
|
|
746
|
+
json: Record<string, any>;
|
|
747
|
+
text: string;
|
|
748
|
+
} | null | undefined;
|
|
749
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
750
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
751
|
+
price?: number | null | undefined;
|
|
752
|
+
unit_cost?: number | null | undefined;
|
|
753
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
754
|
+
cost_unit?: string | null | undefined;
|
|
755
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
756
|
+
stripe_product_id?: string | null | undefined;
|
|
757
|
+
stripe_price_id?: string | null | undefined;
|
|
758
|
+
stripe_meter_id?: string | null | undefined;
|
|
759
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
760
|
+
state?: "success" | "error" | "queued" | "in-progress" | undefined;
|
|
761
|
+
source?: "web" | "api" | undefined;
|
|
762
|
+
created_at?: string | undefined;
|
|
763
|
+
last_updated?: string | undefined;
|
|
764
|
+
}>>;
|
|
765
|
+
declare const UpdateBlueprintSchema: z.ZodPipe<z.ZodObject<{
|
|
766
|
+
team_id: z.ZodNullable<z.ZodUUID>;
|
|
405
767
|
name_url_slug: z.ZodNullable<z.ZodString>;
|
|
406
768
|
name: z.ZodNullable<z.ZodString>;
|
|
407
769
|
description: z.ZodNullable<z.ZodString>;
|
|
408
770
|
visibility: z.ZodNullable<z.ZodEnum<{
|
|
409
|
-
organization: "organization";
|
|
410
771
|
public: "public";
|
|
411
772
|
private: "private";
|
|
773
|
+
organization: "organization";
|
|
412
774
|
monetized: "monetized";
|
|
413
775
|
inherit: "inherit";
|
|
414
776
|
}>>;
|
|
415
777
|
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
416
778
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
417
|
-
}, z.core.$strip
|
|
779
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
780
|
+
team_id: string | null;
|
|
781
|
+
name_url_slug: string | null;
|
|
782
|
+
name: string | null;
|
|
783
|
+
description: string | null;
|
|
784
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit" | null;
|
|
785
|
+
metadata: Record<string, any> | null;
|
|
786
|
+
last_updated: string;
|
|
787
|
+
}, {
|
|
788
|
+
team_id: string | null;
|
|
789
|
+
name_url_slug: string | null;
|
|
790
|
+
name: string | null;
|
|
791
|
+
description: string | null;
|
|
792
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit" | null;
|
|
793
|
+
metadata: Record<string, any> | null;
|
|
794
|
+
last_updated: string;
|
|
795
|
+
}>>;
|
|
418
796
|
|
|
419
797
|
type Blueprint = z.infer<typeof BlueprintSchema>;
|
|
420
798
|
type CreateBlueprint = z.infer<typeof CreateBlueprintSchema>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as BlueprintSchema,b as CreateBlueprintSchema,c as UpdateBlueprintSchema}from'../chunk-
|
|
1
|
+
export{a as BlueprintSchema,b as CreateBlueprintSchema,c as UpdateBlueprintSchema}from'../chunk-VBRZ227O.js';import'../chunk-XJH3EC3E.js';import'../chunk-QZ3AAXO5.js';import'../chunk-63BUDJ7V.js';import'../chunk-ZQAXMMR2.js';import'../chunk-CBWCC3NJ.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=blueprints.js.map
|
|
2
2
|
//# sourceMappingURL=blueprints.js.map
|
package/dist/schema/comments.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkD4SCLCSO_cjs=require('../chunk-D4SCLCSO.cjs');require('../chunk-25FGGQFY.cjs'),require('../chunk-6XNV6B6L.cjs'),require('../chunk-6UH4ZK6D.cjs'),require('../chunk-JNBXFB5P.cjs'),require('../chunk-MAHNRYUV.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"CommentSchema",{enumerable:true,get:function(){return chunkD4SCLCSO_cjs.a}});Object.defineProperty(exports,"CreateCommentSchema",{enumerable:true,get:function(){return chunkD4SCLCSO_cjs.b}});//# sourceMappingURL=comments.cjs.map
|
|
2
2
|
//# sourceMappingURL=comments.cjs.map
|