@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 CommentSchema: 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 CommentSchema: 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 CommentSchema: 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 CommentSchema: 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 CommentSchema: 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 CommentSchema: 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 CommentSchema: 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 CommentSchema: 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 CommentSchema: 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
|
}>;
|
|
@@ -187,16 +233,48 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
187
233
|
content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
188
234
|
}, z.core.$strip>>>>;
|
|
189
235
|
}, z.core.$strip>;
|
|
190
|
-
declare const CreateCommentSchema: z.ZodObject<{
|
|
236
|
+
declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
237
|
+
organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
238
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
239
|
+
name: z.ZodOptional<z.ZodString>;
|
|
240
|
+
display_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
241
|
+
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
242
|
+
mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
243
|
+
size: z.ZodOptional<z.ZodString>;
|
|
244
|
+
email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
245
|
+
domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
246
|
+
urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
247
|
+
value: z.ZodString;
|
|
248
|
+
}, z.core.$strip>>>>>;
|
|
249
|
+
base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
250
|
+
admin: "admin";
|
|
251
|
+
read: "read";
|
|
252
|
+
write: "write";
|
|
253
|
+
none: "none";
|
|
254
|
+
}>>>;
|
|
255
|
+
allow_external_members: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
256
|
+
allow_external_public_team_creation: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
257
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
258
|
+
actor_type_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
259
|
+
any: "any";
|
|
260
|
+
verified_only: "verified_only";
|
|
261
|
+
agents_only: "agents_only";
|
|
262
|
+
}>>>>;
|
|
263
|
+
source_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
264
|
+
any: "any";
|
|
265
|
+
web_only: "web_only";
|
|
266
|
+
api_only: "api_only";
|
|
267
|
+
}>>>>;
|
|
268
|
+
}, z.core.$strip>>>;
|
|
191
269
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
192
270
|
source: z.ZodOptional<z.ZodEnum<{
|
|
193
271
|
web: "web";
|
|
194
272
|
api: "api";
|
|
195
273
|
}>>;
|
|
196
274
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
197
|
-
organization: "organization";
|
|
198
275
|
public: "public";
|
|
199
276
|
private: "private";
|
|
277
|
+
organization: "organization";
|
|
200
278
|
monetized: "monetized";
|
|
201
279
|
inherit: "inherit";
|
|
202
280
|
}>>;
|
|
@@ -221,40 +299,27 @@ declare const CreateCommentSchema: z.ZodObject<{
|
|
|
221
299
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
222
300
|
value: z.ZodString;
|
|
223
301
|
}, z.core.$strip>>>>;
|
|
224
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
225
|
-
|
|
302
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
303
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
304
|
+
base: "base";
|
|
305
|
+
agent: "agent";
|
|
306
|
+
verified: "verified";
|
|
307
|
+
}>>;
|
|
226
308
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
227
309
|
free: "free";
|
|
228
310
|
gold: "gold";
|
|
229
311
|
}>>;
|
|
230
312
|
last_active: z.ZodOptional<z.ZodString>;
|
|
231
313
|
}, z.core.$strip>>>;
|
|
232
|
-
org_id: z.ZodOptional<z.
|
|
233
|
-
|
|
234
|
-
id: z.ZodOptional<z.ZodString>;
|
|
235
|
-
name: z.ZodOptional<z.ZodString>;
|
|
236
|
-
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
237
|
-
mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
238
|
-
size: z.ZodOptional<z.ZodString>;
|
|
239
|
-
email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
240
|
-
domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
241
|
-
urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
242
|
-
value: z.ZodString;
|
|
243
|
-
}, z.core.$strip>>>>>;
|
|
244
|
-
base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
245
|
-
admin: "admin";
|
|
246
|
-
read: "read";
|
|
247
|
-
write: "write";
|
|
248
|
-
none: "none";
|
|
249
|
-
}>>>;
|
|
250
|
-
}, z.core.$strip>>>;
|
|
251
|
-
team_id: z.ZodOptional<z.ZodString>;
|
|
314
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
315
|
+
team_id: z.ZodOptional<z.ZodUUID>;
|
|
252
316
|
team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
253
|
-
id: z.ZodOptional<z.
|
|
254
|
-
org_id: z.ZodOptional<z.
|
|
317
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
318
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
255
319
|
organization: z.ZodOptional<z.ZodObject<{
|
|
256
|
-
id: z.
|
|
320
|
+
id: z.ZodUUID;
|
|
257
321
|
name: z.ZodString;
|
|
322
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
258
323
|
avatar_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
259
324
|
mission: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
260
325
|
size: z.ZodString;
|
|
@@ -269,6 +334,19 @@ declare const CreateCommentSchema: z.ZodObject<{
|
|
|
269
334
|
write: "write";
|
|
270
335
|
none: "none";
|
|
271
336
|
}>>;
|
|
337
|
+
allow_external_members: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
338
|
+
allow_external_public_team_creation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
339
|
+
join_policy: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
340
|
+
actor_type_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
341
|
+
any: "any";
|
|
342
|
+
verified_only: "verified_only";
|
|
343
|
+
agents_only: "agents_only";
|
|
344
|
+
}>>>;
|
|
345
|
+
source_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
346
|
+
any: "any";
|
|
347
|
+
web_only: "web_only";
|
|
348
|
+
api_only: "api_only";
|
|
349
|
+
}>>>;
|
|
272
350
|
}, z.core.$strip>>;
|
|
273
351
|
name: z.ZodOptional<z.ZodString>;
|
|
274
352
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -282,14 +360,24 @@ declare const CreateCommentSchema: z.ZodObject<{
|
|
|
282
360
|
none: "none";
|
|
283
361
|
}>>;
|
|
284
362
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
285
|
-
organization: "organization";
|
|
286
363
|
public: "public";
|
|
287
364
|
private: "private";
|
|
365
|
+
organization: "organization";
|
|
288
366
|
monetized: "monetized";
|
|
289
367
|
inherit: "inherit";
|
|
290
368
|
}>>;
|
|
369
|
+
actor_type_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
370
|
+
any: "any";
|
|
371
|
+
verified_only: "verified_only";
|
|
372
|
+
agents_only: "agents_only";
|
|
373
|
+
}>>>>;
|
|
374
|
+
source_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
375
|
+
any: "any";
|
|
376
|
+
web_only: "web_only";
|
|
377
|
+
api_only: "api_only";
|
|
378
|
+
}>>>>;
|
|
291
379
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
292
|
-
user_id: z.
|
|
380
|
+
user_id: z.ZodUUID;
|
|
293
381
|
role: z.ZodEnum<{
|
|
294
382
|
admin: "admin";
|
|
295
383
|
read: "read";
|
|
@@ -299,7 +387,7 @@ declare const CreateCommentSchema: z.ZodObject<{
|
|
|
299
387
|
}, z.core.$strip>>>>;
|
|
300
388
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
301
389
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
302
|
-
user_id: z.
|
|
390
|
+
user_id: z.ZodUUID;
|
|
303
391
|
role: z.ZodEnum<{
|
|
304
392
|
admin: "admin";
|
|
305
393
|
read: "read";
|
|
@@ -317,8 +405,12 @@ declare const CreateCommentSchema: z.ZodObject<{
|
|
|
317
405
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
318
406
|
value: z.ZodString;
|
|
319
407
|
}, z.core.$strip>>>>;
|
|
320
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
321
|
-
|
|
408
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
409
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
410
|
+
base: "base";
|
|
411
|
+
agent: "agent";
|
|
412
|
+
verified: "verified";
|
|
413
|
+
}>>;
|
|
322
414
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
323
415
|
free: "free";
|
|
324
416
|
gold: "gold";
|
|
@@ -332,7 +424,7 @@ declare const CreateCommentSchema: z.ZodObject<{
|
|
|
332
424
|
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
333
425
|
text: z.ZodString;
|
|
334
426
|
}, z.core.$strip>>>>;
|
|
335
|
-
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
427
|
+
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
336
428
|
license_id: z.ZodOptional<z.ZodString>;
|
|
337
429
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
338
430
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -372,7 +464,275 @@ declare const CreateCommentSchema: z.ZodObject<{
|
|
|
372
464
|
name: z.ZodDefault<z.ZodString>;
|
|
373
465
|
created_at: z.ZodDefault<z.ZodString>;
|
|
374
466
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
375
|
-
}, z.core.$strip
|
|
467
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
468
|
+
asset_type: "comment";
|
|
469
|
+
id: string;
|
|
470
|
+
name: string;
|
|
471
|
+
created_at: string;
|
|
472
|
+
last_updated: string;
|
|
473
|
+
organization?: {
|
|
474
|
+
id?: string | undefined;
|
|
475
|
+
name?: string | undefined;
|
|
476
|
+
display_name?: string | null | undefined;
|
|
477
|
+
avatar_path?: string | null | undefined;
|
|
478
|
+
mission?: string | null | undefined;
|
|
479
|
+
size?: string | undefined;
|
|
480
|
+
email?: string | null | undefined;
|
|
481
|
+
domain?: string | null | undefined;
|
|
482
|
+
urls?: {
|
|
483
|
+
value: string;
|
|
484
|
+
}[] | null | undefined;
|
|
485
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
486
|
+
allow_external_members?: boolean | undefined;
|
|
487
|
+
allow_external_public_team_creation?: boolean | undefined;
|
|
488
|
+
join_policy?: string | undefined;
|
|
489
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
490
|
+
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
491
|
+
} | undefined;
|
|
492
|
+
parent?: Record<string, any> | undefined;
|
|
493
|
+
source?: "web" | "api" | undefined;
|
|
494
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
495
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
496
|
+
state?: "success" | "error" | "queued" | "in-progress" | undefined;
|
|
497
|
+
user?: {
|
|
498
|
+
id?: string | undefined;
|
|
499
|
+
user_id?: string | undefined;
|
|
500
|
+
username?: string | null | undefined;
|
|
501
|
+
name?: string | null | undefined;
|
|
502
|
+
avatar_path?: string | null | undefined;
|
|
503
|
+
bio?: string | null | undefined;
|
|
504
|
+
urls?: {
|
|
505
|
+
value: string;
|
|
506
|
+
}[] | undefined;
|
|
507
|
+
post_id?: string | null | undefined;
|
|
508
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
509
|
+
plan_type?: "free" | "gold" | undefined;
|
|
510
|
+
last_active?: string | undefined;
|
|
511
|
+
} | undefined;
|
|
512
|
+
org_id?: string | undefined;
|
|
513
|
+
team_id?: string | undefined;
|
|
514
|
+
team?: {
|
|
515
|
+
id?: string | undefined;
|
|
516
|
+
org_id?: string | undefined;
|
|
517
|
+
organization?: {
|
|
518
|
+
id: string;
|
|
519
|
+
name: string;
|
|
520
|
+
size: string;
|
|
521
|
+
base_role: "admin" | "read" | "write" | "none";
|
|
522
|
+
allow_external_members: boolean;
|
|
523
|
+
allow_external_public_team_creation: boolean;
|
|
524
|
+
join_policy: string;
|
|
525
|
+
actor_type_policy: "any" | "verified_only" | "agents_only";
|
|
526
|
+
source_policy: "any" | "web_only" | "api_only";
|
|
527
|
+
display_name?: string | null | undefined;
|
|
528
|
+
avatar_path?: string | null | undefined;
|
|
529
|
+
mission?: string | null | undefined;
|
|
530
|
+
email?: string | null | undefined;
|
|
531
|
+
domain?: string | null | undefined;
|
|
532
|
+
urls?: {
|
|
533
|
+
value: string;
|
|
534
|
+
}[] | null | undefined;
|
|
535
|
+
} | undefined;
|
|
536
|
+
name?: string | undefined;
|
|
537
|
+
description?: {
|
|
538
|
+
text: string;
|
|
539
|
+
json: Record<string, any>;
|
|
540
|
+
} | null | undefined;
|
|
541
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
542
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
543
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
544
|
+
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
545
|
+
userMembership?: {
|
|
546
|
+
user_id: string;
|
|
547
|
+
role: "admin" | "read" | "write" | "none";
|
|
548
|
+
} | null | undefined;
|
|
549
|
+
memberCount?: number | null | undefined;
|
|
550
|
+
members?: {
|
|
551
|
+
user_id: string;
|
|
552
|
+
role: "admin" | "read" | "write" | "none";
|
|
553
|
+
added_at: string;
|
|
554
|
+
user?: {
|
|
555
|
+
id?: string | undefined;
|
|
556
|
+
user_id?: string | undefined;
|
|
557
|
+
username?: string | null | undefined;
|
|
558
|
+
name?: string | null | undefined;
|
|
559
|
+
avatar_path?: string | null | undefined;
|
|
560
|
+
bio?: string | null | undefined;
|
|
561
|
+
urls?: {
|
|
562
|
+
value: string;
|
|
563
|
+
}[] | undefined;
|
|
564
|
+
post_id?: string | null | undefined;
|
|
565
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
566
|
+
plan_type?: "free" | "gold" | undefined;
|
|
567
|
+
last_active?: string | undefined;
|
|
568
|
+
} | null | undefined;
|
|
569
|
+
}[] | undefined;
|
|
570
|
+
created_at?: string | undefined;
|
|
571
|
+
} | undefined;
|
|
572
|
+
description?: {
|
|
573
|
+
json: Record<string, any>;
|
|
574
|
+
text: string;
|
|
575
|
+
} | null | undefined;
|
|
576
|
+
parent_id?: string | null | undefined;
|
|
577
|
+
license_id?: string | undefined;
|
|
578
|
+
license?: Record<string, any> | undefined;
|
|
579
|
+
name_url_slug?: string | null | undefined;
|
|
580
|
+
slug?: string | null | undefined;
|
|
581
|
+
price?: number | null | undefined;
|
|
582
|
+
unit_cost?: number | null | undefined;
|
|
583
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
584
|
+
cost_unit?: string | null | undefined;
|
|
585
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
586
|
+
stripe_product_id?: string | null | undefined;
|
|
587
|
+
stripe_price_id?: string | null | undefined;
|
|
588
|
+
stripe_meter_id?: string | null | undefined;
|
|
589
|
+
metadata?: {
|
|
590
|
+
originality: "original" | "derivative" | "third-party";
|
|
591
|
+
doi_url?: string | null | undefined;
|
|
592
|
+
external_url?: string | null | undefined;
|
|
593
|
+
paper_url?: string | null | undefined;
|
|
594
|
+
github_url?: string | null | undefined;
|
|
595
|
+
source?: string | null | undefined;
|
|
596
|
+
} | null | undefined;
|
|
597
|
+
preview?: {
|
|
598
|
+
type: string;
|
|
599
|
+
content: Record<string, any>[];
|
|
600
|
+
} | null | undefined;
|
|
601
|
+
}, {
|
|
602
|
+
asset_type: "comment";
|
|
603
|
+
id: string;
|
|
604
|
+
name: string;
|
|
605
|
+
created_at: string;
|
|
606
|
+
last_updated: string;
|
|
607
|
+
organization?: {
|
|
608
|
+
id?: string | undefined;
|
|
609
|
+
name?: string | undefined;
|
|
610
|
+
display_name?: string | null | undefined;
|
|
611
|
+
avatar_path?: string | null | undefined;
|
|
612
|
+
mission?: string | null | undefined;
|
|
613
|
+
size?: string | undefined;
|
|
614
|
+
email?: string | null | undefined;
|
|
615
|
+
domain?: string | null | undefined;
|
|
616
|
+
urls?: {
|
|
617
|
+
value: string;
|
|
618
|
+
}[] | null | undefined;
|
|
619
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
620
|
+
allow_external_members?: boolean | undefined;
|
|
621
|
+
allow_external_public_team_creation?: boolean | undefined;
|
|
622
|
+
join_policy?: string | undefined;
|
|
623
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
624
|
+
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
625
|
+
} | undefined;
|
|
626
|
+
parent?: Record<string, any> | undefined;
|
|
627
|
+
source?: "web" | "api" | undefined;
|
|
628
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
629
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
630
|
+
state?: "success" | "error" | "queued" | "in-progress" | undefined;
|
|
631
|
+
user?: {
|
|
632
|
+
id?: string | undefined;
|
|
633
|
+
user_id?: string | undefined;
|
|
634
|
+
username?: string | null | undefined;
|
|
635
|
+
name?: string | null | undefined;
|
|
636
|
+
avatar_path?: string | null | undefined;
|
|
637
|
+
bio?: string | null | undefined;
|
|
638
|
+
urls?: {
|
|
639
|
+
value: string;
|
|
640
|
+
}[] | undefined;
|
|
641
|
+
post_id?: string | null | undefined;
|
|
642
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
643
|
+
plan_type?: "free" | "gold" | undefined;
|
|
644
|
+
last_active?: string | undefined;
|
|
645
|
+
} | undefined;
|
|
646
|
+
org_id?: string | undefined;
|
|
647
|
+
team_id?: string | undefined;
|
|
648
|
+
team?: {
|
|
649
|
+
id?: string | undefined;
|
|
650
|
+
org_id?: string | undefined;
|
|
651
|
+
organization?: {
|
|
652
|
+
id: string;
|
|
653
|
+
name: string;
|
|
654
|
+
size: string;
|
|
655
|
+
base_role: "admin" | "read" | "write" | "none";
|
|
656
|
+
allow_external_members: boolean;
|
|
657
|
+
allow_external_public_team_creation: boolean;
|
|
658
|
+
join_policy: string;
|
|
659
|
+
actor_type_policy: "any" | "verified_only" | "agents_only";
|
|
660
|
+
source_policy: "any" | "web_only" | "api_only";
|
|
661
|
+
display_name?: string | null | undefined;
|
|
662
|
+
avatar_path?: string | null | undefined;
|
|
663
|
+
mission?: string | null | undefined;
|
|
664
|
+
email?: string | null | undefined;
|
|
665
|
+
domain?: string | null | undefined;
|
|
666
|
+
urls?: {
|
|
667
|
+
value: string;
|
|
668
|
+
}[] | null | undefined;
|
|
669
|
+
} | undefined;
|
|
670
|
+
name?: string | undefined;
|
|
671
|
+
description?: {
|
|
672
|
+
text: string;
|
|
673
|
+
json: Record<string, any>;
|
|
674
|
+
} | null | undefined;
|
|
675
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
676
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
677
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
678
|
+
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
679
|
+
userMembership?: {
|
|
680
|
+
user_id: string;
|
|
681
|
+
role: "admin" | "read" | "write" | "none";
|
|
682
|
+
} | null | undefined;
|
|
683
|
+
memberCount?: number | null | undefined;
|
|
684
|
+
members?: {
|
|
685
|
+
user_id: string;
|
|
686
|
+
role: "admin" | "read" | "write" | "none";
|
|
687
|
+
added_at: string;
|
|
688
|
+
user?: {
|
|
689
|
+
id?: string | undefined;
|
|
690
|
+
user_id?: string | undefined;
|
|
691
|
+
username?: string | null | undefined;
|
|
692
|
+
name?: string | null | undefined;
|
|
693
|
+
avatar_path?: string | null | undefined;
|
|
694
|
+
bio?: string | null | undefined;
|
|
695
|
+
urls?: {
|
|
696
|
+
value: string;
|
|
697
|
+
}[] | undefined;
|
|
698
|
+
post_id?: string | null | undefined;
|
|
699
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
700
|
+
plan_type?: "free" | "gold" | undefined;
|
|
701
|
+
last_active?: string | undefined;
|
|
702
|
+
} | null | undefined;
|
|
703
|
+
}[] | undefined;
|
|
704
|
+
created_at?: string | undefined;
|
|
705
|
+
} | undefined;
|
|
706
|
+
description?: {
|
|
707
|
+
json: Record<string, any>;
|
|
708
|
+
text: string;
|
|
709
|
+
} | null | undefined;
|
|
710
|
+
parent_id?: string | null | undefined;
|
|
711
|
+
license_id?: string | undefined;
|
|
712
|
+
license?: Record<string, any> | undefined;
|
|
713
|
+
name_url_slug?: string | null | undefined;
|
|
714
|
+
slug?: string | null | undefined;
|
|
715
|
+
price?: number | null | undefined;
|
|
716
|
+
unit_cost?: number | null | undefined;
|
|
717
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
718
|
+
cost_unit?: string | null | undefined;
|
|
719
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
720
|
+
stripe_product_id?: string | null | undefined;
|
|
721
|
+
stripe_price_id?: string | null | undefined;
|
|
722
|
+
stripe_meter_id?: string | null | undefined;
|
|
723
|
+
metadata?: {
|
|
724
|
+
originality: "original" | "derivative" | "third-party";
|
|
725
|
+
doi_url?: string | null | undefined;
|
|
726
|
+
external_url?: string | null | undefined;
|
|
727
|
+
paper_url?: string | null | undefined;
|
|
728
|
+
github_url?: string | null | undefined;
|
|
729
|
+
source?: string | null | undefined;
|
|
730
|
+
} | null | undefined;
|
|
731
|
+
preview?: {
|
|
732
|
+
type: string;
|
|
733
|
+
content: Record<string, any>[];
|
|
734
|
+
} | null | undefined;
|
|
735
|
+
}>>;
|
|
376
736
|
|
|
377
737
|
type Comment = z.infer<typeof CommentSchema>;
|
|
378
738
|
type CreateComment = z.infer<typeof CreateCommentSchema>;
|
package/dist/schema/comments.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as CommentSchema,b as CreateCommentSchema}from'../chunk-
|
|
1
|
+
export{a as CommentSchema,b as CreateCommentSchema}from'../chunk-BDFRHJD4.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=comments.js.map
|
|
2
2
|
//# sourceMappingURL=comments.js.map
|
package/dist/schema/common.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkMAHNRYUV_cjs=require('../chunk-MAHNRYUV.cjs');Object.defineProperty(exports,"AssetTypeSchema",{enumerable:true,get:function(){return chunkMAHNRYUV_cjs.a}});Object.defineProperty(exports,"ConnectionSchema",{enumerable:true,get:function(){return chunkMAHNRYUV_cjs.g}});Object.defineProperty(exports,"EmbeddingSchema",{enumerable:true,get:function(){return chunkMAHNRYUV_cjs.f}});Object.defineProperty(exports,"MonetizationSchema",{enumerable:true,get:function(){return chunkMAHNRYUV_cjs.d}});Object.defineProperty(exports,"PermissionSchema",{enumerable:true,get:function(){return chunkMAHNRYUV_cjs.i}});Object.defineProperty(exports,"PriceCurrencySchema",{enumerable:true,get:function(){return chunkMAHNRYUV_cjs.e}});Object.defineProperty(exports,"PurchaseAssetSchema",{enumerable:true,get:function(){return chunkMAHNRYUV_cjs.h}});Object.defineProperty(exports,"RoleSchema",{enumerable:true,get:function(){return chunkMAHNRYUV_cjs.c}});Object.defineProperty(exports,"SourceSchema",{enumerable:true,get:function(){return chunkMAHNRYUV_cjs.k}});Object.defineProperty(exports,"StatusSchema",{enumerable:true,get:function(){return chunkMAHNRYUV_cjs.j}});Object.defineProperty(exports,"VisibilitySchema",{enumerable:true,get:function(){return chunkMAHNRYUV_cjs.b}});//# sourceMappingURL=common.cjs.map
|
|
2
2
|
//# sourceMappingURL=common.cjs.map
|