@vercel/board 0.57.0 → 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.
- package/README.md +1 -1
- package/dist/{access-CIj7v_Dr.mjs → access-D1AHzFSP.mjs} +1 -1
- package/dist/access.d.mts +2 -2
- package/dist/access.mjs +4 -4
- package/dist/{actors-DVDTqjm7.mjs → actors-CCth21rU.mjs} +2 -2
- package/dist/{auth-BDWGvFWl.mjs → auth-Cc5_pdi7.mjs} +2 -2
- package/dist/{auth-C0Mla9OU.d.mts → auth-DcWTzrHz.d.mts} +1 -1
- package/dist/{backend-BuqwQbb4.d.mts → backend-9H57DlQt.d.mts} +23 -5
- package/dist/backend-local.d.mts +1 -1
- package/dist/backend-local.mjs +1 -1
- package/dist/backend-postgres/blob-vercel.d.mts +1 -1
- package/dist/backend-postgres.d.mts +3 -3
- package/dist/backend-postgres.mjs +3 -3
- package/dist/{blob-DjS53D1A.d.mts → blob-CdLCZEPM.d.mts} +2 -2
- package/dist/{chat-provider-CpYdXEpI.d.mts → chat-provider-BiJ8G6KY.d.mts} +2 -2
- package/dist/cli-commands.d.mts +1 -1
- package/dist/cli-commands.mjs +1 -1
- package/dist/cli-embedded.d.mts +2 -2
- package/dist/cli-embedded.mjs +2 -2
- package/dist/cli.mjs +6 -6
- package/dist/{client-B0DGOt7P.d.mts → client-BUPyzzFt.d.mts} +13 -1
- package/dist/{commands-DLPIX7Jw.d.mts → commands-DryDbyWr.d.mts} +8 -3
- package/dist/{commands-7FY_8p92.mjs → commands-totPnoCC.mjs} +81 -23
- package/dist/{conformance-FiQ68adg.mjs → conformance-D9XutDay.mjs} +2 -2
- package/dist/conformance.d.mts +1 -1
- package/dist/conformance.mjs +1 -1
- package/dist/{engine-B_CjnE3G.mjs → engine-DVWbcEIB.mjs} +2 -2
- package/dist/{errors-BfMR39F0.mjs → errors-Ce_-E3_C.mjs} +210 -2
- package/dist/{errors-DBZtbfph.d.mts → errors-CwObkpSn.d.mts} +1 -1
- package/dist/{exports-BvJTIorX.d.mts → exports-Bh09j6Bd.d.mts} +5 -5
- package/dist/{exports-x-ioAfbp.mjs → exports-WtqjdQwb.mjs} +256 -57
- package/dist/{index-DuibwQf9.d.mts → index-mgNwCwJ4.d.mts} +2 -2
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +4 -4
- package/dist/index.node.d.mts +8 -8
- package/dist/index.node.mjs +4 -4
- package/dist/inspect/app.js +126 -146
- package/dist/inspect/engine.js +3 -3
- package/dist/inspect/sheet-presentation.js +1 -0
- package/dist/{inspect-BFnDSdsq.mjs → inspect-CtPZz0WG.mjs} +2 -2
- package/dist/inspect-wkA_8iyU.mjs +2 -0
- package/dist/inspect.d.mts +1 -1
- package/dist/inspect.mjs +1 -1
- package/dist/{local-Bt1-jA9A.mjs → local-B7Yp-B2z.mjs} +30 -8
- package/dist/{local-Gp8pqHSu.mjs → local-BPiDCkA4.mjs} +5 -5
- package/dist/{main-Du-mKQZn.mjs → main-BvkLqpUX.mjs} +223 -52
- package/dist/{memory-74hyK6eH.mjs → memory-BmsyKyHu.mjs} +1 -1
- package/dist/{middleware-bIABV895.mjs → middleware-DVBOEd8G.mjs} +2 -32
- package/dist/{provider-BNVyVKtH.d.mts → provider-BnK0Bif7.d.mts} +2 -2
- package/dist/{routes-CSnxZyyb.d.mts → routes-D5FtKOP_.d.mts} +87 -1
- package/dist/{serve-xOoxwq7T.mjs → serve-ChlJ955x.mjs} +6 -6
- package/dist/{server-BSexF7Bk.mjs → server-CRdVLqny.mjs} +25 -10
- package/dist/{serving-ByD4TOOU.mjs → serving-BVtrFzK4.mjs} +1 -1
- package/dist/{shell-0nWQEqh3.mjs → shell-hTUuAc6A.mjs} +11 -7
- package/dist/{sqlite-DtfrT_EP.mjs → sqlite-B9ZLSDUT.mjs} +1 -1
- package/dist/{sqlite-db-DSVlzQjv.mjs → sqlite-db-DawFxCk6.mjs} +20 -5
- package/dist/sync-chat-sdk.d.mts +2 -2
- package/dist/sync-github.d.mts +2 -2
- package/dist/sync-linear.d.mts +3 -3
- package/dist/sync-slack.d.mts +3 -3
- package/dist/sync.d.mts +2 -2
- package/dist/{task-batch-DgyfK9qx.mjs → task-batch-CnRhVsh6.mjs} +7 -4
- package/dist/{tokens-_1X8JNLT.mjs → tokens-XagdeYrv.mjs} +2 -2
- package/dist/{version-CZT5WmZs.mjs → version-rlZkE9nc.mjs} +1 -1
- package/docs/01-board/01-mounting.md +9 -0
- package/docs/01-board/05-reading.md +2 -1
- package/docs/01-board/09-access.md +8 -4
- package/docs/01-board/11-tasks.md +7 -2
- package/docs/01-board/12-postgres.md +3 -3
- package/docs/02-sync/01-overview.md +4 -0
- package/docs/02-sync/05-managed.md +117 -0
- package/docs/03-guides/02-inspector.md +1 -1
- package/docs/04-reference/01-cli.md +44 -2
- package/docs/04-reference/03-http.md +5 -0
- package/package.json +2 -2
- package/dist/inspect-BuNsu2z6.mjs +0 -2
|
@@ -169,6 +169,26 @@ const SchedulesQuery = z.object({
|
|
|
169
169
|
/** Include done and canceled schedules. */
|
|
170
170
|
all: flag.optional()
|
|
171
171
|
});
|
|
172
|
+
/**
|
|
173
|
+
* A sync the board runs itself: one source into one channel, with no deployment of yours.
|
|
174
|
+
*
|
|
175
|
+
* A `slack` sync names the Slack app it mirrors through and the Slack channel it mirrors: `slack`,
|
|
176
|
+
* with the `app` as a connector is named (`slack/vercel` is Vercel's Slack app, the one the board
|
|
177
|
+
* takes so far), the `channel`'s name or ID, and the `workspace`'s domain or ID for a team with
|
|
178
|
+
* more than one. It is `pending` until someone in that channel agrees.
|
|
179
|
+
*/
|
|
180
|
+
const ManagedSyncBody = z.object({
|
|
181
|
+
channel: ChannelPath,
|
|
182
|
+
source: z.enum(["slack"]),
|
|
183
|
+
slack: z.object({
|
|
184
|
+
app: z.string().max(100).regex(/^slack\/[^\s/:]+$/, "name the Slack app as a connector is named: slack/vercel"),
|
|
185
|
+
channel: z.string().min(1).max(100),
|
|
186
|
+
workspace: z.string().min(1).max(100).optional()
|
|
187
|
+
}).strict().optional()
|
|
188
|
+
}).strict();
|
|
189
|
+
const ManagedSyncsQuery = z.object({
|
|
190
|
+
/** One channel's syncs. */
|
|
191
|
+
channel: z.string().optional() });
|
|
172
192
|
/** A channel, or with a trailing `/` it and every channel under it: `work`, `work/`. As long as a grant's pattern for either. */
|
|
173
193
|
const ChannelOrSubtree = z.string().max(CHANNEL_PATTERN_MAX).regex(/^[a-z0-9][a-z0-9_-]*(?:\/[a-z0-9][a-z0-9_-]*)*\/?$/, "name a channel, or a channel and its subtree (work/)");
|
|
174
194
|
/**
|
|
@@ -816,6 +836,23 @@ const routes = {
|
|
|
816
836
|
method: "POST",
|
|
817
837
|
path: "/schedules/:id/cancel"
|
|
818
838
|
},
|
|
839
|
+
/** Brings a source's events into a channel, run by the board itself: `sync` where they land. Only a board that runs syncs takes one. */
|
|
840
|
+
createSync: {
|
|
841
|
+
method: "POST",
|
|
842
|
+
path: "/syncs",
|
|
843
|
+
body: ManagedSyncBody
|
|
844
|
+
},
|
|
845
|
+
/** The syncs the board runs itself, oldest first. */
|
|
846
|
+
syncs: {
|
|
847
|
+
method: "GET",
|
|
848
|
+
path: "/syncs",
|
|
849
|
+
query: ManagedSyncsQuery
|
|
850
|
+
},
|
|
851
|
+
/** Removes one, and what its source keeps for it: `sync` where its events land. What it brought in stays. */
|
|
852
|
+
removeSync: {
|
|
853
|
+
method: "POST",
|
|
854
|
+
path: "/syncs/:id/remove"
|
|
855
|
+
},
|
|
819
856
|
/** Tasks, oldest first: open ones unless `state` says otherwise. */
|
|
820
857
|
tasks: {
|
|
821
858
|
method: "GET",
|
|
@@ -1126,6 +1163,162 @@ async function* parseSse(body, signal) {
|
|
|
1126
1163
|
}
|
|
1127
1164
|
}
|
|
1128
1165
|
//#endregion
|
|
1166
|
+
//#region src/client/ids.ts
|
|
1167
|
+
const hex = (bytes) => Array.from(bytes, (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
1168
|
+
const K = new Uint32Array([
|
|
1169
|
+
1116352408,
|
|
1170
|
+
1899447441,
|
|
1171
|
+
3049323471,
|
|
1172
|
+
3921009573,
|
|
1173
|
+
961987163,
|
|
1174
|
+
1508970993,
|
|
1175
|
+
2453635748,
|
|
1176
|
+
2870763221,
|
|
1177
|
+
3624381080,
|
|
1178
|
+
310598401,
|
|
1179
|
+
607225278,
|
|
1180
|
+
1426881987,
|
|
1181
|
+
1925078388,
|
|
1182
|
+
2162078206,
|
|
1183
|
+
2614888103,
|
|
1184
|
+
3248222580,
|
|
1185
|
+
3835390401,
|
|
1186
|
+
4022224774,
|
|
1187
|
+
264347078,
|
|
1188
|
+
604807628,
|
|
1189
|
+
770255983,
|
|
1190
|
+
1249150122,
|
|
1191
|
+
1555081692,
|
|
1192
|
+
1996064986,
|
|
1193
|
+
2554220882,
|
|
1194
|
+
2821834349,
|
|
1195
|
+
2952996808,
|
|
1196
|
+
3210313671,
|
|
1197
|
+
3336571891,
|
|
1198
|
+
3584528711,
|
|
1199
|
+
113926993,
|
|
1200
|
+
338241895,
|
|
1201
|
+
666307205,
|
|
1202
|
+
773529912,
|
|
1203
|
+
1294757372,
|
|
1204
|
+
1396182291,
|
|
1205
|
+
1695183700,
|
|
1206
|
+
1986661051,
|
|
1207
|
+
2177026350,
|
|
1208
|
+
2456956037,
|
|
1209
|
+
2730485921,
|
|
1210
|
+
2820302411,
|
|
1211
|
+
3259730800,
|
|
1212
|
+
3345764771,
|
|
1213
|
+
3516065817,
|
|
1214
|
+
3600352804,
|
|
1215
|
+
4094571909,
|
|
1216
|
+
275423344,
|
|
1217
|
+
430227734,
|
|
1218
|
+
506948616,
|
|
1219
|
+
659060556,
|
|
1220
|
+
883997877,
|
|
1221
|
+
958139571,
|
|
1222
|
+
1322822218,
|
|
1223
|
+
1537002063,
|
|
1224
|
+
1747873779,
|
|
1225
|
+
1955562222,
|
|
1226
|
+
2024104815,
|
|
1227
|
+
2227730452,
|
|
1228
|
+
2361852424,
|
|
1229
|
+
2428436474,
|
|
1230
|
+
2756734187,
|
|
1231
|
+
3204031479,
|
|
1232
|
+
3329325298
|
|
1233
|
+
]);
|
|
1234
|
+
/** SHA-256 in plain JavaScript, for a page WebCrypto's digest isn't on: one served over plain http to another host. */
|
|
1235
|
+
function sha256Bytes(data) {
|
|
1236
|
+
const padded = new Uint8Array(Math.ceil((data.length + 9) / 64) * 64);
|
|
1237
|
+
padded.set(data);
|
|
1238
|
+
padded[data.length] = 128;
|
|
1239
|
+
const view = new DataView(padded.buffer);
|
|
1240
|
+
view.setUint32(padded.length - 8, Math.floor(data.length / 536870912));
|
|
1241
|
+
view.setUint32(padded.length - 4, data.length * 8);
|
|
1242
|
+
const h = new Uint32Array([
|
|
1243
|
+
1779033703,
|
|
1244
|
+
3144134277,
|
|
1245
|
+
1013904242,
|
|
1246
|
+
2773480762,
|
|
1247
|
+
1359893119,
|
|
1248
|
+
2600822924,
|
|
1249
|
+
528734635,
|
|
1250
|
+
1541459225
|
|
1251
|
+
]);
|
|
1252
|
+
const w = /* @__PURE__ */ new Uint32Array(64);
|
|
1253
|
+
const rotr = (x, n) => x >>> n | x << 32 - n;
|
|
1254
|
+
for (let at = 0; at < padded.length; at += 64) {
|
|
1255
|
+
for (let i = 0; i < 16; i++) w[i] = view.getUint32(at + i * 4);
|
|
1256
|
+
for (let i = 16; i < 64; i++) {
|
|
1257
|
+
const s0 = rotr(w[i - 15], 7) ^ rotr(w[i - 15], 18) ^ w[i - 15] >>> 3;
|
|
1258
|
+
const s1 = rotr(w[i - 2], 17) ^ rotr(w[i - 2], 19) ^ w[i - 2] >>> 10;
|
|
1259
|
+
w[i] = w[i - 16] + s0 + w[i - 7] + s1;
|
|
1260
|
+
}
|
|
1261
|
+
let [a, b, c, d, e, f, g, k] = h;
|
|
1262
|
+
for (let i = 0; i < 64; i++) {
|
|
1263
|
+
const t1 = k + (rotr(e, 6) ^ rotr(e, 11) ^ rotr(e, 25)) + (e & f ^ ~e & g) + K[i] + w[i] >>> 0;
|
|
1264
|
+
const t2 = (rotr(a, 2) ^ rotr(a, 13) ^ rotr(a, 22)) + (a & b ^ a & c ^ b & c) >>> 0;
|
|
1265
|
+
k = g;
|
|
1266
|
+
g = f;
|
|
1267
|
+
f = e;
|
|
1268
|
+
e = d + t1 >>> 0;
|
|
1269
|
+
d = c;
|
|
1270
|
+
c = b;
|
|
1271
|
+
b = a;
|
|
1272
|
+
a = t1 + t2 >>> 0;
|
|
1273
|
+
}
|
|
1274
|
+
h[0] += a;
|
|
1275
|
+
h[1] += b;
|
|
1276
|
+
h[2] += c;
|
|
1277
|
+
h[3] += d;
|
|
1278
|
+
h[4] += e;
|
|
1279
|
+
h[5] += f;
|
|
1280
|
+
h[6] += g;
|
|
1281
|
+
h[7] += k;
|
|
1282
|
+
}
|
|
1283
|
+
const out = /* @__PURE__ */ new Uint8Array(32);
|
|
1284
|
+
const result = new DataView(out.buffer);
|
|
1285
|
+
h.forEach((word, i) => result.setUint32(i * 4, word));
|
|
1286
|
+
return out;
|
|
1287
|
+
}
|
|
1288
|
+
/** SHA-256 of `data`: WebCrypto's where the page has it, plain JavaScript where it doesn't. */
|
|
1289
|
+
async function digest(data) {
|
|
1290
|
+
const bytes = Uint8Array.from(data instanceof ArrayBuffer ? new Uint8Array(data) : data);
|
|
1291
|
+
if (globalThis.crypto?.subtle) return new Uint8Array(await crypto.subtle.digest("SHA-256", bytes));
|
|
1292
|
+
return sha256Bytes(bytes);
|
|
1293
|
+
}
|
|
1294
|
+
/** SHA-256 of `text`, in hex. */
|
|
1295
|
+
async function sha256(text) {
|
|
1296
|
+
return hex(await digest(new TextEncoder().encode(text)));
|
|
1297
|
+
}
|
|
1298
|
+
/**
|
|
1299
|
+
* A UUIDv8 from `parts`, exactly as A2's `idempotentId` makes one: the IDs a board derives for the
|
|
1300
|
+
* writes its own code makes, which no request may post with.
|
|
1301
|
+
*/
|
|
1302
|
+
async function derivedId(...parts) {
|
|
1303
|
+
const bytes = (await digest(new TextEncoder().encode(JSON.stringify(parts)))).slice(0, 16);
|
|
1304
|
+
bytes[6] = bytes[6] & 15 | 128;
|
|
1305
|
+
bytes[8] = bytes[8] & 63 | 128;
|
|
1306
|
+
const text = hex(bytes);
|
|
1307
|
+
return `${text.slice(0, 8)}-${text.slice(8, 12)}-${text.slice(12, 16)}-${text.slice(16, 20)}-${text.slice(20, 32)}`;
|
|
1308
|
+
}
|
|
1309
|
+
/** A derived ID's shape. */
|
|
1310
|
+
const DERIVED_ID = /^[0-9a-f]{8}-[0-9a-f]{4}-8[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/;
|
|
1311
|
+
/**
|
|
1312
|
+
* A post's ID, from one derived for it, under `principal`: a board takes a `key:<principal>:` ID
|
|
1313
|
+
* only from that principal, so no one else can post with it first.
|
|
1314
|
+
*/
|
|
1315
|
+
const keyId = async (principal, derived) => `key:${principal}:${(await sha256(`board-key\u001f${derived}`)).slice(0, 32)}`;
|
|
1316
|
+
/**
|
|
1317
|
+
* Whether `id` is exactly the shape `keyId` makes for `principal`. A prefix check isn't enough:
|
|
1318
|
+
* a principal's ID can be the start of another's (`oidc:gitlab.com:acme` and `oidc:gitlab.com:acme:ci`).
|
|
1319
|
+
*/
|
|
1320
|
+
const isKeyIdOf = (id, principal) => id.startsWith(`key:${principal}:`) && /^[0-9a-f]{32}$/.test(id.slice(`key:${principal}:`.length));
|
|
1321
|
+
//#endregion
|
|
1129
1322
|
//#region src/client/client.ts
|
|
1130
1323
|
/**
|
|
1131
1324
|
* What went wrong: `message` says what and why, `code` is what to branch on, `hint`, when there's
|
|
@@ -1587,6 +1780,18 @@ function createBoardClient(options) {
|
|
|
1587
1780
|
/** Stops a schedule: yours, or any with manage in its channel. `canceled` is false when it was already done or canceled. */
|
|
1588
1781
|
cancelSchedule: (id) => call("POST", `/schedules/${path(id)}/cancel`, { body: {} }),
|
|
1589
1782
|
/**
|
|
1783
|
+
* Has the board itself sync a channel with a source, with no deployment of yours. A Slack
|
|
1784
|
+
* channel, both ways, through Vercel's Slack app: `{ channel: 'alerts', source: 'slack', slack:
|
|
1785
|
+
* { app: 'slack/vercel', channel: '#alerts' } }`, whose `state` is `pending` until someone in
|
|
1786
|
+
* that channel agrees.
|
|
1787
|
+
* Only Vercel's board runs one.
|
|
1788
|
+
*/
|
|
1789
|
+
createSync: async (input) => (await call("POST", "/syncs", { body: input })).sync,
|
|
1790
|
+
/** The syncs the board runs itself, oldest first: every channel's, or one's. Each says its `state`, and one that isn't `active` its `reason`. */
|
|
1791
|
+
syncs: async (query = {}) => (await call("GET", `/syncs${queryString(query)}`)).syncs,
|
|
1792
|
+
/** Removes a sync the board runs, and what its source kept for it. What it brought in stays. */
|
|
1793
|
+
removeSync: async (id) => (await call("POST", `/syncs/${path(id)}/remove`, { body: {} })).sync,
|
|
1794
|
+
/**
|
|
1590
1795
|
* Tasks: threads someone's agents are to do, with a state the board keeps. A task's ID is its
|
|
1591
1796
|
* root's, and its root's `task` says its state, whose it is, what it waits for, and who holds
|
|
1592
1797
|
* it. A board that keeps no tasks fails each of these with 501 `no_tasks`.
|
|
@@ -1692,7 +1897,7 @@ function createBoardClient(options) {
|
|
|
1692
1897
|
if (size > 4194304) {
|
|
1693
1898
|
if (size > 104857600) throw new BoardError("too_large", `Attachments are at most ${DIRECT_UPLOAD_BYTES_MAX / 1024 / 1024} MB.`, 413);
|
|
1694
1899
|
const bytes = input.data instanceof Blob ? await input.data.arrayBuffer() : input.data;
|
|
1695
|
-
const sha256 = btoa(String.fromCharCode(...
|
|
1900
|
+
const sha256 = btoa(String.fromCharCode(...await digest(bytes)));
|
|
1696
1901
|
const ticket = await call("POST", "/attachments/uploads", { body: {
|
|
1697
1902
|
name: input.name,
|
|
1698
1903
|
type,
|
|
@@ -1883,9 +2088,12 @@ function createBoardClient(options) {
|
|
|
1883
2088
|
/**
|
|
1884
2089
|
* The code of a refusal, as a board or Vercel's API answered it. Vercel's API refuses a team whose SAML
|
|
1885
2090
|
* session has lapsed with a 403 marked `saml`: `reauthentication_required`, which a new login fixes and a grant doesn't.
|
|
2091
|
+
* It refuses a token that expired or was revoked with a 403 marked `invalidToken`: `invalid_token`, which a
|
|
2092
|
+
* refreshed or new login fixes, and a grant doesn't either.
|
|
1886
2093
|
*/
|
|
1887
2094
|
function refusalCode(status, error) {
|
|
1888
2095
|
if (status === 403 && error?.saml === true) return "reauthentication_required";
|
|
2096
|
+
if (status === 403 && error?.invalidToken === true) return "invalid_token";
|
|
1889
2097
|
return error?.code;
|
|
1890
2098
|
}
|
|
1891
2099
|
async function toError(response) {
|
|
@@ -1998,4 +2206,4 @@ function toErrorResponse(error) {
|
|
|
1998
2206
|
} }, 500);
|
|
1999
2207
|
}
|
|
2000
2208
|
//#endregion
|
|
2001
|
-
export {
|
|
2209
|
+
export { PostBody as $, ClaimTaskBody as A, ExplainQuery as B, ActorsQuery as C, routes as Ct, ChannelMessagesQuery as D, CancelTaskBody as E, CreateTasksBody as F, InboxNextQuery as G, Filters as H, CreatedTasksQuery as I, LabelBody as J, InboxPushBody as K, DeleteBody as L, CreateChannelBody as M, CreateGrantsBody as N, ChannelsQuery as O, CreateTaskBody as P, MatchesQuery as Q, EditBody as R, AckBody as S, UploadStartBody as St, BlockTaskBody as T, GrantBody as U, FailTaskBody as V, InboxAckBody as W, ManagedSyncBody as X, LinkedQuery as Y, ManagedSyncsQuery as Z, DERIVED_ID as _, TasksQuery as _t, duplicateId as a, RevokeGrantBody as at, keyId as b, TypingBody as bt, notFound as c, SchemaBody as ct, unauthorized as d, SyncBody as dt, ReactBody as et, BoardError as f, SyncCopiesQuery as ft, refusalCode as g, TaskNeedsBody as gt, eventsState as h, SyncReceiptBody as ht, batchTooLarge as i, RenewTaskBody as it, CompleteTaskBody as j, ClaimReadyTaskBody as k, textTooLong as l, SourceJoinBody as lt, duration as m, SyncImportBody as mt, RejectedError as n, RegisterBody as nt, forbidden as o, ScheduleBody as ot, createBoardClient as p, SyncFindQuery as pt, InboxQuery as q, badRequest as r, ReleaseTaskBody as rt, json as s, SchedulesQuery as st, HttpError as t, Ref as tt, toErrorResponse as u, SourceReadQuery as ut, derivedId as v, ThreadQuery as vt, AssignTaskBody as w, sha256 as x, UpdateGrantBody as xt, isKeyIdOf as y, ThreadsQuery as yt, EventsQuery as z };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./auth-
|
|
3
|
-
import "./backend-
|
|
4
|
-
import { g as TaskInBatch, n as BoardError } from "./client-
|
|
5
|
-
import "./errors-
|
|
1
|
+
import { gt as MessageView } from "./routes-D5FtKOP_.mjs";
|
|
2
|
+
import "./auth-DcWTzrHz.mjs";
|
|
3
|
+
import "./backend-9H57DlQt.mjs";
|
|
4
|
+
import { g as TaskInBatch, n as BoardError } from "./client-BUPyzzFt.mjs";
|
|
5
|
+
import "./errors-CwObkpSn.mjs";
|
|
6
6
|
//#region src/client/chunks.d.ts
|
|
7
7
|
/** What `createTasksInChunks` makes tasks with: a handle, or anything with its `tasks.createMany`. */
|
|
8
8
|
type TaskBatches = {
|