@vercel/board 0.57.1 → 0.58.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.
Files changed (65) hide show
  1. package/dist/{access-CZ419Vho.mjs → access-D1AHzFSP.mjs} +1 -1
  2. package/dist/access.d.mts +2 -2
  3. package/dist/access.mjs +4 -4
  4. package/dist/{actors-CXMWplob.mjs → actors-CCth21rU.mjs} +2 -2
  5. package/dist/{auth-AwZJQpCO.mjs → auth-Cc5_pdi7.mjs} +2 -2
  6. package/dist/{auth-C0Mla9OU.d.mts → auth-DcWTzrHz.d.mts} +1 -1
  7. package/dist/{backend-BuqwQbb4.d.mts → backend-9H57DlQt.d.mts} +23 -5
  8. package/dist/backend-local.d.mts +1 -1
  9. package/dist/backend-local.mjs +1 -1
  10. package/dist/backend-postgres/blob-vercel.d.mts +1 -1
  11. package/dist/backend-postgres.d.mts +3 -3
  12. package/dist/backend-postgres.mjs +3 -3
  13. package/dist/{blob-DjS53D1A.d.mts → blob-CdLCZEPM.d.mts} +2 -2
  14. package/dist/{chat-provider-CpYdXEpI.d.mts → chat-provider-BiJ8G6KY.d.mts} +2 -2
  15. package/dist/cli-commands.d.mts +1 -1
  16. package/dist/cli-commands.mjs +1 -1
  17. package/dist/cli-embedded.d.mts +2 -2
  18. package/dist/cli-embedded.mjs +2 -2
  19. package/dist/cli.mjs +6 -6
  20. package/dist/{client-B0DGOt7P.d.mts → client-BUPyzzFt.d.mts} +13 -1
  21. package/dist/{commands-Dcm4_pc1.d.mts → commands-DryDbyWr.d.mts} +5 -0
  22. package/dist/{commands-DeYAQUcP.mjs → commands-totPnoCC.mjs} +73 -20
  23. package/dist/{conformance-EtEq22w1.mjs → conformance-D9XutDay.mjs} +2 -2
  24. package/dist/conformance.d.mts +1 -1
  25. package/dist/conformance.mjs +1 -1
  26. package/dist/{engine-CfVTyEeo.mjs → engine-DVWbcEIB.mjs} +2 -2
  27. package/dist/{errors-DjatfYjl.mjs → errors-Ce_-E3_C.mjs} +50 -1
  28. package/dist/{errors-DBZtbfph.d.mts → errors-CwObkpSn.d.mts} +1 -1
  29. package/dist/{exports-BvJTIorX.d.mts → exports-Bh09j6Bd.d.mts} +5 -5
  30. package/dist/{exports-B_UGnrnN.mjs → exports-WtqjdQwb.mjs} +92 -9
  31. package/dist/{index-DuibwQf9.d.mts → index-mgNwCwJ4.d.mts} +2 -2
  32. package/dist/index.d.mts +7 -7
  33. package/dist/index.mjs +4 -4
  34. package/dist/index.node.d.mts +8 -8
  35. package/dist/index.node.mjs +4 -4
  36. package/dist/inspect/app.js +33 -33
  37. package/dist/{inspect-DfJzHFiE.mjs → inspect-CtPZz0WG.mjs} +2 -2
  38. package/dist/inspect-wkA_8iyU.mjs +2 -0
  39. package/dist/inspect.d.mts +1 -1
  40. package/dist/inspect.mjs +1 -1
  41. package/dist/{local-D2i5sxuY.mjs → local-B7Yp-B2z.mjs} +18 -7
  42. package/dist/{local-BiG1WJk0.mjs → local-BPiDCkA4.mjs} +3 -3
  43. package/dist/{main-Bbqg3Unf.mjs → main-BvkLqpUX.mjs} +150 -28
  44. package/dist/{middleware-D2AGrGj7.mjs → middleware-DVBOEd8G.mjs} +1 -1
  45. package/dist/{provider-BNVyVKtH.d.mts → provider-BnK0Bif7.d.mts} +2 -2
  46. package/dist/{routes-CSnxZyyb.d.mts → routes-D5FtKOP_.d.mts} +87 -1
  47. package/dist/{serve-D06-DMej.mjs → serve-ChlJ955x.mjs} +6 -6
  48. package/dist/{server-BXbcS-n9.mjs → server-CRdVLqny.mjs} +6 -6
  49. package/dist/{serving-B2BNr4PR.mjs → serving-BVtrFzK4.mjs} +1 -1
  50. package/dist/{shell-C8EowDEz.mjs → shell-hTUuAc6A.mjs} +1 -1
  51. package/dist/sync-chat-sdk.d.mts +2 -2
  52. package/dist/sync-github.d.mts +2 -2
  53. package/dist/sync-linear.d.mts +3 -3
  54. package/dist/sync-slack.d.mts +3 -3
  55. package/dist/sync.d.mts +2 -2
  56. package/dist/{task-batch-YMVr_c5R.mjs → task-batch-CnRhVsh6.mjs} +7 -4
  57. package/dist/{tokens-CaEPmiG1.mjs → tokens-XagdeYrv.mjs} +2 -2
  58. package/dist/{version-BRR9FkLa.mjs → version-rlZkE9nc.mjs} +1 -1
  59. package/docs/01-board/11-tasks.md +6 -1
  60. package/docs/02-sync/01-overview.md +4 -0
  61. package/docs/02-sync/05-managed.md +117 -0
  62. package/docs/04-reference/01-cli.md +43 -1
  63. package/docs/04-reference/03-http.md +4 -0
  64. package/package.json +1 -1
  65. package/dist/inspect-H1MISWwN.mjs +0 -2
@@ -1,14 +1,14 @@
1
1
  import { d as mediaType, i as ATTACHMENT_BYTES_MAX, n as formatProfileHeader, o as IMPORT_BYTES_MAX } from "./profile-header-O8wC8yk8.mjs";
2
2
  import { T as TASK_LABEL, b as RemoteWatcherId, y as RESERVED_LABEL_PREFIX } from "./schemas-CUSTEFIy.mjs";
