@domino-sdk/relay 1.0.0-next.8 → 1.0.0-next.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- export { C as ClaimSubmission, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, l as RequestError, m as RequestErrorDetails, n as RequestErrorKind, o as RequestRecovery, S as SubmissionDraft, p as SubmissionStatus, q as SubmissionStore, V as ValueSubmission, r as createRelayClient, s as isRelayError, t as isRequestError } from './client-CK4nwt7V.js';
1
+ export { C as ClaimSubmission, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, l as RequestError, m as RequestErrorDetails, n as RequestErrorKind, o as RequestRecovery, S as SubmissionDraft, p as SubmissionStatus, q as SubmissionStore, V as ValueSubmission, r as createRelayClient, s as isRelayError, t as isRequestError } from './client-CT4-S5vc.js';
2
2
  export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
3
- export { A as AccountConnection, a as AuthProvider, L as LeaderboardDefinition, b as LeaderboardPage, c as LeaderboardPlacement, d as LeaderboardQuery, R as ReferralDefinition, T as TextEvidence, e as TextOptions, U as UrlEvidence, f as UrlOptions, V as ValueEvidence } from './submission-input-C9qm9ixd.js';
4
- export { E as ExchangeInput, M as MemberSummary, P as Page, a as PageQuery, b as ParticipantPrincipal, c as ParticipantSession, Q as QuestInteraction, d as QuestRewardView, e as QuestView, S as Session, s as sessionMember } from './pages-BzqJuI69.js';
3
+ export { A as AccountConnection, a as AuthProvider, L as LeaderboardDefinition, b as LeaderboardPage, c as LeaderboardPlacement, d as LeaderboardQuery, R as ReferralDefinition, T as TextEvidence, e as TextOptions, U as UrlEvidence, f as UrlOptions, V as ValueEvidence } from './submission-input-0OOGaq8c.js';
4
+ export { E as ExchangeInput, M as MemberSummary, P as Page, a as PageQuery, b as ParticipantPrincipal, c as ParticipantSession, Q as QuestInteraction, d as QuestRewardView, e as QuestView, S as Session, s as sessionMember } from './pages-D3titw5B.js';
5
5
  export { C as CollectionPass } from './collection-BGneJ6Bk.js';
6
6
  export { P as PointLedgerReference } from './point-ledgers-iS00Z_v0.js';
7
7
  export { A as AvatarProvider, O as OwnProfile, P as ProfileAvatar, a as ProfileCompletion, b as ProfileCompletionPage, c as ProfileCompletionQuery, d as ProfileReferral, e as ProfileSummary, f as ProfileUpdate, g as ProfileVisibility } from './profiles-DDMFBRKe.js';
8
8
  export { Q as QuizContent, S as StreakProgress } from './streaks-CwGReWGt.js';
9
- export { A as Attempt, E as Entitlement, M as MemberProgress, Q as QuestPresentation, a as QuestProfile, b as QuizEvidence, R as Reward, S as SubmissionEvidence, c as SubmitInput, T as TieredRewardReference } from './schema-pnuWqvGn.js';
9
+ export { A as Attempt, E as Entitlement, M as MemberProgress, Q as QuestPresentation, a as QuestProfile, b as QuizEvidence, R as Reward, S as SubmissionEvidence, c as SubmitInput, T as TieredRewardReference } from './schema-Di3aLSiK.js';
10
10
  export { C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, W as WalletAddressInput, b as WalletChain, c as WalletMessageChallenge, d as WalletSignInNetwork, e as WalletSignature, f as WalletSigner, g as WalletUnlinkInput } from './wallet-BGOfFkG9.js';
11
11
  import 'zod';
