@vercel/board 0.25.0 → 0.26.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/{a2-CQ3WcqMv.mjs → a2-Qzj0kCWU.mjs} +6 -6
- package/dist/access.d.mts +1 -2
- package/dist/access.mjs +3 -3
- package/dist/{actors-CDDhhFNY.mjs → actors-BLXVp4oZ.mjs} +2 -2
- package/dist/{auth-BwWH3Twu.mjs → auth-lTkOgvcE.mjs} +1 -1
- package/dist/{backend-DmXjVnil.d.mts → backend-ZKYTe3xa.d.mts} +5 -15
- package/dist/backend-a2/blob-vercel.d.mts +1 -1
- package/dist/backend-a2/contract.d.mts +1 -2
- package/dist/backend-a2/store-memory.d.mts +1 -1
- package/dist/backend-a2/store-postgres.d.mts +1 -1
- package/dist/backend-a2/store-redis-http.d.mts +1 -1
- package/dist/backend-a2/store-redis.d.mts +1 -1
- package/dist/backend-a2/store-sqlite.d.mts +1 -1
- package/dist/backend-a2.d.mts +5 -6
- package/dist/backend-a2.mjs +1 -1
- package/dist/{backend-http-BJ7AdK0c.mjs → backend-http-BB0Gld6Q.mjs} +8 -5
- package/dist/{backend-http-BsP0Xq9e.d.mts → backend-http-E7YU0qhn.d.mts} +3 -4
- package/dist/{backend-http-Cs-UKpYp.mjs → backend-http-F0W6e36G.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-CED673bx.d.mts → backend-vercel-CIRObA0t.d.mts} +3 -4
- package/dist/{backend-vercel-CG2SYa03.mjs → backend-vercel-CtB46vMQ.mjs} +3 -3
- package/dist/{backend-vercel-B0Q0K0O5.mjs → backend-vercel-DUWIcFi9.mjs} +24 -8
- package/dist/backend-vercel.d.mts +1 -1
- package/dist/backend-vercel.mjs +1 -1
- package/dist/backend-vercel.node.d.mts +6 -1
- package/dist/backend-vercel.node.mjs +2 -2
- package/dist/{blob-C0J3wbGv.d.mts → blob-B-9AvYis.d.mts} +2 -1
- package/dist/{chat-provider-6eYkL2ef.d.mts → chat-provider-DsNEBQiA.d.mts} +3 -2
- package/dist/cli-commands.d.mts +1 -1
- package/dist/cli-commands.mjs +1 -1
- package/dist/cli-embedded.d.mts +7 -3
- package/dist/cli-embedded.mjs +8 -4
- package/dist/cli.mjs +4 -4
- package/dist/{client-BY-BCggB.mjs → client-D0Px7KzF.mjs} +16 -4
- package/dist/{provider-C_sj4-GL.d.mts → client-xLxeDz0f.d.mts} +13 -689
- package/dist/{commands-D0wXq6CY.d.mts → commands-D6gvrOh3.d.mts} +4 -4
- package/dist/{commands-BtL4jFq8.mjs → commands-nEG47RM_.mjs} +7 -7
- package/dist/{conformance-BZ53bxrG.mjs → conformance-DlnfuzEB.mjs} +1 -1
- package/dist/conformance.d.mts +1 -1
- package/dist/conformance.mjs +1 -1
- package/dist/{engine-SeaJ_CIY.mjs → engine-ROa7-IQY.mjs} +2 -2
- package/dist/errors-CB4tnZGz.d.mts +16 -0
- package/dist/{errors-Bven0k29.mjs → errors-CusN4x2l.mjs} +14 -6
- package/dist/exports-D22M68rk.d.mts +5 -0
- package/dist/{exports-ByvYtxFT.mjs → exports-NFjBgIT2.mjs} +6 -6
- package/dist/{folds-CRYY14kc.d.mts → folds-jS9wlh9_.d.mts} +49 -2
- package/dist/{index-k2LfZxl-.d.mts → index-C05it0mC.d.mts} +2 -2
- package/dist/index.d.mts +5 -4
- package/dist/{index.default-DmfhBZZi.mjs → index.default-Boe7x-mK.mjs} +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.node.d.mts +5 -4
- package/dist/index.node.mjs +4 -4
- package/dist/inspect/app.js +108 -108
- package/dist/{main-BNkywL2P.mjs → main-BuahKR16.mjs} +84 -69
- package/dist/{middleware-B0J7QBq7.mjs → middleware-ChKM1zuu.mjs} +1 -1
- package/dist/{node-C51_xzCb.mjs → node-Ybi9E6bO.mjs} +104 -46
- package/dist/provider-Cdg1qadh.d.mts +688 -0
- package/dist/{serve-DYQ64Q5R.mjs → serve-BbHEQk_Y.mjs} +5 -5
- package/dist/{server-BgK1sgj7.mjs → server-Bphio_82.mjs} +4 -4
- package/dist/{serving-rXQcEgTO.mjs → serving-CvOWEym2.mjs} +1 -1
- package/dist/sync-github.d.mts +2 -2
- package/dist/sync-kapso.d.mts +2 -2
- package/dist/sync-linear.d.mts +2 -2
- package/dist/sync-slack.d.mts +3 -3
- package/dist/sync.chat.d.mts +1 -1
- package/dist/sync.d.mts +2 -2
- package/dist/{tokens-U-XRlEfq.mjs → tokens-BuCU-61R.mjs} +2 -2
- package/dist/{types-8yq2VnKI.d.mts → types-aCAf6lGU.d.mts} +1 -1
- package/dist/{watchers-hash-C4CJg7K1.mjs → watchers-hash-BfDPW95j.mjs} +5 -5
- package/docs/01-board/04-messages.md +1 -1
- package/docs/01-board/05-reading.md +2 -2
- package/docs/01-board/06-watchers.md +3 -3
- package/docs/02-sync/01-overview.md +2 -2
- package/docs/03-guides/03-ci.md +2 -2
- package/docs/03-guides/04-triage.md +5 -5
- package/docs/04-reference/01-cli.md +9 -4
- package/docs/04-reference/02-board.md +6 -2
- package/docs/index.md +2 -2
- package/package.json +1 -1
- package/dist/exports-CPrIkpz3.d.mts +0 -4
- package/dist/schemas-CWxs3ECJ.d.mts +0 -50
|
@@ -69,7 +69,7 @@ declare const options: {
|
|
|
69
69
|
readonly value: 'k[=v|w]';
|
|
70
70
|
readonly description: "with a label on the message or its thread's root";
|
|
71
71
|
};
|
|
72
|
-
readonly
|
|
72
|
+
readonly source: {
|
|
73
73
|
readonly type: 'string';
|
|
74
74
|
readonly value: 'source';
|
|
75
75
|
readonly description: 'from a source: a sync key such as slack, or board';
|
|
@@ -121,7 +121,7 @@ declare const options: {
|
|
|
121
121
|
};
|
|
122
122
|
readonly json: {
|
|
123
123
|
readonly type: 'boolean';
|
|
124
|
-
readonly description: '
|
|
124
|
+
readonly description: 'JSON, for programs';
|
|
125
125
|
};
|
|
126
126
|
readonly help: {
|
|
127
127
|
readonly type: 'boolean';
|
|
@@ -139,10 +139,10 @@ declare const options: {
|
|
|
139
139
|
readonly value: 'N';
|
|
140
140
|
readonly description: 'how many';
|
|
141
141
|
};
|
|
142
|
-
readonly
|
|
142
|
+
readonly 'idempotency-key': {
|
|
143
143
|
readonly type: 'string';
|
|
144
144
|
readonly value: 'key';
|
|
145
|
-
readonly description: '
|
|
145
|
+
readonly description: 'sending the same one again posts once';
|
|
146
146
|
};
|
|
147
147
|
readonly sync: {
|
|
148
148
|
readonly type: 'string';
|
|
@@ -23,7 +23,7 @@ const options = {
|
|
|
23
23
|
value: "k[=v|w]",
|
|
24
24
|
description: "with a label on the message or its thread's root"
|
|
25
25
|
},
|
|
26
|
-
|
|
26
|
+
source: {
|
|
27
27
|
type: "string",
|
|
28
28
|
value: "source",
|
|
29
29
|
description: "from a source: a sync key such as slack, or board"
|
|
@@ -75,7 +75,7 @@ const options = {
|
|
|
75
75
|
},
|
|
76
76
|
json: {
|
|
77
77
|
type: "boolean",
|
|
78
|
-
description: "
|
|
78
|
+
description: "JSON, for programs"
|
|
79
79
|
},
|
|
80
80
|
help: {
|
|
81
81
|
type: "boolean",
|
|
@@ -93,10 +93,10 @@ const options = {
|
|
|
93
93
|
value: "N",
|
|
94
94
|
description: "how many"
|
|
95
95
|
},
|
|
96
|
-
|
|
96
|
+
"idempotency-key": {
|
|
97
97
|
type: "string",
|
|
98
98
|
value: "key",
|
|
99
|
-
description: "
|
|
99
|
+
description: "sending the same one again posts once"
|
|
100
100
|
},
|
|
101
101
|
sync: {
|
|
102
102
|
type: "string",
|
|
@@ -214,7 +214,7 @@ const option = (name, description, value) => ({
|
|
|
214
214
|
const filters = [
|
|
215
215
|
"re",
|
|
216
216
|
"by",
|
|
217
|
-
"
|
|
217
|
+
"source",
|
|
218
218
|
"label",
|
|
219
219
|
"text",
|
|
220
220
|
"mentions",
|
|
@@ -369,7 +369,7 @@ const commands = [
|
|
|
369
369
|
option("attach"),
|
|
370
370
|
option("sync"),
|
|
371
371
|
option("no-sync"),
|
|
372
|
-
option("
|
|
372
|
+
option("idempotency-key")
|
|
373
373
|
],
|
|
374
374
|
examples: [{
|
|
375
375
|
name: "start a thread",
|
|
@@ -386,7 +386,7 @@ const commands = [
|
|
|
386
386
|
arguments: [id("the ID of a message in the thread"), text()],
|
|
387
387
|
options: [
|
|
388
388
|
option("attach"),
|
|
389
|
-
option("
|
|
389
|
+
option("idempotency-key"),
|
|
390
390
|
option("no-sync")
|
|
391
391
|
],
|
|
392
392
|
examples: [{
|
package/dist/conformance.d.mts
CHANGED
package/dist/conformance.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as conformance } from "./conformance-
|
|
1
|
+
import { t as conformance } from "./conformance-DlnfuzEB.mjs";
|
|
2
2
|
export { conformance };
|
|
@@ -3,9 +3,9 @@ import { C as toStorable, c as ChannelPath, m as MESSAGE_TEXT_MAX } from "./sche
|
|
|
3
3
|
import { c as externalMessageKey, l as isThreadTarget, s as channelOf } from "./external-BV_cUncs.mjs";
|
|
4
4
|
import { t as canonicalEmoji } from "./emoji-CTLpvH-A.mjs";
|
|
5
5
|
import { n as derivedId } from "./ids-C6AYo1bu.mjs";
|
|
6
|
-
import { r as badRequest, s as notFound, t as HttpError } from "./errors-
|
|
6
|
+
import { r as badRequest, s as notFound, t as HttpError } from "./errors-CusN4x2l.mjs";
|
|
7
7
|
import { n as replaceMentions } from "./mentions-CB6ShY4R.mjs";
|
|
8
|
-
import { t as DroppedError } from "./middleware-
|
|
8
|
+
import { t as DroppedError } from "./middleware-ChKM1zuu.mjs";
|
|
9
9
|
import { n as waitUntil, t as afterRetry } from "./attempts-CLG840Oj.mjs";
|
|
10
10
|
import { a as channelMissing, i as UnreadableError, n as ResolvedTarget, o as routesFor, t as ReceivedEvent } from "./provider-poIkXapd.mjs";
|
|
11
11
|
import { a as immutable, n as SyncOverrides } from "./events-CewD4kw7.mjs";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as ErrorOrigin } from "./client-xLxeDz0f.mjs";
|
|
2
|
+
//#region src/server/errors.d.ts
|
|
3
|
+
declare class HttpError extends Error {
|
|
4
|
+
readonly status: number;
|
|
5
|
+
readonly code: string;
|
|
6
|
+
/** What fixes it, when there's one (`BoardError`'s `hint`). */
|
|
7
|
+
readonly hint: string | undefined;
|
|
8
|
+
/** `handle` for a handle's own error on its way through: everything else is the board's. */
|
|
9
|
+
readonly origin: ErrorOrigin;
|
|
10
|
+
constructor(status: number, code: string, message: string, options?: {
|
|
11
|
+
hint?: string;
|
|
12
|
+
origin?: ErrorOrigin;
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { HttpError as t };
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
+
import { i as handleErrors } from "./client-D0Px7KzF.mjs";
|
|
1
2
|
import { ZodError } from "zod";
|
|
2
3
|
//#region src/server/errors.ts
|
|
3
4
|
var HttpError = class extends Error {
|
|
4
5
|
status;
|
|
5
6
|
code;
|
|
6
|
-
/** What fixes it, when
|
|
7
|
+
/** What fixes it, when there's one (`BoardError`'s `hint`). */
|
|
7
8
|
hint;
|
|
9
|
+
/** `handle` for a handle's own error on its way through: everything else is the board's. */
|
|
10
|
+
origin;
|
|
8
11
|
constructor(status, code, message, options = {}) {
|
|
9
12
|
super(message);
|
|
10
13
|
this.status = status;
|
|
11
14
|
this.code = code;
|
|
12
15
|
this.hint = options.hint;
|
|
16
|
+
this.origin = options.origin ?? "board";
|
|
13
17
|
}
|
|
14
18
|
};
|
|
15
19
|
/** A request a host's own verifier rejected with `response`, which the board answers with as it is. */
|
|
@@ -47,11 +51,15 @@ function reported(issue) {
|
|
|
47
51
|
/** Every failure becomes `{ error: { code, message, hint? } }` with a matching status. */
|
|
48
52
|
function toErrorResponse(error) {
|
|
49
53
|
if (error instanceof RejectedError) return error.response;
|
|
50
|
-
if (error instanceof HttpError)
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
if (error instanceof HttpError) {
|
|
55
|
+
const response = json({ error: {
|
|
56
|
+
code: error.code,
|
|
57
|
+
message: error.message,
|
|
58
|
+
...error.hint !== void 0 ? { hint: error.hint } : {}
|
|
59
|
+
} }, error.status);
|
|
60
|
+
if (error.origin === "handle") handleErrors.add(response);
|
|
61
|
+
return response;
|
|
62
|
+
}
|
|
55
63
|
if (error instanceof ZodError) {
|
|
56
64
|
const issue = error.issues[0] && reported(error.issues[0]);
|
|
57
65
|
const path = issue?.path.length ? `${issue.path.join(".")}: ` : "";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as ATTACHMENT_BYTES_MAX } from "./files-SniSmeEr.mjs";
|
|
2
2
|
import "./schemas-Be08nyfW.mjs";
|
|
3
|
-
import { A as SchedulesQuery, B as SyncReceiptBody, C as MatchesQuery, D as Ref, E as ReactBody, F as SyncBody, G as UploadStartBody, H as SyncUnlinkBody, I as SyncCodeBody, L as SyncCopiesQuery, M as SourceJoinBody, N as SourceReadQuery, O as RegisterBody, P as SyncAccountBody, R as SyncFindQuery, S as LinkedQuery, T as PostBody, U as ThreadsQuery, V as SyncRootsQuery, W as TypingBody, _ as InboxAckBody, a as METHODS, b as InboxQuery, c as queryObject, d as VERSION, f as SYNC, g as IdentityUnlinkBody, h as EventsQuery, j as SignInQuery, k as ScheduleBody, l as readCapped, m as EditBody, o as createRouter, p as AckBody, s as openapi, u as readJson, v as InboxNextQuery, w as MessagesQuery, x as LabelBody, y as InboxPushBody, z as SyncImportBody } from "./watchers-hash-
|
|
4
|
-
import { n as createBoardClient, t as BoardError } from "./client-
|
|
3
|
+
import { A as SchedulesQuery, B as SyncReceiptBody, C as MatchesQuery, D as Ref, E as ReactBody, F as SyncBody, G as UploadStartBody, H as SyncUnlinkBody, I as SyncCodeBody, L as SyncCopiesQuery, M as SourceJoinBody, N as SourceReadQuery, O as RegisterBody, P as SyncAccountBody, R as SyncFindQuery, S as LinkedQuery, T as PostBody, U as ThreadsQuery, V as SyncRootsQuery, W as TypingBody, _ as InboxAckBody, a as METHODS, b as InboxQuery, c as queryObject, d as VERSION, f as SYNC, g as IdentityUnlinkBody, h as EventsQuery, j as SignInQuery, k as ScheduleBody, l as readCapped, m as EditBody, o as createRouter, p as AckBody, s as openapi, u as readJson, v as InboxNextQuery, w as MessagesQuery, x as LabelBody, y as InboxPushBody, z as SyncImportBody } from "./watchers-hash-BfDPW95j.mjs";
|
|
4
|
+
import { n as createBoardClient, t as BoardError } from "./client-D0Px7KzF.mjs";
|
|
5
5
|
import { n as derivedId } from "./ids-C6AYo1bu.mjs";
|
|
6
|
-
import { a as forbidden, c as toErrorResponse, l as unauthorized, n as RejectedError, o as json, r as badRequest, s as notFound, t as HttpError } from "./errors-
|
|
7
|
-
import { d as issuersOf, g as verifiesTokens, l as hostPrincipal, o as createAuthority, s as fromTokens } from "./auth-
|
|
8
|
-
import { i as resolveActor, r as claimsOf, t as KNOWN_AGENTS } from "./actors-
|
|
9
|
-
import { r as runMiddleware, t as DroppedError } from "./middleware-
|
|
6
|
+
import { a as forbidden, c as toErrorResponse, l as unauthorized, n as RejectedError, o as json, r as badRequest, s as notFound, t as HttpError } from "./errors-CusN4x2l.mjs";
|
|
7
|
+
import { d as issuersOf, g as verifiesTokens, l as hostPrincipal, o as createAuthority, s as fromTokens } from "./auth-lTkOgvcE.mjs";
|
|
8
|
+
import { i as resolveActor, r as claimsOf, t as KNOWN_AGENTS } from "./actors-BLXVp4oZ.mjs";
|
|
9
|
+
import { r as runMiddleware, t as DroppedError } from "./middleware-ChKM1zuu.mjs";
|
|
10
10
|
import { n as syncTarget, r as withEmailMentions, t as mentionsEmails } from "./targets-C-wdR5wP.mjs";
|
|
11
11
|
//#region src/server/policy.ts
|
|
12
12
|
/**
|
|
@@ -1,5 +1,52 @@
|
|
|
1
|
-
import { i as Attachment, o as Author, p as Labels, r as ActorKind } from "./schemas-CWxs3ECJ.mjs";
|
|
2
1
|
import { z } from "zod";
|
|
2
|
+
//#region src/contract/schemas.d.ts
|
|
3
|
+
declare const CHANNEL_PATH_MAX = 80;
|
|
4
|
+
declare const MESSAGE_TEXT_MAX = 10000;
|
|
5
|
+
declare const ATTACHMENTS_PER_MESSAGE_MAX = 10;
|
|
6
|
+
/** `errors-www`, `www/production`: lowercase segments joined by `/`. */
|
|
7
|
+
declare const ChannelPath: z.ZodString;
|
|
8
|
+
declare const MessageText: z.ZodString;
|
|
9
|
+
/** A message is named by the log index of its `message.posted` event. */
|
|
10
|
+
declare const MessageId: z.ZodNumber;
|
|
11
|
+
declare const LabelKey: z.ZodString;
|
|
12
|
+
declare const LabelValue: z.ZodString;
|
|
13
|
+
declare const Labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
14
|
+
/** Normalized short names, as Chat SDK names them: `eyes`, `check`, `thumbs_up`. */
|
|
15
|
+
declare const Emoji: z.ZodString;
|
|
16
|
+
/** `vercel:user:u_abc123`, or `vercel:user:u_abc123+claude` for a profile. */
|
|
17
|
+
declare const ActorId: z.ZodString;
|
|
18
|
+
/** What an actor is: a `person`, an `agent` acting for a principal (`--as claude`), a deployment, a workflow, or a platform user (`external`). */
|
|
19
|
+
declare const ActorKind: z.ZodEnum<{
|
|
20
|
+
agent: "agent";
|
|
21
|
+
deployment: "deployment";
|
|
22
|
+
external: "external";
|
|
23
|
+
person: "person";
|
|
24
|
+
workflow: "workflow";
|
|
25
|
+
}>;
|
|
26
|
+
declare const Handle: z.ZodString;
|
|
27
|
+
declare const Author: z.ZodObject<{
|
|
28
|
+
actor: z.ZodString;
|
|
29
|
+
principal: z.ZodString;
|
|
30
|
+
profile: z.ZodNullable<z.ZodString>;
|
|
31
|
+
session: z.ZodNullable<z.ZodString>;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
/** 128 random bits, base64url: an attachment is named by an ID nobody can guess. */
|
|
34
|
+
declare const AttachmentId: z.ZodString;
|
|
35
|
+
/** A file on a message. The board records `type` and `size` from what it stored, never from the request. */
|
|
36
|
+
declare const Attachment: z.ZodObject<{
|
|
37
|
+
id: z.ZodString;
|
|
38
|
+
name: z.ZodString;
|
|
39
|
+
type: z.ZodString;
|
|
40
|
+
size: z.ZodNumber;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
type ChannelPath = z.infer<typeof ChannelPath>;
|
|
43
|
+
type MessageId = z.infer<typeof MessageId>;
|
|
44
|
+
type Labels = z.infer<typeof Labels>;
|
|
45
|
+
type ActorId = z.infer<typeof ActorId>;
|
|
46
|
+
type ActorKind = z.infer<typeof ActorKind>;
|
|
47
|
+
type Author = z.infer<typeof Author>;
|
|
48
|
+
type Attachment = z.infer<typeof Attachment>;
|
|
49
|
+
//#endregion
|
|
3
50
|
//#region src/contract/events.d.ts
|
|
4
51
|
/** The board's one log. Every board fact is an event in session `board`. */
|
|
5
52
|
declare const boardEvents: {
|
|
@@ -531,4 +578,4 @@ type SyncedThread = {
|
|
|
531
578
|
external: Record<string, string>;
|
|
532
579
|
};
|
|
533
580
|
//#endregion
|
|
534
|
-
export { BoardEvents as _, ExternalCopy as a, SyncedThread as c, ExternalFile as d, ExternalLink as f, BoardEvent as g, BOARD_SESSION as h, ChannelsState as i, ExternalAuthor as l, Origin as m, ActorsState as n, Message as o, Link as p, Channel as r, MessagesState as s, Actor as t, ExternalEvent as u };
|
|
581
|
+
export { Labels as A, Author as C, Handle as D, Emoji as E, MessageId as M, MessageText as N, LabelKey as O, AttachmentId as S, ChannelPath as T, BoardEvents as _, ExternalCopy as a, ActorKind as b, SyncedThread as c, ExternalFile as d, ExternalLink as f, BoardEvent as g, BOARD_SESSION as h, ChannelsState as i, MESSAGE_TEXT_MAX as j, LabelValue as k, ExternalAuthor as l, Origin as m, ActorsState as n, Message as o, Link as p, Channel as r, MessagesState as s, Actor as t, ExternalEvent as u, ATTACHMENTS_PER_MESSAGE_MAX as v, CHANNEL_PATH_MAX as w, Attachment as x, ActorId as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as Board, f as BoardOptions } from "./backend-
|
|
2
|
-
import "./exports-
|
|
1
|
+
import { d as Board, f as BoardOptions } from "./backend-ZKYTe3xa.mjs";
|
|
2
|
+
import "./exports-D22M68rk.mjs";
|
|
3
3
|
//#region src/server/index.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* The handle on a board. With a `backend`, the board lives there: `a2()` keeps it in this
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { a as CallerRequest, o as Claims } from "./auth-CU56Q2Xh.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { $ as
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
2
|
+
import { x as Attachment } from "./folds-jS9wlh9_.mjs";
|
|
3
|
+
import { $ as RegisterInput, A as InboxItem, At as SyncRootsQuery, B as Me, Bt as TypingResult, C as EventsQuery, Ct as SyncFindInput, D as IdentityView, Dt as SyncImportInput, E as IdentityUnlinkBody, Et as SyncImportBody, F as LinkView, Ft as ThreadView, G as ParsedFilters, H as MessagesPage, Ht as UploadTicket, I as LinkedAccount, It as ThreadsPage, J as PostInput, K as PersonView, L as LinkedQuery, Lt as ThreadsQuery, M as InboxPushBody, Mt as SyncUnlinkBody, N as InboxQuery, Nt as SyncedView, O as InboxAckBody, Ot as SyncReceiptBody, P as LabelBody, Pt as ThreadSummaryView, Q as RegisterBody, R as MatchView, Rt as ThreadsQueryInput, S as EventsPage, St as SyncCopiesView, T as FiltersInput, Tt as SyncFindView, U as MessagesQuery, Ut as routes, V as MessageView, Vt as UploadStartBody, W as MessagesQueryInput, X as ReactBody, Y as REGISTERED_WATCHERS_MAX, Z as Ref, _ as BoardEventView, _t as SyncAccountInput, a as PostOptions, at as ScheduleInput, b as Discovery, bt as SyncCodeView, c as ScheduleOptions, ct as SchedulesQueryInput, d as WaitOptions, dt as SourceJoin, et as RegistrationView, f as Written, ft as SourceJoinBody, g as ApiError, gt as SyncAccountBody, h as ActorView, ht as SourceReadQuery, i as Filters, it as ScheduleBodyOutput, j as InboxNextQuery, jt as SyncThreadView, k as InboxEntry, kt as SyncReceiptInput, l as ScheduleTiming, lt as SchedulesQueryOutput, m as AckBody, mt as SourceRead, n as BoardError, nt as RouteName, o as ProfileOption, ot as ScheduleView, p as duration, pt as SourceMessage, q as PostBody, rt as ScheduleBody, s as ReplyOptions, st as SchedulesQuery, tt as ResolvedSyncTarget, u as UploadInput, ut as SignInQuery, v as ChannelView, vt as SyncBody, w as EventsQueryInput, wt as SyncFindQuery, x as EditBody, xt as SyncCopiesQuery, y as DeleteBody, yt as SyncCodeBody, z as MatchesQuery, zt as TypingBody } from "./client-xLxeDz0f.mjs";
|
|
4
|
+
import { S as Protocol, _ as MiddlewareContext, a as Identity, b as WriteSource, c as SelfCaller, d as Board, f as BoardOptions, g as Middleware, h as DroppedError, i as Caller, l as Subscription, m as WatcherContext, n as BackendRoute, o as InboxDelivery, p as Watcher, r as BoardBinding, s as ProtocolMethods, t as Backend, u as VerifiedCaller, v as Write, x as Method, y as WritePatch } from "./backend-ZKYTe3xa.mjs";
|
|
5
|
+
import { t as HttpError } from "./errors-CB4tnZGz.mjs";
|
|
6
|
+
import "./exports-D22M68rk.mjs";
|
|
6
7
|
//#region src/server/index.default.d.ts
|
|
7
8
|
/**
|
|
8
9
|
* The handle on a board. Outside Node there's no environment to find one in, so pass its
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as createHttp } from "./backend-http-
|
|
1
|
+
import { r as createHttp } from "./backend-http-BB0Gld6Q.mjs";
|
|
2
2
|
//#region src/backend-http/index.default.ts
|
|
3
3
|
/**
|
|
4
4
|
* The board at `url`, which keeps the log. Outside Node there's no environment to find it or a
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as duration, t as BoardError } from "./client-
|
|
2
|
-
import { t as HttpError } from "./errors-
|
|
3
|
-
import { t as http } from "./index.default-
|
|
4
|
-
import { t as createBoard } from "./exports-
|
|
5
|
-
import { t as DroppedError } from "./middleware-
|
|
1
|
+
import { r as duration, t as BoardError } from "./client-D0Px7KzF.mjs";
|
|
2
|
+
import { t as HttpError } from "./errors-CusN4x2l.mjs";
|
|
3
|
+
import { t as http } from "./index.default-Boe7x-mK.mjs";
|
|
4
|
+
import { t as createBoard } from "./exports-NFjBgIT2.mjs";
|
|
5
|
+
import { t as DroppedError } from "./middleware-ChKM1zuu.mjs";
|
|
6
6
|
//#region src/server/index.default.ts
|
|
7
7
|
/**
|
|
8
8
|
* The handle on a board. Outside Node there's no environment to find one in, so pass its
|
|
@@ -11,7 +11,7 @@ import { t as DroppedError } from "./middleware-B0J7QBq7.mjs";
|
|
|
11
11
|
function board(options = {}) {
|
|
12
12
|
return createBoard(options, {
|
|
13
13
|
http: () => http(),
|
|
14
|
-
sync: () => import("./engine-
|
|
14
|
+
sync: () => import("./engine-ROa7-IQY.mjs"),
|
|
15
15
|
serving: null
|
|
16
16
|
});
|
|
17
17
|
}
|
package/dist/index.node.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { a as CallerRequest, o as Claims } from "./auth-CU56Q2Xh.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { $ as
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
2
|
+
import { x as Attachment } from "./folds-jS9wlh9_.mjs";
|
|
3
|
+
import { $ as RegisterInput, A as InboxItem, At as SyncRootsQuery, B as Me, Bt as TypingResult, C as EventsQuery, Ct as SyncFindInput, D as IdentityView, Dt as SyncImportInput, E as IdentityUnlinkBody, Et as SyncImportBody, F as LinkView, Ft as ThreadView, G as ParsedFilters, H as MessagesPage, Ht as UploadTicket, I as LinkedAccount, It as ThreadsPage, J as PostInput, K as PersonView, L as LinkedQuery, Lt as ThreadsQuery, M as InboxPushBody, Mt as SyncUnlinkBody, N as InboxQuery, Nt as SyncedView, O as InboxAckBody, Ot as SyncReceiptBody, P as LabelBody, Pt as ThreadSummaryView, Q as RegisterBody, R as MatchView, Rt as ThreadsQueryInput, S as EventsPage, St as SyncCopiesView, T as FiltersInput, Tt as SyncFindView, U as MessagesQuery, Ut as routes, V as MessageView, Vt as UploadStartBody, W as MessagesQueryInput, X as ReactBody, Y as REGISTERED_WATCHERS_MAX, Z as Ref, _ as BoardEventView, _t as SyncAccountInput, a as PostOptions, at as ScheduleInput, b as Discovery, bt as SyncCodeView, c as ScheduleOptions, ct as SchedulesQueryInput, d as WaitOptions, dt as SourceJoin, et as RegistrationView, f as Written, ft as SourceJoinBody, g as ApiError, gt as SyncAccountBody, h as ActorView, ht as SourceReadQuery, i as Filters, it as ScheduleBodyOutput, j as InboxNextQuery, jt as SyncThreadView, k as InboxEntry, kt as SyncReceiptInput, l as ScheduleTiming, lt as SchedulesQueryOutput, m as AckBody, mt as SourceRead, n as BoardError, nt as RouteName, o as ProfileOption, ot as ScheduleView, p as duration, pt as SourceMessage, q as PostBody, rt as ScheduleBody, s as ReplyOptions, st as SchedulesQuery, tt as ResolvedSyncTarget, u as UploadInput, ut as SignInQuery, v as ChannelView, vt as SyncBody, w as EventsQueryInput, wt as SyncFindQuery, x as EditBody, xt as SyncCopiesQuery, y as DeleteBody, yt as SyncCodeBody, z as MatchesQuery, zt as TypingBody } from "./client-xLxeDz0f.mjs";
|
|
4
|
+
import { S as Protocol, _ as MiddlewareContext, a as Identity, b as WriteSource, c as SelfCaller, d as Board, f as BoardOptions, g as Middleware, h as DroppedError, i as Caller, l as Subscription, m as WatcherContext, n as BackendRoute, o as InboxDelivery, p as Watcher, r as BoardBinding, s as ProtocolMethods, t as Backend, u as VerifiedCaller, v as Write, x as Method, y as WritePatch } from "./backend-ZKYTe3xa.mjs";
|
|
5
|
+
import { t as HttpError } from "./errors-CB4tnZGz.mjs";
|
|
6
|
+
import { t as board } from "./index-C05it0mC.mjs";
|
|
6
7
|
export { type AckBody, type ActorView, type ApiError, type Attachment, type Backend, type BackendRoute, type Board, type BoardBinding, BoardError, type BoardEventView, type BoardOptions, type Caller, type CallerRequest, type ChannelView, type Claims, type DeleteBody, type Discovery, DroppedError, type EditBody, type EventsPage, type EventsQuery, type EventsQueryInput, type Filters, type FiltersInput, HttpError, type Identity, type IdentityUnlinkBody, type IdentityView, type InboxAckBody, type InboxDelivery, type InboxEntry, type InboxItem, type InboxNextQuery, type InboxPushBody, type InboxQuery, type LabelBody, type LinkView, type LinkedAccount, type LinkedQuery, type MatchView, type MatchesQuery, type Me, type MessageView, type MessagesPage, type MessagesQuery, type MessagesQueryInput, type Method, type Middleware, type MiddlewareContext, type ParsedFilters, type PersonView, type PostBody, type PostInput, type PostOptions, type ProfileOption, type Protocol, type ProtocolMethods, type REGISTERED_WATCHERS_MAX, type ReactBody, type Ref, type RegisterBody, type RegisterInput, type RegistrationView, type ReplyOptions, type ResolvedSyncTarget, type RouteName, type ScheduleBody, type ScheduleBodyOutput, type ScheduleInput, type ScheduleOptions, type ScheduleTiming, type ScheduleView, type SchedulesQuery, type SchedulesQueryInput, type SchedulesQueryOutput, type SelfCaller, type SignInQuery, type SourceJoin, type SourceJoinBody, type SourceMessage, type SourceRead, type SourceReadQuery, type Subscription, type SyncAccountBody, type SyncAccountInput, type SyncBody, type SyncCodeBody, type SyncCodeView, type SyncCopiesQuery, type SyncCopiesView, type SyncFindInput, type SyncFindQuery, type SyncFindView, type SyncImportBody, type SyncImportInput, type SyncReceiptBody, type SyncReceiptInput, type SyncRootsQuery, type SyncThreadView, type SyncUnlinkBody, type SyncedView, type ThreadSummaryView, type ThreadView, type ThreadsPage, type ThreadsQuery, type ThreadsQueryInput, type TypingBody, type TypingResult, type UploadInput, type UploadStartBody, type UploadTicket, type VerifiedCaller, type WaitOptions, type Watcher, type WatcherContext, type Write, type WritePatch, type WriteSource, type Written, board, duration, type routes };
|
package/dist/index.node.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as duration, t as BoardError } from "./client-
|
|
2
|
-
import { t as HttpError } from "./errors-
|
|
3
|
-
import { t as DroppedError } from "./middleware-
|
|
4
|
-
import { t as board } from "./server-
|
|
1
|
+
import { r as duration, t as BoardError } from "./client-D0Px7KzF.mjs";
|
|
2
|
+
import { t as HttpError } from "./errors-CusN4x2l.mjs";
|
|
3
|
+
import { t as DroppedError } from "./middleware-ChKM1zuu.mjs";
|
|
4
|
+
import { t as board } from "./server-Bphio_82.mjs";
|
|
5
5
|
export { BoardError, DroppedError, HttpError, board, duration };
|