@vercel/board 0.38.0 → 0.39.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/{backend-BkQlF1LQ.d.mts → backend-HcCCGPG4.d.mts} +1 -1
- package/dist/backend-local.d.mts +1 -1
- package/dist/backend-local.mjs +1 -1
- package/dist/cli-embedded.d.mts +2 -2
- package/dist/cli-embedded.mjs +3 -3
- package/dist/cli.mjs +4 -4
- package/dist/{conformance-qJF96jZI.mjs → conformance-D59Py2m2.mjs} +4 -8
- package/dist/conformance.d.mts +1 -1
- package/dist/conformance.mjs +1 -1
- package/dist/digest-krhjNAt4.mjs +4 -0
- package/dist/{exports-BsfcChdp.mjs → exports-M5o4PTfO.mjs} +21 -16
- package/dist/exports-vLQ2Y2Nd.d.mts +4 -0
- package/dist/{index-DpVyZa9b.d.mts → index-rNqqgkyu.d.mts} +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/index.node.d.mts +2 -2
- package/dist/index.node.mjs +1 -1
- package/dist/inspect/app.js +5 -5
- package/dist/{inspect-DtCbBtOW.mjs → inspect-BkXxR2uB.mjs} +3 -3
- package/dist/inspect-lnv1sLXM.mjs +2 -0
- package/dist/{local-Bo3XzEKB.mjs → local-DvkOWf4U.mjs} +227 -511
- package/dist/{main-0nvLgajF.mjs → main-DtV_Po9i.mjs} +5 -5
- package/dist/{page-UsfvSIWc.mjs → page-64IwoGRu.mjs} +2 -2
- package/dist/page-BUj8_UZv.mjs +2 -0
- package/dist/{serve-D7I3KisQ.mjs → serve-CX1rqDF_.mjs} +2 -2
- package/dist/{server-Cc3nYq3H.mjs → server-DkYkyarg.mjs} +41 -96
- package/dist/{targets-B4Uikw0J.mjs → targets-C1mT3M1N.mjs} +1 -1
- package/docs/01-board/01-mounting.md +2 -2
- package/docs/01-board/03-identity.md +1 -1
- package/docs/01-board/06-watchers.md +8 -11
- package/docs/01-board/09-access.md +1 -1
- package/docs/02-sync/01-overview.md +2 -5
- package/docs/04-reference/03-http.md +3 -3
- package/package.json +1 -1
- package/dist/digest-DAxy9Ula.mjs +0 -4
- package/dist/exports-BJ3wmEMY.d.mts +0 -4
- package/dist/inspect-5mkjJYMS.mjs +0 -2
- package/dist/page-R0RoE_gM.mjs +0 -2
|
@@ -758,7 +758,7 @@ interface Backend extends ProtocolMethods {
|
|
|
758
758
|
/**
|
|
759
759
|
* Whether the board lives here. One that keeps it (`local()`) serves requests: its people, the
|
|
760
760
|
* board's own deployments, and whoever its grants and tokens let in. One that uses another board
|
|
761
|
-
*
|
|
761
|
+
* answers no requests: on Vercel's, only wake-ups and webhooks, and at `BOARD_URL`, nothing.
|
|
762
762
|
*/
|
|
763
763
|
readonly keeps: boolean;
|
|
764
764
|
/**
|
package/dist/backend-local.d.mts
CHANGED
package/dist/backend-local.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as local } from "./local-
|
|
1
|
+
import { t as local } from "./local-DvkOWf4U.mjs";
|
|
2
2
|
export { local };
|
package/dist/cli-embedded.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as Board } from "./backend-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { d as Board } from "./backend-HcCCGPG4.mjs";
|
|
2
|
+
import "./index-rNqqgkyu.mjs";
|
|
3
3
|
//#region src/cli/failure.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* What kind of failure it is, which fixes the exit code: 2 for `usage` and `missing_input`, 130
|
package/dist/cli-embedded.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as VERSION } from "./targets-
|
|
2
|
-
import { a as commandLine, c as failureLines, i as mainWith, l as formatFailure, n as commandWord, o as exitCode, r as main, s as failureDocument, t as Failed } from "./main-
|
|
3
|
-
import { t as PAGE_SHA256 } from "./digest-
|
|
1
|
+
import { g as VERSION } from "./targets-C1mT3M1N.mjs";
|
|
2
|
+
import { a as commandLine, c as failureLines, i as mainWith, l as formatFailure, n as commandWord, o as exitCode, r as main, s as failureDocument, t as Failed } from "./main-DtV_Po9i.mjs";
|
|
3
|
+
import { t as PAGE_SHA256 } from "./digest-krhjNAt4.mjs";
|
|
4
4
|
//#region src/cli/embedded.ts
|
|
5
5
|
/**
|
|
6
6
|
* The inspector's page as this version of board's npm package has it, for an app that bundles
|
package/dist/cli.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { a as option } from "./commands-BLS7erNu.mjs";
|
|
3
|
-
import { f as projectDir } from "./server-
|
|
4
|
-
import { r as main } from "./main-
|
|
5
|
-
import { n as stopped, r as startInspector } from "./inspect-
|
|
3
|
+
import { f as projectDir } from "./server-DkYkyarg.mjs";
|
|
4
|
+
import { r as main } from "./main-DtV_Po9i.mjs";
|
|
5
|
+
import { n as stopped, r as startInspector } from "./inspect-BkXxR2uB.mjs";
|
|
6
6
|
import { appendFile, readFile } from "node:fs/promises";
|
|
7
7
|
import { join } from "node:path";
|
|
8
8
|
//#region src/cli/local.ts
|
|
@@ -36,7 +36,7 @@ const local = { serve: {
|
|
|
36
36
|
if (args.length > 0) throw usage("serve takes no arguments: pass its port with --port, and its directory with --dir.");
|
|
37
37
|
const port = portFlag();
|
|
38
38
|
const root = projectDir();
|
|
39
|
-
const { localHandle, serveLocal } = await import("./serve-
|
|
39
|
+
const { localHandle, serveLocal } = await import("./serve-CX1rqDF_.mjs");
|
|
40
40
|
const handle = flags.handle ?? process.env.BOARD_HANDLE;
|
|
41
41
|
const local = await serveLocal({
|
|
42
42
|
dir: flags.dir ?? join(root, ".board"),
|
|
@@ -43,9 +43,9 @@ async function narrowedOut(attempt, what) {
|
|
|
43
43
|
}
|
|
44
44
|
throw new Mismatch(`${what}, by a caller narrowed with x-board-can: expected 403 forbidden, and it succeeded`);
|
|
45
45
|
}
|
|
46
|
-
/** Where a registration is woken, to put back after a check replaces it: its path (and branch) on a board that wakes by path, or
|
|
46
|
+
/** Where a registration is woken, to put back after a check replaces it: its path (and branch) on a board that wakes by path, or nowhere. */
|
|
47
47
|
function wokenAt(registered) {
|
|
48
|
-
if (!registered?.path) return {
|
|
48
|
+
if (!registered?.path) return {};
|
|
49
49
|
return {
|
|
50
50
|
path: registered.path,
|
|
51
51
|
...registered.branch ? { branch: registered.branch } : {}
|
|
@@ -224,7 +224,6 @@ async function registerSync(ctx) {
|
|
|
224
224
|
const where = wokenAt(registered);
|
|
225
225
|
try {
|
|
226
226
|
await ctx.board.register({
|
|
227
|
-
url: null,
|
|
228
227
|
watch: {},
|
|
229
228
|
sync: [{
|
|
230
229
|
key: SYNC_KEY,
|
|
@@ -1044,10 +1043,7 @@ const CHECKS = [
|
|
|
1044
1043
|
const registered = (await ctx.board.watchers()).find((r) => r.owner === ctx.me.principal);
|
|
1045
1044
|
if (registered && (Object.keys(registered.watch).length > 0 || (registered.sync?.length ?? 0) > 0)) return "this token has watchers or a sync registered here, and checking would replace them";
|
|
1046
1045
|
const where = wokenAt(registered);
|
|
1047
|
-
await ctx.board.register({
|
|
1048
|
-
url: null,
|
|
1049
|
-
watch: { conformance: { tail: `${ctx.channel} --label conformance=${ctx.labels.conformance}` } }
|
|
1050
|
-
});
|
|
1046
|
+
await ctx.board.register({ watch: { conformance: { tail: `${ctx.channel} --label conformance=${ctx.labels.conformance}` } } });
|
|
1051
1047
|
try {
|
|
1052
1048
|
const message = await post(ctx, "conformance: for a watcher");
|
|
1053
1049
|
const deadline = Date.now() + 1e4;
|
|
@@ -1081,7 +1077,7 @@ const CHECKS = [
|
|
|
1081
1077
|
watch: {}
|
|
1082
1078
|
});
|
|
1083
1079
|
try {
|
|
1084
|
-
if (!byPath) await rejects(attempt(), 501, "no_wake_by_path", "a path, on a board that wakes
|
|
1080
|
+
if (!byPath) await rejects(attempt(), 501, "no_wake_by_path", "a path, on a board that wakes nothing");
|
|
1085
1081
|
else if (environment === null) await rejects(attempt(), 403, "not_a_project", "a path, from a token that isn't a Vercel project's");
|
|
1086
1082
|
else {
|
|
1087
1083
|
const view = await attempt();
|
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-D59Py2m2.mjs";
|
|
2
2
|
export { conformance };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as forbidden, c as toErrorResponse, d as createBoardClient, f as duration, g as fileName, h as IMPORT_BYTES_MAX, l as unauthorized, n as RejectedError, o as json, p as ATTACHMENT_BYTES_MAX, r as badRequest, s as notFound, t as HttpError, u as BoardError, v as mediaType } from "./errors-rYDxZEuN.mjs";
|
|
2
2
|
import { h as RemoteWatcherId } from "./schemas-AZkxk06N.mjs";
|
|
3
|
-
import { A as MatchesQuery, B as SyncBody, C as GrantBody, D as InboxQuery, E as InboxPushBody, F as RegisterBody, G as ThreadsQuery, H as SyncFindQuery, I as ScheduleBody, J as UpdateGrantBody, K as TokenBody, L as SchedulesQuery, M as PostBody, N as ReactBody, O as LabelBody, P as Ref, R as SourceJoinBody, S as ExplainQuery, T as InboxNextQuery, U as SyncImportBody, V as SyncCopiesQuery, W as SyncReceiptBody, Y as UploadStartBody, _ as AckBody, a as runMatch, b as EditBody, d as openapi, f as queryObject, g as VERSION, h as SYNC, i as canonicalWatchers, j as MessagesQuery, k as LinkedQuery, l as METHODS, m as readJson, n as syncTarget, o as compileWatcher, p as readCapped, q as TypingBody, r as withEmailMentions, t as mentionsEmails, u as createRouter, v as CreateChannelBody, w as InboxAckBody, x as EventsQuery, y as DeleteBody, z as SourceReadQuery } from "./targets-
|
|
3
|
+
import { A as MatchesQuery, B as SyncBody, C as GrantBody, D as InboxQuery, E as InboxPushBody, F as RegisterBody, G as ThreadsQuery, H as SyncFindQuery, I as ScheduleBody, J as UpdateGrantBody, K as TokenBody, L as SchedulesQuery, M as PostBody, N as ReactBody, O as LabelBody, P as Ref, R as SourceJoinBody, S as ExplainQuery, T as InboxNextQuery, U as SyncImportBody, V as SyncCopiesQuery, W as SyncReceiptBody, Y as UploadStartBody, _ as AckBody, a as runMatch, b as EditBody, d as openapi, f as queryObject, g as VERSION, h as SYNC, i as canonicalWatchers, j as MessagesQuery, k as LinkedQuery, l as METHODS, m as readJson, n as syncTarget, o as compileWatcher, p as readCapped, q as TypingBody, r as withEmailMentions, t as mentionsEmails, u as createRouter, v as CreateChannelBody, w as InboxAckBody, x as EventsQuery, y as DeleteBody, z as SourceReadQuery } from "./targets-C1mT3M1N.mjs";
|
|
4
4
|
import { a as waitUntil, r as runMiddleware, s as derivedId, t as DroppedError, u as sha256 } from "./middleware-CPqAuRtp.mjs";
|
|
5
5
|
import { a as canText, c as compileAccess, d as parsePattern, r as PERMISSIONS, u as parseCan } from "./access-CVkjSfxj.mjs";
|
|
6
6
|
import { S as verifiesTokens, T as explainGrants, a as VERCEL_ISSUER, d as fromTokens, f as grantIssuers, p as hostPrincipal, u as createAuthority, x as verifiedIssuers, y as tokenHash } from "./auth-B3bBYOqf.mjs";
|
|
@@ -17,8 +17,8 @@ const POLL_WAIT_S = 25;
|
|
|
17
17
|
const describe$1 = (error) => ((error instanceof Error ? error.message : String(error)) || "unknown error").slice(0, 500);
|
|
18
18
|
/** Only an https URL can be woken; anything else pulls on its own. */
|
|
19
19
|
const wakeable = (here) => here?.startsWith("https://") ? here : null;
|
|
20
|
-
/** Whether a registration is woken at all: one with
|
|
21
|
-
const pulls = (registration) => registration.
|
|
20
|
+
/** Whether a registration is woken at all: one with no path pulls on its own, off Vercel. */
|
|
21
|
+
const pulls = (registration) => registration.path === void 0;
|
|
22
22
|
/**
|
|
23
23
|
* Whether this is a deployment on Vercel, whose function doesn't outlive its request: `VERCEL` is 1,
|
|
24
24
|
* outside development. `vercel env pull` and `vercel dev` set both for a dev server, which stays up.
|
|
@@ -39,11 +39,10 @@ function wakePath(here) {
|
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
|
-
* Runs a
|
|
43
|
-
* when one matches, with nothing in the wake-up but a hash, and pulls what
|
|
44
|
-
* credentials, runs it, and acks it.
|
|
45
|
-
*
|
|
46
|
-
* deployment's vercel() run their watchers this way.
|
|
42
|
+
* Runs a deployment's watchers on Vercel's API, which matches them: it registers them there, is
|
|
43
|
+
* woken at its path when one matches, with nothing in the wake-up but a hash, and pulls what
|
|
44
|
+
* matched with its own credentials, runs it, and acks it. With no path to wake (a dev server, say),
|
|
45
|
+
* it pulls on its own. vercel() runs a deployment's watchers this way.
|
|
47
46
|
*/
|
|
48
47
|
function registrant(options) {
|
|
49
48
|
const { registry, rethrow } = options;
|
|
@@ -1518,16 +1517,19 @@ function createVercel(options, environment) {
|
|
|
1518
1517
|
for (const { key, values } of filter.labels ?? []) parts.push(`--label ${values ? `${key}=${values.join("|")}` : key}`);
|
|
1519
1518
|
return parts.join(" ");
|
|
1520
1519
|
}
|
|
1521
|
-
/** Where a registration is woken, as board shows it: its URL, or a path on its project (and a preview's branch). */
|
|
1522
1520
|
const syncOf = (found) => (found.sync ?? []).map(({ key, platform }) => ({
|
|
1523
1521
|
key,
|
|
1524
1522
|
platform
|
|
1525
1523
|
}));
|
|
1524
|
+
/**
|
|
1525
|
+
* Where a registration is woken, as board shows it: a path on its project (and a preview's branch),
|
|
1526
|
+
* or, with none, nowhere: it pulls. The API never wakes a URL, and its replies carry none.
|
|
1527
|
+
*/
|
|
1526
1528
|
const whereOf = (found) => found.path ? {
|
|
1527
1529
|
url: null,
|
|
1528
1530
|
path: found.path,
|
|
1529
1531
|
...found.branch ? { branch: found.branch } : {}
|
|
1530
|
-
} : { url:
|
|
1532
|
+
} : { url: null };
|
|
1531
1533
|
/**
|
|
1532
1534
|
* Vercel's API takes watchers only from a deployment's own credentials: never a person's, an app's,
|
|
1533
1535
|
* or a board token's, whoever made it. Anyone else's registration, pull, or ack is its 403
|
|
@@ -1661,7 +1663,7 @@ function createVercel(options, environment) {
|
|
|
1661
1663
|
matches: ({ signal, ...query }) => pullAs(deployment, query, signal, tails),
|
|
1662
1664
|
ack: (id, body) => ackAs(deployment, id, body)
|
|
1663
1665
|
},
|
|
1664
|
-
wakeAt: async (here) => wakePath(here) ?? {
|
|
1666
|
+
wakeAt: async (here) => wakePath(here) ?? {},
|
|
1665
1667
|
binding: bound,
|
|
1666
1668
|
hash: () => tagOf(tails, bound().sync),
|
|
1667
1669
|
hasWork: () => Object.keys(tails).length > 0 || bound().sync.length > 0,
|
|
@@ -2508,7 +2510,7 @@ function createVercel(options, environment) {
|
|
|
2508
2510
|
return registerAs(whoOf(caller), typeof body.path === "string" ? {
|
|
2509
2511
|
path: body.path,
|
|
2510
2512
|
...body.branch ? { branch: body.branch } : {}
|
|
2511
|
-
} : {
|
|
2513
|
+
} : {}, body.watch, body.sync ?? [], false);
|
|
2512
2514
|
},
|
|
2513
2515
|
async matches(caller, query, signal) {
|
|
2514
2516
|
return { matches: await pullAs(whoOf(caller), query, signal) };
|
|
@@ -2553,7 +2555,7 @@ function createVercel(options, environment) {
|
|
|
2553
2555
|
/**
|
|
2554
2556
|
* The policy a board's options say: verifying requests, and what they and the principals its
|
|
2555
2557
|
* backend stores may do. `keeps`: the backend keeps the board, so it serves requests; one that
|
|
2556
|
-
* uses another board's
|
|
2558
|
+
* uses another board's answers only wake-ups and webhooks on Vercel's, and nothing at `BOARD_URL`.
|
|
2557
2559
|
*/
|
|
2558
2560
|
function createPolicy(options, keeps, serving, trust = null) {
|
|
2559
2561
|
const grants = trust ? () => trust.grants() : null;
|
|
@@ -3014,8 +3016,11 @@ async function createServe(context) {
|
|
|
3014
3016
|
origin: { via: { kind: "api" } }
|
|
3015
3017
|
};
|
|
3016
3018
|
}
|
|
3017
|
-
/**
|
|
3018
|
-
|
|
3019
|
+
/**
|
|
3020
|
+
* What a board that serves no requests answers them: one that uses another board's. One on
|
|
3021
|
+
* Vercel's still takes wake-ups and webhooks; one at `BOARD_URL` has neither.
|
|
3022
|
+
*/
|
|
3023
|
+
const servesOnly = () => new HttpError(404, "not_found", `${ownUrl() ?? "this board"} answers ${backend.routes.length > 0 || engine ? "only wake-ups and webhooks" : "nothing itself"}`);
|
|
3019
3024
|
/**
|
|
3020
3025
|
* `@[ada@vercel.com]`: an email a synced platform knows becomes that user's mention, and the
|
|
3021
3026
|
* board learns who they are; the rest stay plain text.
|
|
@@ -3972,4 +3977,4 @@ async function* events(client, query = {}, opts = {}) {
|
|
|
3972
3977
|
}
|
|
3973
3978
|
}
|
|
3974
3979
|
//#endregion
|
|
3975
|
-
export {
|
|
3980
|
+
export { tailWatchers as a, isApiMessageId as i, isBoardName as n, deployedOnVercel as o, createVercel as r, createBoard as t };
|
|
@@ -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-HcCCGPG4.mjs";
|
|
2
|
+
import "./exports-vLQ2Y2Nd.mjs";
|
|
3
3
|
//#region src/server/index.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* The handle on a board. Without a `backend`, it's Vercel's board for your team, the one `name`
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { $ as ScheduleInput, A as LinkedQuery, At as TypingResult, B as PostInput, C as InboxItem, Ct as ThreadsPage, D as LABEL_CONDITIONS_MAX, Dt as TokenInput, E as InboxQuery, Et as TokenBody, F as MessagesPage, Ft as routes, G as Ref, H as PrincipalView, I as MessagesQuery, J as RegistrationView, K as RegisterBody, L as MessagesQueryInput, M as MatchesQuery, Mt as UpdateGrantInput, N as Me, Nt as UploadStartBody, O as LabelBody, Ot as TokenView, P as MessageView, Pt as UploadTicket, Q as ScheduleBodyOutput, R as ParsedFilters, S as InboxEntry, St as ThreadView, T as InboxPushBody, Tt as ThreadsQueryInput, U as REGISTERED_WATCHERS_MAX, V as PrincipalInput, W as ReactBody, X as RouteName, Y as ResolvedSyncTarget, Z as ScheduleBody, _ as GrantBody, _t as SyncReceiptBody, a as CanAt, at as SourceJoinBody, b as GrantView, bt as SyncedView, c as DeleteBody, ct as SourceReadQuery, d as EventsPage, dt as SyncCopiesView, et as ScheduleView, f as EventsQuery, ft as SyncFindInput, g as FiltersInput, gt as SyncImportInput, h as Explanation, ht as SyncImportBody, i as BoardEventView, it as SourceJoin, j as MatchView, jt as UpdateGrantBody, k as LinkView, kt as TypingBody, l as Discovery, lt as SyncBody, m as ExplainQuery, mt as SyncFindView, n as ActorView, nt as SchedulesQueryInput, o as ChannelView, ot as SourceMessage, p as EventsQueryInput, pt as SyncFindQuery, q as RegisterInput, r as ApiError, rt as SchedulesQueryOutput, s as CreateChannelBody, st as SourceRead, t as AckBody, tn as Attachment, tt as SchedulesQuery, u as EditBody, ut as SyncCopiesQuery, v as GrantCan, vt as SyncReceiptInput, w as InboxNextQuery, wt as ThreadsQuery, x as InboxAckBody, xt as ThreadSummaryView, y as GrantInput, yt as SyncThreadView, z as PostBody } from "./routes-BffuaoTX.mjs";
|
|
2
2
|
import { i as Claims, r as CallerRequest } from "./auth-BXLCkeB0.mjs";
|
|
3
|
-
import { C as Protocol, S as Method, _ 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 HttpError, y as WritePatch } from "./backend-
|
|
3
|
+
import { C as Protocol, S as Method, _ 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 HttpError, y as WritePatch } from "./backend-HcCCGPG4.mjs";
|
|
4
4
|
import { B as ScheduleTiming, F as Filters, H as WaitOptions, I as PostOptions, L as ProfileOption, N as BoardError, R as ReplyOptions, U as Written, V as UploadInput, W as duration, z as ScheduleOptions } from "./provider-D5yVFisj.mjs";
|
|
5
|
-
import "./exports-
|
|
5
|
+
import "./exports-vLQ2Y2Nd.mjs";
|
|
6
6
|
//#region src/server/index.default.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* The handle on a board. Without a `backend`, it's Vercel's board for the team, the one `name`
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as duration, t as HttpError, u as BoardError } from "./errors-rYDxZEuN.mjs";
|
|
2
2
|
import { t as DroppedError } from "./middleware-CPqAuRtp.mjs";
|
|
3
|
-
import { r as createVercel, t as createBoard } from "./exports-
|
|
3
|
+
import { r as createVercel, t as createBoard } from "./exports-M5o4PTfO.mjs";
|
|
4
4
|
//#region src/backend-vercel/index.default.ts
|
|
5
5
|
/**
|
|
6
6
|
* Your team's board, in Vercel's API. Outside Node there's no environment to find credentials or
|
package/dist/index.node.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $ as ScheduleInput, A as LinkedQuery, At as TypingResult, B as PostInput, C as InboxItem, Ct as ThreadsPage, D as LABEL_CONDITIONS_MAX, Dt as TokenInput, E as InboxQuery, Et as TokenBody, F as MessagesPage, Ft as routes, G as Ref, H as PrincipalView, I as MessagesQuery, J as RegistrationView, K as RegisterBody, L as MessagesQueryInput, M as MatchesQuery, Mt as UpdateGrantInput, N as Me, Nt as UploadStartBody, O as LabelBody, Ot as TokenView, P as MessageView, Pt as UploadTicket, Q as ScheduleBodyOutput, R as ParsedFilters, S as InboxEntry, St as ThreadView, T as InboxPushBody, Tt as ThreadsQueryInput, U as REGISTERED_WATCHERS_MAX, V as PrincipalInput, W as ReactBody, X as RouteName, Y as ResolvedSyncTarget, Z as ScheduleBody, _ as GrantBody, _t as SyncReceiptBody, a as CanAt, at as SourceJoinBody, b as GrantView, bt as SyncedView, c as DeleteBody, ct as SourceReadQuery, d as EventsPage, dt as SyncCopiesView, et as ScheduleView, f as EventsQuery, ft as SyncFindInput, g as FiltersInput, gt as SyncImportInput, h as Explanation, ht as SyncImportBody, i as BoardEventView, it as SourceJoin, j as MatchView, jt as UpdateGrantBody, k as LinkView, kt as TypingBody, l as Discovery, lt as SyncBody, m as ExplainQuery, mt as SyncFindView, n as ActorView, nt as SchedulesQueryInput, o as ChannelView, ot as SourceMessage, p as EventsQueryInput, pt as SyncFindQuery, q as RegisterInput, r as ApiError, rt as SchedulesQueryOutput, s as CreateChannelBody, st as SourceRead, t as AckBody, tn as Attachment, tt as SchedulesQuery, u as EditBody, ut as SyncCopiesQuery, v as GrantCan, vt as SyncReceiptInput, w as InboxNextQuery, wt as ThreadsQuery, x as InboxAckBody, xt as ThreadSummaryView, y as GrantInput, yt as SyncThreadView, z as PostBody } from "./routes-BffuaoTX.mjs";
|
|
2
2
|
import { i as Claims, r as CallerRequest } from "./auth-BXLCkeB0.mjs";
|
|
3
|
-
import { C as Protocol, S as Method, _ 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 HttpError, y as WritePatch } from "./backend-
|
|
3
|
+
import { C as Protocol, S as Method, _ 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 HttpError, y as WritePatch } from "./backend-HcCCGPG4.mjs";
|
|
4
4
|
import { B as ScheduleTiming, F as Filters, H as WaitOptions, I as PostOptions, L as ProfileOption, N as BoardError, R as ReplyOptions, U as Written, V as UploadInput, W as duration, z as ScheduleOptions } from "./provider-D5yVFisj.mjs";
|
|
5
|
-
import { t as board } from "./index-
|
|
5
|
+
import { t as board } from "./index-rNqqgkyu.mjs";
|
|
6
6
|
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 CanAt, type ChannelView, type Claims, type CreateChannelBody, type DeleteBody, type Discovery, DroppedError, type EditBody, type EventsPage, type EventsQuery, type EventsQueryInput, type ExplainQuery, type Explanation, type Filters, type FiltersInput, type GrantBody, type GrantCan, type GrantInput, type GrantView, HttpError, type Identity, type InboxAckBody, type InboxDelivery, type InboxEntry, type InboxItem, type InboxNextQuery, type InboxPushBody, type InboxQuery, type LABEL_CONDITIONS_MAX, type LabelBody, type LinkView, 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 PostBody, type PostInput, type PostOptions, type PrincipalInput, type PrincipalView, 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 SourceJoin, type SourceJoinBody, type SourceMessage, type SourceRead, type SourceReadQuery, type Subscription, type SyncBody, type SyncCopiesQuery, type SyncCopiesView, type SyncFindInput, type SyncFindQuery, type SyncFindView, type SyncImportBody, type SyncImportInput, type SyncReceiptBody, type SyncReceiptInput, type SyncThreadView, type SyncedView, type ThreadSummaryView, type ThreadView, type ThreadsPage, type ThreadsQuery, type ThreadsQueryInput, type TokenBody, type TokenInput, type TokenView, type TypingBody, type TypingResult, type UpdateGrantBody, type UpdateGrantInput, 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,4 +1,4 @@
|
|
|
1
1
|
import { f as duration, t as HttpError, u as BoardError } from "./errors-rYDxZEuN.mjs";
|
|
2
2
|
import { t as DroppedError } from "./middleware-CPqAuRtp.mjs";
|
|
3
|
-
import { t as board } from "./server-
|
|
3
|
+
import { t as board } from "./server-DkYkyarg.mjs";
|
|
4
4
|
export { BoardError, DroppedError, HttpError, board, duration };
|