package/dist/index.js CHANGED
@@ -5,19 +5,19 @@ import {
5
5
  import {
6
6
  QuestUpdatedError,
7
7
  createRelayClient
8
- } from "./chunk-V5R2DMGY.js";
9
- import "./chunk-MRIURJE3.js";
8
+ } from "./chunk-X2F2RAR3.js";
9
+ import "./chunk-QR7ZA2BJ.js";
10
10
  import {
11
11
  RelayError,
12
12
  RelayErrorCode,
13
13
  RequestError,
14
14
  isRelayError,
15
15
  isRequestError
16
- } from "./chunk-V7EZUZ3Z.js";
16
+ } from "./chunk-PHU5VDLR.js";
17
17
  import {
18
18
  sessionMember
19
- } from "./chunk-QBOHLT7M.js";
20
- import "./chunk-VARGF4JS.js";
19
+ } from "./chunk-7Q4BGGT6.js";
20
+ import "./chunk-YYD4QUBO.js";
21
21
  export {
22
22
  QuestUpdatedError,
23
23
  RelayError,
@@ -0,0 +1,410 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const resourceSourceSchema: z.ZodUnion<readonly [z.ZodObject<{
4
+ provider: z.ZodLiteral<"domino">;
5
+ resource: z.ZodLiteral<"point-ledger">;
6
+ }, z.core.$strict>, z.ZodObject<{
7
+ provider: z.ZodLiteral<"discord">;
8
+ resource: z.ZodLiteral<"channel">;
9
+ types: z.ZodArray<z.ZodEnum<{
10
+ text: "text";
11
+ announcement: "announcement";
12
+ }>>;
13
+ }, z.core.$strict>, z.ZodObject<{
14
+ provider: z.ZodLiteral<"discord">;
15
+ resource: z.ZodLiteral<"role">;
16
+ assignable: z.ZodDefault<z.ZodBoolean>;
17
+ }, z.core.$strict>]>;
18
+ type ResourceSource = z.infer<typeof resourceSourceSchema>;
19
+ declare const resourceRequestSchema: z.ZodObject<{
20
+ source: z.ZodUnion<readonly [z.ZodObject<{
21
+ provider: z.ZodLiteral<"domino">;
22
+ resource: z.ZodLiteral<"point-ledger">;
23
+ }, z.core.$strict>, z.ZodObject<{
24
+ provider: z.ZodLiteral<"discord">;
25
+ resource: z.ZodLiteral<"channel">;
26
+ types: z.ZodArray<z.ZodEnum<{
27
+ text: "text";
28
+ announcement: "announcement";
29
+ }>>;
30
+ }, z.core.$strict>, z.ZodObject<{
31
+ provider: z.ZodLiteral<"discord">;
32
+ resource: z.ZodLiteral<"role">;
33
+ assignable: z.ZodDefault<z.ZodBoolean>;
34
+ }, z.core.$strict>]>;
35
+ query: z.ZodOptional<z.ZodString>;
36
+ cursor: z.ZodOptional<z.ZodString>;
37
+ ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
38
+ }, z.core.$strict>;
39
+ declare const resourceOptionsSchema: z.ZodObject<{
40
+ revision: z.ZodNumber;
41
+ options: z.ZodArray<z.ZodObject<{
42
+ id: z.ZodString;
43
+ label: z.ZodString;
44
+ description: z.ZodOptional<z.ZodString>;
45
+ group: z.ZodOptional<z.ZodString>;
46
+ disabledReason: z.ZodOptional<z.ZodString>;
47
+ }, z.core.$strip>>;
48
+ cursor: z.ZodNullable<z.ZodString>;
49
+ }, z.core.$strip>;
50
+ type ResourceOption = z.infer<typeof resourceOptionsSchema>["options"][number];
51
+
52
+ declare const settingFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
53
+ kind: z.ZodLiteral<"point-ledger">;
54
+ default: z.ZodString;
55
+ label: z.ZodString;
56
+ description: z.ZodOptional<z.ZodString>;
57
+ }, z.core.$strict>, z.ZodObject<{
58
+ kind: z.ZodLiteral<"datetime">;
59
+ default: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
60
+ label: z.ZodString;
61
+ description: z.ZodOptional<z.ZodString>;
62
+ }, z.core.$strict>, z.ZodObject<{
63
+ kind: z.ZodLiteral<"resource">;
64
+ default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
65
+ source: z.ZodUnion<readonly [z.ZodObject<{
66
+ provider: z.ZodLiteral<"domino">;
67
+ resource: z.ZodLiteral<"point-ledger">;
68
+ }, z.core.$strict>, z.ZodObject<{
69
+ provider: z.ZodLiteral<"discord">;
70
+ resource: z.ZodLiteral<"channel">;
71
+ types: z.ZodArray<z.ZodEnum<{
72
+ text: "text";
73
+ announcement: "announcement";
74
+ }>>;
75
+ }, z.core.$strict>, z.ZodObject<{
76
+ provider: z.ZodLiteral<"discord">;
77
+ resource: z.ZodLiteral<"role">;
78
+ assignable: z.ZodDefault<z.ZodBoolean>;
79
+ }, z.core.$strict>]>;
80
+ label: z.ZodString;
81
+ description: z.ZodOptional<z.ZodString>;
82
+ }, z.core.$strict>, z.ZodObject<{
83
+ kind: z.ZodLiteral<"quiz">;
84
+ default: z.ZodArray<z.ZodObject<{
85
+ id: z.ZodString;
86
+ prompt: z.ZodString;
87
+ choices: z.ZodArray<z.ZodObject<{
88
+ id: z.ZodString;
89
+ label: z.ZodString;
90
+ }, z.core.$strict>>;
91
+ correct: z.ZodString;
92
+ }, z.core.$strict>>;
93
+ label: z.ZodString;
94
+ description: z.ZodOptional<z.ZodString>;
95
+ }, z.core.$strict>, z.ZodObject<{
96
+ kind: z.ZodLiteral<"text">;
97
+ default: z.ZodString;
98
+ minLength: z.ZodNumber;
99
+ maxLength: z.ZodNumber;
100
+ multiline: z.ZodBoolean;
101
+ label: z.ZodString;
102
+ description: z.ZodOptional<z.ZodString>;
103
+ }, z.core.$strict>, z.ZodObject<{
104
+ kind: z.ZodLiteral<"integer">;
105
+ default: z.ZodNumber;
106
+ min: z.ZodNumber;
107
+ max: z.ZodNumber;
108
+ label: z.ZodString;
109
+ description: z.ZodOptional<z.ZodString>;
110
+ }, z.core.$strict>, z.ZodObject<{
111
+ kind: z.ZodLiteral<"boolean">;
112
+ default: z.ZodBoolean;
113
+ label: z.ZodString;
114
+ description: z.ZodOptional<z.ZodString>;
115
+ }, z.core.$strict>, z.ZodObject<{
116
+ kind: z.ZodLiteral<"choice">;
117
+ default: z.ZodString;
118
+ options: z.ZodArray<z.ZodString>;
119
+ label: z.ZodString;
120
+ description: z.ZodOptional<z.ZodString>;
121
+ }, z.core.$strict>], "kind">;
122
+ type SettingField = z.infer<typeof settingFieldSchema>;
123
+ declare const settingsFieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
124
+ kind: z.ZodLiteral<"point-ledger">;
125
+ default: z.ZodString;
126
+ label: z.ZodString;
127
+ description: z.ZodOptional<z.ZodString>;
128
+ }, z.core.$strict>, z.ZodObject<{
129
+ kind: z.ZodLiteral<"datetime">;
130
+ default: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
131
+ label: z.ZodString;
132
+ description: z.ZodOptional<z.ZodString>;
133
+ }, z.core.$strict>, z.ZodObject<{
134
+ kind: z.ZodLiteral<"resource">;
135
+ default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
136
+ source: z.ZodUnion<readonly [z.ZodObject<{
137
+ provider: z.ZodLiteral<"domino">;
138
+ resource: z.ZodLiteral<"point-ledger">;
139
+ }, z.core.$strict>, z.ZodObject<{
140
+ provider: z.ZodLiteral<"discord">;
141
+ resource: z.ZodLiteral<"channel">;
142
+ types: z.ZodArray<z.ZodEnum<{
143
+ text: "text";
144
+ announcement: "announcement";
145
+ }>>;
146
+ }, z.core.$strict>, z.ZodObject<{
147
+ provider: z.ZodLiteral<"discord">;
148
+ resource: z.ZodLiteral<"role">;
149
+ assignable: z.ZodDefault<z.ZodBoolean>;
150
+ }, z.core.$strict>]>;
151
+ label: z.ZodString;
152
+ description: z.ZodOptional<z.ZodString>;
153
+ }, z.core.$strict>, z.ZodObject<{
154
+ kind: z.ZodLiteral<"quiz">;
155
+ default: z.ZodArray<z.ZodObject<{
156
+ id: z.ZodString;
157
+ prompt: z.ZodString;
158
+ choices: z.ZodArray<z.ZodObject<{
159
+ id: z.ZodString;
160
+ label: z.ZodString;
161
+ }, z.core.$strict>>;
162
+ correct: z.ZodString;
163
+ }, z.core.$strict>>;
164
+ label: z.ZodString;
165
+ description: z.ZodOptional<z.ZodString>;
166
+ }, z.core.$strict>, z.ZodObject<{
167
+ kind: z.ZodLiteral<"text">;
168
+ default: z.ZodString;
169
+ minLength: z.ZodNumber;
170
+ maxLength: z.ZodNumber;
171
+ multiline: z.ZodBoolean;
172
+ label: z.ZodString;
173
+ description: z.ZodOptional<z.ZodString>;
174
+ }, z.core.$strict>, z.ZodObject<{
175
+ kind: z.ZodLiteral<"integer">;
176
+ default: z.ZodNumber;
177
+ min: z.ZodNumber;
178
+ max: z.ZodNumber;
179
+ label: z.ZodString;
180
+ description: z.ZodOptional<z.ZodString>;
181
+ }, z.core.$strict>, z.ZodObject<{
182
+ kind: z.ZodLiteral<"boolean">;
183
+ default: z.ZodBoolean;
184
+ label: z.ZodString;
185
+ description: z.ZodOptional<z.ZodString>;
186
+ }, z.core.$strict>, z.ZodObject<{
187
+ kind: z.ZodLiteral<"choice">;
188
+ default: z.ZodString;
189
+ options: z.ZodArray<z.ZodString>;
190
+ label: z.ZodString;
191
+ description: z.ZodOptional<z.ZodString>;
192
+ }, z.core.$strict>], "kind">>;
193
+ declare const settingsValuesSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodObject<{
194
+ id: z.ZodString;
195
+ prompt: z.ZodString;
196
+ choices: z.ZodArray<z.ZodObject<{
197
+ id: z.ZodString;
198
+ label: z.ZodString;
199
+ }, z.core.$strict>>;
200
+ correct: z.ZodString;
201
+ }, z.core.$strict>>]>>;
202
+ type SettingsValues = z.infer<typeof settingsValuesSchema>;
203
+ /** Type-only marker of the builder that made a setting. It never exists at runtime. */
204
+ declare const settingKind: unique symbol;
205
+ /**
206
+ * A quest setting made by a `settings.*` builder, which records the field Console edits in the
207
+ * schema's metadata. Plain zod schemas are not settings.
208
+ */
209
+ type Setting<K extends SettingField["kind"] = SettingField["kind"], S extends z.ZodType = z.ZodType> = S & {
210
+ readonly [settingKind]: K;
211
+ };
212
+ /** The names of a settings shape's integer settings. */
213
+ type IntegerSettings<T> = {
214
+ [K in keyof T]: T[K] extends Setting<"integer"> ? K : never;
215
+ }[keyof T] & string;
216
+ declare function parseSettings(fields: Record<string, SettingField>, input: unknown): SettingsValues;
217
+ declare function missingResourceSettings(fields: Record<string, SettingField>, values: SettingsValues): string[];
218
+ declare function compatibleSettingKinds(previous: SettingField, next: SettingField): boolean;
219
+
220
+ declare const xIdSchema: z.ZodString;
221
+ declare const xConnectionSchema: z.ZodObject<{
222
+ userId: z.ZodString;
223
+ }, z.core.$strip>;
224
+ declare const xProfileSchema: z.ZodObject<{
225
+ id: z.ZodString;
226
+ username: z.ZodString;
227
+ name: z.ZodString;
228
+ bio: z.ZodNullable<z.ZodString>;
229
+ profileImageUrl: z.ZodNullable<z.ZodString>;
230
+ followersCount: z.ZodNullable<z.ZodNumber>;
231
+ verified: z.ZodNullable<z.ZodBoolean>;
232
+ }, z.core.$strip>;
233
+ declare const xPostSchema: z.ZodObject<{
234
+ id: z.ZodString;
235
+ userId: z.ZodString;
236
+ content: z.ZodString;
237
+ createdAt: z.ZodISODateTime;
238
+ author: z.ZodObject<{
239
+ id: z.ZodString;
240
+ username: z.ZodString;
241
+ name: z.ZodString;
242
+ verified: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
243
+ }, z.core.$loose>;
244
+ likeCount: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
245
+ replyCount: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
246
+ retweetCount: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
247
+ quoteCount: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
248
+ viewCount: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
249
+ bookmarkCount: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
250
+ isReply: z.ZodBoolean;
251
+ isRetweet: z.ZodBoolean;
252
+ isQuoteTweet: z.ZodBoolean;
253
+ quotedTweetId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
254
+ inReplyToUserId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
255
+ inReplyToStatusId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
256
+ retweetedTweetId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
257
+ media: z.ZodPipe<z.ZodUnknown, z.ZodTransform<{
258
+ type: string;
259
+ url: string;
260
+ }[], unknown>>;
261
+ }, z.core.$loose>;
262
+ declare const xRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
263
+ operation: z.ZodLiteral<"connection">;
264
+ }, z.core.$strict>, z.ZodObject<{
265
+ operation: z.ZodLiteral<"profile">;
266
+ }, z.core.$strict>, z.ZodObject<{
267
+ operation: z.ZodLiteral<"post">;
268
+ postId: z.ZodString;
269
+ }, z.core.$strict>, z.ZodObject<{
270
+ operation: z.ZodLiteral<"follows">;
271
+ userId: z.ZodString;
272
+ }, z.core.$strict>, z.ZodObject<{
273
+ operation: z.ZodLiteral<"reposted">;
274
+ postId: z.ZodString;
275
+ }, z.core.$strict>], "operation">;
276
+ type XConnection = z.infer<typeof xConnectionSchema>;
277
+ type XProfile = z.infer<typeof xProfileSchema>;
278
+ type XPost = z.infer<typeof xPostSchema>;
279
+ interface XReader {
280
+ connection(): Promise<XConnection | null>;
281
+ profile(): Promise<XProfile>;
282
+ post(input: {
283
+ postId: string;
284
+ }): Promise<XPost>;
285
+ follows(input: {
286
+ userId: string;
287
+ }): Promise<boolean>;
288
+ reposted(input: {
289
+ postId: string;
290
+ }): Promise<boolean>;
291
+ }
292
+
293
+ declare const observationInputSchema: z.ZodObject<{
294
+ id: z.ZodString;
295
+ source: z.ZodString;
296
+ type: z.ZodString;
297
+ member: z.ZodString;
298
+ actor: z.ZodOptional<z.ZodObject<{
299
+ provider: z.ZodString;
300
+ subject: z.ZodString;
301
+ }, z.core.$strict>>;
302
+ occurredAt: z.ZodNumber;
303
+ data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
304
+ }, z.core.$strict>;
305
+ declare const observationSchema: z.ZodObject<{
306
+ id: z.ZodString;
307
+ source: z.ZodString;
308
+ type: z.ZodString;
309
+ member: z.ZodString;
310
+ actor: z.ZodOptional<z.ZodObject<{
311
+ provider: z.ZodString;
312
+ subject: z.ZodString;
313
+ }, z.core.$strict>>;
314
+ occurredAt: z.ZodNumber;
315
+ data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
316
+ receivedAt: z.ZodNumber;
317
+ }, z.core.$strict>;
318
+ type Observation = z.infer<typeof observationSchema>;
319
+ declare const observationTriggerSchema: z.ZodObject<{
320
+ source: z.ZodString;
321
+ type: z.ZodString;
322
+ }, z.core.$strict>;
323
+ declare const completionPolicySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
324
+ kind: z.ZodLiteral<"streak">;
325
+ days: z.ZodNumber;
326
+ timeZone: z.ZodString;
327
+ }, z.core.$strict>, z.ZodObject<{
328
+ kind: z.ZodLiteral<"once">;
329
+ }, z.core.$strict>, z.ZodObject<{
330
+ kind: z.ZodLiteral<"keyed">;
331
+ }, z.core.$strict>], "kind">;
332
+ declare const completionKeySchema: z.ZodString;
333
+ declare const budgetSchema: z.ZodObject<{
334
+ id: z.ZodString;
335
+ scope: z.ZodEnum<{
336
+ member: "member";
337
+ project: "project";
338
+ }>;
339
+ period: z.ZodEnum<{
340
+ day: "day";
341
+ lifetime: "lifetime";
342
+ week: "week";
343
+ }>;
344
+ limit: z.ZodNumber;
345
+ cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
346
+ balance: z.ZodString;
347
+ }, z.core.$strict>]>;
348
+ }, z.core.$strict>;
349
+ type Budget = z.infer<typeof budgetSchema>;
350
+ declare const observationReceiptSchema: z.ZodObject<{
351
+ id: z.ZodString;
352
+ source: z.ZodString;
353
+ attempts: z.ZodArray<z.ZodString>;
354
+ receivedAt: z.ZodNumber;
355
+ }, z.core.$strip>;
356
+ declare const discordReactionSchema: z.ZodObject<{
357
+ guildId: z.ZodString;
358
+ channelId: z.ZodString;
359
+ messageId: z.ZodString;
360
+ userId: z.ZodString;
361
+ messageAuthorId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
362
+ actorRoles: z.ZodDefault<z.ZodArray<z.ZodString>>;
363
+ emoji: z.ZodObject<{
364
+ id: z.ZodNullable<z.ZodString>;
365
+ name: z.ZodString;
366
+ }, z.core.$strip>;
367
+ messagePublishedAt: z.ZodNumber;
368
+ }, z.core.$strict>;
369
+ declare const discordMessageSchema: z.ZodObject<{
370
+ guildId: z.ZodString;
371
+ channelId: z.ZodString;
372
+ messageId: z.ZodString;
373
+ userId: z.ZodString;
374
+ content: z.ZodNullable<z.ZodString>;
375
+ replyTo: z.ZodNullable<z.ZodString>;
376
+ publishedAt: z.ZodNumber;
377
+ }, z.core.$strict>;
378
+ type DiscordMessage = z.infer<typeof discordMessageSchema>;
379
+
380
+ declare const integrationProviderSchema: z.ZodEnum<{
381
+ discord: "discord";
382
+ }>;
383
+ type IntegrationProvider = z.infer<typeof integrationProviderSchema>;
384
+ declare const discordServerSchema: z.ZodObject<{
385
+ id: z.ZodString;
386
+ name: z.ZodString;
387
+ icon: z.ZodNullable<z.ZodString>;
388
+ }, z.core.$strip>;
389
+ declare const projectIntegrationSchema: z.ZodObject<{
390
+ provider: z.ZodEnum<{
391
+ discord: "discord";
392
+ }>;
393
+ configured: z.ZodBoolean;
394
+ status: z.ZodEnum<{
395
+ disconnected: "disconnected";
396
+ ready: "ready";
397
+ attention: "attention";
398
+ }>;
399
+ revision: z.ZodNumber;
400
+ server: z.ZodNullable<z.ZodObject<{
401
+ id: z.ZodString;
402
+ name: z.ZodString;
403
+ icon: z.ZodNullable<z.ZodString>;
404
+ }, z.core.$strip>>;
405
+ issue: z.ZodNullable<z.ZodString>;
406
+ connectedAt: z.ZodDefault<z.ZodNumber>;
407
+ }, z.core.$strip>;
408
+ type ProjectIntegration = z.infer<typeof projectIntegrationSchema>;
409
+
410
+ export { settingsFieldsSchema as A, type Budget as B, settingsValuesSchema as C, type DiscordMessage as D, xConnectionSchema as E, xIdSchema as F, xPostSchema as G, xProfileSchema as H, type IntegerSettings as I, xRequestSchema as J, type Observation as O, type ProjectIntegration as P, type ResourceSource as R, type Setting as S, type XReader as X, type IntegrationProvider as a, type ResourceOption as b, type SettingField as c, type SettingsValues as d, type XConnection as e, type XPost as f, type XProfile as g, budgetSchema as h, compatibleSettingKinds as i, completionKeySchema as j, completionPolicySchema as k, discordMessageSchema as l, discordReactionSchema as m, discordServerSchema as n, observationTriggerSchema as o, integrationProviderSchema as p, missingResourceSettings as q, observationInputSchema as r, observationReceiptSchema as s, observationSchema as t, parseSettings as u, projectIntegrationSchema as v, resourceOptionsSchema as w, resourceRequestSchema as x, resourceSourceSchema as y, settingFieldSchema as z };
@@ -1,6 +1,7 @@
1
- import { j as PublishedRelease } from './schema-pnuWqvGn.js';
1
+ import { j as PublishedRelease } from './schema-Di3aLSiK.js';
2
2
  import { z } from 'zod';