3
- import { $ as Ref, A as ClaimTaskBody, B as ExplainQuery, C as ActorsQuery, D as ChannelMessagesQuery, E as CancelTaskBody, F as CreateTasksBody, G as InboxNextQuery, I as CreatedTasksQuery, J as LabelBody, K as InboxPushBody, L as DeleteBody, M as CreateChannelBody, N as CreateGrantsBody, O as ChannelsQuery, P as CreateTaskBody, Q as ReactBody, R as EditBody, S as AckBody, T as BlockTaskBody, U as GrantBody, V as FailTaskBody, W as InboxAckBody, X as MatchesQuery, Y as LinkedQuery, Z as PostBody, _t as ThreadsQuery, a as duplicateId, at as SchedulesQuery, bt as UploadStartBody, c as notFound, ct as SourceReadQuery, d as unauthorized, dt as SyncFindQuery, et as RegisterBody, f as BoardError, ft as SyncImportBody, g as refusalCode, gt as ThreadQuery, h as eventsState, ht as TasksQuery, i as batchTooLarge, it as ScheduleBody, j as CompleteTaskBody, k as ClaimReadyTaskBody, lt as SyncBody, m as duration, mt as TaskNeedsBody, n as RejectedError, nt as RenewTaskBody, o as forbidden, ot as SchemaBody, p as createBoardClient, pt as SyncReceiptBody, q as InboxQuery, r as badRequest, rt as RevokeGrantBody, s as json, st as SourceJoinBody, t as HttpError, tt as ReleaseTaskBody, u as toErrorResponse, ut as SyncCopiesQuery, v as derivedId, vt as TypingBody, w as AssignTaskBody, x as sha256, xt as routes, yt as UpdateGrantBody, z as EventsQuery } from "./errors-DjatfYjl.mjs";
3
+ import { $ as PostBody, A as ClaimTaskBody, B as ExplainQuery, C as ActorsQuery, Ct as routes, D as ChannelMessagesQuery, E as CancelTaskBody, F as CreateTasksBody, G as InboxNextQuery, I as CreatedTasksQuery, J as LabelBody, K as InboxPushBody, L as DeleteBody, M as CreateChannelBody, N as CreateGrantsBody, O as ChannelsQuery, P as CreateTaskBody, Q as MatchesQuery, R as EditBody, S as AckBody, St as UploadStartBody, T as BlockTaskBody, U as GrantBody, V as FailTaskBody, W as InboxAckBody, X as ManagedSyncBody, Y as LinkedQuery, Z as ManagedSyncsQuery, _t as TasksQuery, a as duplicateId, at as RevokeGrantBody, bt as TypingBody, c as notFound, ct as SchemaBody, d as unauthorized, dt as SyncBody, et as ReactBody, f as BoardError, ft as SyncCopiesQuery, g as refusalCode, gt as TaskNeedsBody, h as eventsState, ht as SyncReceiptBody, i as batchTooLarge, it as RenewTaskBody, j as CompleteTaskBody, k as ClaimReadyTaskBody, lt as SourceJoinBody, m as duration, mt as SyncImportBody, n as RejectedError, nt as RegisterBody, o as forbidden, ot as ScheduleBody, p as createBoardClient, pt as SyncFindQuery, q as InboxQuery, r as badRequest, rt as ReleaseTaskBody, s as json, st as SchedulesQuery, t as HttpError, tt as Ref, u as toErrorResponse, ut as SourceReadQuery, v as derivedId, vt as ThreadQuery, w as AssignTaskBody, x as sha256, xt as UpdateGrantBody, yt as ThreadsQuery, z as EventsQuery } from "./errors-Ce_-E3_C.mjs";
4
4
  import { n as blocksIn, r as findBlocks } from "./blocks-CVoBC7ur.mjs";
5
5
  import { a as mentionTerms, c as settleMentions, i as mentionTerm, r as meTerms, s as replaceMentions, t as extractMentions } from "./mentions-DBGmqkr2.mjs";
6
- import { a as waitUntil, c as platformProfile, d as userIdOf, o as actorParts, r as runMiddleware, s as importedHandle, t as DroppedError, u as underPrincipal } from "./middleware-D2AGrGj7.mjs";
7
- import { t as VERSION } from "./version-BRR9FkLa.mjs";
8
- import { a as canText, c as compileAccess, d as parsePattern, n as InvalidCan, r as PERMISSIONS, t as FULL_ACCESS, u as parseCan } from "./access-CZ419Vho.mjs";
9
- import { _ as uploadName, a as runMatch, d as createRouter, f as openapi, g as carried, h as readJson, i as canonicalWatchers, m as readCapped, n as SYNC_ACTOR, o as compileWatcher, p as queryObject, r as syncTarget, t as batchPlan, u as METHODS, v as SYNC } from "./task-batch-YMVr_c5R.mjs";
10
- import { C as verifiedIssuers, D as explainGrants, d as createAuthority, f as fromTokens, m as hostPrincipal, o as VERCEL_ISSUER, p as grantIssuers, t as DEFAULT_CAN$1, v as namesByLogin, w as verifiesTokens } from "./auth-AwZJQpCO.mjs";
11
- import { a as resolveActor, o as viaOf, r as claimsOf, t as KNOWN_AGENTS } from "./actors-CXMWplob.mjs";
6
+ import { a as waitUntil, c as platformProfile, d as userIdOf, o as actorParts, r as runMiddleware, s as importedHandle, t as DroppedError, u as underPrincipal } from "./middleware-DVBOEd8G.mjs";
7
+ import { t as VERSION } from "./version-rlZkE9nc.mjs";
8
+ import { a as canText, c as compileAccess, d as parsePattern, n as InvalidCan, r as PERMISSIONS, t as FULL_ACCESS, u as parseCan } from "./access-D1AHzFSP.mjs";
9
+ import { _ as uploadName, a as runMatch, d as createRouter, f as openapi, g as carried, h as readJson, i as canonicalWatchers, m as readCapped, n as SYNC_ACTOR, o as compileWatcher, p as queryObject, r as syncTarget, t as batchPlan, u as METHODS, v as SYNC } from "./task-batch-CnRhVsh6.mjs";
10
+ import { C as verifiedIssuers, D as explainGrants, d as createAuthority, f as fromTokens, m as hostPrincipal, o as VERCEL_ISSUER, p as grantIssuers, t as DEFAULT_CAN$1, v as namesByLogin, w as verifiesTokens } from "./auth-Cc5_pdi7.mjs";
11
+ import { a as resolveActor, o as viaOf, r as claimsOf, t as KNOWN_AGENTS } from "./actors-CCth21rU.mjs";
12
12
  import { t as checkValue } from "./data-values-CoTP0SQG.mjs";
13
13
  //#region src/server/registrant.ts
14
14
  /** Registering again this soon after the same registration only repeats it. */
