@ourofoundation/ouro-js 3.0.5 → 3.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/chunk-2JCUJKLB.js +3 -0
- package/dist/chunk-2JCUJKLB.js.map +1 -0
- package/dist/chunk-3N56ERWF.js +2 -0
- package/dist/chunk-3N56ERWF.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-4VEWTZNL.js +2 -0
- package/dist/chunk-4VEWTZNL.js.map +1 -0
- package/dist/chunk-6DQ5ZEGV.js +2 -0
- package/dist/chunk-6DQ5ZEGV.js.map +1 -0
- package/dist/chunk-6RGIIOOP.js +2 -0
- package/dist/chunk-6RGIIOOP.js.map +1 -0
- package/dist/chunk-7BEEJS6W.js +2 -0
- package/dist/chunk-7BEEJS6W.js.map +1 -0
- package/dist/chunk-7HF5VHUN.cjs +2 -0
- package/dist/chunk-7HF5VHUN.cjs.map +1 -0
- package/dist/chunk-ACWMAF3H.cjs +2 -0
- package/dist/chunk-ACWMAF3H.cjs.map +1 -0
- package/dist/chunk-AKXQDI77.cjs +2 -0
- package/dist/chunk-AKXQDI77.cjs.map +1 -0
- package/dist/chunk-ALQBCU4T.js +2 -0
- package/dist/chunk-ALQBCU4T.js.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-BUSTKLOI.cjs +2 -0
- package/dist/chunk-BUSTKLOI.cjs.map +1 -0
- package/dist/chunk-BXNIUQ5W.js +2 -0
- package/dist/chunk-BXNIUQ5W.js.map +1 -0
- package/dist/chunk-CBWCC3NJ.js +2 -0
- package/dist/chunk-CBWCC3NJ.js.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-FJZO6R7B.cjs +2 -0
- package/dist/chunk-FJZO6R7B.cjs.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-GY6SLMMJ.cjs +2 -0
- package/dist/chunk-GY6SLMMJ.cjs.map +1 -0
- package/dist/chunk-K2JZZ624.cjs +2 -0
- package/dist/chunk-K2JZZ624.cjs.map +1 -0
- package/dist/chunk-KYQSTVIK.js +2 -0
- package/dist/chunk-KYQSTVIK.js.map +1 -0
- package/dist/chunk-LUAQEXTM.cjs +2 -0
- package/dist/chunk-LUAQEXTM.cjs.map +1 -0
- package/dist/chunk-MAHNRYUV.cjs +2 -0
- package/dist/chunk-MAHNRYUV.cjs.map +1 -0
- package/dist/chunk-OGPYSKWY.cjs +2 -0
- package/dist/chunk-OGPYSKWY.cjs.map +1 -0
- package/dist/chunk-Q5SQSLM7.cjs +2 -0
- package/dist/chunk-Q5SQSLM7.cjs.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-T2FZOXMU.cjs +2 -0
- package/dist/chunk-T2FZOXMU.cjs.map +1 -0
- package/dist/chunk-T3XKETDR.cjs +3 -0
- package/dist/chunk-T3XKETDR.cjs.map +1 -0
- package/dist/chunk-T4BUMCXS.cjs +2 -0
- package/dist/chunk-T4BUMCXS.cjs.map +1 -0
- package/dist/chunk-TYOBHRLP.cjs +2 -0
- package/dist/chunk-TYOBHRLP.cjs.map +1 -0
- package/dist/chunk-UIPFVGSN.js +2 -0
- package/dist/chunk-UIPFVGSN.js.map +1 -0
- package/dist/chunk-UWVZZARS.js +2 -0
- package/dist/chunk-UWVZZARS.js.map +1 -0
- package/dist/chunk-VF2UIROP.cjs +2 -0
- package/dist/chunk-VF2UIROP.cjs.map +1 -0
- package/dist/chunk-WE6CXCEQ.js +2 -0
- package/dist/chunk-WE6CXCEQ.js.map +1 -0
- package/dist/chunk-XQE5MFWC.js +2 -0
- package/dist/chunk-XQE5MFWC.js.map +1 -0
- package/dist/chunk-Z44HJZBF.js +2 -0
- package/dist/chunk-Z44HJZBF.js.map +1 -0
- package/dist/chunk-ZE2OBRXV.js +2 -0
- package/dist/chunk-ZE2OBRXV.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 +154 -26
- package/dist/schema/assets.d.ts +154 -26
- package/dist/schema/assets.js +1 -1
- package/dist/schema/blueprints.cjs +1 -1
- package/dist/schema/blueprints.d.cts +419 -33
- package/dist/schema/blueprints.d.ts +419 -33
- package/dist/schema/blueprints.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +396 -28
- package/dist/schema/comments.d.ts +396 -28
- package/dist/schema/comments.js +1 -1
- package/dist/schema/common.cjs +1 -1
- package/dist/schema/common.d.cts +12 -12
- package/dist/schema/common.d.ts +12 -12
- 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 +242 -33
- package/dist/schema/conversations.d.ts +242 -33
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +357 -37
- package/dist/schema/datasets.d.ts +357 -37
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +345 -33
- package/dist/schema/files.d.ts +345 -33
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.cjs +1 -1
- package/dist/schema/notifications.js +1 -1
- package/dist/schema/organizations.cjs +1 -1
- package/dist/schema/organizations.d.cts +32 -3
- package/dist/schema/organizations.d.ts +32 -3
- package/dist/schema/organizations.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +413 -69
- package/dist/schema/posts.d.ts +413 -69
- 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 +421 -33
- package/dist/schema/replications.d.ts +421 -33
- package/dist/schema/replications.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +435 -75
- package/dist/schema/services.d.ts +435 -75
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.cjs +1 -1
- package/dist/schema/teams.d.cts +147 -28
- package/dist/schema/teams.d.ts +147 -28
- package/dist/schema/teams.js +1 -1
- package/dist/schema/users.cjs +1 -1
- package/dist/schema/users.d.cts +29 -7
- package/dist/schema/users.d.ts +29 -7
- package/dist/schema/users.js +1 -1
- package/dist/utils/air/index.cjs +1 -1
- package/dist/utils/air/index.d.cts +4 -2
- package/dist/utils/air/index.d.ts +4 -2
- package/dist/utils/air/index.js +1 -1
- package/dist/utils/air/markdown-parser.cjs +1 -1
- package/dist/utils/air/markdown-parser.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-2TOV7G54.js +0 -2
- package/dist/chunk-2TOV7G54.js.map +0 -1
- package/dist/chunk-3RRKHJ3K.cjs +0 -2
- package/dist/chunk-3RRKHJ3K.cjs.map +0 -1
- package/dist/chunk-47E5TCNF.js +0 -3
- package/dist/chunk-47E5TCNF.js.map +0 -1
- package/dist/chunk-4RN4XNPV.cjs +0 -2
- package/dist/chunk-4RN4XNPV.cjs.map +0 -1
- package/dist/chunk-6GWDL7RE.cjs +0 -2
- package/dist/chunk-6GWDL7RE.cjs.map +0 -1
- package/dist/chunk-6Q25VZKZ.cjs +0 -2
- package/dist/chunk-6Q25VZKZ.cjs.map +0 -1
- package/dist/chunk-ARSGP6GA.js +0 -2
- package/dist/chunk-ARSGP6GA.js.map +0 -1
- package/dist/chunk-B776YSQ2.cjs +0 -2
- package/dist/chunk-B776YSQ2.cjs.map +0 -1
- package/dist/chunk-C3EY5Q7D.cjs +0 -2
- package/dist/chunk-C3EY5Q7D.cjs.map +0 -1
- package/dist/chunk-C3JUA7VU.js +0 -2
- package/dist/chunk-C3JUA7VU.js.map +0 -1
- package/dist/chunk-C7P6EZ4K.js +0 -2
- package/dist/chunk-C7P6EZ4K.js.map +0 -1
- package/dist/chunk-CEANOLSH.js +0 -2
- package/dist/chunk-CEANOLSH.js.map +0 -1
- package/dist/chunk-D2H3DN4E.cjs +0 -2
- package/dist/chunk-D2H3DN4E.cjs.map +0 -1
- package/dist/chunk-E3BVDCVN.cjs +0 -2
- package/dist/chunk-E3BVDCVN.cjs.map +0 -1
- package/dist/chunk-ENCQWA5V.js +0 -2
- package/dist/chunk-ENCQWA5V.js.map +0 -1
- package/dist/chunk-FWDYNPNC.cjs +0 -2
- package/dist/chunk-FWDYNPNC.cjs.map +0 -1
- package/dist/chunk-HT4JPC5P.js +0 -2
- package/dist/chunk-HT4JPC5P.js.map +0 -1
- package/dist/chunk-HVX2JPYI.js +0 -2
- package/dist/chunk-HVX2JPYI.js.map +0 -1
- package/dist/chunk-IF4N6V66.cjs +0 -2
- package/dist/chunk-IF4N6V66.cjs.map +0 -1
- package/dist/chunk-IIKZ5DYT.cjs +0 -2
- package/dist/chunk-JAAPYGR3.js +0 -2
- package/dist/chunk-JAAPYGR3.js.map +0 -1
- package/dist/chunk-JYZE6VG5.js +0 -2
- package/dist/chunk-JYZE6VG5.js.map +0 -1
- package/dist/chunk-LWSF5AHU.js +0 -2
- package/dist/chunk-LWSF5AHU.js.map +0 -1
- package/dist/chunk-MRSFHKNV.js +0 -2
- package/dist/chunk-MRSFHKNV.js.map +0 -1
- package/dist/chunk-N5ADIAWW.cjs +0 -2
- package/dist/chunk-N5ADIAWW.cjs.map +0 -1
- package/dist/chunk-PDLAKYCI.cjs +0 -2
- package/dist/chunk-PDLAKYCI.cjs.map +0 -1
- package/dist/chunk-QTPX6PU3.cjs +0 -2
- package/dist/chunk-QTPX6PU3.cjs.map +0 -1
- package/dist/chunk-RPUL3U2U.js +0 -2
- package/dist/chunk-RPUL3U2U.js.map +0 -1
- package/dist/chunk-SE3HKRJM.cjs +0 -3
- package/dist/chunk-SE3HKRJM.cjs.map +0 -1
- package/dist/chunk-T3J5Y445.js +0 -2
- package/dist/chunk-TNDFH7NB.js +0 -2
- package/dist/chunk-TNDFH7NB.js.map +0 -1
- package/dist/chunk-UEV6JSU5.cjs +0 -2
- package/dist/chunk-UEV6JSU5.cjs.map +0 -1
- package/dist/chunk-V4FDUFIL.cjs +0 -2
- package/dist/chunk-V4FDUFIL.cjs.map +0 -1
- package/dist/chunk-VOX7A2FD.js +0 -2
- package/dist/chunk-VOX7A2FD.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>;
|
|
@@ -10,18 +10,24 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
10
10
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
11
11
|
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12
12
|
bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
13
|
+
is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
14
|
+
claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
13
15
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14
16
|
value: z.ZodString;
|
|
15
17
|
}, z.core.$strip>>>>;
|
|
16
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
17
|
-
|
|
18
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
19
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
20
|
+
base: "base";
|
|
21
|
+
agent: "agent";
|
|
22
|
+
verified: "verified";
|
|
23
|
+
}>>;
|
|
18
24
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
19
25
|
free: "free";
|
|
20
26
|
gold: "gold";
|
|
21
27
|
}>>;
|
|
22
28
|
last_active: z.ZodOptional<z.ZodString>;
|
|
23
29
|
}, z.core.$strip>>;
|
|
24
|
-
org_id: z.
|
|
30
|
+
org_id: z.ZodUUID;
|
|
25
31
|
organization: z.ZodOptional<z.ZodObject<{
|
|
26
32
|
id: z.ZodOptional<z.ZodUUID>;
|
|
27
33
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -41,12 +47,23 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
41
47
|
none: "none";
|
|
42
48
|
}>>>;
|
|
43
49
|
allow_external_members: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
50
|
+
allow_external_public_team_creation: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
44
51
|
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
52
|
+
actor_type_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
53
|
+
any: "any";
|
|
54
|
+
verified_only: "verified_only";
|
|
55
|
+
agents_only: "agents_only";
|
|
56
|
+
}>>>>;
|
|
57
|
+
source_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
58
|
+
any: "any";
|
|
59
|
+
web_only: "web_only";
|
|
60
|
+
api_only: "api_only";
|
|
61
|
+
}>>>>;
|
|
45
62
|
}, z.core.$strip>>;
|
|
46
|
-
team_id: z.
|
|
63
|
+
team_id: z.ZodUUID;
|
|
47
64
|
team: z.ZodOptional<z.ZodObject<{
|
|
48
|
-
id: z.ZodOptional<z.
|
|
49
|
-
org_id: z.ZodOptional<z.
|
|
65
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
66
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
50
67
|
organization: z.ZodOptional<z.ZodObject<{
|
|
51
68
|
id: z.ZodUUID;
|
|
52
69
|
name: z.ZodString;
|
|
@@ -66,7 +83,18 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
66
83
|
none: "none";
|
|
67
84
|
}>>;
|
|
68
85
|
allow_external_members: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
86
|
+
allow_external_public_team_creation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
69
87
|
join_policy: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
88
|
+
actor_type_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
89
|
+
any: "any";
|
|
90
|
+
verified_only: "verified_only";
|
|
91
|
+
agents_only: "agents_only";
|
|
92
|
+
}>>>;
|
|
93
|
+
source_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
94
|
+
any: "any";
|
|
95
|
+
web_only: "web_only";
|
|
96
|
+
api_only: "api_only";
|
|
97
|
+
}>>>;
|
|
70
98
|
}, z.core.$strip>>;
|
|
71
99
|
name: z.ZodOptional<z.ZodString>;
|
|
72
100
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -86,8 +114,18 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
86
114
|
monetized: "monetized";
|
|
87
115
|
inherit: "inherit";
|
|
88
116
|
}>>;
|
|
117
|
+
actor_type_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
118
|
+
any: "any";
|
|
119
|
+
verified_only: "verified_only";
|
|
120
|
+
agents_only: "agents_only";
|
|
121
|
+
}>>>>;
|
|
122
|
+
source_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
123
|
+
any: "any";
|
|
124
|
+
web_only: "web_only";
|
|
125
|
+
api_only: "api_only";
|
|
126
|
+
}>>>>;
|
|
89
127
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
90
|
-
user_id: z.
|
|
128
|
+
user_id: z.ZodUUID;
|
|
91
129
|
role: z.ZodEnum<{
|
|
92
130
|
admin: "admin";
|
|
93
131
|
read: "read";
|
|
@@ -97,7 +135,7 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
97
135
|
}, z.core.$strip>>>>;
|
|
98
136
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
99
137
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
100
|
-
user_id: z.
|
|
138
|
+
user_id: z.ZodUUID;
|
|
101
139
|
role: z.ZodEnum<{
|
|
102
140
|
admin: "admin";
|
|
103
141
|
read: "read";
|
|
@@ -112,11 +150,17 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
112
150
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
113
151
|
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
114
152
|
bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
153
|
+
is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
154
|
+
claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
115
155
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
116
156
|
value: z.ZodString;
|
|
117
157
|
}, z.core.$strip>>>>;
|
|
118
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
119
|
-
|
|
158
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
159
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
160
|
+
base: "base";
|
|
161
|
+
agent: "agent";
|
|
162
|
+
verified: "verified";
|
|
163
|
+
}>>;
|
|
120
164
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
121
165
|
free: "free";
|
|
122
166
|
gold: "gold";
|
|
@@ -126,7 +170,7 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
126
170
|
}, z.core.$strip>>>;
|
|
127
171
|
created_at: z.ZodOptional<z.ZodString>;
|
|
128
172
|
}, z.core.$strip>>;
|
|
129
|
-
parent_id: z.ZodOptional<z.ZodNullable<z.
|
|
173
|
+
parent_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
130
174
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
131
175
|
license_id: z.ZodString;
|
|
132
176
|
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -166,9 +210,9 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
166
210
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
167
211
|
state: z.ZodEnum<{
|
|
168
212
|
success: "success";
|
|
169
|
-
error: "error";
|
|
170
213
|
queued: "queued";
|
|
171
214
|
"in-progress": "in-progress";
|
|
215
|
+
error: "error";
|
|
172
216
|
}>;
|
|
173
217
|
source: z.ZodEnum<{
|
|
174
218
|
api: "api";
|
|
@@ -204,10 +248,11 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
204
248
|
"third-party": "third-party";
|
|
205
249
|
}>>;
|
|
206
250
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
251
|
+
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
207
252
|
}, z.core.$strip>;
|
|
208
253
|
}, z.core.$strip>;
|
|
209
|
-
declare const CreateBlueprintSchema: z.ZodObject<{
|
|
210
|
-
user_id: z.ZodOptional<z.
|
|
254
|
+
declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
|
|
255
|
+
user_id: z.ZodOptional<z.ZodUUID>;
|
|
211
256
|
user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
212
257
|
id: z.ZodOptional<z.ZodUUID>;
|
|
213
258
|
user_id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -215,11 +260,17 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
215
260
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
216
261
|
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
217
262
|
bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
263
|
+
is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
264
|
+
claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
218
265
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
219
266
|
value: z.ZodString;
|
|
220
267
|
}, z.core.$strip>>>>;
|
|
221
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
222
|
-
|
|
268
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
269
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
270
|
+
base: "base";
|
|
271
|
+
agent: "agent";
|
|
272
|
+
verified: "verified";
|
|
273
|
+
}>>;
|
|
223
274
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
224
275
|
free: "free";
|
|
225
276
|
gold: "gold";
|
|
@@ -245,11 +296,22 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
245
296
|
none: "none";
|
|
246
297
|
}>>>;
|
|
247
298
|
allow_external_members: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
299
|
+
allow_external_public_team_creation: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
248
300
|
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
301
|
+
actor_type_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
302
|
+
any: "any";
|
|
303
|
+
verified_only: "verified_only";
|
|
304
|
+
agents_only: "agents_only";
|
|
305
|
+
}>>>>;
|
|
306
|
+
source_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
307
|
+
any: "any";
|
|
308
|
+
web_only: "web_only";
|
|
309
|
+
api_only: "api_only";
|
|
310
|
+
}>>>>;
|
|
249
311
|
}, z.core.$strip>>>;
|
|
250
312
|
team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
251
|
-
id: z.ZodOptional<z.
|
|
252
|
-
org_id: z.ZodOptional<z.
|
|
313
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
314
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
253
315
|
organization: z.ZodOptional<z.ZodObject<{
|
|
254
316
|
id: z.ZodUUID;
|
|
255
317
|
name: z.ZodString;
|
|
@@ -269,7 +331,18 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
269
331
|
none: "none";
|
|
270
332
|
}>>;
|
|
271
333
|
allow_external_members: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
334
|
+
allow_external_public_team_creation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
272
335
|
join_policy: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
336
|
+
actor_type_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
337
|
+
any: "any";
|
|
338
|
+
verified_only: "verified_only";
|
|
339
|
+
agents_only: "agents_only";
|
|
340
|
+
}>>>;
|
|
341
|
+
source_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
342
|
+
any: "any";
|
|
343
|
+
web_only: "web_only";
|
|
344
|
+
api_only: "api_only";
|
|
345
|
+
}>>>;
|
|
273
346
|
}, z.core.$strip>>;
|
|
274
347
|
name: z.ZodOptional<z.ZodString>;
|
|
275
348
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -289,8 +362,18 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
289
362
|
monetized: "monetized";
|
|
290
363
|
inherit: "inherit";
|
|
291
364
|
}>>;
|
|
365
|
+
actor_type_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
366
|
+
any: "any";
|
|
367
|
+
verified_only: "verified_only";
|
|
368
|
+
agents_only: "agents_only";
|
|
369
|
+
}>>>>;
|
|
370
|
+
source_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
371
|
+
any: "any";
|
|
372
|
+
web_only: "web_only";
|
|
373
|
+
api_only: "api_only";
|
|
374
|
+
}>>>>;
|
|
292
375
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
293
|
-
user_id: z.
|
|
376
|
+
user_id: z.ZodUUID;
|
|
294
377
|
role: z.ZodEnum<{
|
|
295
378
|
admin: "admin";
|
|
296
379
|
read: "read";
|
|
@@ -300,7 +383,7 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
300
383
|
}, z.core.$strip>>>>;
|
|
301
384
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
302
385
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
303
|
-
user_id: z.
|
|
386
|
+
user_id: z.ZodUUID;
|
|
304
387
|
role: z.ZodEnum<{
|
|
305
388
|
admin: "admin";
|
|
306
389
|
read: "read";
|
|
@@ -315,11 +398,17 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
315
398
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
316
399
|
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
317
400
|
bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
401
|
+
is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
402
|
+
claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
318
403
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
319
404
|
value: z.ZodString;
|
|
320
405
|
}, z.core.$strip>>>>;
|
|
321
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
322
|
-
|
|
406
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
407
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
408
|
+
base: "base";
|
|
409
|
+
agent: "agent";
|
|
410
|
+
verified: "verified";
|
|
411
|
+
}>>;
|
|
323
412
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
324
413
|
free: "free";
|
|
325
414
|
gold: "gold";
|
|
@@ -329,7 +418,7 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
329
418
|
}, z.core.$strip>>>;
|
|
330
419
|
created_at: z.ZodOptional<z.ZodString>;
|
|
331
420
|
}, z.core.$strip>>>;
|
|
332
|
-
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
421
|
+
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
333
422
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
334
423
|
license_id: z.ZodOptional<z.ZodString>;
|
|
335
424
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -383,9 +472,9 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
383
472
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
384
473
|
state: z.ZodOptional<z.ZodEnum<{
|
|
385
474
|
success: "success";
|
|
386
|
-
error: "error";
|
|
387
475
|
queued: "queued";
|
|
388
476
|
"in-progress": "in-progress";
|
|
477
|
+
error: "error";
|
|
389
478
|
}>>;
|
|
390
479
|
source: z.ZodOptional<z.ZodEnum<{
|
|
391
480
|
api: "api";
|
|
@@ -393,9 +482,9 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
393
482
|
}>>;
|
|
394
483
|
created_at: z.ZodOptional<z.ZodString>;
|
|
395
484
|
last_updated: z.ZodOptional<z.ZodString>;
|
|
396
|
-
id: z.ZodDefault<z.
|
|
397
|
-
team_id: z.ZodDefault<z.
|
|
398
|
-
org_id: z.ZodDefault<z.
|
|
485
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
486
|
+
team_id: z.ZodDefault<z.ZodUUID>;
|
|
487
|
+
org_id: z.ZodDefault<z.ZodUUID>;
|
|
399
488
|
name_url_slug: z.ZodString;
|
|
400
489
|
metadata: z.ZodObject<{
|
|
401
490
|
edges: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -410,10 +499,291 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
410
499
|
"third-party": "third-party";
|
|
411
500
|
}>>;
|
|
412
501
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
502
|
+
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
413
503
|
}, z.core.$loose>;
|
|
414
|
-
}, z.core.$strip
|
|
415
|
-
|
|
416
|
-
team_id:
|
|
504
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
505
|
+
id: string;
|
|
506
|
+
team_id: string;
|
|
507
|
+
org_id: string;
|
|
508
|
+
name_url_slug: string;
|
|
509
|
+
metadata: {
|
|
510
|
+
[x: string]: unknown;
|
|
511
|
+
edges: Record<string, any>[];
|
|
512
|
+
nodes: Record<string, any>[];
|
|
513
|
+
doi_url?: string | null | undefined;
|
|
514
|
+
external_url?: string | null | undefined;
|
|
515
|
+
paper_url?: string | null | undefined;
|
|
516
|
+
github_url?: string | null | undefined;
|
|
517
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
518
|
+
source?: string | null | undefined;
|
|
519
|
+
reply_to_comment_id?: string | null | undefined;
|
|
520
|
+
};
|
|
521
|
+
user_id?: string | undefined;
|
|
522
|
+
user?: {
|
|
523
|
+
id?: string | undefined;
|
|
524
|
+
user_id?: string | undefined;
|
|
525
|
+
username?: string | null | undefined;
|
|
526
|
+
name?: string | null | undefined;
|
|
527
|
+
avatar_path?: string | null | undefined;
|
|
528
|
+
bio?: string | null | undefined;
|
|
529
|
+
is_provisioned?: boolean | undefined;
|
|
530
|
+
claimed_at?: string | null | undefined;
|
|
531
|
+
urls?: {
|
|
532
|
+
value: string;
|
|
533
|
+
}[] | undefined;
|
|
534
|
+
post_id?: string | null | undefined;
|
|
535
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
536
|
+
plan_type?: "free" | "gold" | undefined;
|
|
537
|
+
last_active?: string | undefined;
|
|
538
|
+
} | undefined;
|
|
539
|
+
organization?: {
|
|
540
|
+
id?: string | undefined;
|
|
541
|
+
name?: string | undefined;
|
|
542
|
+
display_name?: string | null | undefined;
|
|
543
|
+
avatar_path?: string | null | undefined;
|
|
544
|
+
mission?: string | null | undefined;
|
|
545
|
+
size?: string | undefined;
|
|
546
|
+
email?: string | null | undefined;
|
|
547
|
+
domain?: string | null | undefined;
|
|
548
|
+
urls?: {
|
|
549
|
+
value: string;
|
|
550
|
+
}[] | null | undefined;
|
|
551
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
552
|
+
allow_external_members?: boolean | undefined;
|
|
553
|
+
allow_external_public_team_creation?: boolean | undefined;
|
|
554
|
+
join_policy?: string | undefined;
|
|
555
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
556
|
+
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
557
|
+
} | undefined;
|
|
558
|
+
team?: {
|
|
559
|
+
id?: string | undefined;
|
|
560
|
+
org_id?: string | undefined;
|
|
561
|
+
organization?: {
|
|
562
|
+
id: string;
|
|
563
|
+
name: string;
|
|
564
|
+
size: string;
|
|
565
|
+
base_role: "admin" | "read" | "write" | "none";
|
|
566
|
+
allow_external_members: boolean;
|
|
567
|
+
allow_external_public_team_creation: boolean;
|
|
568
|
+
join_policy: string;
|
|
569
|
+
actor_type_policy: "any" | "verified_only" | "agents_only";
|
|
570
|
+
source_policy: "any" | "web_only" | "api_only";
|
|
571
|
+
display_name?: string | null | undefined;
|
|
572
|
+
avatar_path?: string | null | undefined;
|
|
573
|
+
mission?: string | null | undefined;
|
|
574
|
+
email?: string | null | undefined;
|
|
575
|
+
domain?: string | null | undefined;
|
|
576
|
+
urls?: {
|
|
577
|
+
value: string;
|
|
578
|
+
}[] | null | undefined;
|
|
579
|
+
} | undefined;
|
|
580
|
+
name?: string | undefined;
|
|
581
|
+
description?: {
|
|
582
|
+
text: string;
|
|
583
|
+
json: Record<string, any>;
|
|
584
|
+
} | null | undefined;
|
|
585
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
586
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
587
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
588
|
+
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
589
|
+
userMembership?: {
|
|
590
|
+
user_id: string;
|
|
591
|
+
role: "admin" | "read" | "write" | "none";
|
|
592
|
+
} | null | undefined;
|
|
593
|
+
memberCount?: number | null | undefined;
|
|
594
|
+
members?: {
|
|
595
|
+
user_id: string;
|
|
596
|
+
role: "admin" | "read" | "write" | "none";
|
|
597
|
+
added_at: string;
|
|
598
|
+
user?: {
|
|
599
|
+
id?: string | undefined;
|
|
600
|
+
user_id?: string | undefined;
|
|
601
|
+
username?: string | null | undefined;
|
|
602
|
+
name?: string | null | undefined;
|
|
603
|
+
avatar_path?: string | null | undefined;
|
|
604
|
+
bio?: string | null | undefined;
|
|
605
|
+
is_provisioned?: boolean | undefined;
|
|
606
|
+
claimed_at?: string | null | undefined;
|
|
607
|
+
urls?: {
|
|
608
|
+
value: string;
|
|
609
|
+
}[] | undefined;
|
|
610
|
+
post_id?: string | null | undefined;
|
|
611
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
612
|
+
plan_type?: "free" | "gold" | undefined;
|
|
613
|
+
last_active?: string | undefined;
|
|
614
|
+
} | null | undefined;
|
|
615
|
+
}[] | undefined;
|
|
616
|
+
created_at?: string | undefined;
|
|
617
|
+
} | undefined;
|
|
618
|
+
parent_id?: string | null | undefined;
|
|
619
|
+
parent?: Record<string, any> | undefined;
|
|
620
|
+
license_id?: string | undefined;
|
|
621
|
+
license?: Record<string, any> | undefined;
|
|
622
|
+
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
|
|
623
|
+
name?: string | undefined;
|
|
624
|
+
slug?: string | null | undefined;
|
|
625
|
+
description?: {
|
|
626
|
+
json: Record<string, any>;
|
|
627
|
+
text: string;
|
|
628
|
+
} | null | undefined;
|
|
629
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
630
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
631
|
+
price?: number | null | undefined;
|
|
632
|
+
unit_cost?: number | null | undefined;
|
|
633
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
634
|
+
cost_unit?: string | null | undefined;
|
|
635
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
636
|
+
stripe_product_id?: string | null | undefined;
|
|
637
|
+
stripe_price_id?: string | null | undefined;
|
|
638
|
+
stripe_meter_id?: string | null | undefined;
|
|
639
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
640
|
+
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
641
|
+
source?: "api" | "web" | undefined;
|
|
642
|
+
created_at?: string | undefined;
|
|
643
|
+
last_updated?: string | undefined;
|
|
644
|
+
}, {
|
|
645
|
+
id: string;
|
|
646
|
+
team_id: string;
|
|
647
|
+
org_id: string;
|
|
648
|
+
name_url_slug: string;
|
|
649
|
+
metadata: {
|
|
650
|
+
[x: string]: unknown;
|
|
651
|
+
edges: Record<string, any>[];
|
|
652
|
+
nodes: Record<string, any>[];
|
|
653
|
+
doi_url?: string | null | undefined;
|
|
654
|
+
external_url?: string | null | undefined;
|
|
655
|
+
paper_url?: string | null | undefined;
|
|
656
|
+
github_url?: string | null | undefined;
|
|
657
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
658
|
+
source?: string | null | undefined;
|
|
659
|
+
reply_to_comment_id?: string | null | undefined;
|
|
660
|
+
};
|
|
661
|
+
user_id?: string | undefined;
|
|
662
|
+
user?: {
|
|
663
|
+
id?: string | undefined;
|
|
664
|
+
user_id?: string | undefined;
|
|
665
|
+
username?: string | null | undefined;
|
|
666
|
+
name?: string | null | undefined;
|
|
667
|
+
avatar_path?: string | null | undefined;
|
|
668
|
+
bio?: string | null | undefined;
|
|
669
|
+
is_provisioned?: boolean | undefined;
|
|
670
|
+
claimed_at?: string | null | undefined;
|
|
671
|
+
urls?: {
|
|
672
|
+
value: string;
|
|
673
|
+
}[] | undefined;
|
|
674
|
+
post_id?: string | null | undefined;
|
|
675
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
676
|
+
plan_type?: "free" | "gold" | undefined;
|
|
677
|
+
last_active?: string | undefined;
|
|
678
|
+
} | undefined;
|
|
679
|
+
organization?: {
|
|
680
|
+
id?: string | undefined;
|
|
681
|
+
name?: string | undefined;
|
|
682
|
+
display_name?: string | null | undefined;
|
|
683
|
+
avatar_path?: string | null | undefined;
|
|
684
|
+
mission?: string | null | undefined;
|
|
685
|
+
size?: string | undefined;
|
|
686
|
+
email?: string | null | undefined;
|
|
687
|
+
domain?: string | null | undefined;
|
|
688
|
+
urls?: {
|
|
689
|
+
value: string;
|
|
690
|
+
}[] | null | undefined;
|
|
691
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
692
|
+
allow_external_members?: boolean | undefined;
|
|
693
|
+
allow_external_public_team_creation?: boolean | undefined;
|
|
694
|
+
join_policy?: string | undefined;
|
|
695
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
696
|
+
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
697
|
+
} | undefined;
|
|
698
|
+
team?: {
|
|
699
|
+
id?: string | undefined;
|
|
700
|
+
org_id?: string | undefined;
|
|
701
|
+
organization?: {
|
|
702
|
+
id: string;
|
|
703
|
+
name: string;
|
|
704
|
+
size: string;
|
|
705
|
+
base_role: "admin" | "read" | "write" | "none";
|
|
706
|
+
allow_external_members: boolean;
|
|
707
|
+
allow_external_public_team_creation: boolean;
|
|
708
|
+
join_policy: string;
|
|
709
|
+
actor_type_policy: "any" | "verified_only" | "agents_only";
|
|
710
|
+
source_policy: "any" | "web_only" | "api_only";
|
|
711
|
+
display_name?: string | null | undefined;
|
|
712
|
+
avatar_path?: string | null | undefined;
|
|
713
|
+
mission?: string | null | undefined;
|
|
714
|
+
email?: string | null | undefined;
|
|
715
|
+
domain?: string | null | undefined;
|
|
716
|
+
urls?: {
|
|
717
|
+
value: string;
|
|
718
|
+
}[] | null | undefined;
|
|
719
|
+
} | undefined;
|
|
720
|
+
name?: string | undefined;
|
|
721
|
+
description?: {
|
|
722
|
+
text: string;
|
|
723
|
+
json: Record<string, any>;
|
|
724
|
+
} | null | undefined;
|
|
725
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
726
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
727
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
728
|
+
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
729
|
+
userMembership?: {
|
|
730
|
+
user_id: string;
|
|
731
|
+
role: "admin" | "read" | "write" | "none";
|
|
732
|
+
} | null | undefined;
|
|
733
|
+
memberCount?: number | null | undefined;
|
|
734
|
+
members?: {
|
|
735
|
+
user_id: string;
|
|
736
|
+
role: "admin" | "read" | "write" | "none";
|
|
737
|
+
added_at: string;
|
|
738
|
+
user?: {
|
|
739
|
+
id?: string | undefined;
|
|
740
|
+
user_id?: string | undefined;
|
|
741
|
+
username?: string | null | undefined;
|
|
742
|
+
name?: string | null | undefined;
|
|
743
|
+
avatar_path?: string | null | undefined;
|
|
744
|
+
bio?: string | null | undefined;
|
|
745
|
+
is_provisioned?: boolean | undefined;
|
|
746
|
+
claimed_at?: string | null | undefined;
|
|
747
|
+
urls?: {
|
|
748
|
+
value: string;
|
|
749
|
+
}[] | undefined;
|
|
750
|
+
post_id?: string | null | undefined;
|
|
751
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
752
|
+
plan_type?: "free" | "gold" | undefined;
|
|
753
|
+
last_active?: string | undefined;
|
|
754
|
+
} | null | undefined;
|
|
755
|
+
}[] | undefined;
|
|
756
|
+
created_at?: string | undefined;
|
|
757
|
+
} | undefined;
|
|
758
|
+
parent_id?: string | null | undefined;
|
|
759
|
+
parent?: Record<string, any> | undefined;
|
|
760
|
+
license_id?: string | undefined;
|
|
761
|
+
license?: Record<string, any> | undefined;
|
|
762
|
+
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
|
|
763
|
+
name?: string | undefined;
|
|
764
|
+
slug?: string | null | undefined;
|
|
765
|
+
description?: {
|
|
766
|
+
json: Record<string, any>;
|
|
767
|
+
text: string;
|
|
768
|
+
} | null | undefined;
|
|
769
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
770
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
771
|
+
price?: number | null | undefined;
|
|
772
|
+
unit_cost?: number | null | undefined;
|
|
773
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
774
|
+
cost_unit?: string | null | undefined;
|
|
775
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
776
|
+
stripe_product_id?: string | null | undefined;
|
|
777
|
+
stripe_price_id?: string | null | undefined;
|
|
778
|
+
stripe_meter_id?: string | null | undefined;
|
|
779
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
780
|
+
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
781
|
+
source?: "api" | "web" | undefined;
|
|
782
|
+
created_at?: string | undefined;
|
|
783
|
+
last_updated?: string | undefined;
|
|
784
|
+
}>>;
|
|
785
|
+
declare const UpdateBlueprintSchema: z.ZodPipe<z.ZodObject<{
|
|
786
|
+
team_id: z.ZodNullable<z.ZodUUID>;
|
|
417
787
|
name_url_slug: z.ZodNullable<z.ZodString>;
|
|
418
788
|
name: z.ZodNullable<z.ZodString>;
|
|
419
789
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -426,7 +796,23 @@ declare const UpdateBlueprintSchema: z.ZodObject<{
|
|
|
426
796
|
}>>;
|
|
427
797
|
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
428
798
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
429
|
-
}, z.core.$strip
|
|
799
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
800
|
+
team_id: string | null;
|
|
801
|
+
name_url_slug: string | null;
|
|
802
|
+
name: string | null;
|
|
803
|
+
description: string | null;
|
|
804
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit" | null;
|
|
805
|
+
metadata: Record<string, any> | null;
|
|
806
|
+
last_updated: string;
|
|
807
|
+
}, {
|
|
808
|
+
team_id: string | null;
|
|
809
|
+
name_url_slug: string | null;
|
|
810
|
+
name: string | null;
|
|
811
|
+
description: string | null;
|
|
812
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit" | null;
|
|
813
|
+
metadata: Record<string, any> | null;
|
|
814
|
+
last_updated: string;
|
|
815
|
+
}>>;
|
|
430
816
|
|
|
431
817
|
type Blueprint = z.infer<typeof BlueprintSchema>;
|
|
432
818
|
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-ZE2OBRXV.js';import'../chunk-UWVZZARS.js';import'../chunk-6DQ5ZEGV.js';import'../chunk-XQE5MFWC.js';import'../chunk-3N56ERWF.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 chunkTYOBHRLP_cjs=require('../chunk-TYOBHRLP.cjs');require('../chunk-ACWMAF3H.cjs'),require('../chunk-Q5SQSLM7.cjs'),require('../chunk-T2FZOXMU.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-MAHNRYUV.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"CommentSchema",{enumerable:true,get:function(){return chunkTYOBHRLP_cjs.a}});Object.defineProperty(exports,"CreateCommentSchema",{enumerable:true,get:function(){return chunkTYOBHRLP_cjs.b}});//# sourceMappingURL=comments.cjs.map
|
|
2
2
|
//# sourceMappingURL=comments.cjs.map
|