@vercel/board 0.51.0 → 0.52.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.
@@ -1,2 +1,2 @@
1
- import { t as local } from "./local-BsYjQrl_.mjs";
1
+ import { t as local } from "./local-B376y9u3.mjs";
2
2
  export { local };
@@ -1,2 +1,2 @@
1
- import { a as option, i as groups, n as filters, o as options, r as globalOptions, s as usage, t as commands } from "./commands-DB1T8vT9.mjs";
1
+ import { a as option, i as groups, n as filters, o as options, r as globalOptions, s as usage, t as commands } from "./commands-B_gbi2sU.mjs";
2
2
  export { commands, filters, globalOptions, groups, option, options, usage };
@@ -1,5 +1,5 @@
1
- import { o as stoppedBy } from "./exports-BDE3eV7B.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-CSIXhZ_b.mjs";
1
+ import { o as stoppedBy } from "./exports-DI-MtN01.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-DfJNxck4.mjs";
3
3
  //#region src/cli/embedded.ts
4
4
  /**
5
5
  * Board's CLI as `appName` names it in help, usage, and errors (`vercel board`). With no board
package/dist/cli.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { a as option } from "./commands-DB1T8vT9.mjs";
3
- import { g as projectDir } from "./server-HPq6MO3_.mjs";
4
- import { r as main } from "./main-CSIXhZ_b.mjs";
5
- import { i as createInspector, r as stopped, t as allowedHosts } from "./inspect-Nd_TlU1s.mjs";
2
+ import { a as option } from "./commands-B_gbi2sU.mjs";
3
+ import { g as projectDir } from "./server--BLSj6fd.mjs";
4
+ import { r as main } from "./main-DfJNxck4.mjs";
5
+ import { i as createInspector, r as stopped, t as allowedHosts } from "./inspect-BJR-BsUv.mjs";
6
6
  import { appendFile, readFile } from "node:fs/promises";
7
7
  import { join } from "node:path";
8
8
  //#region src/cli/local.ts
@@ -37,7 +37,7 @@ const local = {
37
37
  },
38
38
  async run(args, context) {
39
39
  if (args.length > 0) throw context.usage("inspect takes no arguments: pass its port with --port.");
40
- return (await import("./inspect-BXvdLMET.mjs")).inspect(context);
40
+ return (await import("./inspect-CYfZ0vva.mjs")).inspect(context);
41
41
  }
42
42
  },
43
43
  serve: {
@@ -81,7 +81,7 @@ const local = {
81
81
  }, "tailscale");
82
82
  if (tailscale.length > 0 && hosts.length > 0) throw usage("--tailscale takes Tailscale's word for who's calling, which another proxy in front could forge: it doesn't go with --allow-host.");
83
83
  const root = projectDir();
84
- const { serveLocal } = await import("./serve-Cp0qM4jk.mjs");
84
+ const { serveLocal } = await import("./serve-D8j7O2Tc.mjs");
85
85
  const local = await serveLocal({
86
86
  dir: flags.dir ?? join(root, ".board"),
87
87
  hosts,
@@ -760,8 +760,8 @@ const commands = [
760
760
  name: "list the channels",
761
761
  value: "channels list"
762
762
  }, {
763
- name: "the next page",
764
- value: "channels list dev/ --after <next>"
763
+ name: "the next page, from the cursor a page ends with",
764
+ value: "channels list dev/ --after c.8f2a.2"
765
765
  }]
766
766
  }, {
767
767
  name: "create",
@@ -5,9 +5,9 @@ import { a as duplicateId, c as notFound, d as unauthorized, f as BoardError, h
5
5
  import { _ as sha256, a as waitUntil, c as platformProfile, d as userIdOf, m as derivedId, o as actorParts, r as runMiddleware, s as importedHandle, t as DroppedError, u as underPrincipal } from "./middleware-iVTNf5Su.mjs";
6
6
  import { n as blocksIn, r as findBlocks } from "./blocks-CVoBC7ur.mjs";
7
7
  import { a as replaceMentions, i as mentionTerms, o as settleMentions, r as mentionTerm, t as extractMentions } from "./mentions-CnWt9Z5b.mjs";
8
- import { t as VERSION } from "./version-BJH1vWR0.mjs";
8
+ import { t as VERSION } from "./version-NfsFHDfg.mjs";
9
9
  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-DdojoPZm.mjs";
10
- import { _ as SYNC, a as runMatch, d as openapi, f as queryObject, g as uploadName, h as carried, i as canonicalWatchers, l as METHODS, m as readJson, n as SYNC_ACTOR, o as compileWatcher, p as readCapped, r as syncTarget, t as batchPlan, u as createRouter } from "./task-batch-D3ASL5_-.mjs";
10
+ import { _ as SYNC, a as runMatch, d as openapi, f as queryObject, g as uploadName, h as carried, i as canonicalWatchers, l as METHODS, m as readJson, n as SYNC_ACTOR, o as compileWatcher, p as readCapped, r as syncTarget, t as batchPlan, u as createRouter } from "./task-batch-6UHphYfl.mjs";
11
11
  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-zPqFJocD.mjs";
12
12
  import { a as resolveActor, o as viaOf, r as claimsOf, t as KNOWN_AGENTS } from "./actors-CDkNgWUL.mjs";
13
13
  import { t as checkValue } from "./data-values-CoTP0SQG.mjs";
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { f as BoardError, m as duration, t as HttpError } from "./errors-DbCKqGXp.mjs";
2
2
  import { t as DroppedError } from "./middleware-iVTNf5Su.mjs";
3
3
  import { t as block } from "./blocks-CVoBC7ur.mjs";
4
- import { n as createTasksInChunks, r as createBoard, s as createVercel, t as TasksInChunksError } from "./exports-BDE3eV7B.mjs";
4
+ import { n as createTasksInChunks, r as createBoard, s as createVercel, t as TasksInChunksError } from "./exports-DI-MtN01.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
@@ -1,6 +1,6 @@
1
1
  import { f as BoardError, m as duration, t as HttpError } from "./errors-DbCKqGXp.mjs";
2
2
  import { t as DroppedError } from "./middleware-iVTNf5Su.mjs";
3
3
  import { t as block } from "./blocks-CVoBC7ur.mjs";
4
- import { n as createTasksInChunks, t as TasksInChunksError } from "./exports-BDE3eV7B.mjs";
5
- import { t as board } from "./server-HPq6MO3_.mjs";
4
+ import { n as createTasksInChunks, t as TasksInChunksError } from "./exports-DI-MtN01.mjs";
5
+ import { t as board } from "./server--BLSj6fd.mjs";
6
6
  export { BoardError, DroppedError, HttpError, TasksInChunksError, block, board, createTasksInChunks, duration };