@@ -2665,7 +2665,7 @@ function createVercel(options, environment) {
2665
2665
  async function read(who, listed, position, filters, signal) {
2666
2666
  const path = await onBoard(who, "/changes");
2667
2667
  const pages = await Promise.all(listed.map(async (channel) => {
2668
- const from = position.feeds[channel.id];
2668
+ const from = position.feeds[channel.id] ?? (position.floor !== void 0 ? await feedNear(who, channel, position.floor, signal) : void 0);
2669
2669
  const page = await reading(who, path, {
2670
2670
  query: {
2671
2671
  ...feedOf(channel),
@@ -2684,7 +2684,7 @@ function createVercel(options, environment) {
2684
2684
  at: from?.at ?? null,
2685
2685
  next: page.cursor,
2686
2686
  events,
2687
- behind: channel.id === ACROSS && page.caughtUp === false && page.cursor !== from?.at
2687
+ behind: page.caughtUp === false && page.cursor !== from?.at
2688
2688
  };
2689
2689
  }));
2690
2690
  const narrow = await narrowOf(who, filters);
@@ -2734,6 +2734,31 @@ function createVercel(options, environment) {
2734
2734
  };
2735
2735
  }
2736
2736
  /**
2737
+ * Where a feed goes on from just after `floor`, out of its newest changes, so a read after a message or a
2738
+ * cursor's time doesn't page through the feed's whole history to get there. Undefined when they're all after
2739
+ * it, or the API reads no newest changes: the feed is read from its oldest change, as before.
2740
+ */
2741
+ async function feedNear(who, channel, floor, signal) {
2742
+ if (!readsLast) return void 0;
2743
+ try {
2744
+ const at = (await reading(who, await onBoard(who, "/changes"), {
2745
+ query: {
2746
+ ...feedOf(channel),
2747
+ last: String(100)
2748
+ },
2749
+ signal
2750
+ })).events.findLast((change) => change.createdAt <= floor)?.cursor;
2751
+ return at === void 0 ? void 0 : {
2752
+ at,
2753
+ skip: 0
2754
+ };
2755
+ } catch (error) {
2756
+ if (!unknownParameter(error, "last")) throw error;
2757
+ readsLast = false;
2758
+ return;
2759
+ }
2760
+ }
2761
+ /**
2737
2762
  * Until one of `listed`'s feeds has something after `position` (true), or it's `until` (false). The API's feed is
2738
2763
  * one channel's, and only it can wait for what comes next, so this waits on each at once and lets
2739
2764
  * the rest go when the first answers with something: a read across channels costs a request a
@@ -3273,6 +3298,28 @@ function createVercel(options, environment) {
3273
3298
  ...body.skip ? { skip: true } : {}
3274
3299
  } });
3275
3300
  }
3301
+ /**
3302
+ * A sync the API runs, as board shows it: its channel by name. One whose channel the API no longer
3303
+ * lists is shown with the channel's ID, so it hides no other sync of the list.
3304
+ */
3305
+ const managedSyncView = async (who, sync) => ({
3306
+ id: sync.id,
3307
+ channel: await channelById(who, sync.channelId).then((channel) => channel.name, (error) => {
3308
+ if (error instanceof HttpError && error.code === "remote_error") return sync.channelId;
3309
+ throw error;
3310
+ }),
3311
+ source: sync.source,
3312
+ ...sync.slack ? { slack: {
3313
+ app: sync.slack.app,
3314
+ workspace: sync.slack.workspaceId,
3315
+ channel: sync.slack.channelId,
3316
+ ...sync.slack.name ? { name: sync.slack.name } : {}
3317
+ } } : {},
3318
+ state: sync.state,
3319
+ ...sync.reason ? { reason: sync.reason } : {},
3320
+ by: sync.createdBy,
3321
+ createdAt: iso(sync.createdAt)
3322
+ });
3276
3323
  /** This deployment's own: what its config's watchers run as. */
3277
3324
  const deployment = { profile: null };
3278
3325
  /** This board's config's watchers, which run here when the API wakes it. */
@@ -4339,6 +4386,39 @@ function createVercel(options, environment) {
4339
4386
  canceled
4340
4387
  };
4341
4388
  },
4389
+ async createSync(caller, input, signal) {
4390
+ const who = whoOf(caller);
4391
+ const channel = await channelNamed(who, input.channel);
4392
+ if (!channel) throw notFound(`channel not found: ${input.channel}`, "channel_not_found");
4393
+ const { sync } = await api(who, "POST", await onBoard(who, "/syncs"), {
4394
+ body: {
4395
+ operationId: operationId(),
4396
+ channelId: channel.id,
4397
+ source: input.source,
4398
+ ...input.slack ? { slack: input.slack } : {}
4399
+ },
4400
+ signal
4401
+ });
4402
+ return { sync: await managedSyncView(who, sync) };
4403
+ },
4404
+ async syncs(caller, { channel }, signal) {
4405
+ const who = whoOf(caller);
4406
+ const found = channel === void 0 ? void 0 : await channelNamed(who, channel);
4407
+ if (found === null) return { syncs: [] };
4408
+ const { syncs } = await api(who, "GET", await onBoard(who, "/syncs"), {
4409
+ query: found ? { channelId: found.id } : {},
4410
+ signal
4411
+ });
4412
+ return { syncs: await Promise.all(syncs.map((sync) => managedSyncView(who, sync))) };
4413
+ },
4414
+ async removeSync(caller, { id }, signal) {
4415
+ const who = whoOf(caller);
4416
+ const { sync } = await api(who, "POST", await onBoard(who, `/syncs/${encodeURIComponent(id)}/remove`), {
4417
+ body: { operationId: operationId() },
4418
+ signal
4419
+ });
4420
+ return { sync: await managedSyncView(who, sync) };
4421
+ },
4342
4422
  async tasks(caller, query, signal) {
4343
4423
  const who = whoOf(caller);
4344
4424
  const limit = query.limit ?? 50;
@@ -5301,6 +5381,7 @@ async function inputOf(name, request, url, params) {
5301
5381
  case "posted":
5302
5382
  case "synced":
5303
5383
  case "cancelSchedule":
5384
+ case "removeSync":
5304
5385
  case "unblockTask":
5305
5386
  case "reopenTask":
5306
5387
  case "schema":
@@ -5309,6 +5390,7 @@ async function inputOf(name, request, url, params) {
5309
5390
  case "channelMessages": return ChannelMessagesQuery.parse(queryObject(url));
5310
5391
  case "threads": return ThreadsQuery.parse(queryObject(url));
5311
5392
  case "schedules": return SchedulesQuery.parse(queryObject(url));
5393
+ case "syncs": return ManagedSyncsQuery.parse(queryObject(url));
5312
5394
  case "matches": return MatchesQuery.parse(queryObject(url));
5313
5395
  case "events": {
5314
5396
  const query = EventsQuery.parse(queryObject(url));
@@ -5322,6 +5404,7 @@ async function inputOf(name, request, url, params) {
5322
5404
  case "post": return PostBody.parse(await body());
5323
5405
  case "createChannel": return CreateChannelBody.parse(await body());
5324
5406
  case "schedule": return ScheduleBody.parse(await body());
5407
+ case "createSync": return ManagedSyncBody.parse(await body());
5325
5408
  case "tasks": return TasksQuery.parse(queryObject(url));
5326
5409
  case "createTask": return CreateTaskBody.parse(await body());
5327
5410
  case "createdTasks": return {
@@ -1,5 +1,5 @@
1
- import { f as Board, p as BoardOptions } from "./backend-BuqwQbb4.mjs";
2
- import "./exports-BvJTIorX.mjs";
1
+ import { f as Board, p as BoardOptions } from "./backend-9H57DlQt.mjs";
2
+ import "./exports-Bh09j6Bd.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,9 +1,9 @@
1
- import { $ as InboxNextQuery, $t as SyncThreadView, A as CreateTasksInput, At as ScheduleInput, B as Explanation, Bt as SourceMessage, C as ClaimTaskBody, Ct as ReleaseTaskBody, D as CreateTaskBody, Dt as RouteName, E as CreateGrantsBody, Et as RevokeGrantBody, F as EditBody, Ft as SchemaBody, G as GrantCan, Gt as SyncCopiesView, H as FiltersInput, Ht as SourceReadQuery, I as EventsPage, It as SchemaInput, J as GrantWriteOptions, Jt as SyncFindView, K as GrantInput, Kt as SyncFindInput, L as EventsQuery, Lt as SchemaView, M as DeleteBody, Mt as SchedulesQuery, N as Discovery, Nt as SchedulesQueryInput, O as CreateTaskInput, Ot as ScheduleBody, P as EVENTS_LAST_MAX, Pt as SchedulesQueryOutput, Q as InboxItem, Qt as SyncReceiptInput, R as EventsQueryInput, Rt as SourceJoin, S as ClaimReadyTaskInput, Sn as routes, St as RegistrationView, T as CreateChannelBody, Tt as ResolvedSyncTarget, U as GRANT_BATCH_MAX, Un as Attachment, Ut as SyncBody, V as FailTaskBody, Vt as SourceRead, W as GrantBody, Wt as SyncCopiesQuery, X as InboxAckBody, Xt as SyncImportInput, Y as INBOX_EVENT_ID_MAX, Yt as SyncImportBody, Z as InboxEntry, Zt as SyncReceiptBody, _ as ChannelView, _n as TypingResult, _t as REGISTERED_WATCHERS_MAX, a as ActorsQueryInput, an as TaskView, at as LinkView, b as ChannelsQueryInput, bn as UploadStartBody, bt as RegisterBody, c as BlockTaskBody, cn as TasksQueryInput, ct as MatchesQuery, d as CHANNELS_LIMIT_DEFAULT, dn as ThreadSummaryView, dt as MessagesPage, en as SyncedView, et as InboxPushBody, f as CHANNELS_LIMIT_MAX, fn as ThreadView, ft as ParsedFilters, g as ChannelMessagesQueryInput, gn as TypingBody, gt as PrincipalView, h as ChannelMessagesQuery, hn as ThreadsQueryInput, ht as PrincipalInput, i as ActorsQuery, in as TaskNeedsBody, it as LabelBody, j as CreatedTasksQuery, jt as ScheduleView, k as CreateTasksBody, kt as ScheduleBodyOutput, l as BlockView, ln as ThreadQuery, lt as Me, m as CancelTaskBody, mn as ThreadsQuery, mt as PostInput, n as AckBody, nn as THREADS_LIMIT_MAX, nt as LABEL_CONDITIONS_MAX, o as ApiError, on as TasksPage, ot as LinkedQuery, p as CanAt, pn as ThreadsPage, pt as PostBody, q as GrantView, qt as SyncFindQuery, r as ActorView, rn as TaskClaim, rt as LEASE_DEFAULT_S, s as AssignTaskBody, sn as TasksQuery, st as MatchView, t as ACTORS_BY_ID_MAX, tn as THREADS_LIMIT_DEFAULT, tt as InboxQuery, u as BoardEventView, un as ThreadQueryInput, ut as MessageView, v as ChannelsPage, vn as UpdateGrantBody, vt as ReactBody, w as CompleteTaskBody, wt as RenewTaskBody, x as ClaimReadyTaskBody, xn as UploadTicket, xt as RegisterInput, y as ChannelsQuery, yn as UpdateGrantInput, yt as Ref, z as ExplainQuery, zt as SourceJoinBody } from "./routes-CSnxZyyb.mjs";
2
- import { i as Claims, r as CallerRequest } from "./auth-C0Mla9OU.mjs";
3
- import { C as Protocol, D as SandboxPolicyOptions, E as SandboxPolicy, O as SandboxRule, S as Method, T as SandboxMatcher, _ as Middleware, a as Identity, b as WritePatch, c as SelfCaller, d as AsOptions, f as Board, g as DroppedError, h as WatcherContext, i as Caller, l as Subscription, m as Watcher, n as BackendRoute, o as InboxDelivery, p as BoardOptions, r as BoardBinding, s as ProtocolMethods, t as Backend, u as VerifiedCaller, v as MiddlewareContext, w as SandboxMatch, x as WriteSource, y as Write } from "./backend-BuqwQbb4.mjs";
4
- import { C as MentionedActor, S as Mentioned, _ as TaskOptions, a as EventsOptions, b as Written, c as Filters, d as PostOptions, f as ProfileOption, g as TaskInBatch, h as ScheduleTiming, l as HeldTask, m as ScheduleOptions, n as BoardError, o as EventsState, p as ReplyOptions, r as ClaimedTask, s as ExplainPrincipal, u as NewTaskOptions, v as UploadInput, x as duration, y as WaitOptions } from "./client-B0DGOt7P.mjs";
5
- import { t as HttpError } from "./errors-DBZtbfph.mjs";
6
- import { n as TasksInChunksError, r as createTasksInChunks, t as TaskBatches } from "./exports-BvJTIorX.mjs";
1
+ import { $ as InboxNextQuery, $t as SyncFindQuery, A as CreateTasksInput, At as RenewTaskBody, B as Explanation, Bt as SchedulesQueryOutput, C as ClaimTaskBody, Cn as TypingResult, Ct as REGISTERED_WATCHERS_MAX, D as CreateTaskBody, Dn as UploadTicket, Dt as RegisterInput, E as CreateGrantsBody, En as UploadStartBody, Et as RegisterBody, F as EditBody, Ft as ScheduleBodyOutput, G as GrantCan, Gt as SourceJoinBody, H as FiltersInput, Ht as SchemaInput, I as EventsPage, It as ScheduleInput, J as GrantWriteOptions, Jt as SourceReadQuery, K as GrantInput, Kt as SourceMessage, L as EventsQuery, Lt as ScheduleView, M as DeleteBody, Mt as RevokeGrantBody, N as Discovery, Nt as RouteName, O as CreateTaskInput, On as routes, Ot as RegistrationView, P as EVENTS_LAST_MAX, Pt as ScheduleBody, Q as InboxItem, Qt as SyncFindInput, R as EventsQueryInput, Rt as SchedulesQuery, S as ClaimReadyTaskInput, Sn as TypingBody, St as PrincipalView, T as CreateChannelBody, Tn as UpdateGrantInput, Tt as Ref, U as GRANT_BATCH_MAX, Ut as SchemaView, V as FailTaskBody, Vt as SchemaBody, W as GrantBody, Wt as SourceJoin, X as InboxAckBody, Xt as SyncCopiesQuery, Y as INBOX_EVENT_ID_MAX, Yn as Attachment, Yt as SyncBody, Z as InboxEntry, Zt as SyncCopiesView, _ as ChannelView, _n as ThreadSummaryView, _t as MessagesPage, a as ActorsQueryInput, an as SyncThreadView, at as LinkView, b as ChannelsQueryInput, bn as ThreadsQuery, bt as PostInput, c as BlockTaskBody, cn as THREADS_LIMIT_MAX, ct as ManagedSyncBody, d as CHANNELS_LIMIT_DEFAULT, dn as TaskView, dt as ManagedSyncsQuery, en as SyncFindView, et as InboxPushBody, f as CHANNELS_LIMIT_MAX, fn as TasksPage, ft as ManagedSyncsQueryInput, g as ChannelMessagesQueryInput, gn as ThreadQueryInput, gt as MessageView, h as ChannelMessagesQuery, hn as ThreadQuery, ht as Me, i as ActorsQuery, in as SyncReceiptInput, it as LabelBody, j as CreatedTasksQuery, jt as ResolvedSyncTarget, k as CreateTasksBody, kt as ReleaseTaskBody, l as BlockView, ln as TaskClaim, lt as ManagedSyncInput, m as CancelTaskBody, mn as TasksQueryInput, mt as MatchesQuery, n as AckBody, nn as SyncImportInput, nt as LABEL_CONDITIONS_MAX, o as ApiError, on as SyncedView, ot as LinkedQuery, p as CanAt, pn as TasksQuery, pt as MatchView, q as GrantView, qt as SourceRead, r as ActorView, rn as SyncReceiptBody, rt as LEASE_DEFAULT_S, s as AssignTaskBody, sn as THREADS_LIMIT_DEFAULT, st as MANAGED_SYNC_SOURCES, t as ACTORS_BY_ID_MAX, tn as SyncImportBody, tt as InboxQuery, u as BoardEventView, un as TaskNeedsBody, ut as ManagedSyncView, v as ChannelsPage, vn as ThreadView, vt as ParsedFilters, w as CompleteTaskBody, wn as UpdateGrantBody, wt as ReactBody, x as ClaimReadyTaskBody, xn as ThreadsQueryInput, xt as PrincipalInput, y as ChannelsQuery, yn as ThreadsPage, yt as PostBody, z as ExplainQuery, zt as SchedulesQueryInput } from "./routes-D5FtKOP_.mjs";
2
+ import { i as Claims, r as CallerRequest } from "./auth-DcWTzrHz.mjs";
3
+ import { C as Protocol, D as SandboxPolicyOptions, E as SandboxPolicy, O as SandboxRule, S as Method, T as SandboxMatcher, _ as Middleware, a as Identity, b as WritePatch, c as SelfCaller, d as AsOptions, f as Board, g as DroppedError, h as WatcherContext, i as Caller, l as Subscription, m as Watcher, n as BackendRoute, o as InboxDelivery, p as BoardOptions, r as BoardBinding, s as ProtocolMethods, t as Backend, u as VerifiedCaller, v as MiddlewareContext, w as SandboxMatch, x as WriteSource, y as Write } from "./backend-9H57DlQt.mjs";
4
+ import { C as MentionedActor, S as Mentioned, _ as TaskOptions, a as EventsOptions, b as Written, c as Filters, d as PostOptions, f as ProfileOption, g as TaskInBatch, h as ScheduleTiming, l as HeldTask, m as ScheduleOptions, n as BoardError, o as EventsState, p as ReplyOptions, r as ClaimedTask, s as ExplainPrincipal, u as NewTaskOptions, v as UploadInput, x as duration, y as WaitOptions } from "./client-BUPyzzFt.mjs";
5
+ import { t as HttpError } from "./errors-CwObkpSn.mjs";
6
+ import { n as TasksInChunksError, r as createTasksInChunks, t as TaskBatches } from "./exports-Bh09j6Bd.mjs";
7
7
  import { n as block } from "./blocks-DGvh2alZ.mjs";
8
8
  //#region src/server/index.default.d.ts
9
9
  /**
@@ -14,4 +14,4 @@ import { n as block } from "./blocks-DGvh2alZ.mjs";
14
14
  */
15
15
  export declare function board(options?: BoardOptions): Board;
16
16
  //#endregion
17
- export { type ACTORS_BY_ID_MAX, type AckBody, type ActorView, type ActorsQuery, type ActorsQueryInput, type ApiError, type AsOptions, type AssignTaskBody, type Attachment, type Backend, type BackendRoute, type BlockTaskBody, type BlockView, type Board, type BoardBinding, BoardError, type BoardEventView, type BoardOptions, type CHANNELS_LIMIT_DEFAULT, type CHANNELS_LIMIT_MAX, type Caller, type CallerRequest, type CanAt, type CancelTaskBody, type ChannelMessagesQuery, type ChannelMessagesQueryInput, type ChannelView, type ChannelsPage, type ChannelsQuery, type ChannelsQueryInput, type ClaimReadyTaskBody, type ClaimReadyTaskInput, type ClaimTaskBody, type ClaimedTask, type Claims, type CompleteTaskBody, type CreateChannelBody, type CreateGrantsBody, type CreateTaskBody, type CreateTaskInput, type CreateTasksBody, type CreateTasksInput, type CreatedTasksQuery, type DeleteBody, type Discovery, DroppedError, type EVENTS_LAST_MAX, type EditBody, type EventsOptions, type EventsPage, type EventsQuery, type EventsQueryInput, type EventsState, type ExplainPrincipal, type ExplainQuery, type Explanation, type FailTaskBody, type Filters, type FiltersInput, type GRANT_BATCH_MAX, type GrantBody, type GrantCan, type GrantInput, type GrantView, type GrantWriteOptions, type HeldTask, HttpError, type INBOX_EVENT_ID_MAX, type Identity, type InboxAckBody, type InboxDelivery, type InboxEntry, type InboxItem, type InboxNextQuery, type InboxPushBody, type InboxQuery, type LABEL_CONDITIONS_MAX, type LEASE_DEFAULT_S, type LabelBody, type LinkView, type LinkedQuery, type MatchView, type MatchesQuery, type Me, type Mentioned, type MentionedActor, type MessageView, type MessagesPage, type Method, type Middleware, type MiddlewareContext, type NewTaskOptions, 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 ReleaseTaskBody, type RenewTaskBody, type ReplyOptions, type ResolvedSyncTarget, type RevokeGrantBody, type RouteName, type SandboxMatch, type SandboxMatcher, type SandboxPolicy, type SandboxPolicyOptions, type SandboxRule, type ScheduleBody, type ScheduleBodyOutput, type ScheduleInput, type ScheduleOptions, type ScheduleTiming, type ScheduleView, type SchedulesQuery, type SchedulesQueryInput, type SchedulesQueryOutput, type SchemaBody, type SchemaInput, type SchemaView, 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 THREADS_LIMIT_DEFAULT, type THREADS_LIMIT_MAX, type TaskBatches, type TaskClaim, type TaskInBatch, type TaskNeedsBody, type TaskOptions, type TaskView, TasksInChunksError, type TasksPage, type TasksQuery, type TasksQueryInput, type ThreadQuery, type ThreadQueryInput, type ThreadSummaryView, type ThreadView, type ThreadsPage, type ThreadsQuery, type ThreadsQueryInput, 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, block, createTasksInChunks, duration, type routes };
17
+ export { type ACTORS_BY_ID_MAX, type AckBody, type ActorView, type ActorsQuery, type ActorsQueryInput, type ApiError, type AsOptions, type AssignTaskBody, type Attachment, type Backend, type BackendRoute, type BlockTaskBody, type BlockView, type Board, type BoardBinding, BoardError, type BoardEventView, type BoardOptions, type CHANNELS_LIMIT_DEFAULT, type CHANNELS_LIMIT_MAX, type Caller, type CallerRequest, type CanAt, type CancelTaskBody, type ChannelMessagesQuery, type ChannelMessagesQueryInput, type ChannelView, type ChannelsPage, type ChannelsQuery, type ChannelsQueryInput, type ClaimReadyTaskBody, type ClaimReadyTaskInput, type ClaimTaskBody, type ClaimedTask, type Claims, type CompleteTaskBody, type CreateChannelBody, type CreateGrantsBody, type CreateTaskBody, type CreateTaskInput, type CreateTasksBody, type CreateTasksInput, type CreatedTasksQuery, type DeleteBody, type Discovery, DroppedError, type EVENTS_LAST_MAX, type EditBody, type EventsOptions, type EventsPage, type EventsQuery, type EventsQueryInput, type EventsState, type ExplainPrincipal, type ExplainQuery, type Explanation, type FailTaskBody, type Filters, type FiltersInput, type GRANT_BATCH_MAX, type GrantBody, type GrantCan, type GrantInput, type GrantView, type GrantWriteOptions, type HeldTask, HttpError, type INBOX_EVENT_ID_MAX, type Identity, type InboxAckBody, type InboxDelivery, type InboxEntry, type InboxItem, type InboxNextQuery, type InboxPushBody, type InboxQuery, type LABEL_CONDITIONS_MAX, type LEASE_DEFAULT_S, type LabelBody, type LinkView, type LinkedQuery, type MANAGED_SYNC_SOURCES, type ManagedSyncBody, type ManagedSyncInput, type ManagedSyncView, type ManagedSyncsQuery, type ManagedSyncsQueryInput, type MatchView, type MatchesQuery, type Me, type Mentioned, type MentionedActor, type MessageView, type MessagesPage, type Method, type Middleware, type MiddlewareContext, type NewTaskOptions, 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 ReleaseTaskBody, type RenewTaskBody, type ReplyOptions, type ResolvedSyncTarget, type RevokeGrantBody, type RouteName, type SandboxMatch, type SandboxMatcher, type SandboxPolicy, type SandboxPolicyOptions, type SandboxRule, type ScheduleBody, type ScheduleBodyOutput, type ScheduleInput, type ScheduleOptions, type ScheduleTiming, type ScheduleView, type SchedulesQuery, type SchedulesQueryInput, type SchedulesQueryOutput, type SchemaBody, type SchemaInput, type SchemaView, 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 THREADS_LIMIT_DEFAULT, type THREADS_LIMIT_MAX, type TaskBatches, type TaskClaim, type TaskInBatch, type TaskNeedsBody, type TaskOptions, type TaskView, TasksInChunksError, type TasksPage, type TasksQuery, type TasksQueryInput, type ThreadQuery, type ThreadQueryInput, type ThreadSummaryView, type ThreadView, type ThreadsPage, type ThreadsQuery, type ThreadsQueryInput, 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, block, createTasksInChunks, duration, type routes };
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { f as BoardError, m as duration, t as HttpError } from "./errors-DjatfYjl.mjs";
1
+ import { f as BoardError, m as duration, t as HttpError } from "./errors-Ce_-E3_C.mjs";
2
2
  import { t as block } from "./blocks-CVoBC7ur.mjs";
3
- import { t as DroppedError } from "./middleware-D2AGrGj7.mjs";
4
- import { c as createVercel, n as createTasksInChunks, r as createBoard, t as TasksInChunksError } from "./exports-B_UGnrnN.mjs";
3
+ import { t as DroppedError } from "./middleware-DVBOEd8G.mjs";
4
+ import { c as createVercel, n as createTasksInChunks, r as createBoard, t as TasksInChunksError } from "./exports-WtqjdQwb.mjs";
5
5
  //#region src/backend-vercel/index.default.ts
6
6
  /**
7
7
  * Your team's board, in Vercel's API. Outside Node there's no environment to find credentials or
@@ -24,7 +24,7 @@ function board(options = {}) {
24
24
  if (!fetch) throw new Error("board: pass a fetch that sends credentials Vercel's API takes, or a backend: outside Node there's no environment to find them in");
25
25
  return vercel({ fetch });
26
26
  },
27
- sync: () => import("./engine-CfVTyEeo.mjs"),
27
+ sync: () => import("./engine-DVWbcEIB.mjs"),
28
28
  serving: null,
29
29
  sandbox: null
30
30
  });
@@ -1,9 +1,9 @@
1
- import { $ as InboxNextQuery, $t as SyncThreadView, A as CreateTasksInput, At as ScheduleInput, B as Explanation, Bt as SourceMessage, C as ClaimTaskBody, Ct as ReleaseTaskBody, D as CreateTaskBody, Dt as RouteName, E as CreateGrantsBody, Et as RevokeGrantBody, F as EditBody, Ft as SchemaBody, G as GrantCan, Gt as SyncCopiesView, H as FiltersInput, Ht as SourceReadQuery, I as EventsPage, It as SchemaInput, J as GrantWriteOptions, Jt as SyncFindView, K as GrantInput, Kt as SyncFindInput, L as EventsQuery, Lt as SchemaView, M as DeleteBody, Mt as SchedulesQuery, N as Discovery, Nt as SchedulesQueryInput, O as CreateTaskInput, Ot as ScheduleBody, P as EVENTS_LAST_MAX, Pt as SchedulesQueryOutput, Q as InboxItem, Qt as SyncReceiptInput, R as EventsQueryInput, Rt as SourceJoin, S as ClaimReadyTaskInput, Sn as routes, St as RegistrationView, T as CreateChannelBody, Tt as ResolvedSyncTarget, U as GRANT_BATCH_MAX, Un as Attachment, Ut as SyncBody, V as FailTaskBody, Vt as SourceRead, W as GrantBody, Wt as SyncCopiesQuery, X as InboxAckBody, Xt as SyncImportInput, Y as INBOX_EVENT_ID_MAX, Yt as SyncImportBody, Z as InboxEntry, Zt as SyncReceiptBody, _ as ChannelView, _n as TypingResult, _t as REGISTERED_WATCHERS_MAX, a as ActorsQueryInput, an as TaskView, at as LinkView, b as ChannelsQueryInput, bn as UploadStartBody, bt as RegisterBody, c as BlockTaskBody, cn as TasksQueryInput, ct as MatchesQuery, d as CHANNELS_LIMIT_DEFAULT, dn as ThreadSummaryView, dt as MessagesPage, en as SyncedView, et as InboxPushBody, f as CHANNELS_LIMIT_MAX, fn as ThreadView, ft as ParsedFilters, g as ChannelMessagesQueryInput, gn as TypingBody, gt as PrincipalView, h as ChannelMessagesQuery, hn as ThreadsQueryInput, ht as PrincipalInput, i as ActorsQuery, in as TaskNeedsBody, it as LabelBody, j as CreatedTasksQuery, jt as ScheduleView, k as CreateTasksBody, kt as ScheduleBodyOutput, l as BlockView, ln as ThreadQuery, lt as Me, m as CancelTaskBody, mn as ThreadsQuery, mt as PostInput, n as AckBody, nn as THREADS_LIMIT_MAX, nt as LABEL_CONDITIONS_MAX, o as ApiError, on as TasksPage, ot as LinkedQuery, p as CanAt, pn as ThreadsPage, pt as PostBody, q as GrantView, qt as SyncFindQuery, r as ActorView, rn as TaskClaim, rt as LEASE_DEFAULT_S, s as AssignTaskBody, sn as TasksQuery, st as MatchView, t as ACTORS_BY_ID_MAX, tn as THREADS_LIMIT_DEFAULT, tt as InboxQuery, u as BoardEventView, un as ThreadQueryInput, ut as MessageView, v as ChannelsPage, vn as UpdateGrantBody, vt as ReactBody, w as CompleteTaskBody, wt as RenewTaskBody, x as ClaimReadyTaskBody, xn as UploadTicket, xt as RegisterInput, y as ChannelsQuery, yn as UpdateGrantInput, yt as Ref, z as ExplainQuery, zt as SourceJoinBody } from "./routes-CSnxZyyb.mjs";
2
- import { i as Claims, r as CallerRequest } from "./auth-C0Mla9OU.mjs";
3
- import { C as Protocol, D as SandboxPolicyOptions, E as SandboxPolicy, O as SandboxRule, S as Method, T as SandboxMatcher, _ as Middleware, a as Identity, b as WritePatch, c as SelfCaller, d as AsOptions, f as Board, g as DroppedError, h as WatcherContext, i as Caller, l as Subscription, m as Watcher, n as BackendRoute, o as InboxDelivery, p as BoardOptions, r as BoardBinding, s as ProtocolMethods, t as Backend, u as VerifiedCaller, v as MiddlewareContext, w as SandboxMatch, x as WriteSource, y as Write } from "./backend-BuqwQbb4.mjs";
4
- import { C as MentionedActor, S as Mentioned, _ as TaskOptions, a as EventsOptions, b as Written, c as Filters, d as PostOptions, f as ProfileOption, g as TaskInBatch, h as ScheduleTiming, l as HeldTask, m as ScheduleOptions, n as BoardError, o as EventsState, p as ReplyOptions, r as ClaimedTask, s as ExplainPrincipal, u as NewTaskOptions, v as UploadInput, x as duration, y as WaitOptions } from "./client-B0DGOt7P.mjs";
5
- import { t as HttpError } from "./errors-DBZtbfph.mjs";
6
- import { n as TasksInChunksError, r as createTasksInChunks, t as TaskBatches } from "./exports-BvJTIorX.mjs";
1
+ import { $ as InboxNextQuery, $t as SyncFindQuery, A as CreateTasksInput, At as RenewTaskBody, B as Explanation, Bt as SchedulesQueryOutput, C as ClaimTaskBody, Cn as TypingResult, Ct as REGISTERED_WATCHERS_MAX, D as CreateTaskBody, Dn as UploadTicket, Dt as RegisterInput, E as CreateGrantsBody, En as UploadStartBody, Et as RegisterBody, F as EditBody, Ft as ScheduleBodyOutput, G as GrantCan, Gt as SourceJoinBody, H as FiltersInput, Ht as SchemaInput, I as EventsPage, It as ScheduleInput, J as GrantWriteOptions, Jt as SourceReadQuery, K as GrantInput, Kt as SourceMessage, L as EventsQuery, Lt as ScheduleView, M as DeleteBody, Mt as RevokeGrantBody, N as Discovery, Nt as RouteName, O as CreateTaskInput, On as routes, Ot as RegistrationView, P as EVENTS_LAST_MAX, Pt as ScheduleBody, Q as InboxItem, Qt as SyncFindInput, R as EventsQueryInput, Rt as SchedulesQuery, S as ClaimReadyTaskInput, Sn as TypingBody, St as PrincipalView, T as CreateChannelBody, Tn as UpdateGrantInput, Tt as Ref, U as GRANT_BATCH_MAX, Ut as SchemaView, V as FailTaskBody, Vt as SchemaBody, W as GrantBody, Wt as SourceJoin, X as InboxAckBody, Xt as SyncCopiesQuery, Y as INBOX_EVENT_ID_MAX, Yn as Attachment, Yt as SyncBody, Z as InboxEntry, Zt as SyncCopiesView, _ as ChannelView, _n as ThreadSummaryView, _t as MessagesPage, a as ActorsQueryInput, an as SyncThreadView, at as LinkView, b as ChannelsQueryInput, bn as ThreadsQuery, bt as PostInput, c as BlockTaskBody, cn as THREADS_LIMIT_MAX, ct as ManagedSyncBody, d as CHANNELS_LIMIT_DEFAULT, dn as TaskView, dt as ManagedSyncsQuery, en as SyncFindView, et as InboxPushBody, f as CHANNELS_LIMIT_MAX, fn as TasksPage, ft as ManagedSyncsQueryInput, g as ChannelMessagesQueryInput, gn as ThreadQueryInput, gt as MessageView, h as ChannelMessagesQuery, hn as ThreadQuery, ht as Me, i as ActorsQuery, in as SyncReceiptInput, it as LabelBody, j as CreatedTasksQuery, jt as ResolvedSyncTarget, k as CreateTasksBody, kt as ReleaseTaskBody, l as BlockView, ln as TaskClaim, lt as ManagedSyncInput, m as CancelTaskBody, mn as TasksQueryInput, mt as MatchesQuery, n as AckBody, nn as SyncImportInput, nt as LABEL_CONDITIONS_MAX, o as ApiError, on as SyncedView, ot as LinkedQuery, p as CanAt, pn as TasksQuery, pt as MatchView, q as GrantView, qt as SourceRead, r as ActorView, rn as SyncReceiptBody, rt as LEASE_DEFAULT_S, s as AssignTaskBody, sn as THREADS_LIMIT_DEFAULT, st as MANAGED_SYNC_SOURCES, t as ACTORS_BY_ID_MAX, tn as SyncImportBody, tt as InboxQuery, u as BoardEventView, un as TaskNeedsBody, ut as ManagedSyncView, v as ChannelsPage, vn as ThreadView, vt as ParsedFilters, w as CompleteTaskBody, wn as UpdateGrantBody, wt as ReactBody, x as ClaimReadyTaskBody, xn as ThreadsQueryInput, xt as PrincipalInput, y as ChannelsQuery, yn as ThreadsPage, yt as PostBody, z as ExplainQuery, zt as SchedulesQueryInput } from "./routes-D5FtKOP_.mjs";
2
+ import { i as Claims, r as CallerRequest } from "./auth-DcWTzrHz.mjs";
3
+ import { C as Protocol, D as SandboxPolicyOptions, E as SandboxPolicy, O as SandboxRule, S as Method, T as SandboxMatcher, _ as Middleware, a as Identity, b as WritePatch, c as SelfCaller, d as AsOptions, f as Board, g as DroppedError, h as WatcherContext, i as Caller, l as Subscription, m as Watcher, n as BackendRoute, o as InboxDelivery, p as BoardOptions, r as BoardBinding, s as ProtocolMethods, t as Backend, u as VerifiedCaller, v as MiddlewareContext, w as SandboxMatch, x as WriteSource, y as Write } from "./backend-9H57DlQt.mjs";
4
+ import { C as MentionedActor, S as Mentioned, _ as TaskOptions, a as EventsOptions, b as Written, c as Filters, d as PostOptions, f as ProfileOption, g as TaskInBatch, h as ScheduleTiming, l as HeldTask, m as ScheduleOptions, n as BoardError, o as EventsState, p as ReplyOptions, r as ClaimedTask, s as ExplainPrincipal, u as NewTaskOptions, v as UploadInput, x as duration, y as WaitOptions } from "./client-BUPyzzFt.mjs";
5
+ import { t as HttpError } from "./errors-CwObkpSn.mjs";
6
+ import { n as TasksInChunksError, r as createTasksInChunks, t as TaskBatches } from "./exports-Bh09j6Bd.mjs";
7
7
  import { n as block } from "./blocks-DGvh2alZ.mjs";
8
- import { t as board } from "./index-DuibwQf9.mjs";
9
- export { type ACTORS_BY_ID_MAX, type AckBody, type ActorView, type ActorsQuery, type ActorsQueryInput, type ApiError, type AsOptions, type AssignTaskBody, type Attachment, type Backend, type BackendRoute, type BlockTaskBody, type BlockView, type Board, type BoardBinding, BoardError, type BoardEventView, type BoardOptions, type CHANNELS_LIMIT_DEFAULT, type CHANNELS_LIMIT_MAX, type Caller, type CallerRequest, type CanAt, type CancelTaskBody, type ChannelMessagesQuery, type ChannelMessagesQueryInput, type ChannelView, type ChannelsPage, type ChannelsQuery, type ChannelsQueryInput, type ClaimReadyTaskBody, type ClaimReadyTaskInput, type ClaimTaskBody, type ClaimedTask, type Claims, type CompleteTaskBody, type CreateChannelBody, type CreateGrantsBody, type CreateTaskBody, type CreateTaskInput, type CreateTasksBody, type CreateTasksInput, type CreatedTasksQuery, type DeleteBody, type Discovery, DroppedError, type EVENTS_LAST_MAX, type EditBody, type EventsOptions, type EventsPage, type EventsQuery, type EventsQueryInput, type EventsState, type ExplainPrincipal, type ExplainQuery, type Explanation, type FailTaskBody, type Filters, type FiltersInput, type GRANT_BATCH_MAX, type GrantBody, type GrantCan, type GrantInput, type GrantView, type GrantWriteOptions, type HeldTask, HttpError, type INBOX_EVENT_ID_MAX, type Identity, type InboxAckBody, type InboxDelivery, type InboxEntry, type InboxItem, type InboxNextQuery, type InboxPushBody, type InboxQuery, type LABEL_CONDITIONS_MAX, type LEASE_DEFAULT_S, type LabelBody, type LinkView, type LinkedQuery, type MatchView, type MatchesQuery, type Me, type Mentioned, type MentionedActor, type MessageView, type MessagesPage, type Method, type Middleware, type MiddlewareContext, type NewTaskOptions, 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 ReleaseTaskBody, type RenewTaskBody, type ReplyOptions, type ResolvedSyncTarget, type RevokeGrantBody, type RouteName, type SandboxMatch, type SandboxMatcher, type SandboxPolicy, type SandboxPolicyOptions, type SandboxRule, type ScheduleBody, type ScheduleBodyOutput, type ScheduleInput, type ScheduleOptions, type ScheduleTiming, type ScheduleView, type SchedulesQuery, type SchedulesQueryInput, type SchedulesQueryOutput, type SchemaBody, type SchemaInput, type SchemaView, 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 THREADS_LIMIT_DEFAULT, type THREADS_LIMIT_MAX, type TaskBatches, type TaskClaim, type TaskInBatch, type TaskNeedsBody, type TaskOptions, type TaskView, TasksInChunksError, type TasksPage, type TasksQuery, type TasksQueryInput, type ThreadQuery, type ThreadQueryInput, type ThreadSummaryView, type ThreadView, type ThreadsPage, type ThreadsQuery, type ThreadsQueryInput, 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, block, board, createTasksInChunks, duration, type routes };
8
+ import { t as board } from "./index-mgNwCwJ4.mjs";
9
+ export { type ACTORS_BY_ID_MAX, type AckBody, type ActorView, type ActorsQuery, type ActorsQueryInput, type ApiError, type AsOptions, type AssignTaskBody, type Attachment, type Backend, type BackendRoute, type BlockTaskBody, type BlockView, type Board, type BoardBinding, BoardError, type BoardEventView, type BoardOptions, type CHANNELS_LIMIT_DEFAULT, type CHANNELS_LIMIT_MAX, type Caller, type CallerRequest, type CanAt, type CancelTaskBody, type ChannelMessagesQuery, type ChannelMessagesQueryInput, type ChannelView, type ChannelsPage, type ChannelsQuery, type ChannelsQueryInput, type ClaimReadyTaskBody, type ClaimReadyTaskInput, type ClaimTaskBody, type ClaimedTask, type Claims, type CompleteTaskBody, type CreateChannelBody, type CreateGrantsBody, type CreateTaskBody, type CreateTaskInput, type CreateTasksBody, type CreateTasksInput, type CreatedTasksQuery, type DeleteBody, type Discovery, DroppedError, type EVENTS_LAST_MAX, type EditBody, type EventsOptions, type EventsPage, type EventsQuery, type EventsQueryInput, type EventsState, type ExplainPrincipal, type ExplainQuery, type Explanation, type FailTaskBody, type Filters, type FiltersInput, type GRANT_BATCH_MAX, type GrantBody, type GrantCan, type GrantInput, type GrantView, type GrantWriteOptions, type HeldTask, HttpError, type INBOX_EVENT_ID_MAX, type Identity, type InboxAckBody, type InboxDelivery, type InboxEntry, type InboxItem, type InboxNextQuery, type InboxPushBody, type InboxQuery, type LABEL_CONDITIONS_MAX, type LEASE_DEFAULT_S, type LabelBody, type LinkView, type LinkedQuery, type MANAGED_SYNC_SOURCES, type ManagedSyncBody, type ManagedSyncInput, type ManagedSyncView, type ManagedSyncsQuery, type ManagedSyncsQueryInput, type MatchView, type MatchesQuery, type Me, type Mentioned, type MentionedActor, type MessageView, type MessagesPage, type Method, type Middleware, type MiddlewareContext, type NewTaskOptions, 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 ReleaseTaskBody, type RenewTaskBody, type ReplyOptions, type ResolvedSyncTarget, type RevokeGrantBody, type RouteName, type SandboxMatch, type SandboxMatcher, type SandboxPolicy, type SandboxPolicyOptions, type SandboxRule, type ScheduleBody, type ScheduleBodyOutput, type ScheduleInput, type ScheduleOptions, type ScheduleTiming, type ScheduleView, type SchedulesQuery, type SchedulesQueryInput, type SchedulesQueryOutput, type SchemaBody, type SchemaInput, type SchemaView, 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 THREADS_LIMIT_DEFAULT, type THREADS_LIMIT_MAX, type TaskBatches, type TaskClaim, type TaskInBatch, type TaskNeedsBody, type TaskOptions, type TaskView, TasksInChunksError, type TasksPage, type TasksQuery, type TasksQueryInput, type ThreadQuery, type ThreadQueryInput, type ThreadSummaryView, type ThreadView, type ThreadsPage, type ThreadsQuery, type ThreadsQueryInput, 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, block, board, createTasksInChunks, duration, type routes };
@@ -1,6 +1,6 @@
1
- import { f as BoardError, m as duration, t as HttpError } from "./errors-DjatfYjl.mjs";
1
+ import { f as BoardError, m as duration, t as HttpError } from "./errors-Ce_-E3_C.mjs";
2
2
  import { t as block } from "./blocks-CVoBC7ur.mjs";
3
- import { t as DroppedError } from "./middleware-D2AGrGj7.mjs";
4
- import { n as createTasksInChunks, t as TasksInChunksError } from "./exports-B_UGnrnN.mjs";
5
- import { t as board } from "./server-BXbcS-n9.mjs";
3
+ import { t as DroppedError } from "./middleware-DVBOEd8G.mjs";
4
+ import { n as createTasksInChunks, t as TasksInChunksError } from "./exports-WtqjdQwb.mjs";
5
+ import { t as board } from "./server-CRdVLqny.mjs";
6
6
  export { BoardError, DroppedError, HttpError, TasksInChunksError, block, board, createTasksInChunks, duration };