3
- import { d as ImageFields, g as ImageRequest } from './images--vZ9U0kr.js';
3
+ import { s as ImageFields, w as ImageRequest } from './images-BTgk6OmC.js';
4
+ export { aT as TrackerDataBudget, aU as schemaCheckedReader, aV as trackerDataBatchSteps, aW as trackerDataIssue, aX as trackerDataIssues, aY as trackerDataPathTypes, aZ as trackerDataRecordSteps, a_ as whereSchemaIssue } from './images-BTgk6OmC.js';
4
5
 
5
6
  /** Older releases did not record ownership. Preserve every value, including defaults. */
6
7
  declare function questConfiguration(release: PublishedRelease): {
package/dist/internal.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  imageFieldsSchema,
5
5
  imageInspectionSchema,
6
6
  imageSightingsSchema
7
- } from "./chunk-77H7APVD.js";
7
+ } from "./chunk-4LBUTHD6.js";
8
8
  import {
9
9
  isContentParticipantRoute,
10
10
  isLegacyWalletRoute,
@@ -14,10 +14,17 @@ import {
14
14
  } from "./chunk-ZWY3R6B3.js";
15
15
  import {
16
16
  authScopeSchema
17
- } from "./chunk-QBOHLT7M.js";
17
+ } from "./chunk-7Q4BGGT6.js";
18
18
  import {
19
- photoResultSchema
20
- } from "./chunk-VARGF4JS.js";
19
+ photoResultSchema,
20
+ schemaCheckedReader,
21
+ trackerDataBatchSteps,
22
+ trackerDataIssue,
23
+ trackerDataIssues,
24
+ trackerDataPathTypes,
25
+ trackerDataRecordSteps,
26
+ whereSchemaIssue
27
+ } from "./chunk-YYD4QUBO.js";
21
28
 
22
29
  // src/configuration.ts
23
30
  function questConfiguration(release) {
@@ -107,5 +114,12 @@ export {
107
114
  parseImageResult,
108
115
  participantExchangeSchema,
109
116
  questConfiguration,
110
- sequenceCursorSchema
117
+ schemaCheckedReader,
118
+ sequenceCursorSchema,
119
+ trackerDataBatchSteps,
120
+ trackerDataIssue,
121
+ trackerDataIssues,
122
+ trackerDataPathTypes,
123
+ trackerDataRecordSteps,
124
+ whereSchemaIssue
111
125
  };