@domino-sdk/relay 1.56.0 → 1.59.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/CHANGELOG.md +74 -0
- package/dist/{accounts-DRPENuZe.d.ts → accounts-CVonEkdb.d.ts} +18 -7
- package/dist/{attempt-captures-CxxO7DeD.d.ts → attempt-captures-DBj-rxak.d.ts} +1 -1
- package/dist/authoring.d.ts +180 -28
- package/dist/authoring.js +236 -11
- package/dist/{automatic-outcomes-DxW_v5Wc.d.ts → automatic-outcomes-FS9okvBP.d.ts} +1 -1
- package/dist/avatar.d.ts +1 -2
- package/dist/browser.d.ts +8 -9
- package/dist/browser.js +10 -10
- package/dist/{capability-error-DSd8EMQC.d.ts → capability-error-DDJl0LY-.d.ts} +0 -6
- package/dist/{chunk-OTITLABX.js → chunk-2LKGAL63.js} +2 -2
- package/dist/{chunk-NK6EER33.js → chunk-577DG2IT.js} +8 -8
- package/dist/{chunk-RBPMT53S.js → chunk-6U5WWH3W.js} +19 -4
- package/dist/{chunk-BHHUSBSD.js → chunk-AWWCEP7F.js} +1402 -881
- package/dist/{chunk-QNQNKIAA.js → chunk-EQF4ID47.js} +1 -1
- package/dist/{chunk-CK7HO32Z.js → chunk-IBROKMFV.js} +2 -2
- package/dist/{chunk-MNU6UPXY.js → chunk-KBCTII6C.js} +1 -1
- package/dist/{chunk-INSWI2VZ.js → chunk-KYUQEZZA.js} +1 -1
- package/dist/{chunk-G6XVBYH7.js → chunk-LDLOB2UZ.js} +4 -4
- package/dist/{chunk-CXKXPB7K.js → chunk-M2JQPDUX.js} +34 -9
- package/dist/{chunk-KBVH4XZC.js → chunk-R4S6BFOH.js} +1 -1
- package/dist/{chunk-ABJ4G47X.js → chunk-TZJT5CRF.js} +1 -1
- package/dist/{chunk-BJYMTCWG.js → chunk-UEMLYPKJ.js} +7 -4
- package/dist/{chunk-ULQU7KC4.js → chunk-W42KMMH5.js} +1 -5
- package/dist/{chunk-VSHV7FEA.js → chunk-XGXDINGM.js} +16 -3
- package/dist/{chunk-H2MD6E7Z.js → chunk-YMWRLAAP.js} +1 -1
- package/dist/{chunk-W5U2WXG3.js → chunk-YRSU2X2P.js} +2 -2
- package/dist/{client-bX3oTpRu.d.ts → client-3b9HjSzZ.d.ts} +115 -116
- package/dist/{deployments-D3lxfQMB.d.ts → deployments-BydFVj4Q.d.ts} +314 -175
- package/dist/{groups-DPE004_V.d.ts → groups-CFuTfFqG.d.ts} +11 -7
- package/dist/index.d.ts +9 -10
- package/dist/index.js +9 -9
- package/dist/{integrations-CcD5NPEA.d.ts → integrations-DrbKQSTD.d.ts} +3 -32
- package/dist/internal.d.ts +10 -10
- package/dist/internal.js +8 -8
- package/dist/{offers-CtzMeB7O.d.ts → offers-DAfe1O3_.d.ts} +6 -2
- package/dist/{pages-BlLqB8ZQ.d.ts → pages-ChDVLrgR.d.ts} +39 -10
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +71 -72
- package/dist/react/index.js +10 -10
- package/dist/runtime/authoring.js +1 -1
- package/dist/runtime/chunks/BG43KQ2T.js +1 -0
- package/dist/runtime/chunks/EWU4OKSY.js +62 -0
- package/dist/runtime/manifest.json +5 -5
- package/dist/runtime/schema.js +1 -1
- package/dist/runtime/zod.js +1 -1
- package/dist/{schema-C4m9RhCR.d.ts → schema-BA0nRRlt.d.ts} +184 -35
- package/dist/schema.d.ts +754 -432
- package/dist/schema.js +77 -13
- package/dist/server/index.d.ts +10 -10
- package/dist/server/index.js +434 -55
- package/dist/{submission-input-wTiYGdgA.d.ts → submission-input-DxQ6RnKo.d.ts} +2 -2
- package/dist/{telegram-browser-Bh3i0HiH.d.ts → telegram-browser-o3OIxGrJ.d.ts} +3 -3
- package/dist/testing.d.ts +89 -9
- package/dist/testing.js +215 -10
- package/dist/{transport-CnKA-_RL.d.ts → transport-D_Eqf78J.d.ts} +3997 -2030
- package/dist/wallet-B06zvDXp.d.ts +972 -0
- package/dist/{x-1czZFVUW.d.ts → x-C28SNifw.d.ts} +2 -2
- package/package.json +2 -2
- package/dist/profiles-BoOK03cR.d.ts +0 -299
- package/dist/runtime/chunks/IDOMZWRY.js +0 -40
- package/dist/runtime/chunks/NDB42VFF.js +0 -1
- package/dist/util.d-w9f9t3ua.d.ts +0 -5
- package/dist/wallet-Ac7OFpOr.d.ts +0 -228
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { z as PhotoResult } from './schema-BA0nRRlt.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Quest code names an image; the platform fetches, decodes and pins it. No bytes or URLs cross the
|
|
@@ -285,7 +285,7 @@ declare const xPostSchema: z.ZodObject<{
|
|
|
285
285
|
inReplyToUserId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
286
286
|
inReplyToStatusId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
287
287
|
retweetedTweetId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
288
|
-
media: z.ZodPipe<z.ZodUnknown
|
|
288
|
+
media: z.ZodPipe<z.ZodOptional<z.ZodUnknown>, z.ZodTransform<{
|
|
289
289
|
type: string;
|
|
290
290
|
url: string;
|
|
291
291
|
}[], unknown>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@domino-sdk/relay",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.59.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@dicebear/core": "9.4.3",
|
|
58
58
|
"@dicebear/shapes": "9.4.3",
|
|
59
59
|
"croner": "10.0.1",
|
|
60
|
-
"zod": "4.
|
|
60
|
+
"zod": "4.6.5"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"esbuild": ">=0.25.0 <1",
|
|
@@ -1,299 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod';
|
|
2
|
-
|
|
3
|
-
/** Who sees profiles: nobody but the member (`private`), signed-in members, or anyone. */
|
|
4
|
-
declare const profileVisibilitySchema: z.ZodEnum<{
|
|
5
|
-
public: "public";
|
|
6
|
-
private: "private";
|
|
7
|
-
participants: "participants";
|
|
8
|
-
}>;
|
|
9
|
-
type ProfileVisibility = z.infer<typeof profileVisibilitySchema>;
|
|
10
|
-
/** Connected accounts a member can take a picture from. */
|
|
11
|
-
declare const avatarProviderSchema: z.ZodEnum<{
|
|
12
|
-
discord: "discord";
|
|
13
|
-
google: "google";
|
|
14
|
-
x: "x";
|
|
15
|
-
}>;
|
|
16
|
-
type AvatarProvider = z.infer<typeof avatarProviderSchema>;
|
|
17
|
-
/**
|
|
18
|
-
* The accounts that can supply a default name and picture: public personas. Google and Apple
|
|
19
|
-
* accounts are usually a legal name and a personal photo, so they never do.
|
|
20
|
-
*/
|
|
21
|
-
declare const profileDefaultProviderSchema: z.ZodEnum<{
|
|
22
|
-
discord: "discord";
|
|
23
|
-
x: "x";
|
|
24
|
-
}>;
|
|
25
|
-
type ProfileDefaultProvider = z.infer<typeof profileDefaultProviderSchema>;
|
|
26
|
-
/**
|
|
27
|
-
* Where a profile's name and picture come from before the member chooses: the first of these
|
|
28
|
-
* accounts the member connected that has one, in order. Empty means generated values.
|
|
29
|
-
*/
|
|
30
|
-
declare const profileDefaultsSchema: z.ZodArray<z.ZodEnum<{
|
|
31
|
-
discord: "discord";
|
|
32
|
-
x: "x";
|
|
33
|
-
}>>;
|
|
34
|
-
type ProfileDefaults = z.infer<typeof profileDefaultsSchema>;
|
|
35
|
-
/**
|
|
36
|
-
* The seed of a generated avatar (`defaultAvatar`), the same one `relay.me.get()` returns: an HMAC
|
|
37
|
-
* of the member under the project's secret, so it reveals nothing about the member.
|
|
38
|
-
*/
|
|
39
|
-
declare const avatarSeedSchema: z.ZodString;
|
|
40
|
-
/**
|
|
41
|
-
* A profile's avatar: an uploaded picture, an account's picture, or a generated one. Every kind
|
|
42
|
-
* carries the generated avatar's `seed`, so a picture that fails to load falls back to the same
|
|
43
|
-
* generated avatar everywhere.
|
|
44
|
-
*/
|
|
45
|
-
declare const profileAvatarSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
46
|
-
source: z.ZodLiteral<"upload">;
|
|
47
|
-
url: z.ZodString;
|
|
48
|
-
seed: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
source: z.ZodLiteral<"account">;
|
|
51
|
-
provider: z.ZodEnum<{
|
|
52
|
-
discord: "discord";
|
|
53
|
-
google: "google";
|
|
54
|
-
x: "x";
|
|
55
|
-
}>;
|
|
56
|
-
url: z.ZodString;
|
|
57
|
-
seed: z.ZodString;
|
|
58
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
-
source: z.ZodLiteral<"generated">;
|
|
60
|
-
seed: z.ZodString;
|
|
61
|
-
}, z.core.$strip>], "source">;
|
|
62
|
-
type ProfileAvatar = z.infer<typeof profileAvatarSchema>;
|
|
63
|
-
/** What other participants see: the profile's public ID, its name and its avatar. */
|
|
64
|
-
declare const profileSummarySchema: z.ZodObject<{
|
|
65
|
-
id: z.ZodString;
|
|
66
|
-
name: z.ZodString;
|
|
67
|
-
avatar: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
68
|
-
source: z.ZodLiteral<"upload">;
|
|
69
|
-
url: z.ZodString;
|
|
70
|
-
seed: z.ZodString;
|
|
71
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
72
|
-
source: z.ZodLiteral<"account">;
|
|
73
|
-
provider: z.ZodEnum<{
|
|
74
|
-
discord: "discord";
|
|
75
|
-
google: "google";
|
|
76
|
-
x: "x";
|
|
77
|
-
}>;
|
|
78
|
-
url: z.ZodString;
|
|
79
|
-
seed: z.ZodString;
|
|
80
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
81
|
-
source: z.ZodLiteral<"generated">;
|
|
82
|
-
seed: z.ZodString;
|
|
83
|
-
}, z.core.$strip>], "source">;
|
|
84
|
-
}, z.core.$strip>;
|
|
85
|
-
type ProfileSummary = z.infer<typeof profileSummarySchema>;
|
|
86
|
-
/**
|
|
87
|
-
* A display name: NFC-normalized, whitespace collapsed and trimmed, 1 to 40 characters, with no
|
|
88
|
-
* control, zero-width or bidirectional formatting characters.
|
|
89
|
-
*/
|
|
90
|
-
declare const displayNameSchema: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
|
|
91
|
-
/**
|
|
92
|
-
* A change to the member's own profile; omitted fields stay. `displayName: null` and
|
|
93
|
-
* `avatar: null` return to the project's defaults (null also removes an uploaded picture).
|
|
94
|
-
* Upload a picture with `relay.profiles.uploadAvatar`.
|
|
95
|
-
*/
|
|
96
|
-
declare const profileUpdateSchema: z.ZodObject<{
|
|
97
|
-
displayName: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
|
|
98
|
-
avatar: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
99
|
-
source: z.ZodLiteral<"account">;
|
|
100
|
-
provider: z.ZodEnum<{
|
|
101
|
-
discord: "discord";
|
|
102
|
-
google: "google";
|
|
103
|
-
x: "x";
|
|
104
|
-
}>;
|
|
105
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
106
|
-
source: z.ZodLiteral<"generated">;
|
|
107
|
-
}, z.core.$strict>], "source">>>;
|
|
108
|
-
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
-
}, z.core.$strict>;
|
|
110
|
-
type ProfileUpdate = z.input<typeof profileUpdateSchema>;
|
|
111
|
-
/** The signed-in member's own profile, with what they chose and what they can choose from. */
|
|
112
|
-
declare const ownProfileSchema: z.ZodObject<{
|
|
113
|
-
id: z.ZodString;
|
|
114
|
-
name: z.ZodString;
|
|
115
|
-
avatar: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
116
|
-
source: z.ZodLiteral<"upload">;
|
|
117
|
-
url: z.ZodString;
|
|
118
|
-
seed: z.ZodString;
|
|
119
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
120
|
-
source: z.ZodLiteral<"account">;
|
|
121
|
-
provider: z.ZodEnum<{
|
|
122
|
-
discord: "discord";
|
|
123
|
-
google: "google";
|
|
124
|
-
x: "x";
|
|
125
|
-
}>;
|
|
126
|
-
url: z.ZodString;
|
|
127
|
-
seed: z.ZodString;
|
|
128
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
129
|
-
source: z.ZodLiteral<"generated">;
|
|
130
|
-
seed: z.ZodString;
|
|
131
|
-
}, z.core.$strip>], "source">;
|
|
132
|
-
displayName: z.ZodNullable<z.ZodString>;
|
|
133
|
-
avatarChoice: z.ZodEnum<{
|
|
134
|
-
default: "default";
|
|
135
|
-
account: "account";
|
|
136
|
-
upload: "upload";
|
|
137
|
-
generated: "generated";
|
|
138
|
-
}>;
|
|
139
|
-
avatarProvider: z.ZodNullable<z.ZodEnum<{
|
|
140
|
-
discord: "discord";
|
|
141
|
-
google: "google";
|
|
142
|
-
x: "x";
|
|
143
|
-
}>>;
|
|
144
|
-
hidden: z.ZodBoolean;
|
|
145
|
-
locked: z.ZodBoolean;
|
|
146
|
-
visibility: z.ZodEnum<{
|
|
147
|
-
public: "public";
|
|
148
|
-
private: "private";
|
|
149
|
-
participants: "participants";
|
|
150
|
-
}>;
|
|
151
|
-
options: z.ZodArray<z.ZodObject<{
|
|
152
|
-
provider: z.ZodEnum<{
|
|
153
|
-
discord: "discord";
|
|
154
|
-
google: "google";
|
|
155
|
-
x: "x";
|
|
156
|
-
}>;
|
|
157
|
-
name: z.ZodNullable<z.ZodString>;
|
|
158
|
-
givenName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
159
|
-
imageUrl: z.ZodNullable<z.ZodString>;
|
|
160
|
-
}, z.core.$strip>>;
|
|
161
|
-
}, z.core.$strip>;
|
|
162
|
-
/** @compat output */
|
|
163
|
-
type OwnProfile = z.infer<typeof ownProfileSchema>;
|
|
164
|
-
/** A page of a profile's quest completions: `limit` quests (default 20, at most 100) after `cursor`. */
|
|
165
|
-
declare const profileCompletionQuerySchema: z.ZodObject<{
|
|
166
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
167
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
168
|
-
}, z.core.$strict>;
|
|
169
|
-
type ProfileCompletionQuery = z.input<typeof profileCompletionQuerySchema>;
|
|
170
|
-
/** A quest the member completed, grouped over its completions. */
|
|
171
|
-
declare const profileCompletionSchema: z.ZodObject<{
|
|
172
|
-
quest: z.ZodString;
|
|
173
|
-
key: z.ZodOptional<z.ZodString>;
|
|
174
|
-
title: z.ZodString;
|
|
175
|
-
completions: z.ZodNumber;
|
|
176
|
-
lastCompletedAt: z.ZodNullable<z.ZodNumber>;
|
|
177
|
-
}, z.core.$strip>;
|
|
178
|
-
type ProfileCompletion = z.infer<typeof profileCompletionSchema>;
|
|
179
|
-
/**
|
|
180
|
-
* A profile's completions of the quests that show on profiles (`defineQuest({ profile: { visible:
|
|
181
|
-
* true } })`), most recently completed first. Pass `nextCursor` as `cursor` for the next page.
|
|
182
|
-
*/
|
|
183
|
-
declare const profileCompletionPageSchema: z.ZodObject<{
|
|
184
|
-
items: z.ZodArray<z.ZodObject<{
|
|
185
|
-
quest: z.ZodString;
|
|
186
|
-
key: z.ZodOptional<z.ZodString>;
|
|
187
|
-
title: z.ZodString;
|
|
188
|
-
completions: z.ZodNumber;
|
|
189
|
-
lastCompletedAt: z.ZodNullable<z.ZodNumber>;
|
|
190
|
-
}, z.core.$strip>>;
|
|
191
|
-
nextCursor: z.ZodNullable<z.ZodString>;
|
|
192
|
-
}, z.core.$strip>;
|
|
193
|
-
type ProfileCompletionPage = z.infer<typeof profileCompletionPageSchema>;
|
|
194
|
-
/** A profile's progress in one referral program: counts only, never codes or accounts. */
|
|
195
|
-
declare const profileReferralSchema: z.ZodObject<{
|
|
196
|
-
program: z.ZodString;
|
|
197
|
-
key: z.ZodOptional<z.ZodString>;
|
|
198
|
-
title: z.ZodString;
|
|
199
|
-
invited: z.ZodNumber;
|
|
200
|
-
qualified: z.ZodNumber;
|
|
201
|
-
milestones: z.ZodArray<z.ZodObject<{
|
|
202
|
-
id: z.ZodString;
|
|
203
|
-
count: z.ZodNumber;
|
|
204
|
-
reached: z.ZodBoolean;
|
|
205
|
-
}, z.core.$strip>>;
|
|
206
|
-
}, z.core.$strip>;
|
|
207
|
-
type ProfileReferral = z.infer<typeof profileReferralSchema>;
|
|
208
|
-
/** A project's profile settings in one environment. */
|
|
209
|
-
declare const profileSettingsSchema: z.ZodObject<{
|
|
210
|
-
visibility: z.ZodEnum<{
|
|
211
|
-
public: "public";
|
|
212
|
-
private: "private";
|
|
213
|
-
participants: "participants";
|
|
214
|
-
}>;
|
|
215
|
-
defaults: z.ZodArray<z.ZodEnum<{
|
|
216
|
-
discord: "discord";
|
|
217
|
-
x: "x";
|
|
218
|
-
}>>;
|
|
219
|
-
revision: z.ZodNumber;
|
|
220
|
-
actor: z.ZodNullable<z.ZodString>;
|
|
221
|
-
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
222
|
-
}, z.core.$strip>;
|
|
223
|
-
type ProfileSettings = z.infer<typeof profileSettingsSchema>;
|
|
224
|
-
declare const profileSettingsInputSchema: z.ZodObject<{
|
|
225
|
-
visibility: z.ZodEnum<{
|
|
226
|
-
public: "public";
|
|
227
|
-
private: "private";
|
|
228
|
-
participants: "participants";
|
|
229
|
-
}>;
|
|
230
|
-
defaults: z.ZodArray<z.ZodEnum<{
|
|
231
|
-
discord: "discord";
|
|
232
|
-
x: "x";
|
|
233
|
-
}>>;
|
|
234
|
-
actionId: z.ZodString;
|
|
235
|
-
expectedRevision: z.ZodNumber;
|
|
236
|
-
reason: z.ZodString;
|
|
237
|
-
}, z.core.$strict>;
|
|
238
|
-
type ProfileSettingsInput = z.input<typeof profileSettingsInputSchema>;
|
|
239
|
-
/** An operator's change to a member's profile. Every action is audited with its reason. */
|
|
240
|
-
declare const profileModerationSchema: z.ZodObject<{
|
|
241
|
-
actionId: z.ZodString;
|
|
242
|
-
resetName: z.ZodDefault<z.ZodBoolean>;
|
|
243
|
-
removeAvatar: z.ZodDefault<z.ZodBoolean>;
|
|
244
|
-
lock: z.ZodOptional<z.ZodBoolean>;
|
|
245
|
-
reason: z.ZodString;
|
|
246
|
-
}, z.core.$strict>;
|
|
247
|
-
type ProfileModeration = z.input<typeof profileModerationSchema>;
|
|
248
|
-
/** A member's profile as operators see it: always, whatever the settings. */
|
|
249
|
-
declare const managedProfileSchema: z.ZodObject<{
|
|
250
|
-
name: z.ZodString;
|
|
251
|
-
id: z.ZodString;
|
|
252
|
-
displayName: z.ZodNullable<z.ZodString>;
|
|
253
|
-
hidden: z.ZodBoolean;
|
|
254
|
-
visibility: z.ZodEnum<{
|
|
255
|
-
public: "public";
|
|
256
|
-
private: "private";
|
|
257
|
-
participants: "participants";
|
|
258
|
-
}>;
|
|
259
|
-
locked: z.ZodBoolean;
|
|
260
|
-
avatar: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
261
|
-
source: z.ZodLiteral<"upload">;
|
|
262
|
-
url: z.ZodString;
|
|
263
|
-
seed: z.ZodString;
|
|
264
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
265
|
-
source: z.ZodLiteral<"account">;
|
|
266
|
-
provider: z.ZodEnum<{
|
|
267
|
-
discord: "discord";
|
|
268
|
-
google: "google";
|
|
269
|
-
x: "x";
|
|
270
|
-
}>;
|
|
271
|
-
url: z.ZodString;
|
|
272
|
-
seed: z.ZodString;
|
|
273
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
274
|
-
source: z.ZodLiteral<"generated">;
|
|
275
|
-
seed: z.ZodString;
|
|
276
|
-
}, z.core.$strip>], "source">;
|
|
277
|
-
avatarChoice: z.ZodEnum<{
|
|
278
|
-
default: "default";
|
|
279
|
-
account: "account";
|
|
280
|
-
upload: "upload";
|
|
281
|
-
generated: "generated";
|
|
282
|
-
}>;
|
|
283
|
-
avatarProvider: z.ZodNullable<z.ZodEnum<{
|
|
284
|
-
discord: "discord";
|
|
285
|
-
google: "google";
|
|
286
|
-
x: "x";
|
|
287
|
-
}>>;
|
|
288
|
-
member: z.ZodString;
|
|
289
|
-
lockedAt: z.ZodNullable<z.ZodNumber>;
|
|
290
|
-
lockedBy: z.ZodNullable<z.ZodString>;
|
|
291
|
-
lockedReason: z.ZodNullable<z.ZodString>;
|
|
292
|
-
updatedAt: z.ZodNumber;
|
|
293
|
-
}, z.core.$strip>;
|
|
294
|
-
type ManagedProfile = z.infer<typeof managedProfileSchema>;
|
|
295
|
-
/** The largest avatar upload, and the types an upload can have. */
|
|
296
|
-
declare const AVATAR_UPLOAD_LIMIT: number;
|
|
297
|
-
declare const avatarUploadTypes: string[];
|
|
298
|
-
|
|
299
|
-
export { type AvatarProvider as A, profileModerationSchema as B, profileReferralSchema as C, profileSettingsInputSchema as D, profileSettingsSchema as E, profileSummarySchema as F, profileVisibilitySchema as G, type ManagedProfile as M, type OwnProfile as O, type ProfileAvatar as P, type ProfileCompletion as a, type ProfileCompletionPage as b, type ProfileCompletionQuery as c, type ProfileReferral as d, type ProfileSummary as e, type ProfileUpdate as f, type ProfileVisibility as g, AVATAR_UPLOAD_LIMIT as h, type ProfileDefaultProvider as i, type ProfileDefaults as j, type ProfileModeration as k, type ProfileSettings as l, type ProfileSettingsInput as m, avatarProviderSchema as n, avatarSeedSchema as o, profileUpdateSchema as p, avatarUploadTypes as q, displayNameSchema as r, managedProfileSchema as s, ownProfileSchema as t, profileAvatarSchema as u, profileCompletionPageSchema as v, profileCompletionQuerySchema as w, profileCompletionSchema as x, profileDefaultProviderSchema as y, profileDefaultsSchema as z };
|