@boltapp/bolt-local-dashboard 0.1.3 → 0.1.4

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.
@@ -369,7 +369,7 @@ function countUsers(sqlite) {
369
369
  return row?.value ?? 0;
370
370
  }
371
371
 
372
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/collection/summarize-items.js
372
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/collection/summarize-items.js
373
373
  function summarizeItems(data, key, itemsToShow) {
374
374
  if (!data.length) {
375
375
  return "No items";
@@ -380,13 +380,13 @@ function summarizeItems(data, key, itemsToShow) {
380
380
  return remainingItemCount > 0 ? `${itemsList} + ${remainingItemCount} other item${remainingItemCount > 1 ? "s" : ""}` : itemsList;
381
381
  }
382
382
 
383
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/date/date-to-string.js
383
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/date/date-to-string.js
384
384
  function dateToString(date5) {
385
385
  const dateString = date5 ? date5.toISOString().split("T")[0] : "";
386
386
  return dateString ?? false;
387
387
  }
388
388
 
389
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/date/format-date.js
389
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/date/format-date.js
390
390
  var templateOptions = {
391
391
  common: ["dd", "monthName", "yyyy"],
392
392
  commonWithTime: ["dd", "monthName", "yyyy", "h", "m", "s"]
@@ -409,19 +409,19 @@ function formatDate(date5, format2, join) {
409
409
  return format2.map((f2) => options[f2] || "").join(join ?? " ");
410
410
  }
411
411
 
412
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/date/string-to-date.js
412
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/date/string-to-date.js
413
413
  function stringToDate(dateString = "") {
414
414
  return new Date(dateString);
415
415
  }
416
416
 
417
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/date/subtract-days.js
417
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/date/subtract-days.js
418
418
  function subtractDays(date5, days) {
419
419
  const result = new Date(date5);
420
420
  result.setDate(result.getDate() - days);
421
421
  return result;
422
422
  }
423
423
 
424
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/format/format-number.js
424
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/format/format-number.js
425
425
  function formatNumber(amount, currency, options) {
426
426
  const { locale = "en-US", style = "currency", minimumFractionDigits = 0 } = options || {};
427
427
  const formatter = new Intl.NumberFormat(locale, {
@@ -432,7 +432,7 @@ function formatNumber(amount, currency, options) {
432
432
  return formatter.format(amount / 100);
433
433
  }
434
434
 
435
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/format/to-kebab-case.js
435
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/format/to-kebab-case.js
436
436
  function toKebabCase(input) {
437
437
  if (!input) {
438
438
  return "";
@@ -440,14 +440,14 @@ function toKebabCase(input) {
440
440
  return input.trim().toLowerCase().replace(/\s+/g, "-").replace(/[^a-z0-9-]/g, "");
441
441
  }
442
442
 
443
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/generation/generate-excerpt.js
443
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/generation/generate-excerpt.js
444
444
  function generateExcerpt(content) {
445
445
  const plainText = content.replace(/<\/?[^>]+(>|$)/g, "");
446
446
  const normalizedText = plainText.replace(/\s+/g, " ").trim();
447
447
  return normalizedText.slice(0, 200);
448
448
  }
449
449
 
450
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/generation/generate-random-email.js
450
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/generation/generate-random-email.js
451
451
  function generateRandomEmail(length = 10) {
452
452
  const chars = "abcdefghijklmnopqrstuvwxyz0123456789";
453
453
  let randomString4 = "";
@@ -457,17 +457,17 @@ function generateRandomEmail(length = 10) {
457
457
  return `${randomString4}@test.com`;
458
458
  }
459
459
 
460
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/generation/generate-sequence.js
460
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/generation/generate-sequence.js
461
461
  function generateSequence(length) {
462
462
  return Array.from({ length }, (_, i2) => i2 + 1);
463
463
  }
464
464
 
465
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/generation/generate-slug.js
465
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/generation/generate-slug.js
466
466
  function generateSlug(text11) {
467
467
  return text11.toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
468
468
  }
469
469
 
470
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/generation/random-string.js
470
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/generation/random-string.js
471
471
  function randomString(size) {
472
472
  if (size % 2 !== 0)
473
473
  throw new Error("size must be even");
@@ -477,7 +477,7 @@ function randomString(size) {
477
477
  return Array.from(bytes).reduce(r2, "").slice(0, size);
478
478
  }
479
479
 
480
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/is-current-path.js
480
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/is-current-path.js
481
481
  function normalize(path6) {
482
482
  const basePath = path6.split("?")[0]?.split("#")[0] ?? "";
483
483
  return basePath.replace(/\/+$/, "") || "/";
@@ -493,7 +493,7 @@ function isPartOfCurrentPath(path6, url2) {
493
493
  return p2 === u2 || p2.startsWith(`${u2}/`);
494
494
  }
495
495
 
496
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-currency.js
496
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-currency.js
497
497
  function prettyCurrency(props) {
498
498
  const { value, currency, locale, fromCents, decimalPlaces = "2", round = false } = props;
499
499
  let safeValue = (value ?? 0) / (fromCents ? 100 : 1);
@@ -2174,7 +2174,7 @@ function isToday(date5, options) {
2174
2174
  );
2175
2175
  }
2176
2176
 
2177
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-date.js
2177
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-date.js
2178
2178
  function prettyDate(date5, withHour = false) {
2179
2179
  const parsed = typeof date5 === "string" ? new Date(date5) : date5;
2180
2180
  if (!(parsed instanceof Date) || Number.isNaN(parsed.getTime())) {
@@ -2200,7 +2200,7 @@ function prettyDate(date5, withHour = false) {
2200
2200
  return `${format(parsed, `PP`)} ${hour}`.trim();
2201
2201
  }
2202
2202
 
2203
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-file-size.js
2203
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-file-size.js
2204
2204
  function prettyFileSize(bytes) {
2205
2205
  const KB = 1024;
2206
2206
  const MB = KB * 1024;
@@ -2216,13 +2216,13 @@ function prettyFileSize(bytes) {
2216
2216
  }
2217
2217
  }
2218
2218
 
2219
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-number.js
2219
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-number.js
2220
2220
  function prettyNumber(props) {
2221
2221
  const { value, locale } = props;
2222
2222
  return new Intl.NumberFormat(locale).format(value ?? 0);
2223
2223
  }
2224
2224
 
2225
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-text.js
2225
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-text.js
2226
2226
  function prettyText(input) {
2227
2227
  if (!input)
2228
2228
  return "";
@@ -2231,7 +2231,7 @@ function prettyText(input) {
2231
2231
  return capitalizedString;
2232
2232
  }
2233
2233
 
2234
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-timestamp.js
2234
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-timestamp.js
2235
2235
  function prettyTimeStamp() {
2236
2236
  const now = /* @__PURE__ */ new Date();
2237
2237
  const day = now.toLocaleDateString("en-US", { weekday: "short" }).toLowerCase();
@@ -2246,7 +2246,7 @@ function prettyTimeStamp() {
2246
2246
  return `${day}-${date5}-${month}-${year}-${formattedHour}-${minutes}${ampm}`;
2247
2247
  }
2248
2248
 
2249
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-unit.js
2249
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-unit.js
2250
2250
  function prettyUnit(props) {
2251
2251
  const { value, unit, locale } = props;
2252
2252
  return new Intl.NumberFormat(locale, {
@@ -2255,7 +2255,7 @@ function prettyUnit(props) {
2255
2255
  }).format(value ?? 0);
2256
2256
  }
2257
2257
 
2258
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/text/capitalize-first-letter.js
2258
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/text/capitalize-first-letter.js
2259
2259
  function capitalizeFirstLetter(input) {
2260
2260
  if (!input.length) {
2261
2261
  return input;
@@ -2263,7 +2263,7 @@ function capitalizeFirstLetter(input) {
2263
2263
  return input.charAt(0).toUpperCase() + input.slice(1);
2264
2264
  }
2265
2265
 
2266
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/text/change-format.js
2266
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/text/change-format.js
2267
2267
  function changeFormat(value) {
2268
2268
  if (!value?.length) {
2269
2269
  return "";
@@ -2271,7 +2271,7 @@ function changeFormat(value) {
2271
2271
  return `${value.charAt(0).toUpperCase()}${value.slice(1).replace(/_|-/g, " ")}`;
2272
2272
  }
2273
2273
 
2274
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/text/get-two-first-letters-from-string.js
2274
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/text/get-two-first-letters-from-string.js
2275
2275
  function getTwoFirstLettersFromString(input) {
2276
2276
  if (!input) {
2277
2277
  return "";
@@ -2292,7 +2292,7 @@ function getTwoFirstLettersFromString(input) {
2292
2292
  return words[0].charAt(0) + words[1].charAt(0);
2293
2293
  }
2294
2294
 
2295
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/text/truncate.js
2295
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/text/truncate.js
2296
2296
  function truncate(str, length) {
2297
2297
  if (typeof str === "string" && str.length > length) {
2298
2298
  return `${str.slice(0, length)}...`;
@@ -2300,7 +2300,7 @@ function truncate(str, length) {
2300
2300
  return str;
2301
2301
  }
2302
2302
 
2303
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/transform/convert-to-csv.js
2303
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/transform/convert-to-csv.js
2304
2304
  function convertToCsv({ data, schema, headers, options }) {
2305
2305
  const escapeCsv = (value) => {
2306
2306
  let str = value instanceof Date ? value.toISOString() : value == null ? "" : String(value);
@@ -2328,12 +2328,12 @@ function convertToCsv({ data, schema, headers, options }) {
2328
2328
  return lines.join("\n");
2329
2329
  }
2330
2330
 
2331
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/url/decode-url-text.js
2331
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/url/decode-url-text.js
2332
2332
  function decodeUrlText(encodedText) {
2333
2333
  return decodeURIComponent(encodedText);
2334
2334
  }
2335
2335
 
2336
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/index.js
2336
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.7/node_modules/@boltapp/bolt-helpers/dist/index.js
2337
2337
  var Helpers = {
2338
2338
  isCurrentPath,
2339
2339
  isPartOfCurrentPath,
@@ -2364,7 +2364,7 @@ var Helpers = {
2364
2364
  dateToString
2365
2365
  };
2366
2366
 
2367
- // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.4_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_a2d15df9c7fdcf8f1bc407f8d09e439d/node_modules/@boltapp/bolt-app-db/dist/client/schema/index.js
2367
+ // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.6_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_f13d8938db1a5f59618ae6657194ac02/node_modules/@boltapp/bolt-app-db/dist/client/schema/index.js
2368
2368
  var schema_exports = {};
2369
2369
  __export(schema_exports, {
2370
2370
  boltAppVersions: () => boltAppVersions,
@@ -2384,12 +2384,12 @@ __export(schema_exports, {
2384
2384
  boltTablesRelations: () => boltTablesRelations
2385
2385
  });
2386
2386
 
2387
- // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.4_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_a2d15df9c7fdcf8f1bc407f8d09e439d/node_modules/@boltapp/bolt-app-db/dist/client/schema/app-schema.js
2387
+ // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.6_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_f13d8938db1a5f59618ae6657194ac02/node_modules/@boltapp/bolt-app-db/dist/client/schema/app-schema.js
2388
2388
  import { relations } from "drizzle-orm";
2389
2389
  import { index as index2, integer as integer3, sqliteTable as sqliteTable3, text as text3, uniqueIndex as uniqueIndex3 } from "drizzle-orm/sqlite-core";
2390
2390
  import { nanoid as nanoid3 } from "nanoid";
2391
2391
 
2392
- // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.4_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_a2d15df9c7fdcf8f1bc407f8d09e439d/node_modules/@boltapp/bolt-app-db/dist/client/schema/project-schema.js
2392
+ // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.6_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_f13d8938db1a5f59618ae6657194ac02/node_modules/@boltapp/bolt-app-db/dist/client/schema/project-schema.js
2393
2393
  import { integer as integer2, sqliteTable as sqliteTable2, text as text2, uniqueIndex as uniqueIndex2 } from "drizzle-orm/sqlite-core";
2394
2394
  import { nanoid as nanoid2 } from "nanoid";
2395
2395
  var boltProjects = sqliteTable2("bolt_projects", {
@@ -2406,7 +2406,7 @@ var boltProjects = sqliteTable2("bolt_projects", {
2406
2406
  uniqueIndex2("bolt_projects_slug_unique_idx").on(table.slug)
2407
2407
  ]);
2408
2408
 
2409
- // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.4_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_a2d15df9c7fdcf8f1bc407f8d09e439d/node_modules/@boltapp/bolt-app-db/dist/client/schema/app-schema.js
2409
+ // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.6_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_f13d8938db1a5f59618ae6657194ac02/node_modules/@boltapp/bolt-app-db/dist/client/schema/app-schema.js
2410
2410
  var boltApps = sqliteTable3("bolt_apps", {
2411
2411
  id: text3().primaryKey().$defaultFn(() => nanoid3()),
2412
2412
  name: text3().notNull(),
@@ -2453,7 +2453,7 @@ var boltAppVersionsRelations = relations(boltAppVersions, ({ one }) => ({
2453
2453
  })
2454
2454
  }));
2455
2455
 
2456
- // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.4_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_a2d15df9c7fdcf8f1bc407f8d09e439d/node_modules/@boltapp/bolt-app-db/dist/client/schema/data-store-schema.js
2456
+ // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.6_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_f13d8938db1a5f59618ae6657194ac02/node_modules/@boltapp/bolt-app-db/dist/client/schema/data-store-schema.js
2457
2457
  import { relations as relations2 } from "drizzle-orm";
2458
2458
  import { index as index3, integer as integer4, sqliteTable as sqliteTable4, text as text4, uniqueIndex as uniqueIndex4 } from "drizzle-orm/sqlite-core";
2459
2459
  import { nanoid as nanoid4 } from "nanoid";
@@ -2481,7 +2481,7 @@ var boltDataStoresRelations = relations2(boltDataStores, ({ one }) => ({
2481
2481
  })
2482
2482
  }));
2483
2483
 
2484
- // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.4_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_a2d15df9c7fdcf8f1bc407f8d09e439d/node_modules/@boltapp/bolt-app-db/dist/client/schema/file-schema.js
2484
+ // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.6_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_f13d8938db1a5f59618ae6657194ac02/node_modules/@boltapp/bolt-app-db/dist/client/schema/file-schema.js
2485
2485
  import { relations as relations3 } from "drizzle-orm";
2486
2486
  import { index as index4, integer as integer5, sqliteTable as sqliteTable5, text as text5 } from "drizzle-orm/sqlite-core";
2487
2487
  import { nanoid as nanoid5 } from "nanoid";
@@ -16282,11 +16282,11 @@ config(en_default());
16282
16282
  // ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/index.js
16283
16283
  var zod_default = external_exports;
16284
16284
 
16285
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.0/node_modules/@boltapp/bolt-core/dist/data-table/schemas/views/display.js
16285
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.3/node_modules/@boltapp/bolt-core/dist/data-table/schemas/views/display.js
16286
16286
  var TABLE_VIEW_DISPLAY_TYPES = ["table", "fileSystem", "cards"];
16287
16287
  var boltTableView = zod_default.enum(TABLE_VIEW_DISPLAY_TYPES);
16288
16288
 
16289
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.0/node_modules/@boltapp/bolt-core/dist/data-table/schemas/views/file-system-node.js
16289
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.3/node_modules/@boltapp/bolt-core/dist/data-table/schemas/views/file-system-node.js
16290
16290
  var boltFileSystemNodeSchema = zod_default.lazy(() => zod_default.discriminatedUnion("type", [
16291
16291
  zod_default.object({
16292
16292
  id: zod_default.string(),
@@ -16301,7 +16301,7 @@ var boltFileSystemNodeSchema = zod_default.lazy(() => zod_default.discriminatedU
16301
16301
  })
16302
16302
  ]));
16303
16303
 
16304
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.0/node_modules/@boltapp/bolt-core/dist/data-table/schemas/views/display-config.js
16304
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.3/node_modules/@boltapp/bolt-core/dist/data-table/schemas/views/display-config.js
16305
16305
  var boltTableColumnConfigSchema = zod_default.record(zod_default.string(), zod_default.object({
16306
16306
  // Column sizing
16307
16307
  size: zod_default.number().optional(),
@@ -16336,7 +16336,7 @@ var boltTableViewDisplayConfigSchema = zod_default.discriminatedUnion("type", [
16336
16336
  })
16337
16337
  ]);
16338
16338
 
16339
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.0/node_modules/@boltapp/bolt-core/dist/data-table/table-action-schemas.js
16339
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.3/node_modules/@boltapp/bolt-core/dist/data-table/table-action-schemas.js
16340
16340
  var ACTION_TYPES = [
16341
16341
  "UPDATE_CELL",
16342
16342
  "ADD_ROW",
@@ -16589,7 +16589,7 @@ var BatchResponseSchema = zod_default.object({
16589
16589
  timestamp: zod_default.date()
16590
16590
  });
16591
16591
 
16592
- // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.4_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_a2d15df9c7fdcf8f1bc407f8d09e439d/node_modules/@boltapp/bolt-app-db/dist/client/schema/table-schema.js
16592
+ // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.6_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_f13d8938db1a5f59618ae6657194ac02/node_modules/@boltapp/bolt-app-db/dist/client/schema/table-schema.js
16593
16593
  import { relations as relations4 } from "drizzle-orm";
16594
16594
  import { index as index5, integer as integer7, sqliteTable as sqliteTable6, text as text6, uniqueIndex as uniqueIndex5 } from "drizzle-orm/sqlite-core";
16595
16595
  import { nanoid as nanoid8 } from "nanoid";
@@ -27467,13 +27467,13 @@ function createFileService(adapter) {
27467
27467
  };
27468
27468
  }
27469
27469
 
27470
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/data-table/constants.js
27470
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/data-table/constants.js
27471
27471
  var DATA_TABLE_CONSTANTS = {
27472
27472
  /** Default column width in pixels */
27473
27473
  DEFAULT_COLUMN_WIDTH: 150
27474
27474
  };
27475
27475
 
27476
- // ../../node_modules/.pnpm/@boltapp+bolt-constants@0.0.0/node_modules/@boltapp/bolt-constants/dist/date-formats.js
27476
+ // ../../node_modules/.pnpm/@boltapp+bolt-constants@0.0.2/node_modules/@boltapp/bolt-constants/dist/date-formats.js
27477
27477
  var DATE_FORMATS = [
27478
27478
  { key: "m_d_yyyy", format: "M/d/yyyy", label: "1/31/2025", description: "Numeric US date" },
27479
27479
  { key: "m_d_yy", format: "M/d/yy", label: "1/31/25", description: "Numeric US date, short year" },
@@ -27575,7 +27575,7 @@ var DATE_FORMATS = [
27575
27575
  { key: "weekday_short", format: "EEE", label: "Fri", description: "Short weekday name" }
27576
27576
  ];
27577
27577
 
27578
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/inputs/input-format-registry.js
27578
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/inputs/input-format-registry.js
27579
27579
  var dateFormatOptions = [
27580
27580
  { value: "auto", label: "Auto (relative)", description: "Today, Yesterday, Jan 31, etc." },
27581
27581
  ...DATE_FORMATS.map((f2) => ({
@@ -27585,7 +27585,7 @@ var dateFormatOptions = [
27585
27585
  }))
27586
27586
  ];
27587
27587
 
27588
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/files/schemas.js
27588
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/files/schemas.js
27589
27589
  var fileRefSchema = external_exports.object({
27590
27590
  id: external_exports.string(),
27591
27591
  url: external_exports.string(),
@@ -27608,7 +27608,7 @@ var createFilePickerValueSchema = (meta3) => {
27608
27608
  return schema;
27609
27609
  };
27610
27610
 
27611
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/inputs/input-registry.js
27611
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/inputs/input-registry.js
27612
27612
  var DATE_FORMAT_KEYS = DATE_FORMATS.map((f2) => f2.key);
27613
27613
  var boltInputMetaBaseSchema = zod_default.object({
27614
27614
  label: zod_default.string().optional(),
@@ -28536,7 +28536,7 @@ var validationRuleSchema = zod_default.union([
28536
28536
  })
28537
28537
  ]);
28538
28538
 
28539
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/collection/summarize-items.js
28539
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/collection/summarize-items.js
28540
28540
  function summarizeItems2(data, key, itemsToShow) {
28541
28541
  if (!data.length) {
28542
28542
  return "No items";
@@ -28547,13 +28547,13 @@ function summarizeItems2(data, key, itemsToShow) {
28547
28547
  return remainingItemCount > 0 ? `${itemsList} + ${remainingItemCount} other item${remainingItemCount > 1 ? "s" : ""}` : itemsList;
28548
28548
  }
28549
28549
 
28550
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/date/date-to-string.js
28550
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/date/date-to-string.js
28551
28551
  function dateToString2(date5) {
28552
28552
  const dateString = date5 ? date5.toISOString().split("T")[0] : "";
28553
28553
  return dateString ?? false;
28554
28554
  }
28555
28555
 
28556
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/date/format-date.js
28556
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/date/format-date.js
28557
28557
  var templateOptions2 = {
28558
28558
  common: ["dd", "monthName", "yyyy"],
28559
28559
  commonWithTime: ["dd", "monthName", "yyyy", "h", "m", "s"]
@@ -28576,19 +28576,19 @@ function formatDate2(date5, format2, join) {
28576
28576
  return format2.map((f2) => options[f2] || "").join(join ?? " ");
28577
28577
  }
28578
28578
 
28579
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/date/string-to-date.js
28579
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/date/string-to-date.js
28580
28580
  function stringToDate2(dateString = "") {
28581
28581
  return new Date(dateString);
28582
28582
  }
28583
28583
 
28584
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/date/subtract-days.js
28584
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/date/subtract-days.js
28585
28585
  function subtractDays2(date5, days) {
28586
28586
  const result = new Date(date5);
28587
28587
  result.setDate(result.getDate() - days);
28588
28588
  return result;
28589
28589
  }
28590
28590
 
28591
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/format/format-number.js
28591
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/format/format-number.js
28592
28592
  function formatNumber2(amount, currency, options) {
28593
28593
  const { locale = "en-US", style = "currency", minimumFractionDigits = 0 } = options || {};
28594
28594
  const formatter = new Intl.NumberFormat(locale, {
@@ -28599,7 +28599,7 @@ function formatNumber2(amount, currency, options) {
28599
28599
  return formatter.format(amount / 100);
28600
28600
  }
28601
28601
 
28602
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/format/to-kebab-case.js
28602
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/format/to-kebab-case.js
28603
28603
  function toKebabCase2(input) {
28604
28604
  if (!input) {
28605
28605
  return "";
@@ -28607,14 +28607,14 @@ function toKebabCase2(input) {
28607
28607
  return input.trim().toLowerCase().replace(/\s+/g, "-").replace(/[^a-z0-9-]/g, "");
28608
28608
  }
28609
28609
 
28610
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/generation/generate-excerpt.js
28610
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/generation/generate-excerpt.js
28611
28611
  function generateExcerpt2(content) {
28612
28612
  const plainText = content.replace(/<\/?[^>]+(>|$)/g, "");
28613
28613
  const normalizedText = plainText.replace(/\s+/g, " ").trim();
28614
28614
  return normalizedText.slice(0, 200);
28615
28615
  }
28616
28616
 
28617
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/generation/generate-random-email.js
28617
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/generation/generate-random-email.js
28618
28618
  function generateRandomEmail2(length = 10) {
28619
28619
  const chars = "abcdefghijklmnopqrstuvwxyz0123456789";
28620
28620
  let randomString4 = "";
@@ -28624,17 +28624,17 @@ function generateRandomEmail2(length = 10) {
28624
28624
  return `${randomString4}@test.com`;
28625
28625
  }
28626
28626
 
28627
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/generation/generate-sequence.js
28627
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/generation/generate-sequence.js
28628
28628
  function generateSequence2(length) {
28629
28629
  return Array.from({ length }, (_, i2) => i2 + 1);
28630
28630
  }
28631
28631
 
28632
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/generation/generate-slug.js
28632
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/generation/generate-slug.js
28633
28633
  function generateSlug2(text11) {
28634
28634
  return text11.toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
28635
28635
  }
28636
28636
 
28637
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/generation/random-string.js
28637
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/generation/random-string.js
28638
28638
  function randomString3(size) {
28639
28639
  if (size % 2 !== 0)
28640
28640
  throw new Error("size must be even");
@@ -28644,7 +28644,7 @@ function randomString3(size) {
28644
28644
  return Array.from(bytes).reduce(r2, "").slice(0, size);
28645
28645
  }
28646
28646
 
28647
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/is-current-path.js
28647
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/is-current-path.js
28648
28648
  function normalize2(path6) {
28649
28649
  const basePath = path6.split("?")[0]?.split("#")[0] ?? "";
28650
28650
  return basePath.replace(/\/+$/, "") || "/";
@@ -28660,7 +28660,7 @@ function isPartOfCurrentPath2(path6, url2) {
28660
28660
  return p2 === u2 || p2.startsWith(`${u2}/`);
28661
28661
  }
28662
28662
 
28663
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-currency.js
28663
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-currency.js
28664
28664
  function prettyCurrency2(props) {
28665
28665
  const { value, currency, locale, fromCents, decimalPlaces = "2", round = false } = props;
28666
28666
  let safeValue = (value ?? 0) / (fromCents ? 100 : 1);
@@ -28694,7 +28694,7 @@ function prettyCurrency2(props) {
28694
28694
  }).format(safeValue);
28695
28695
  }
28696
28696
 
28697
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-date.js
28697
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-date.js
28698
28698
  function prettyDate2(date5, withHour = false) {
28699
28699
  const parsed = typeof date5 === "string" ? new Date(date5) : date5;
28700
28700
  if (!(parsed instanceof Date) || Number.isNaN(parsed.getTime())) {
@@ -28720,7 +28720,7 @@ function prettyDate2(date5, withHour = false) {
28720
28720
  return `${format(parsed, `PP`)} ${hour}`.trim();
28721
28721
  }
28722
28722
 
28723
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-file-size.js
28723
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-file-size.js
28724
28724
  function prettyFileSize2(bytes) {
28725
28725
  const KB = 1024;
28726
28726
  const MB = KB * 1024;
@@ -28736,13 +28736,13 @@ function prettyFileSize2(bytes) {
28736
28736
  }
28737
28737
  }
28738
28738
 
28739
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-number.js
28739
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-number.js
28740
28740
  function prettyNumber2(props) {
28741
28741
  const { value, locale } = props;
28742
28742
  return new Intl.NumberFormat(locale).format(value ?? 0);
28743
28743
  }
28744
28744
 
28745
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-text.js
28745
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-text.js
28746
28746
  function prettyText2(input) {
28747
28747
  if (!input)
28748
28748
  return "";
@@ -28751,7 +28751,7 @@ function prettyText2(input) {
28751
28751
  return capitalizedString;
28752
28752
  }
28753
28753
 
28754
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-timestamp.js
28754
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-timestamp.js
28755
28755
  function prettyTimeStamp2() {
28756
28756
  const now = /* @__PURE__ */ new Date();
28757
28757
  const day = now.toLocaleDateString("en-US", { weekday: "short" }).toLowerCase();
@@ -28766,7 +28766,7 @@ function prettyTimeStamp2() {
28766
28766
  return `${day}-${date5}-${month}-${year}-${formattedHour}-${minutes}${ampm}`;
28767
28767
  }
28768
28768
 
28769
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-unit.js
28769
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/pretty/pretty-unit.js
28770
28770
  function prettyUnit2(props) {
28771
28771
  const { value, unit, locale } = props;
28772
28772
  return new Intl.NumberFormat(locale, {
@@ -28775,7 +28775,7 @@ function prettyUnit2(props) {
28775
28775
  }).format(value ?? 0);
28776
28776
  }
28777
28777
 
28778
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/text/capitalize-first-letter.js
28778
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/text/capitalize-first-letter.js
28779
28779
  function capitalizeFirstLetter2(input) {
28780
28780
  if (!input.length) {
28781
28781
  return input;
@@ -28783,7 +28783,7 @@ function capitalizeFirstLetter2(input) {
28783
28783
  return input.charAt(0).toUpperCase() + input.slice(1);
28784
28784
  }
28785
28785
 
28786
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/text/change-format.js
28786
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/text/change-format.js
28787
28787
  function changeFormat2(value) {
28788
28788
  if (!value?.length) {
28789
28789
  return "";
@@ -28791,7 +28791,7 @@ function changeFormat2(value) {
28791
28791
  return `${value.charAt(0).toUpperCase()}${value.slice(1).replace(/_|-/g, " ")}`;
28792
28792
  }
28793
28793
 
28794
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/text/get-two-first-letters-from-string.js
28794
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/text/get-two-first-letters-from-string.js
28795
28795
  function getTwoFirstLettersFromString2(input) {
28796
28796
  if (!input) {
28797
28797
  return "";
@@ -28812,7 +28812,7 @@ function getTwoFirstLettersFromString2(input) {
28812
28812
  return words[0].charAt(0) + words[1].charAt(0);
28813
28813
  }
28814
28814
 
28815
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/text/truncate.js
28815
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/text/truncate.js
28816
28816
  function truncate2(str, length) {
28817
28817
  if (typeof str === "string" && str.length > length) {
28818
28818
  return `${str.slice(0, length)}...`;
@@ -28820,7 +28820,7 @@ function truncate2(str, length) {
28820
28820
  return str;
28821
28821
  }
28822
28822
 
28823
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/transform/convert-to-csv.js
28823
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/transform/convert-to-csv.js
28824
28824
  function convertToCsv2({ data, schema, headers, options }) {
28825
28825
  const escapeCsv = (value) => {
28826
28826
  let str = value instanceof Date ? value.toISOString() : value == null ? "" : String(value);
@@ -28848,12 +28848,12 @@ function convertToCsv2({ data, schema, headers, options }) {
28848
28848
  return lines.join("\n");
28849
28849
  }
28850
28850
 
28851
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/url/decode-url-text.js
28851
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/url/decode-url-text.js
28852
28852
  function decodeUrlText2(encodedText) {
28853
28853
  return decodeURIComponent(encodedText);
28854
28854
  }
28855
28855
 
28856
- // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.1/node_modules/@boltapp/bolt-helpers/dist/index.js
28856
+ // ../../node_modules/.pnpm/@boltapp+bolt-helpers@0.0.6/node_modules/@boltapp/bolt-helpers/dist/index.js
28857
28857
  var Helpers2 = {
28858
28858
  isCurrentPath: isCurrentPath2,
28859
28859
  isPartOfCurrentPath: isPartOfCurrentPath2,
@@ -28884,7 +28884,7 @@ var Helpers2 = {
28884
28884
  dateToString: dateToString2
28885
28885
  };
28886
28886
 
28887
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/inputs/input-type-formatter.js
28887
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/inputs/input-type-formatter.js
28888
28888
  var getInputTypeFormatter = {
28889
28889
  text: (value, _formatConfig) => {
28890
28890
  if (value == null)
@@ -29231,7 +29231,7 @@ var getInputTypeFormatter = {
29231
29231
  }
29232
29232
  };
29233
29233
 
29234
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/data-types/data-type-registry.js
29234
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/data-types/data-type-registry.js
29235
29235
  var boltDataTypes = ["string", "number", "boolean", "enum", "array", "object"];
29236
29236
  var boltDataTypesSchema = external_exports.enum(boltDataTypes);
29237
29237
  var TRUTHY_STRING_VALUES = ["true", "yes", "1", "y", "on"];
@@ -29597,7 +29597,7 @@ var boltDataTypeRegistry = {
29597
29597
  }
29598
29598
  };
29599
29599
 
29600
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/inputs/input-type-handler.js
29600
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/inputs/input-type-handler.js
29601
29601
  var inputTypeHandlerCache = /* @__PURE__ */ new Map();
29602
29602
  function getInputTypeHandler(inputType) {
29603
29603
  const cached2 = inputTypeHandlerCache.get(inputType);
@@ -29677,7 +29677,7 @@ function getInputTypeHandler(inputType) {
29677
29677
  return handler;
29678
29678
  }
29679
29679
 
29680
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/data-table/table-actions.js
29680
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/data-table/table-actions.js
29681
29681
  import { nanoid as nanoid10 } from "nanoid";
29682
29682
  function createCellValue(rawInput, column, options) {
29683
29683
  const handler = getInputTypeHandler(column.schema.input.inputType);
@@ -31155,7 +31155,7 @@ function createClientBoltInstance(options) {
31155
31155
  };
31156
31156
  }
31157
31157
 
31158
- // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.4_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_a2d15df9c7fdcf8f1bc407f8d09e439d/node_modules/@boltapp/bolt-app-db/dist/cloud-app/schema/index.js
31158
+ // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.6_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_f13d8938db1a5f59618ae6657194ac02/node_modules/@boltapp/bolt-app-db/dist/cloud-app/schema/index.js
31159
31159
  var schema_exports2 = {};
31160
31160
  __export(schema_exports2, {
31161
31161
  appStatusEnum: () => appStatusEnum,
@@ -31178,12 +31178,12 @@ __export(schema_exports2, {
31178
31178
  projectsRelations: () => projectsRelations
31179
31179
  });
31180
31180
 
31181
- // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.4_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_a2d15df9c7fdcf8f1bc407f8d09e439d/node_modules/@boltapp/bolt-app-db/dist/cloud-app/schema/data-store-schemas.js
31181
+ // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.6_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_f13d8938db1a5f59618ae6657194ac02/node_modules/@boltapp/bolt-app-db/dist/cloud-app/schema/data-store-schemas.js
31182
31182
  import { relations as relations6 } from "drizzle-orm";
31183
31183
  import { index as index7, jsonb, pgTable as pgTable2, text as text8, timestamp as timestamp2, uniqueIndex as uniqueIndex7 } from "drizzle-orm/pg-core";
31184
31184
  import { nanoid as nanoid13 } from "nanoid";
31185
31185
 
31186
- // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.4_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_a2d15df9c7fdcf8f1bc407f8d09e439d/node_modules/@boltapp/bolt-app-db/dist/cloud-app/schema/schema.js
31186
+ // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.6_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_f13d8938db1a5f59618ae6657194ac02/node_modules/@boltapp/bolt-app-db/dist/cloud-app/schema/schema.js
31187
31187
  import { relations as relations5 } from "drizzle-orm";
31188
31188
  import { index as index6, pgEnum, pgTable, text as text7, timestamp, uniqueIndex as uniqueIndex6 } from "drizzle-orm/pg-core";
31189
31189
  import { nanoid as nanoid12 } from "nanoid";
@@ -31227,7 +31227,7 @@ var appsRelations = relations5(apps, ({ one }) => ({
31227
31227
  })
31228
31228
  }));
31229
31229
 
31230
- // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.4_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_a2d15df9c7fdcf8f1bc407f8d09e439d/node_modules/@boltapp/bolt-app-db/dist/cloud-app/schema/data-store-schemas.js
31230
+ // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.6_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_f13d8938db1a5f59618ae6657194ac02/node_modules/@boltapp/bolt-app-db/dist/cloud-app/schema/data-store-schemas.js
31231
31231
  var boltDataStores3 = pgTable2("bolt_data_stores", {
31232
31232
  id: text8("id").primaryKey().$defaultFn(() => nanoid13()),
31233
31233
  name: text8("name").notNull(),
@@ -31253,7 +31253,7 @@ var boltDataStoresRelations2 = relations6(boltDataStores3, ({ one }) => ({
31253
31253
  })
31254
31254
  }));
31255
31255
 
31256
- // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.4_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_a2d15df9c7fdcf8f1bc407f8d09e439d/node_modules/@boltapp/bolt-app-db/dist/cloud-app/schema/data-table-schemas.js
31256
+ // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.6_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_f13d8938db1a5f59618ae6657194ac02/node_modules/@boltapp/bolt-app-db/dist/cloud-app/schema/data-table-schemas.js
31257
31257
  import { relations as relations7 } from "drizzle-orm";
31258
31258
  import { boolean as boolean4, index as index8, integer as integer8, jsonb as jsonb2, pgEnum as pgEnum2, pgTable as pgTable3, serial, text as text9, timestamp as timestamp3, uniqueIndex as uniqueIndex8 } from "drizzle-orm/pg-core";
31259
31259
  import { nanoid as nanoid14 } from "nanoid";
@@ -31343,7 +31343,7 @@ var boltTableOpsRelations2 = relations7(boltTableOps3, ({ one }) => ({
31343
31343
  })
31344
31344
  }));
31345
31345
 
31346
- // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.4_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_a2d15df9c7fdcf8f1bc407f8d09e439d/node_modules/@boltapp/bolt-app-db/dist/cloud-app/schema/file-schemas.js
31346
+ // ../../node_modules/.pnpm/@boltapp+bolt-app-db@0.0.6_@types+better-sqlite3@7.6.13_@types+pg@8.16.0_better-sqlite3_f13d8938db1a5f59618ae6657194ac02/node_modules/@boltapp/bolt-app-db/dist/cloud-app/schema/file-schemas.js
31347
31347
  import { relations as relations8 } from "drizzle-orm";
31348
31348
  import { index as index9, integer as integer9, pgTable as pgTable4, text as text10, timestamp as timestamp4 } from "drizzle-orm/pg-core";
31349
31349
  import { nanoid as nanoid15 } from "nanoid";
@@ -32139,7 +32139,7 @@ import { exec as exec2 } from "child_process";
32139
32139
  import { promisify as promisify2 } from "util";
32140
32140
  var execAsync2 = promisify2(exec2);
32141
32141
 
32142
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/data-stores/data-store-actions.js
32142
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/data-stores/data-store-actions.js
32143
32143
  var TEMPLATE_APP_CONFIG = {
32144
32144
  name: "app_config",
32145
32145
  label: "App Config",
@@ -32187,7 +32187,7 @@ var TEMPLATE_APP_CONFIG = {
32187
32187
  // },
32188
32188
  };
32189
32189
 
32190
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/data-stores/schemas.js
32190
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/data-stores/schemas.js
32191
32191
  var dataStoreSchemaItemSchema = external_exports.object({
32192
32192
  id: external_exports.string(),
32193
32193
  label: external_exports.string(),
@@ -32233,17 +32233,17 @@ var createDataStoreInputSchema = external_exports.object({
32233
32233
  }).optional()
32234
32234
  });
32235
32235
 
32236
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/data-table/schemas/primitives/sorting.js
32236
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/data-table/schemas/primitives/sorting.js
32237
32237
  var boltTableViewSortingSchema = zod_default.object({
32238
32238
  columnId: zod_default.string(),
32239
32239
  direction: zod_default.enum(["asc", "desc"])
32240
32240
  });
32241
32241
 
32242
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/data-table/schemas/views/display.js
32242
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/data-table/schemas/views/display.js
32243
32243
  var TABLE_VIEW_DISPLAY_TYPES2 = ["table", "fileSystem", "cards"];
32244
32244
  var boltTableView2 = zod_default.enum(TABLE_VIEW_DISPLAY_TYPES2);
32245
32245
 
32246
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/data-table/schemas/views/file-system-node.js
32246
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/data-table/schemas/views/file-system-node.js
32247
32247
  var boltFileSystemNodeSchema2 = zod_default.lazy(() => zod_default.discriminatedUnion("type", [
32248
32248
  zod_default.object({
32249
32249
  id: zod_default.string(),
@@ -32258,7 +32258,7 @@ var boltFileSystemNodeSchema2 = zod_default.lazy(() => zod_default.discriminated
32258
32258
  })
32259
32259
  ]));
32260
32260
 
32261
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/data-table/schemas/views/display-config.js
32261
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/data-table/schemas/views/display-config.js
32262
32262
  var boltTableColumnConfigSchema2 = zod_default.record(zod_default.string(), zod_default.object({
32263
32263
  // Column sizing
32264
32264
  size: zod_default.number().optional(),
@@ -32293,7 +32293,7 @@ var boltTableViewDisplayConfigSchema2 = zod_default.discriminatedUnion("type", [
32293
32293
  })
32294
32294
  ]);
32295
32295
 
32296
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/data-table/schemas/views/view.js
32296
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/data-table/schemas/views/view.js
32297
32297
  var boltTableViewSchema = zod_default.object({
32298
32298
  /** The id is auto generated. It should not be used in the sdk, or queries that devs can use. */
32299
32299
  id: zod_default.string(),
@@ -32325,7 +32325,7 @@ var boltTableViewSchema = zod_default.object({
32325
32325
  path: ["displayConfig", "type"]
32326
32326
  });
32327
32327
 
32328
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/data-table/schemas/table/cell.js
32328
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/data-table/schemas/table/cell.js
32329
32329
  var boltCellValueSchema = zod_default.object({
32330
32330
  /** Whatever was last written (Untrusted) */
32331
32331
  raw: zod_default.any(),
@@ -32335,7 +32335,7 @@ var boltCellValueSchema = zod_default.object({
32335
32335
  schemaVersion: zod_default.number()
32336
32336
  });
32337
32337
 
32338
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/data-table/schemas/table/column.js
32338
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/data-table/schemas/table/column.js
32339
32339
  var boltColumnInputSchema = zod_default.discriminatedUnion("inputType", boltInputTypes.map((t8) => boltInputRegistry[t8].schema));
32340
32340
  var boltColumnFormatConfigSchema = zod_default.discriminatedUnion("inputType", boltInputTypes.map((t8) => boltInputRegistry[t8].formatConfigSchema.extend({ inputType: zod_default.literal(t8) }).loose()));
32341
32341
  var boltTableColumnSchema = zod_default.object({
@@ -32368,7 +32368,7 @@ var boltTableColumnSchema = zod_default.object({
32368
32368
  })
32369
32369
  });
32370
32370
 
32371
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/data-table/schemas/table/row.js
32371
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/data-table/schemas/table/row.js
32372
32372
  var boltTableRowSchema = zod_default.object({
32373
32373
  id: zod_default.string(),
32374
32374
  index: zod_default.number(),
@@ -32386,7 +32386,7 @@ var boltTableRowSchema = zod_default.object({
32386
32386
  data: zod_default.record(zod_default.string(), boltCellValueSchema)
32387
32387
  });
32388
32388
 
32389
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/data-table/schemas/table/contracts.js
32389
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/data-table/schemas/table/contracts.js
32390
32390
  var tablePropertiesSchema = zod_default.object({
32391
32391
  userId: zod_default.string().optional(),
32392
32392
  organizationId: zod_default.string().optional(),
@@ -32447,7 +32447,7 @@ var updateViewInputSchema = zod_default.object({
32447
32447
  })
32448
32448
  });
32449
32449
 
32450
- // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.2/node_modules/@boltapp/bolt-core/dist/data-table/schemas/table/table.js
32450
+ // ../../node_modules/.pnpm/@boltapp+bolt-core@0.0.5/node_modules/@boltapp/bolt-core/dist/data-table/schemas/table/table.js
32451
32451
  var boltTableSchema = zod_default.object({
32452
32452
  id: zod_default.string(),
32453
32453
  name: zod_default.string(),