@vercel/board 0.29.0 → 0.31.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/README.md +8 -17
- package/dist/{a2-HUbQJ0RD.mjs → a2-DngWY2Eb.mjs} +741 -415
- package/dist/access-CY5xVMIK.mjs +242 -0
- package/dist/{access-CV96SYgr.d.mts → access-DPcrKIH_.d.mts} +6 -1
- package/dist/access.d.mts +4 -4
- package/dist/access.mjs +5 -4
- package/dist/{actors-DcJhFbwJ.mjs → actors-Bm-ojWWT.mjs} +2 -2
- package/dist/{auth-JO22iIwr.mjs → auth-CyO2aw5n.mjs} +126 -236
- package/dist/{auth-CU56Q2Xh.d.mts → auth-DLYSt_-A.d.mts} +32 -4
- package/dist/{backend-CPC_vyOo.d.mts → backend-Bob-5CM7.d.mts} +93 -42
- package/dist/backend-a2/blob-vercel.d.mts +1 -1
- package/dist/backend-a2/contract.d.mts +38 -98
- package/dist/backend-a2/contract.mjs +1 -1
- package/dist/backend-a2/scheduler-local.d.mts +1 -1
- package/dist/backend-a2/scheduler-local.mjs +1 -1
- package/dist/backend-a2/scheduler-qstash.d.mts +3 -3
- package/dist/backend-a2/scheduler-qstash.mjs +8 -8
- package/dist/backend-a2/scheduler-vercel.d.mts +3 -3
- package/dist/backend-a2/scheduler-vercel.mjs +6 -6
- package/dist/backend-a2/store-memory.d.mts +2 -2
- package/dist/backend-a2/store-memory.mjs +3 -3
- package/dist/backend-a2/store-postgres.d.mts +1 -1
- package/dist/backend-a2/store-postgres.mjs +34 -15
- package/dist/backend-a2/store-redis-http.d.mts +1 -1
- package/dist/backend-a2/store-redis-http.mjs +6 -6
- package/dist/backend-a2/store-redis.d.mts +2 -2
- package/dist/backend-a2/store-redis.mjs +5 -5
- package/dist/backend-a2/store-sqlite.d.mts +1 -1
- package/dist/backend-a2/store-sqlite.mjs +3 -3
- package/dist/backend-a2.d.mts +143 -242
- package/dist/backend-a2.mjs +2 -2
- package/dist/{backend-http-CqfKhrnn.d.mts → backend-http-BRrRbjRx.d.mts} +59 -45
- package/dist/{backend-http-CzIJMm58.mjs → backend-http-CvUKOn-m.mjs} +11 -10
- package/dist/{backend-http-Bmp0IgD3.mjs → backend-http-D8mUzuKQ.mjs} +2 -2
- package/dist/backend-http.d.mts +1 -1
- package/dist/backend-http.mjs +1 -1
- package/dist/backend-http.node.d.mts +1 -1
- package/dist/backend-http.node.mjs +1 -1
- package/dist/{backend-vercel-DQc_TaHp.mjs → backend-vercel-Ba8JDtqW.mjs} +3 -3
- package/dist/{backend-vercel-4tvcPKqX.d.mts → backend-vercel-BaSEUdwg.d.mts} +62 -47
- package/dist/{backend-vercel-BNauAs7w.mjs → backend-vercel-CmY9yZ9m.mjs} +279 -42
- package/dist/backend-vercel.d.mts +1 -1
- package/dist/backend-vercel.mjs +1 -1
- package/dist/backend-vercel.node.d.mts +1 -1
- package/dist/backend-vercel.node.mjs +1 -1
- package/dist/{blob-DmiQjrYy.d.mts → blob-Bx8QPWEd.d.mts} +2 -2
- package/dist/{blob-DdbpJqN1.mjs → blob-WbB2DJKn.mjs} +30 -11
- package/dist/{chat-provider-BWHbChcQ.d.mts → chat-provider-BChYrrA7.d.mts} +32 -28
- package/dist/{chat-provider-COtsU5jB.mjs → chat-provider-DkFp2hrh.mjs} +105 -60
- package/dist/cli-commands.d.mts +1 -1
- package/dist/cli-commands.mjs +1 -1
- package/dist/cli-embedded.d.mts +2 -2
- package/dist/cli-embedded.mjs +1 -1
- package/dist/cli.mjs +4 -4
- package/dist/{client-BqAjk0Q4.d.mts → client-COfYrgfV.d.mts} +240 -227
- package/dist/{commands-D6gvrOh3.d.mts → commands-DK4W3HCJ.d.mts} +47 -10
- package/dist/{commands-C3R1AWgm.mjs → commands-L1JSGz2Z.mjs} +212 -54
- package/dist/conformance-DK43HiHf.mjs +1000 -0
- package/dist/conformance.d.mts +8 -2
- package/dist/conformance.mjs +1 -1
- package/dist/{engine-DQxXk7dX.mjs → engine-DurYIRt8.mjs} +29 -210
- package/dist/{errors-DDktVeUa.d.mts → errors-2vGs49Db.d.mts} +1 -1
- package/dist/{client-D0Px7KzF.mjs → errors-CJXhhzvT.mjs} +132 -27
- package/dist/{provider-BaVmi4Hi.mjs → events-lujPA3gQ.mjs} +80 -17
- package/dist/{exports-BG-0Wyn-.mjs → exports-CWIdN0Ub.mjs} +195 -103
- package/dist/exports-FBOQWT7O.d.mts +5 -0
- package/dist/{folds-BDMSxBUf.mjs → folds-Cu9Q9zyQ.mjs} +3 -22
- package/dist/{folds-ZkHM4M-v.d.mts → folds-DLUzfibJ.d.mts} +15 -40
- package/dist/{index-D3VvNfh_.d.mts → index-Ho-ayyQL.d.mts} +2 -2
- package/dist/index.d.mts +7 -7
- package/dist/{index.default-rB8sJ9RX.mjs → index.default-BUcwDaAe.mjs} +1 -1
- package/dist/index.mjs +5 -6
- package/dist/index.node.d.mts +7 -7
- package/dist/index.node.mjs +3 -4
- package/dist/inspect/app.js +62 -61
- package/dist/inspect/engine.js +3 -3
- package/dist/{internal-CvsrprnU-CRY89I-b.mjs → internal-CvsrprnU-zZMpDiRY.mjs} +1 -1
- package/dist/{local-DhkrAqPP.mjs → local-C76Fy5ad.mjs} +1 -1
- package/dist/{main-CVBqe3VO.mjs → main-Dz-8komG.mjs} +251 -127
- package/dist/{middleware-CXjEeef4.mjs → middleware-BavYSDUa.mjs} +1 -1
- package/dist/{node-Zd_C-gxP.mjs → node-BgeGcwX0.mjs} +7 -3
- package/dist/{platform-B4TnJtWu-CwcTyKg2.mjs → platform-B4TnJtWu-Do3agKr5.mjs} +1 -1
- package/dist/{project-CBXlLftU.mjs → project-CQ4VUibA.mjs} +1 -1
- package/dist/{provider-DmSTp9lI.d.mts → provider-gynDUoyW.d.mts} +13 -43
- package/dist/{redis-tables-BJQVUspu.mjs → redis-tables-DHf85ixI.mjs} +40 -42
- package/dist/{reducer-CjmvZSAb-D_OSISmj.mjs → reducer-Bswr11ar-P324o9vn.mjs} +2 -2
- package/dist/{reducer-CYPHsSmd-BQIfozGi.d.mts → reducer-CYPHsSmd-BXjGiptm.d.mts} +1 -1
- package/dist/{reducers-DJzVpXwM.mjs → reducers-DcENwtwZ.mjs} +74 -77
- package/dist/{retryable-lazy-DZWmHpii-Bye-W8q7.mjs → retryable-lazy-DZWmHpii-DpTc5PIP.mjs} +1 -1
- package/dist/{scheduler-task-X1SToDjP-BVoWuInI.mjs → scheduler-task-X1SToDjP-D2Il2rln.mjs} +1 -1
- package/dist/{serve-G9RuaDSr.mjs → serve-CTmow-YH.mjs} +7 -7
- package/dist/{server-qgez0Xny-D5mLfqFQ.d.mts → server-B9gu0qi1-DI1WvcVK.d.mts} +10 -4
- package/dist/{server-BixV_byP.mjs → server-DG8D6VV0.mjs} +4 -4
- package/dist/{server-DtFrWxi3-Boa6gdWO.mjs → server-DX7mM6nm-D7N_7bug.mjs} +32 -23
- package/dist/{serving-B75Y4BF-.mjs → serving-DBFRo6U_.mjs} +1 -1
- package/dist/{session-clear-wHd5GCpZ-BnKSxReK.mjs → session-clear-XJYpmUpg-2q8l_FJR.mjs} +14 -2
- package/dist/{sql-D4Z_efJX.mjs → sql-CT5xVuGr.mjs} +2 -8
- package/dist/{sqlite-db-Bz2JkfCU.mjs → sqlite-db-0WeSOEZN.mjs} +1 -1
- package/dist/{store-D0MhBvg6-4Z2L0Kqd.d.mts → store-DEzcHZOA-B-5vhxef.d.mts} +12 -2
- package/dist/store-N8PXxDAS-DWWgv-Vz.mjs +5 -0
- package/dist/{store-codec-DwrWlgQx-CYxGW0aD.mjs → store-codec-pAG2oPgQ-SqDXlPBR.mjs} +4 -4
- package/dist/store-memory-4IBl0Ztu.mjs +2 -0
- package/dist/{store-memory-Bas9Uq5C.mjs → store-memory-B0PkVSuQ.mjs} +14 -7
- package/dist/{store-polling-BZt2Rf3D-BiEM6_HB.mjs → store-polling-BZt2Rf3D-Div-bJ_D.mjs} +2 -2
- package/dist/{store-presence-polling-JuAy2Ck2-CYpuK75X.mjs → store-presence-polling-JuAy2Ck2-Dh-g_KYM.mjs} +3 -3
- package/dist/{store-sqlite-CxxPCcCT.mjs → store-sqlite-D85t3tE7.mjs} +14 -7
- package/dist/store-sqlite-iBTYYKBj.mjs +2 -0
- package/dist/{stream-buffer-DrTyiIuo-BKy-vI14.mjs → stream-buffer-DrTyiIuo-Be10yOBR.mjs} +2 -2
- package/dist/{sync-kapso.d.mts → sync-chat-sdk.d.mts} +33 -37
- package/dist/sync-chat-sdk.mjs +44 -0
- package/dist/sync-github.d.mts +5 -18
- package/dist/sync-github.mjs +4 -70
- package/dist/sync-linear.d.mts +3 -3
- package/dist/sync-linear.mjs +6 -5
- package/dist/sync-slack.d.mts +7 -7
- package/dist/sync-slack.mjs +33 -54
- package/dist/sync.d.mts +3 -3
- package/dist/sync.mjs +2 -4
- package/dist/{tokens-CC3izSNr.mjs → tokens-Dnyd_y1n.mjs} +15 -6
- package/dist/{types-No0WdhE5.d.mts → types-CmrFjpml.d.mts} +2 -4
- package/dist/{watchers-hash-BDhLVkV5.mjs → watchers-hash-BjwlnGD9.mjs} +124 -115
- package/docs/01-board/01-mounting.md +2 -2
- package/docs/01-board/03-identity.md +5 -6
- package/docs/01-board/04-messages.md +96 -2
- package/docs/01-board/05-reading.md +2 -1
- package/docs/01-board/06-watchers.md +8 -6
- package/docs/01-board/08-middleware.md +6 -3
- package/docs/01-board/09-access.md +145 -14
- package/docs/02-sync/01-overview.md +19 -26
- package/docs/02-sync/02-functions.md +8 -9
- package/docs/02-sync/03-slack.md +5 -5
- package/docs/02-sync/04-github.md +2 -2
- package/docs/02-sync/06-providers.md +91 -62
- package/docs/03-guides/01-coding-agents.md +1 -1
- package/docs/03-guides/03-ci.md +7 -4
- package/docs/04-reference/01-cli.md +109 -51
- package/docs/04-reference/02-board.md +76 -28
- package/docs/04-reference/03-http.md +76 -38
- package/docs/04-reference/04-log.md +8 -11
- package/docs/04-reference/05-conformance.md +47 -7
- package/docs/index.md +2 -2
- package/package.json +7 -10
- package/sql/postgres/board.sql +1 -1
- package/sql/postgres/schema.sql +1 -1
- package/dist/conformance-DlnfuzEB.mjs +0 -556
- package/dist/errors-CusN4x2l.mjs +0 -88
- package/dist/events-qf5XG5VQ.mjs +0 -75
- package/dist/exports-mhAYiU4i.d.mts +0 -5
- package/dist/store-N8PXxDAS-BWBgzBHp.mjs +0 -5
- package/dist/store-memory-ZLiZbH3R.mjs +0 -2
- package/dist/store-sqlite-BmwL3pUR.mjs +0 -2
- package/dist/sync-kapso.mjs +0 -89
- package/dist/sync.chat.d.mts +0 -2
- package/dist/sync.chat.mjs +0 -2
- package/dist/users-yryHKFMo.mjs +0 -42
- package/docs/02-sync/05-whatsapp.md +0 -152
package/dist/backend-a2.d.mts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
1
|
+
import { _ as StoredGrant } from "./auth-DLYSt_-A.mjs";
|
|
2
|
+
import { t as Actor, x as Attachment } from "./folds-DLUzfibJ.mjs";
|
|
3
|
+
import { l as Reducer, r as ContractEvent } from "./reducer-CYPHsSmd-BXjGiptm.mjs";
|
|
4
|
+
import { a as SessionAppend, c as SessionConsumeOptions, d as SessionSchedule, f as StateOptions, l as SessionConsumeResult, n as A2Server, o as SessionClearOptions, p as SessionCleared, r as Consumer, s as SessionClearResult, t as A2Scheduler, u as SessionDeadLetters } from "./server-B9gu0qi1-DI1WvcVK.mjs";
|
|
5
|
+
import { At as ThreadsPage, B as MatchView, C as EventsPage, Dt as SyncedView, Et as SyncThreadView, Ft as TokenView, H as Me, M as InboxItem, U as MessageView, W as MessagesPage, dt as SourceJoin, j as InboxEntry, k as GrantView, kt as ThreadView, mt as SourceRead, st as ScheduleView, tt as RegistrationView, v as ChannelView, vt as SyncCopiesView, x as Discovery, xt as SyncFindView, zt as UploadTicket } from "./client-COfYrgfV.mjs";
|
|
6
|
+
import { i as Caller, l as StoredToken, n as BackendRoute, r as BoardBinding } from "./backend-Bob-5CM7.mjs";
|
|
7
|
+
import { n as fsBlob, r as memoryBlob, t as BlobStore } from "./blob-Bx8QPWEd.mjs";
|
|
8
|
+
import { t as BoardStore } from "./types-CmrFjpml.mjs";
|
|
8
9
|
import { z } from "zod";
|
|
9
10
|
//#region src/server/transport.d.ts
|
|
10
11
|
/**
|
|
@@ -72,17 +73,18 @@ export declare function a2(options?: A2Options): {
|
|
|
72
73
|
channels: ChannelView[];
|
|
73
74
|
cursor: string;
|
|
74
75
|
}>;
|
|
76
|
+
createChannel: (caller: Caller, input: {
|
|
77
|
+
path: string;
|
|
78
|
+
}, signal: AbortSignal) => Promise<{
|
|
79
|
+
channel: ChannelView;
|
|
80
|
+
created: boolean;
|
|
81
|
+
}>;
|
|
75
82
|
actors: (caller: Caller, input: {
|
|
76
83
|
[x: string]: never;
|
|
77
84
|
}, signal: AbortSignal) => Promise<{
|
|
78
|
-
actors:
|
|
79
|
-
person?: PersonView;
|
|
80
|
-
})[];
|
|
85
|
+
actors: Actor[];
|
|
81
86
|
cursor: string;
|
|
82
87
|
}>;
|
|
83
|
-
identity: (caller: Caller, input: {
|
|
84
|
-
[x: string]: never;
|
|
85
|
-
}, signal: AbortSignal) => Promise<IdentityView>;
|
|
86
88
|
messages: (caller: Caller, input: {
|
|
87
89
|
channel?: string | undefined;
|
|
88
90
|
re?: string | undefined;
|
|
@@ -121,6 +123,7 @@ export declare function a2(options?: A2Options): {
|
|
|
121
123
|
})[] | undefined;
|
|
122
124
|
id?: string | undefined;
|
|
123
125
|
attachments?: string[] | undefined;
|
|
126
|
+
after?: string | undefined;
|
|
124
127
|
}, signal: AbortSignal) => Promise<{
|
|
125
128
|
message: MessageView;
|
|
126
129
|
unknownMentions?: string[];
|
|
@@ -134,12 +137,15 @@ export declare function a2(options?: A2Options): {
|
|
|
134
137
|
id: string;
|
|
135
138
|
} & {
|
|
136
139
|
text: string;
|
|
140
|
+
revision?: number | undefined;
|
|
137
141
|
}, signal: AbortSignal) => Promise<{
|
|
138
142
|
ok: true;
|
|
139
143
|
unknownMentions?: string[];
|
|
140
144
|
}>;
|
|
141
145
|
delete: (caller: Caller, input: {
|
|
142
146
|
id: string;
|
|
147
|
+
} & {
|
|
148
|
+
revision?: number | undefined;
|
|
143
149
|
}, signal: AbortSignal) => Promise<{
|
|
144
150
|
ok: true;
|
|
145
151
|
}>;
|
|
@@ -156,6 +162,7 @@ export declare function a2(options?: A2Options): {
|
|
|
156
162
|
} & {
|
|
157
163
|
set?: Record<string, string> | undefined;
|
|
158
164
|
unset?: string[] | undefined;
|
|
165
|
+
if?: Record<string, string | null> | undefined;
|
|
159
166
|
}, signal: AbortSignal) => Promise<{
|
|
160
167
|
ok: true;
|
|
161
168
|
}>;
|
|
@@ -190,6 +197,45 @@ export declare function a2(options?: A2Options): {
|
|
|
190
197
|
schedule: ScheduleView;
|
|
191
198
|
canceled: boolean;
|
|
192
199
|
}>;
|
|
200
|
+
grants: (caller: Caller, input: {
|
|
201
|
+
[x: string]: never;
|
|
202
|
+
}, signal: AbortSignal) => Promise<{
|
|
203
|
+
grants: GrantView[];
|
|
204
|
+
}>;
|
|
205
|
+
createGrant: (caller: Caller, input: {
|
|
206
|
+
issuer: string;
|
|
207
|
+
claims: Record<string, string | string[]>;
|
|
208
|
+
can?: "all" | string[] | Record<string, "all" | string[]> | undefined;
|
|
209
|
+
}, signal: AbortSignal) => Promise<{
|
|
210
|
+
grant: GrantView;
|
|
211
|
+
created: boolean;
|
|
212
|
+
}>;
|
|
213
|
+
revokeGrant: (caller: Caller, input: {
|
|
214
|
+
id: string;
|
|
215
|
+
}, signal: AbortSignal) => Promise<{
|
|
216
|
+
revoked: boolean;
|
|
217
|
+
}>;
|
|
218
|
+
tokens: (caller: Caller, input: {
|
|
219
|
+
[x: string]: never;
|
|
220
|
+
}, signal: AbortSignal) => Promise<{
|
|
221
|
+
tokens: TokenView[];
|
|
222
|
+
}>;
|
|
223
|
+
createToken: (caller: Caller, input: {
|
|
224
|
+
name: string;
|
|
225
|
+
can?: "all" | string[] | Record<string, "all" | string[]> | undefined;
|
|
226
|
+
profile?: string | undefined;
|
|
227
|
+
avatar?: string | undefined;
|
|
228
|
+
session?: string | undefined;
|
|
229
|
+
expires?: string | undefined;
|
|
230
|
+
}, signal: AbortSignal) => Promise<{
|
|
231
|
+
token: TokenView;
|
|
232
|
+
secret: string;
|
|
233
|
+
}>;
|
|
234
|
+
revokeToken: (caller: Caller, input: {
|
|
235
|
+
id: string;
|
|
236
|
+
}, signal: AbortSignal) => Promise<{
|
|
237
|
+
revoked: boolean;
|
|
238
|
+
}>;
|
|
193
239
|
upload: (caller: Caller, input: {
|
|
194
240
|
data: Uint8Array;
|
|
195
241
|
name: string | null;
|
|
@@ -207,6 +253,7 @@ export declare function a2(options?: A2Options): {
|
|
|
207
253
|
name?: string | null | undefined;
|
|
208
254
|
type?: string | null | undefined;
|
|
209
255
|
size: number;
|
|
256
|
+
sha256?: string | undefined;
|
|
210
257
|
}, signal: AbortSignal) => Promise<UploadTicket>;
|
|
211
258
|
uploadFinish: (caller: Caller, input: {
|
|
212
259
|
id: string;
|
|
@@ -226,7 +273,6 @@ export declare function a2(options?: A2Options): {
|
|
|
226
273
|
sync?: {
|
|
227
274
|
key: string;
|
|
228
275
|
platform: string;
|
|
229
|
-
signIn: boolean;
|
|
230
276
|
}[] | undefined;
|
|
231
277
|
url?: string | null | undefined;
|
|
232
278
|
path?: null | undefined;
|
|
@@ -239,7 +285,6 @@ export declare function a2(options?: A2Options): {
|
|
|
239
285
|
sync?: {
|
|
240
286
|
key: string;
|
|
241
287
|
platform: string;
|
|
242
|
-
signIn: boolean;
|
|
243
288
|
}[] | undefined;
|
|
244
289
|
url?: null | undefined;
|
|
245
290
|
path: string;
|
|
@@ -340,6 +385,7 @@ export declare function a2(options?: A2Options): {
|
|
|
340
385
|
message: string | null;
|
|
341
386
|
}[] | undefined;
|
|
342
387
|
id?: string | undefined;
|
|
388
|
+
after?: string | undefined;
|
|
343
389
|
} | {
|
|
344
390
|
author: {
|
|
345
391
|
id: string;
|
|
@@ -361,6 +407,7 @@ export declare function a2(options?: A2Options): {
|
|
|
361
407
|
channel: string;
|
|
362
408
|
thread: string;
|
|
363
409
|
} | undefined;
|
|
410
|
+
revision?: number | undefined;
|
|
364
411
|
} | {
|
|
365
412
|
author: {
|
|
366
413
|
id: string;
|
|
@@ -376,6 +423,7 @@ export declare function a2(options?: A2Options): {
|
|
|
376
423
|
} | undefined;
|
|
377
424
|
message?: string | undefined;
|
|
378
425
|
op: "delete";
|
|
426
|
+
revision?: number | undefined;
|
|
379
427
|
} | {
|
|
380
428
|
author: {
|
|
381
429
|
id: string;
|
|
@@ -410,6 +458,7 @@ export declare function a2(options?: A2Options): {
|
|
|
410
458
|
op: "labels";
|
|
411
459
|
set?: Record<string, string> | undefined;
|
|
412
460
|
unset?: string[] | undefined;
|
|
461
|
+
if?: Record<string, string | null> | undefined;
|
|
413
462
|
} | {
|
|
414
463
|
author: {
|
|
415
464
|
id: string;
|
|
@@ -459,7 +508,6 @@ export declare function a2(options?: A2Options): {
|
|
|
459
508
|
external: {
|
|
460
509
|
thread: string;
|
|
461
510
|
message: string;
|
|
462
|
-
asUser?: true | undefined;
|
|
463
511
|
};
|
|
464
512
|
files?: string[] | null | undefined;
|
|
465
513
|
} | {
|
|
@@ -486,22 +534,13 @@ export declare function a2(options?: A2Options): {
|
|
|
486
534
|
thread: string;
|
|
487
535
|
}, signal: AbortSignal) => Promise<SyncThreadView>;
|
|
488
536
|
syncFind: (caller: Caller, input: {
|
|
489
|
-
code?: string | undefined;
|
|
490
537
|
post?: string | undefined;
|
|
491
538
|
thread?: string | undefined;
|
|
492
539
|
message?: string | undefined;
|
|
493
|
-
account?: string | undefined;
|
|
494
|
-
person?: string | undefined;
|
|
495
540
|
}, signal: AbortSignal) => Promise<SyncFindView>;
|
|
496
541
|
syncCopies: (caller: Caller, input: {
|
|
497
542
|
message: string[];
|
|
498
543
|
}, signal: AbortSignal) => Promise<SyncCopiesView>;
|
|
499
|
-
syncRoots: (caller: Caller, input: {
|
|
500
|
-
by: string;
|
|
501
|
-
since: number;
|
|
502
|
-
}, signal: AbortSignal) => Promise<{
|
|
503
|
-
roots: MessageView[];
|
|
504
|
-
}>;
|
|
505
544
|
inboxPush: (caller: Caller, input: {
|
|
506
545
|
key: string;
|
|
507
546
|
} & {
|
|
@@ -647,32 +686,13 @@ export declare function a2(options?: A2Options): {
|
|
|
647
686
|
}, signal: AbortSignal) => Promise<{
|
|
648
687
|
events: InboxEntry[];
|
|
649
688
|
}>;
|
|
650
|
-
syncCode: (caller: Caller, input: {
|
|
651
|
-
sync: string;
|
|
652
|
-
}, signal: AbortSignal) => Promise<SyncCodeView>;
|
|
653
|
-
syncAccount: (caller: Caller, input: {
|
|
654
|
-
sync: string;
|
|
655
|
-
account: {
|
|
656
|
-
id: string;
|
|
657
|
-
handle: string;
|
|
658
|
-
name: string;
|
|
659
|
-
isBot: boolean;
|
|
660
|
-
avatar: string | null;
|
|
661
|
-
};
|
|
662
|
-
code: string;
|
|
663
|
-
message?: string | undefined;
|
|
664
|
-
method?: "code" | "consent" | undefined;
|
|
665
|
-
}, signal: AbortSignal) => Promise<{
|
|
666
|
-
person: string;
|
|
667
|
-
link: LinkedAccount;
|
|
668
|
-
}>;
|
|
669
|
-
syncUnlink: (caller: Caller, input: {
|
|
670
|
-
account: string;
|
|
671
|
-
}, signal: AbortSignal) => Promise<{
|
|
672
|
-
ok: true;
|
|
673
|
-
}>;
|
|
674
689
|
routes: BackendRoute[];
|
|
675
690
|
keeps: boolean;
|
|
691
|
+
trust: {
|
|
692
|
+
grants: () => Promise<readonly StoredGrant[]>;
|
|
693
|
+
token: (hash: string) => Promise<StoredToken | null>;
|
|
694
|
+
live: (id: string) => Promise<boolean>;
|
|
695
|
+
};
|
|
676
696
|
bind(given: BoardBinding): void;
|
|
677
697
|
/** The scheduler's callback: `export { scheduler as POST }` from a route of its own. A board without a scheduler answers 404. */
|
|
678
698
|
scheduler: (request: Request) => Promise<Response>;
|
|
@@ -727,6 +747,15 @@ export declare function a2(options?: A2Options): {
|
|
|
727
747
|
blind: z.ZodOptional<z.ZodLiteral<true>>;
|
|
728
748
|
importedBy: z.ZodOptional<z.ZodString>;
|
|
729
749
|
}, z.core.$strip>;
|
|
750
|
+
'channel.created': z.ZodObject<{
|
|
751
|
+
channel: z.ZodString;
|
|
752
|
+
by: z.ZodObject<{
|
|
753
|
+
actor: z.ZodString;
|
|
754
|
+
principal: z.ZodString;
|
|
755
|
+
profile: z.ZodNullable<z.ZodString>;
|
|
756
|
+
session: z.ZodNullable<z.ZodString>;
|
|
757
|
+
}, z.core.$strip>;
|
|
758
|
+
}, z.core.$strip>;
|
|
730
759
|
'message.linked': z.ZodObject<{
|
|
731
760
|
id: z.ZodNumber;
|
|
732
761
|
thread: z.ZodString;
|
|
@@ -837,7 +866,6 @@ export declare function a2(options?: A2Options): {
|
|
|
837
866
|
external: z.ZodObject<{
|
|
838
867
|
thread: z.ZodString;
|
|
839
868
|
message: z.ZodString;
|
|
840
|
-
asUser: z.ZodOptional<z.ZodLiteral<true>>;
|
|
841
869
|
}, z.core.$strip>;
|
|
842
870
|
syncedBy: z.ZodOptional<z.ZodString>;
|
|
843
871
|
}, z.core.$strip>;
|
|
@@ -868,29 +896,6 @@ export declare function a2(options?: A2Options): {
|
|
|
868
896
|
avatar: z.ZodNullable<z.ZodString>;
|
|
869
897
|
host: z.ZodOptional<z.ZodLiteral<true>>;
|
|
870
898
|
}, z.core.$strip>;
|
|
871
|
-
'actor.linked': z.ZodObject<{
|
|
872
|
-
actor: z.ZodString;
|
|
873
|
-
to: z.ZodString;
|
|
874
|
-
method: z.ZodEnum<{
|
|
875
|
-
code: "code";
|
|
876
|
-
consent: "consent";
|
|
877
|
-
}>;
|
|
878
|
-
by: z.ZodObject<{
|
|
879
|
-
actor: z.ZodString;
|
|
880
|
-
principal: z.ZodString;
|
|
881
|
-
profile: z.ZodNullable<z.ZodString>;
|
|
882
|
-
session: z.ZodNullable<z.ZodString>;
|
|
883
|
-
}, z.core.$strip>;
|
|
884
|
-
}, z.core.$strip>;
|
|
885
|
-
'actor.unlinked': z.ZodObject<{
|
|
886
|
-
actor: z.ZodString;
|
|
887
|
-
by: z.ZodObject<{
|
|
888
|
-
actor: z.ZodString;
|
|
889
|
-
principal: z.ZodString;
|
|
890
|
-
profile: z.ZodNullable<z.ZodString>;
|
|
891
|
-
session: z.ZodNullable<z.ZodString>;
|
|
892
|
-
}, z.core.$strip>;
|
|
893
|
-
}, z.core.$strip>;
|
|
894
899
|
}, Record<never, never>, undefined> | A2Server<{
|
|
895
900
|
'external.received': z.ZodObject<{
|
|
896
901
|
sync: z.ZodString;
|
|
@@ -1093,6 +1098,7 @@ export declare function a2(options?: A2Options): {
|
|
|
1093
1098
|
team: z.ZodOptional<z.ZodString>;
|
|
1094
1099
|
}, z.core.$strip>>;
|
|
1095
1100
|
scope: z.ZodOptional<z.ZodString>;
|
|
1101
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1096
1102
|
}, z.core.$strip>;
|
|
1097
1103
|
url: z.ZodNullable<z.ZodString>;
|
|
1098
1104
|
watch: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -1105,7 +1111,6 @@ export declare function a2(options?: A2Options): {
|
|
|
1105
1111
|
sync: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1106
1112
|
key: z.ZodString;
|
|
1107
1113
|
platform: z.ZodString;
|
|
1108
|
-
signIn: z.ZodBoolean;
|
|
1109
1114
|
}, z.core.$strip>>>;
|
|
1110
1115
|
hash: z.ZodString;
|
|
1111
1116
|
}, z.core.$strip>;
|
|
@@ -1154,6 +1159,7 @@ export declare function a2(options?: A2Options): {
|
|
|
1154
1159
|
team: z.ZodOptional<z.ZodString>;
|
|
1155
1160
|
}, z.core.$strip>>;
|
|
1156
1161
|
scope: z.ZodOptional<z.ZodString>;
|
|
1162
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1157
1163
|
}, z.core.$strip>;
|
|
1158
1164
|
actor: z.ZodObject<{
|
|
1159
1165
|
id: z.ZodString;
|
|
@@ -1254,6 +1260,15 @@ export declare function a2(options?: A2Options): {
|
|
|
1254
1260
|
blind: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1255
1261
|
importedBy: z.ZodOptional<z.ZodString>;
|
|
1256
1262
|
}, z.core.$strip>;
|
|
1263
|
+
'channel.created': z.ZodObject<{
|
|
1264
|
+
channel: z.ZodString;
|
|
1265
|
+
by: z.ZodObject<{
|
|
1266
|
+
actor: z.ZodString;
|
|
1267
|
+
principal: z.ZodString;
|
|
1268
|
+
profile: z.ZodNullable<z.ZodString>;
|
|
1269
|
+
session: z.ZodNullable<z.ZodString>;
|
|
1270
|
+
}, z.core.$strip>;
|
|
1271
|
+
}, z.core.$strip>;
|
|
1257
1272
|
'message.linked': z.ZodObject<{
|
|
1258
1273
|
id: z.ZodNumber;
|
|
1259
1274
|
thread: z.ZodString;
|
|
@@ -1364,7 +1379,6 @@ export declare function a2(options?: A2Options): {
|
|
|
1364
1379
|
external: z.ZodObject<{
|
|
1365
1380
|
thread: z.ZodString;
|
|
1366
1381
|
message: z.ZodString;
|
|
1367
|
-
asUser: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1368
1382
|
}, z.core.$strip>;
|
|
1369
1383
|
syncedBy: z.ZodOptional<z.ZodString>;
|
|
1370
1384
|
}, z.core.$strip>;
|
|
@@ -1395,29 +1409,6 @@ export declare function a2(options?: A2Options): {
|
|
|
1395
1409
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1396
1410
|
host: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1397
1411
|
}, z.core.$strip>;
|
|
1398
|
-
'actor.linked': z.ZodObject<{
|
|
1399
|
-
actor: z.ZodString;
|
|
1400
|
-
to: z.ZodString;
|
|
1401
|
-
method: z.ZodEnum<{
|
|
1402
|
-
code: "code";
|
|
1403
|
-
consent: "consent";
|
|
1404
|
-
}>;
|
|
1405
|
-
by: z.ZodObject<{
|
|
1406
|
-
actor: z.ZodString;
|
|
1407
|
-
principal: z.ZodString;
|
|
1408
|
-
profile: z.ZodNullable<z.ZodString>;
|
|
1409
|
-
session: z.ZodNullable<z.ZodString>;
|
|
1410
|
-
}, z.core.$strip>;
|
|
1411
|
-
}, z.core.$strip>;
|
|
1412
|
-
'actor.unlinked': z.ZodObject<{
|
|
1413
|
-
actor: z.ZodString;
|
|
1414
|
-
by: z.ZodObject<{
|
|
1415
|
-
actor: z.ZodString;
|
|
1416
|
-
principal: z.ZodString;
|
|
1417
|
-
profile: z.ZodNullable<z.ZodString>;
|
|
1418
|
-
session: z.ZodNullable<z.ZodString>;
|
|
1419
|
-
}, z.core.$strip>;
|
|
1420
|
-
}, z.core.$strip>;
|
|
1421
1412
|
}>;
|
|
1422
1413
|
schedule: SessionSchedule<{
|
|
1423
1414
|
'message.posted': z.ZodObject<{
|
|
@@ -1470,6 +1461,15 @@ export declare function a2(options?: A2Options): {
|
|
|
1470
1461
|
blind: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1471
1462
|
importedBy: z.ZodOptional<z.ZodString>;
|
|
1472
1463
|
}, z.core.$strip>;
|
|
1464
|
+
'channel.created': z.ZodObject<{
|
|
1465
|
+
channel: z.ZodString;
|
|
1466
|
+
by: z.ZodObject<{
|
|
1467
|
+
actor: z.ZodString;
|
|
1468
|
+
principal: z.ZodString;
|
|
1469
|
+
profile: z.ZodNullable<z.ZodString>;
|
|
1470
|
+
session: z.ZodNullable<z.ZodString>;
|
|
1471
|
+
}, z.core.$strip>;
|
|
1472
|
+
}, z.core.$strip>;
|
|
1473
1473
|
'message.linked': z.ZodObject<{
|
|
1474
1474
|
id: z.ZodNumber;
|
|
1475
1475
|
thread: z.ZodString;
|
|
@@ -1580,7 +1580,6 @@ export declare function a2(options?: A2Options): {
|
|
|
1580
1580
|
external: z.ZodObject<{
|
|
1581
1581
|
thread: z.ZodString;
|
|
1582
1582
|
message: z.ZodString;
|
|
1583
|
-
asUser: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1584
1583
|
}, z.core.$strip>;
|
|
1585
1584
|
syncedBy: z.ZodOptional<z.ZodString>;
|
|
1586
1585
|
}, z.core.$strip>;
|
|
@@ -1611,29 +1610,6 @@ export declare function a2(options?: A2Options): {
|
|
|
1611
1610
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1612
1611
|
host: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1613
1612
|
}, z.core.$strip>;
|
|
1614
|
-
'actor.linked': z.ZodObject<{
|
|
1615
|
-
actor: z.ZodString;
|
|
1616
|
-
to: z.ZodString;
|
|
1617
|
-
method: z.ZodEnum<{
|
|
1618
|
-
code: "code";
|
|
1619
|
-
consent: "consent";
|
|
1620
|
-
}>;
|
|
1621
|
-
by: z.ZodObject<{
|
|
1622
|
-
actor: z.ZodString;
|
|
1623
|
-
principal: z.ZodString;
|
|
1624
|
-
profile: z.ZodNullable<z.ZodString>;
|
|
1625
|
-
session: z.ZodNullable<z.ZodString>;
|
|
1626
|
-
}, z.core.$strip>;
|
|
1627
|
-
}, z.core.$strip>;
|
|
1628
|
-
'actor.unlinked': z.ZodObject<{
|
|
1629
|
-
actor: z.ZodString;
|
|
1630
|
-
by: z.ZodObject<{
|
|
1631
|
-
actor: z.ZodString;
|
|
1632
|
-
principal: z.ZodString;
|
|
1633
|
-
profile: z.ZodNullable<z.ZodString>;
|
|
1634
|
-
session: z.ZodNullable<z.ZodString>;
|
|
1635
|
-
}, z.core.$strip>;
|
|
1636
|
-
}, z.core.$strip>;
|
|
1637
1613
|
}>;
|
|
1638
1614
|
clear(options?: SessionClearOptions): Promise<SessionClearResult>;
|
|
1639
1615
|
history(options?: {
|
|
@@ -1690,6 +1666,15 @@ export declare function a2(options?: A2Options): {
|
|
|
1690
1666
|
blind: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1691
1667
|
importedBy: z.ZodOptional<z.ZodString>;
|
|
1692
1668
|
}, z.core.$strip>;
|
|
1669
|
+
'channel.created': z.ZodObject<{
|
|
1670
|
+
channel: z.ZodString;
|
|
1671
|
+
by: z.ZodObject<{
|
|
1672
|
+
actor: z.ZodString;
|
|
1673
|
+
principal: z.ZodString;
|
|
1674
|
+
profile: z.ZodNullable<z.ZodString>;
|
|
1675
|
+
session: z.ZodNullable<z.ZodString>;
|
|
1676
|
+
}, z.core.$strip>;
|
|
1677
|
+
}, z.core.$strip>;
|
|
1693
1678
|
'message.linked': z.ZodObject<{
|
|
1694
1679
|
id: z.ZodNumber;
|
|
1695
1680
|
thread: z.ZodString;
|
|
@@ -1800,7 +1785,6 @@ export declare function a2(options?: A2Options): {
|
|
|
1800
1785
|
external: z.ZodObject<{
|
|
1801
1786
|
thread: z.ZodString;
|
|
1802
1787
|
message: z.ZodString;
|
|
1803
|
-
asUser: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1804
1788
|
}, z.core.$strip>;
|
|
1805
1789
|
syncedBy: z.ZodOptional<z.ZodString>;
|
|
1806
1790
|
}, z.core.$strip>;
|
|
@@ -1831,29 +1815,6 @@ export declare function a2(options?: A2Options): {
|
|
|
1831
1815
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1832
1816
|
host: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1833
1817
|
}, z.core.$strip>;
|
|
1834
|
-
'actor.linked': z.ZodObject<{
|
|
1835
|
-
actor: z.ZodString;
|
|
1836
|
-
to: z.ZodString;
|
|
1837
|
-
method: z.ZodEnum<{
|
|
1838
|
-
code: "code";
|
|
1839
|
-
consent: "consent";
|
|
1840
|
-
}>;
|
|
1841
|
-
by: z.ZodObject<{
|
|
1842
|
-
actor: z.ZodString;
|
|
1843
|
-
principal: z.ZodString;
|
|
1844
|
-
profile: z.ZodNullable<z.ZodString>;
|
|
1845
|
-
session: z.ZodNullable<z.ZodString>;
|
|
1846
|
-
}, z.core.$strip>;
|
|
1847
|
-
}, z.core.$strip>;
|
|
1848
|
-
'actor.unlinked': z.ZodObject<{
|
|
1849
|
-
actor: z.ZodString;
|
|
1850
|
-
by: z.ZodObject<{
|
|
1851
|
-
actor: z.ZodString;
|
|
1852
|
-
principal: z.ZodString;
|
|
1853
|
-
profile: z.ZodNullable<z.ZodString>;
|
|
1854
|
-
session: z.ZodNullable<z.ZodString>;
|
|
1855
|
-
}, z.core.$strip>;
|
|
1856
|
-
}, z.core.$strip>;
|
|
1857
1818
|
}>[]>;
|
|
1858
1819
|
consume(consumer: Consumer<{
|
|
1859
1820
|
'message.posted': z.ZodObject<{
|
|
@@ -1906,6 +1867,15 @@ export declare function a2(options?: A2Options): {
|
|
|
1906
1867
|
blind: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1907
1868
|
importedBy: z.ZodOptional<z.ZodString>;
|
|
1908
1869
|
}, z.core.$strip>;
|
|
1870
|
+
'channel.created': z.ZodObject<{
|
|
1871
|
+
channel: z.ZodString;
|
|
1872
|
+
by: z.ZodObject<{
|
|
1873
|
+
actor: z.ZodString;
|
|
1874
|
+
principal: z.ZodString;
|
|
1875
|
+
profile: z.ZodNullable<z.ZodString>;
|
|
1876
|
+
session: z.ZodNullable<z.ZodString>;
|
|
1877
|
+
}, z.core.$strip>;
|
|
1878
|
+
}, z.core.$strip>;
|
|
1909
1879
|
'message.linked': z.ZodObject<{
|
|
1910
1880
|
id: z.ZodNumber;
|
|
1911
1881
|
thread: z.ZodString;
|
|
@@ -2016,7 +1986,6 @@ export declare function a2(options?: A2Options): {
|
|
|
2016
1986
|
external: z.ZodObject<{
|
|
2017
1987
|
thread: z.ZodString;
|
|
2018
1988
|
message: z.ZodString;
|
|
2019
|
-
asUser: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2020
1989
|
}, z.core.$strip>;
|
|
2021
1990
|
syncedBy: z.ZodOptional<z.ZodString>;
|
|
2022
1991
|
}, z.core.$strip>;
|
|
@@ -2047,29 +2016,6 @@ export declare function a2(options?: A2Options): {
|
|
|
2047
2016
|
avatar: z.ZodNullable<z.ZodString>;
|
|
2048
2017
|
host: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2049
2018
|
}, z.core.$strip>;
|
|
2050
|
-
'actor.linked': z.ZodObject<{
|
|
2051
|
-
actor: z.ZodString;
|
|
2052
|
-
to: z.ZodString;
|
|
2053
|
-
method: z.ZodEnum<{
|
|
2054
|
-
code: "code";
|
|
2055
|
-
consent: "consent";
|
|
2056
|
-
}>;
|
|
2057
|
-
by: z.ZodObject<{
|
|
2058
|
-
actor: z.ZodString;
|
|
2059
|
-
principal: z.ZodString;
|
|
2060
|
-
profile: z.ZodNullable<z.ZodString>;
|
|
2061
|
-
session: z.ZodNullable<z.ZodString>;
|
|
2062
|
-
}, z.core.$strip>;
|
|
2063
|
-
}, z.core.$strip>;
|
|
2064
|
-
'actor.unlinked': z.ZodObject<{
|
|
2065
|
-
actor: z.ZodString;
|
|
2066
|
-
by: z.ZodObject<{
|
|
2067
|
-
actor: z.ZodString;
|
|
2068
|
-
principal: z.ZodString;
|
|
2069
|
-
profile: z.ZodNullable<z.ZodString>;
|
|
2070
|
-
session: z.ZodNullable<z.ZodString>;
|
|
2071
|
-
}, z.core.$strip>;
|
|
2072
|
-
}, z.core.$strip>;
|
|
2073
2019
|
}>, options?: SessionConsumeOptions): Promise<SessionConsumeResult>;
|
|
2074
2020
|
state: <T>(reducer: Reducer<{
|
|
2075
2021
|
'message.posted': z.ZodObject<{
|
|
@@ -2122,6 +2068,15 @@ export declare function a2(options?: A2Options): {
|
|
|
2122
2068
|
blind: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2123
2069
|
importedBy: z.ZodOptional<z.ZodString>;
|
|
2124
2070
|
}, z.core.$strip>;
|
|
2071
|
+
'channel.created': z.ZodObject<{
|
|
2072
|
+
channel: z.ZodString;
|
|
2073
|
+
by: z.ZodObject<{
|
|
2074
|
+
actor: z.ZodString;
|
|
2075
|
+
principal: z.ZodString;
|
|
2076
|
+
profile: z.ZodNullable<z.ZodString>;
|
|
2077
|
+
session: z.ZodNullable<z.ZodString>;
|
|
2078
|
+
}, z.core.$strip>;
|
|
2079
|
+
}, z.core.$strip>;
|
|
2125
2080
|
'message.linked': z.ZodObject<{
|
|
2126
2081
|
id: z.ZodNumber;
|
|
2127
2082
|
thread: z.ZodString;
|
|
@@ -2232,7 +2187,6 @@ export declare function a2(options?: A2Options): {
|
|
|
2232
2187
|
external: z.ZodObject<{
|
|
2233
2188
|
thread: z.ZodString;
|
|
2234
2189
|
message: z.ZodString;
|
|
2235
|
-
asUser: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2236
2190
|
}, z.core.$strip>;
|
|
2237
2191
|
syncedBy: z.ZodOptional<z.ZodString>;
|
|
2238
2192
|
}, z.core.$strip>;
|
|
@@ -2263,29 +2217,6 @@ export declare function a2(options?: A2Options): {
|
|
|
2263
2217
|
avatar: z.ZodNullable<z.ZodString>;
|
|
2264
2218
|
host: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2265
2219
|
}, z.core.$strip>;
|
|
2266
|
-
'actor.linked': z.ZodObject<{
|
|
2267
|
-
actor: z.ZodString;
|
|
2268
|
-
to: z.ZodString;
|
|
2269
|
-
method: z.ZodEnum<{
|
|
2270
|
-
code: "code";
|
|
2271
|
-
consent: "consent";
|
|
2272
|
-
}>;
|
|
2273
|
-
by: z.ZodObject<{
|
|
2274
|
-
actor: z.ZodString;
|
|
2275
|
-
principal: z.ZodString;
|
|
2276
|
-
profile: z.ZodNullable<z.ZodString>;
|
|
2277
|
-
session: z.ZodNullable<z.ZodString>;
|
|
2278
|
-
}, z.core.$strip>;
|
|
2279
|
-
}, z.core.$strip>;
|
|
2280
|
-
'actor.unlinked': z.ZodObject<{
|
|
2281
|
-
actor: z.ZodString;
|
|
2282
|
-
by: z.ZodObject<{
|
|
2283
|
-
actor: z.ZodString;
|
|
2284
|
-
principal: z.ZodString;
|
|
2285
|
-
profile: z.ZodNullable<z.ZodString>;
|
|
2286
|
-
session: z.ZodNullable<z.ZodString>;
|
|
2287
|
-
}, z.core.$strip>;
|
|
2288
|
-
}, z.core.$strip>;
|
|
2289
2220
|
}, T, Record<never, never>>, options?: StateOptions) => Promise<{
|
|
2290
2221
|
state: T;
|
|
2291
2222
|
index: number;
|
|
@@ -2344,6 +2275,15 @@ export declare function a2(options?: A2Options): {
|
|
|
2344
2275
|
blind: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2345
2276
|
importedBy: z.ZodOptional<z.ZodString>;
|
|
2346
2277
|
}, z.core.$strip>;
|
|
2278
|
+
'channel.created': z.ZodObject<{
|
|
2279
|
+
channel: z.ZodString;
|
|
2280
|
+
by: z.ZodObject<{
|
|
2281
|
+
actor: z.ZodString;
|
|
2282
|
+
principal: z.ZodString;
|
|
2283
|
+
profile: z.ZodNullable<z.ZodString>;
|
|
2284
|
+
session: z.ZodNullable<z.ZodString>;
|
|
2285
|
+
}, z.core.$strip>;
|
|
2286
|
+
}, z.core.$strip>;
|
|
2347
2287
|
'message.linked': z.ZodObject<{
|
|
2348
2288
|
id: z.ZodNumber;
|
|
2349
2289
|
thread: z.ZodString;
|
|
@@ -2454,7 +2394,6 @@ export declare function a2(options?: A2Options): {
|
|
|
2454
2394
|
external: z.ZodObject<{
|
|
2455
2395
|
thread: z.ZodString;
|
|
2456
2396
|
message: z.ZodString;
|
|
2457
|
-
asUser: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2458
2397
|
}, z.core.$strip>;
|
|
2459
2398
|
syncedBy: z.ZodOptional<z.ZodString>;
|
|
2460
2399
|
}, z.core.$strip>;
|
|
@@ -2485,29 +2424,6 @@ export declare function a2(options?: A2Options): {
|
|
|
2485
2424
|
avatar: z.ZodNullable<z.ZodString>;
|
|
2486
2425
|
host: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2487
2426
|
}, z.core.$strip>;
|
|
2488
|
-
'actor.linked': z.ZodObject<{
|
|
2489
|
-
actor: z.ZodString;
|
|
2490
|
-
to: z.ZodString;
|
|
2491
|
-
method: z.ZodEnum<{
|
|
2492
|
-
code: "code";
|
|
2493
|
-
consent: "consent";
|
|
2494
|
-
}>;
|
|
2495
|
-
by: z.ZodObject<{
|
|
2496
|
-
actor: z.ZodString;
|
|
2497
|
-
principal: z.ZodString;
|
|
2498
|
-
profile: z.ZodNullable<z.ZodString>;
|
|
2499
|
-
session: z.ZodNullable<z.ZodString>;
|
|
2500
|
-
}, z.core.$strip>;
|
|
2501
|
-
}, z.core.$strip>;
|
|
2502
|
-
'actor.unlinked': z.ZodObject<{
|
|
2503
|
-
actor: z.ZodString;
|
|
2504
|
-
by: z.ZodObject<{
|
|
2505
|
-
actor: z.ZodString;
|
|
2506
|
-
principal: z.ZodString;
|
|
2507
|
-
profile: z.ZodNullable<z.ZodString>;
|
|
2508
|
-
session: z.ZodNullable<z.ZodString>;
|
|
2509
|
-
}, z.core.$strip>;
|
|
2510
|
-
}, z.core.$strip>;
|
|
2511
2427
|
}> | SessionCleared>;
|
|
2512
2428
|
} & SessionDeadLetters<{
|
|
2513
2429
|
'message.posted': z.ZodObject<{
|
|
@@ -2560,6 +2476,15 @@ export declare function a2(options?: A2Options): {
|
|
|
2560
2476
|
blind: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2561
2477
|
importedBy: z.ZodOptional<z.ZodString>;
|
|
2562
2478
|
}, z.core.$strip>;
|
|
2479
|
+
'channel.created': z.ZodObject<{
|
|
2480
|
+
channel: z.ZodString;
|
|
2481
|
+
by: z.ZodObject<{
|
|
2482
|
+
actor: z.ZodString;
|
|
2483
|
+
principal: z.ZodString;
|
|
2484
|
+
profile: z.ZodNullable<z.ZodString>;
|
|
2485
|
+
session: z.ZodNullable<z.ZodString>;
|
|
2486
|
+
}, z.core.$strip>;
|
|
2487
|
+
}, z.core.$strip>;
|
|
2563
2488
|
'message.linked': z.ZodObject<{
|
|
2564
2489
|
id: z.ZodNumber;
|
|
2565
2490
|
thread: z.ZodString;
|
|
@@ -2670,7 +2595,6 @@ export declare function a2(options?: A2Options): {
|
|
|
2670
2595
|
external: z.ZodObject<{
|
|
2671
2596
|
thread: z.ZodString;
|
|
2672
2597
|
message: z.ZodString;
|
|
2673
|
-
asUser: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2674
2598
|
}, z.core.$strip>;
|
|
2675
2599
|
syncedBy: z.ZodOptional<z.ZodString>;
|
|
2676
2600
|
}, z.core.$strip>;
|
|
@@ -2701,29 +2625,6 @@ export declare function a2(options?: A2Options): {
|
|
|
2701
2625
|
avatar: z.ZodNullable<z.ZodString>;
|
|
2702
2626
|
host: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2703
2627
|
}, z.core.$strip>;
|
|
2704
|
-
'actor.linked': z.ZodObject<{
|
|
2705
|
-
actor: z.ZodString;
|
|
2706
|
-
to: z.ZodString;
|
|
2707
|
-
method: z.ZodEnum<{
|
|
2708
|
-
code: "code";
|
|
2709
|
-
consent: "consent";
|
|
2710
|
-
}>;
|
|
2711
|
-
by: z.ZodObject<{
|
|
2712
|
-
actor: z.ZodString;
|
|
2713
|
-
principal: z.ZodString;
|
|
2714
|
-
profile: z.ZodNullable<z.ZodString>;
|
|
2715
|
-
session: z.ZodNullable<z.ZodString>;
|
|
2716
|
-
}, z.core.$strip>;
|
|
2717
|
-
}, z.core.$strip>;
|
|
2718
|
-
'actor.unlinked': z.ZodObject<{
|
|
2719
|
-
actor: z.ZodString;
|
|
2720
|
-
by: z.ZodObject<{
|
|
2721
|
-
actor: z.ZodString;
|
|
2722
|
-
principal: z.ZodString;
|
|
2723
|
-
profile: z.ZodNullable<z.ZodString>;
|
|
2724
|
-
session: z.ZodNullable<z.ZodString>;
|
|
2725
|
-
}, z.core.$strip>;
|
|
2726
|
-
}, z.core.$strip>;
|
|
2727
2628
|
}>;
|
|
2728
2629
|
store: BoardStore;
|
|
2729
2630
|
};
|
package/dist/backend-a2.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as a2 } from "./a2-
|
|
2
|
-
import { a as fsBlob, s as memoryBlob } from "./blob-
|
|
1
|
+
import { t as a2 } from "./a2-DngWY2Eb.mjs";
|
|
2
|
+
import { a as fsBlob, s as memoryBlob } from "./blob-WbB2DJKn.mjs";
|
|
3
3
|
export { a2, fsBlob, memoryBlob };
|