@digo-labs/common 0.1.8 → 0.1.10

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.
@@ -0,0 +1,7 @@
1
+ export declare class AppConfigHelpers {
2
+ private static appName;
3
+ static setCurrentAppName(name: string): void;
4
+ static getCurrentAppName(): string;
5
+ static resetAppName(): void;
6
+ static sanitizeAppName(name: string): string;
7
+ }
package/dist/auth.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export declare const AUTH_PROJECTS: {
2
2
  readonly monorepo: {
3
- readonly trustedOrigins: readonly ["http://localhost:2000", "https://*.digo-labs.com"];
3
+ readonly trustedOrigins: readonly ["http://localhost:*", "http://127.0.0.1:*", "https://*.digo-labs.com"];
4
4
  };
5
5
  };
6
6
  export type AuthProject = keyof typeof AUTH_PROJECTS;
@@ -2,6 +2,7 @@ import { CodeLanguageMetadata, ModelPayload } from './types/common-types';
2
2
  export declare const BACKEND_URL = "https://api.digo-labs.com";
3
3
  export declare const DIGO_HEADERS = "X-Digo-App";
4
4
  export declare const DIGO_ADMIN_SECRET = "X-Admin-Secret";
5
+ export declare const DIGO_STORAGE_BUCKET_SUFFIX = "-digo-labs-storage";
5
6
  export declare const WS_URL = "wss://ws.digo-labs.com";
6
7
  export declare const AWS_DEFAULT_REGION = "us-east-1";
7
8
  export declare const AI_MODELS: ModelPayload[];
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './app-config-helpers';
1
2
  export * from './common-helpers';
2
3
  export * from './constants';
3
4
  export * from './icons';
package/dist/index.js CHANGED
@@ -1,11 +1,40 @@
1
- import { removeBackground as M } from "@imgly/background-removal";
2
- import { parseISO as F, formatDistanceToNow as I } from "date-fns";
3
- import { decode as m, encode as x } from "base64-arraybuffer";
1
+ var F = Object.defineProperty;
2
+ var I = (i, o, e) => o in i ? F(i, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[o] = e;
3
+ var x = (i, o, e) => I(i, typeof o != "symbol" ? o + "" : o, e);
4
+ import { removeBackground as N } from "@imgly/background-removal";
5
+ import { parseISO as T, formatDistanceToNow as U } from "date-fns";
6
+ import { decode as m, encode as A } from "base64-arraybuffer";
4
7
  import d from "lz-string";
5
- import { blobToBase64String as N, base64StringToBlob as T } from "blob-util";
8
+ import { blobToBase64String as D, base64StringToBlob as z } from "blob-util";
6
9
  import { z as n } from "zod";
7
- import U from "clsx";
8
- import { twMerge as D } from "tailwind-merge";
10
+ import C from "clsx";
11
+ import { twMerge as B } from "tailwind-merge";
12
+ class j {
13
+ static setCurrentAppName(o) {
14
+ if (this.appName !== void 0 && this.appName !== o)
15
+ throw new Error(
16
+ `setCurrentAppName: already set to '${this.appName}', cannot override with '${o}'. This usually means defineApp() was called twice with different names.`
17
+ );
18
+ this.appName = o;
19
+ }
20
+ static getCurrentAppName() {
21
+ if (this.appName === void 0)
22
+ throw new Error(
23
+ "getCurrentAppName: no app name registered. Call defineApp() before constructing services, or pass an explicit value to the service constructor."
24
+ );
25
+ return this.appName;
26
+ }
27
+ static resetAppName() {
28
+ this.appName = void 0;
29
+ }
30
+ static sanitizeAppName(o) {
31
+ const e = o.toLowerCase().replace(/-/g, "_");
32
+ if (!/^[a-z][a-z0-9_]*$/.test(e))
33
+ throw new Error(`sanitizeAppName: invalid app name '${o}' (sanitized: '${e}')`);
34
+ return e;
35
+ }
36
+ }
37
+ x(j, "appName");
9
38
  class b {
10
39
  static copyToClipboard(o) {
11
40
  navigator.clipboard.writeText(o).then(() => {
@@ -14,9 +43,9 @@ class b {
14
43
  });
15
44
  }
16
45
  static async removeBackground(o) {
17
- const e = m(o.base64), t = new Blob([e], { type: o.mediaType }), a = await (await M(t)).arrayBuffer();
46
+ const e = m(o.base64), t = new Blob([e], { type: o.mediaType }), a = await (await N(t)).arrayBuffer();
18
47
  return {
19
- base64: x(a),
48
+ base64: A(a),
20
49
  mediaType: "image/png"
21
50
  };
22
51
  }
@@ -37,7 +66,7 @@ class b {
37
66
  return Math.floor(Math.random() * (e - o + 1)) + o;
38
67
  }
39
68
  static encodeArrayBufferToBase64(o) {
40
- return x(o);
69
+ return A(o);
41
70
  }
42
71
  static hexToRgb(o) {
43
72
  const e = o.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i);
@@ -92,7 +121,7 @@ class b {
92
121
  return this.getImagePayloadFromFile(t);
93
122
  }
94
123
  static async getImagePayloadFromFile(o) {
95
- const [e, t] = await X(o.arrayBuffer());
124
+ const [e, t] = await J(o.arrayBuffer());
96
125
  if (t) return [null, t];
97
126
  const c = b.encodeArrayBufferToBase64(e), a = o.type;
98
127
  return [{ base64: c, mediaType: a }, null];
@@ -139,9 +168,9 @@ class b {
139
168
  r.onload = () => {
140
169
  const s = document.createElement("canvas"), y = Math.min(t / r.width, t / r.height, 1);
141
170
  s.width = r.width * y, s.height = r.height * y, s.getContext("2d").drawImage(r, 0, 0, s.width, s.height);
142
- const S = s.toDataURL("image/jpeg", c).split(",")[1];
171
+ const M = s.toDataURL("image/jpeg", c).split(",")[1];
143
172
  a({
144
- base64: S,
173
+ base64: M,
145
174
  mediaType: "image/jpeg"
146
175
  });
147
176
  }, r.src = `data:${e};base64,${o}`;
@@ -153,8 +182,8 @@ class b {
153
182
  return await e.text();
154
183
  }
155
184
  static getLastUpdated(o) {
156
- const e = F(o);
157
- return I(e, { addSuffix: !0 });
185
+ const e = T(o);
186
+ return U(e, { addSuffix: !0 });
158
187
  }
159
188
  static getUniqueIdInList(o, e) {
160
189
  const t = o.match(/^(.*?)(-\d+)?$/);
@@ -173,7 +202,7 @@ class b {
173
202
  });
174
203
  }
175
204
  }
176
- const no = "https://api.digo-labs.com", eo = "X-Digo-App", io = "X-Admin-Secret", to = "wss://ws.digo-labs.com", co = "us-east-1", ao = [
205
+ const ao = "https://api.digo-labs.com", ro = "X-Digo-App", so = "X-Admin-Secret", lo = "-digo-labs-storage", go = "wss://ws.digo-labs.com", uo = "us-east-1", po = [
177
206
  {
178
207
  name: "Claude 3.7 Sonnet",
179
208
  description: "Anthropic's advanced model",
@@ -189,7 +218,7 @@ const no = "https://api.digo-labs.com", eo = "X-Digo-App", io = "X-Admin-Secret"
189
218
  description: "OpenAi's advanced model",
190
219
  icon: "icon-[simple-icons--openai]"
191
220
  }
192
- ], ro = {
221
+ ], yo = {
193
222
  typescript: { icon: "typescript", name: "TypeScript" },
194
223
  javascript: { icon: "javascript", name: "JavaScript" },
195
224
  tsx: { icon: "typescript", name: "TSX" },
@@ -586,7 +615,7 @@ const p = {
586
615
  alignCenter: { category: "Misc", icon: "icon-[lucide--align-center]" },
587
616
  alignRight: { category: "Misc", icon: "icon-[lucide--align-right]" }
588
617
  };
589
- class so {
618
+ class fo {
590
619
  static getIcon(o) {
591
620
  return o in p ? p[o].icon : o;
592
621
  }
@@ -612,7 +641,7 @@ class so {
612
641
  return o;
613
642
  }
614
643
  }
615
- const A = `@plugin "@iconify/tailwind4";
644
+ const k = `@plugin "@iconify/tailwind4";
616
645
 
617
646
  @plugin "tailwindcss-animate";
618
647
 
@@ -1532,15 +1561,15 @@ const A = `@plugin "@iconify/tailwind4";
1532
1561
  background-color: var(--color-neutral-12);
1533
1562
  color: var(--color-neutral-1);
1534
1563
  }
1535
- }`, z = /--font-([\w-]+):\s*'([^']+)'/g, k = /* @__PURE__ */ new Map();
1564
+ }`, R = /--font-([\w-]+):\s*'([^']+)'/g, S = /* @__PURE__ */ new Map();
1536
1565
  let h;
1537
- for (; (h = z.exec(A)) !== null; ) {
1566
+ for (; (h = R.exec(k)) !== null; ) {
1538
1567
  const i = `--font-${h[1]}`, o = h[2];
1539
- k.set(o.toLowerCase(), i);
1568
+ S.set(o.toLowerCase(), i);
1540
1569
  }
1541
- const C = /@font-face\s*\{[^}]*?font-family:\s*'([^']+)'[^}]*?font-weight:\s*([\d\s]+)[^}]*?font-style:\s*(\w+)[^}]*?src:\s*url\([^)]*?\/fonts\/([^)]+)\)\s*format\('(\w+)'\)[^}]*?\}/gs, v = [];
1570
+ const E = /@font-face\s*\{[^}]*?font-family:\s*'([^']+)'[^}]*?font-weight:\s*([\d\s]+)[^}]*?font-style:\s*(\w+)[^}]*?src:\s*url\([^)]*?\/fonts\/([^)]+)\)\s*format\('(\w+)'\)[^}]*?\}/gs, v = [];
1542
1571
  let g;
1543
- for (; (g = C.exec(A)) !== null; ) {
1572
+ for (; (g = E.exec(k)) !== null; ) {
1544
1573
  const i = g[1], o = g[2].trim(), e = g[3], t = g[4], c = g[5] === "truetype" ? "ttf" : "otf", a = o.split(/\s+/).map(Number), r = Math.min(...a), s = Math.max(...a);
1545
1574
  v.push({
1546
1575
  family: i,
@@ -1550,18 +1579,18 @@ for (; (g = C.exec(A)) !== null; ) {
1550
1579
  format: c,
1551
1580
  filePath: `/fonts/${t}`,
1552
1581
  fileName: t,
1553
- cssVariable: k.get(i.toLowerCase()) ?? null
1582
+ cssVariable: S.get(i.toLowerCase()) ?? null
1554
1583
  });
1555
1584
  }
1556
1585
  v.sort((i, o) => i.family.localeCompare(o.family));
1557
- const lo = v, go = {
1586
+ const mo = v, ho = {
1558
1587
  digoLogo: "https://cdn.digo-labs.com/images/digo-logo.png",
1559
1588
  digoLogoSvg: "https://cdn.digo-labs.com/images/digo-logo.svg",
1560
1589
  pcLogoV1Svg: "https://cdn.digo-labs.com/images/pc-logo-v1.svg",
1561
1590
  pcLogo3d: "https://cdn.digo-labs.com/images/pc-logo-3d.png",
1562
1591
  userPlaceholder: "https://cdn.digo-labs.com/images/user-placeholder.png"
1563
- }, uo = {};
1564
- class po {
1592
+ }, bo = {};
1593
+ class wo {
1565
1594
  static setValue(o, e) {
1566
1595
  sessionStorage.setItem(o, JSON.stringify(e));
1567
1596
  }
@@ -1576,7 +1605,7 @@ class po {
1576
1605
  }
1577
1606
  }
1578
1607
  }
1579
- const yo = {
1608
+ const vo = {
1580
1609
  aiText: "text",
1581
1610
  dmxSend: "dmx-send",
1582
1611
  storagePresignUpload: "storage-presign-upload",
@@ -1591,7 +1620,7 @@ const yo = {
1591
1620
  databaseDelete: "database-delete",
1592
1621
  refreshSchemas: "refresh-schemas"
1593
1622
  };
1594
- class fo {
1623
+ class xo {
1595
1624
  static hashCode(o) {
1596
1625
  return [...o].reduce(
1597
1626
  (e, t) => Math.imul(31, e) + t.charCodeAt(0) | 0,
@@ -1617,16 +1646,16 @@ class fo {
1617
1646
  return d.decompressFromUint8Array(o);
1618
1647
  }
1619
1648
  static blobToBase64(o) {
1620
- return N(o);
1649
+ return D(o);
1621
1650
  }
1622
1651
  static base64ToBlob(o) {
1623
- return T(o);
1652
+ return z(o);
1624
1653
  }
1625
1654
  static getFirstLetter(o) {
1626
1655
  return o ? o.charAt(0).toUpperCase() : "X";
1627
1656
  }
1628
1657
  }
1629
- const mo = {
1658
+ const Ao = {
1630
1659
  digo: "Digo",
1631
1660
  refresh: "Refresh",
1632
1661
  code: "Code",
@@ -1714,7 +1743,7 @@ const mo = {
1714
1743
  generate: "Generate",
1715
1744
  savePreset: "Save Preset",
1716
1745
  image: "Image"
1717
- }, j = [
1746
+ }, L = [
1718
1747
  {
1719
1748
  id: "us.anthropic.claude-haiku-4-5-20251001-v1:0",
1720
1749
  provider: "Anthropic",
@@ -1757,112 +1786,112 @@ const mo = {
1757
1786
  version: "1",
1758
1787
  description: "Higher-quality multimodal, slower than Lite."
1759
1788
  }
1760
- ], ho = j[0].id, B = n.object({
1789
+ ], ko = L[0].id, O = n.object({
1761
1790
  type: n.literal("text"),
1762
1791
  text: n.string()
1763
- }), R = n.object({
1792
+ }), P = n.object({
1764
1793
  type: n.literal("image"),
1765
1794
  source: n.object({
1766
1795
  base64: n.string(),
1767
1796
  mediaType: n.string()
1768
1797
  })
1769
- }), L = n.union([
1798
+ }), _ = n.union([
1770
1799
  n.string(),
1771
- n.array(n.union([B, R]))
1772
- ]), E = n.object({
1800
+ n.array(n.union([O, P]))
1801
+ ]), G = n.object({
1773
1802
  role: n.enum(["user", "assistant"]),
1774
- content: L
1775
- }), bo = n.object({
1803
+ content: _
1804
+ }), So = n.object({
1776
1805
  model: n.string().optional(),
1777
- messages: n.array(E).min(1),
1806
+ messages: n.array(G).min(1),
1778
1807
  systemPrompt: n.string().optional(),
1779
1808
  temperature: n.number().min(0).max(2).optional(),
1780
1809
  maxTokens: n.number().int().positive().optional(),
1781
1810
  stopSequences: n.array(n.string()).optional(),
1782
1811
  providerOptions: n.record(n.string(), n.record(n.string(), n.any())).optional()
1783
- }), wo = n.object({
1812
+ }), Mo = n.object({
1784
1813
  channel: n.number().int().min(1).max(512),
1785
1814
  value: n.number().int().min(0).max(255)
1786
- }), vo = n.object({
1815
+ }), Fo = n.object({
1787
1816
  success: n.boolean()
1788
- }), l = n.string().min(1), f = n.union([n.string(), n.number(), n.boolean(), n.null()]), u = n.record(n.string(), n.unknown()), xo = n.object({
1817
+ }), l = n.string().min(1), f = n.union([n.string(), n.number(), n.boolean(), n.null()]), u = n.record(n.string(), n.unknown()), Io = n.object({
1789
1818
  table: l,
1790
1819
  limit: n.number().int().positive().optional(),
1791
1820
  offset: n.number().int().nonnegative().optional()
1792
- }), Ao = n.object({
1821
+ }), No = n.object({
1793
1822
  rows: n.array(u)
1794
- }), ko = n.object({
1823
+ }), To = n.object({
1795
1824
  table: l,
1796
1825
  pk: l,
1797
1826
  value: f
1798
- }), So = n.object({
1827
+ }), Uo = n.object({
1799
1828
  row: u.nullable()
1800
- }), Mo = n.object({
1829
+ }), Do = n.object({
1801
1830
  table: l,
1802
1831
  column: l,
1803
1832
  value: f
1804
- }), Fo = n.object({
1833
+ }), zo = n.object({
1805
1834
  rows: n.array(u)
1806
- }), Io = n.object({
1835
+ }), Co = n.object({
1807
1836
  table: l,
1808
1837
  record: u
1809
- }), No = n.object({
1838
+ }), Bo = n.object({
1810
1839
  row: u
1811
- }), To = n.object({
1840
+ }), jo = n.object({
1812
1841
  table: l,
1813
1842
  pk: l,
1814
1843
  value: f,
1815
1844
  changes: u
1816
- }), Uo = n.object({
1845
+ }), Ro = n.object({
1817
1846
  success: n.boolean()
1818
- }), Do = n.object({
1847
+ }), Eo = n.object({
1819
1848
  table: l,
1820
1849
  pk: l,
1821
1850
  value: f
1822
- }), zo = n.object({
1851
+ }), Lo = n.object({
1823
1852
  success: n.boolean()
1824
- }), Co = n.object({
1853
+ }), Oo = n.object({
1825
1854
  mediaType: n.string(),
1826
1855
  base64: n.string()
1827
- }), jo = n.object({
1856
+ }), Po = n.object({
1828
1857
  mediaType: n.string(),
1829
1858
  base64: n.string()
1830
- }), Bo = n.string().regex(/^\d+x\d+$/).transform((i) => i), Ro = n.string().regex(/^\d+:\d+$/).transform((i) => i), Lo = n.object({
1859
+ }), _o = n.string().regex(/^\d+x\d+$/).transform((i) => i), Go = n.string().regex(/^\d+:\d+$/).transform((i) => i), qo = n.object({
1831
1860
  bucket: n.string().min(1),
1832
1861
  path: n.string().min(1),
1833
1862
  contentType: n.string().min(1),
1834
1863
  expiresIn: n.number().int().positive().max(604800).optional()
1835
- }), P = n.object({
1864
+ }), q = n.object({
1836
1865
  url: n.string().url(),
1837
1866
  expiresAt: n.number()
1838
- }), Eo = n.object({
1867
+ }), $o = n.object({
1839
1868
  bucket: n.string().min(1),
1840
1869
  path: n.string().min(1),
1841
1870
  expiresIn: n.number().int().positive().max(604800).optional()
1842
- }), Po = P, Oo = n.object({
1871
+ }), Vo = q, Xo = n.object({
1843
1872
  bucket: n.string().min(1),
1844
1873
  prefix: n.string().optional(),
1845
1874
  limit: n.number().int().positive().max(1e3).optional()
1846
- }), O = n.object({
1875
+ }), $ = n.object({
1847
1876
  key: n.string(),
1848
1877
  size: n.number(),
1849
1878
  lastModified: n.string(),
1850
1879
  etag: n.string().optional()
1851
- }), _o = n.object({
1852
- objects: n.array(O)
1853
- }), Go = n.object({
1880
+ }), Ho = n.object({
1881
+ objects: n.array($)
1882
+ }), Yo = n.object({
1854
1883
  bucket: n.string().min(1),
1855
1884
  paths: n.array(n.string().min(1)).min(1)
1856
- }), qo = n.object({
1885
+ }), Jo = n.object({
1857
1886
  success: n.boolean(),
1858
1887
  deleted: n.array(n.string())
1859
1888
  });
1860
- var _ = /* @__PURE__ */ ((i) => (i.ANIMATED_FILM = "3D_ANIMATED_FAMILY_FILM", i.FLAT_VECTOR_ILLUSTRATION = "FLAT_VECTOR_ILLUSTRATION", i.GRAPHIC_NOVEL_ILLUSTRATION = "GRAPHIC_NOVEL_ILLUSTRATION", i.MAXIMALISM = "MAXIMALISM", i.MIDCENTURY_RETRO = "MIDCENTURY_RETRO", i.PHOTOREALISM = "PHOTOREALISM", i.SOFT_DIGITAL_PAINTING = "SOFT_DIGITAL_PAINTING", i))(_ || {}), G = /* @__PURE__ */ ((i) => (i.IDENTIFY = "IDENTIFY", i.SUBSCRIBE = "SUBSCRIBE", i.UNSUBSCRIBE = "UNSUBSCRIBE", i.MESSAGE = "MESSAGE", i.STATE = "STATE", i))(G || {}), q = /* @__PURE__ */ ((i) => (i.MESSAGE = "MESSAGE", i.STATE = "STATE", i))(q || {});
1861
- const Vo = "_hub";
1862
- var V = /* @__PURE__ */ ((i) => (i.CONNECT = "CONNECT", i.DISCONNECT = "DISCONNECT", i.SUBSCRIBE = "SUBSCRIBE", i.UNSUBSCRIBE = "UNSUBSCRIBE", i.MESSAGE = "MESSAGE", i.STATE = "STATE", i))(V || {});
1863
- const Xo = {
1889
+ var V = /* @__PURE__ */ ((i) => (i.ANIMATED_FILM = "3D_ANIMATED_FAMILY_FILM", i.FLAT_VECTOR_ILLUSTRATION = "FLAT_VECTOR_ILLUSTRATION", i.GRAPHIC_NOVEL_ILLUSTRATION = "GRAPHIC_NOVEL_ILLUSTRATION", i.MAXIMALISM = "MAXIMALISM", i.MIDCENTURY_RETRO = "MIDCENTURY_RETRO", i.PHOTOREALISM = "PHOTOREALISM", i.SOFT_DIGITAL_PAINTING = "SOFT_DIGITAL_PAINTING", i))(V || {}), X = /* @__PURE__ */ ((i) => (i.IDENTIFY = "IDENTIFY", i.SUBSCRIBE = "SUBSCRIBE", i.UNSUBSCRIBE = "UNSUBSCRIBE", i.MESSAGE = "MESSAGE", i.STATE = "STATE", i))(X || {}), H = /* @__PURE__ */ ((i) => (i.MESSAGE = "MESSAGE", i.STATE = "STATE", i))(H || {});
1890
+ const Ko = "_hub";
1891
+ var Y = /* @__PURE__ */ ((i) => (i.CONNECT = "CONNECT", i.DISCONNECT = "DISCONNECT", i.SUBSCRIBE = "SUBSCRIBE", i.UNSUBSCRIBE = "UNSUBSCRIBE", i.MESSAGE = "MESSAGE", i.STATE = "STATE", i))(Y || {});
1892
+ const Zo = {
1864
1893
  pcLogo3D: "https://cdn.digo-labs.com/videos/pc-logo-3d.mp4"
1865
- }, $o = {
1894
+ }, Qo = {
1866
1895
  aalto: "https://cdn.digo-labs.com/fonts/aalto.otf",
1867
1896
  being: "https://cdn.digo-labs.com/fonts/being.otf",
1868
1897
  benzol: "https://cdn.digo-labs.com/fonts/benzol.otf",
@@ -1886,17 +1915,17 @@ const Xo = {
1886
1915
  geist: "https://cdn.digo-labs.com/fonts/geist.ttf",
1887
1916
  geistMono: "https://cdn.digo-labs.com/fonts/geist-mono.ttf"
1888
1917
  };
1889
- async function X(i) {
1918
+ async function J(i) {
1890
1919
  try {
1891
1920
  return [await i, null];
1892
1921
  } catch (o) {
1893
1922
  return [null, o];
1894
1923
  }
1895
1924
  }
1896
- function Ho(...i) {
1897
- return D(U(i));
1925
+ function Wo(...i) {
1926
+ return B(C(i));
1898
1927
  }
1899
- const Yo = [
1928
+ const on = [
1900
1929
  "New York",
1901
1930
  "Tokyo",
1902
1931
  "Paris",
@@ -1922,7 +1951,7 @@ const Yo = [
1922
1951
  "Mexico City",
1923
1952
  "Oslo",
1924
1953
  "Zürich"
1925
- ], Jo = [
1954
+ ], nn = [
1926
1955
  "The quick brown fox jumps over the lazy dog.",
1927
1956
  "Pack my box with five dozen liquor jugs.",
1928
1957
  "How vexingly quick daft zebras jump.",
@@ -1933,73 +1962,76 @@ const Yo = [
1933
1962
  "Sixty zippers were quickly picked from the woven jute bag.",
1934
1963
  "We promptly judged antique ivory buckles for the next prize.",
1935
1964
  "A mad boxer shot a quick, gloved jab to the jaw of his dizzy opponent."
1936
- ], Ko = {
1965
+ ], en = {
1937
1966
  monorepo: {
1938
1967
  trustedOrigins: [
1939
- "http://localhost:2000",
1968
+ "http://localhost:*",
1969
+ "http://127.0.0.1:*",
1940
1970
  "https://*.digo-labs.com"
1941
1971
  ]
1942
1972
  }
1943
1973
  };
1944
1974
  export {
1945
- ao as AI_MODELS,
1946
- Ko as AUTH_PROJECTS,
1947
- co as AWS_DEFAULT_REGION,
1948
- no as BACKEND_URL,
1949
- j as BEDROCK_MODELS,
1950
- _ as BedrockStyle,
1951
- Yo as CITIES,
1975
+ po as AI_MODELS,
1976
+ en as AUTH_PROJECTS,
1977
+ uo as AWS_DEFAULT_REGION,
1978
+ j as AppConfigHelpers,
1979
+ ao as BACKEND_URL,
1980
+ L as BEDROCK_MODELS,
1981
+ V as BedrockStyle,
1982
+ on as CITIES,
1952
1983
  b as CommonHelpers,
1953
- ho as DEFAULT_TEXT_MODEL,
1954
- io as DIGO_ADMIN_SECRET,
1955
- eo as DIGO_HEADERS,
1956
- Jo as EXCERPTS,
1957
- $o as FONTS,
1958
- lo as FONT_FACES,
1959
- go as IMAGES,
1960
- so as IconHelpers,
1961
- ro as LANGUAGE_MAP,
1962
- po as LocalStorage,
1963
- uo as MODELS,
1964
- yo as ROUTES,
1965
- mo as STRINGS,
1966
- fo as StringHelpers,
1967
- Xo as VIDEOS,
1968
- Vo as WEBSOCKET_HUB_CHANNEL,
1969
- to as WS_URL,
1970
- q as WebSocketHubEvent,
1971
- G as WebsocketClientEvent,
1972
- V as WebsocketLogEvent,
1973
- Ro as aspectRatioSchema,
1974
- Ho as cn,
1975
- Io as databaseCreateBodySchema,
1976
- No as databaseCreateResponseSchema,
1977
- Do as databaseDeleteBodySchema,
1978
- zo as databaseDeleteResponseSchema,
1979
- xo as databaseGetAllBodySchema,
1980
- Ao as databaseGetAllResponseSchema,
1981
- ko as databaseGetBodySchema,
1982
- Mo as databaseGetByBodySchema,
1983
- Fo as databaseGetByResponseSchema,
1984
- So as databaseGetResponseSchema,
1985
- To as databaseUpdateBodySchema,
1986
- Uo as databaseUpdateResponseSchema,
1987
- Go as deleteBodySchema,
1988
- qo as deleteResponseSchema,
1989
- wo as dmxSendBodySchema,
1990
- vo as dmxSendResponseSchema,
1991
- Co as filePayloadSchema,
1992
- jo as imagePayloadSchema,
1993
- Oo as listBodySchema,
1994
- _o as listResponseSchema,
1995
- Eo as presignDownloadBodySchema,
1996
- Po as presignDownloadResponseSchema,
1997
- Lo as presignUploadBodySchema,
1998
- P as presignUploadResponseSchema,
1999
- Bo as sizeFormattedSchema,
2000
- O as storageObjectSchema,
2001
- bo as textBodySchema,
2002
- E as textMessageSchema,
2003
- X as tryCatch
1984
+ ko as DEFAULT_TEXT_MODEL,
1985
+ so as DIGO_ADMIN_SECRET,
1986
+ ro as DIGO_HEADERS,
1987
+ lo as DIGO_STORAGE_BUCKET_SUFFIX,
1988
+ nn as EXCERPTS,
1989
+ Qo as FONTS,
1990
+ mo as FONT_FACES,
1991
+ ho as IMAGES,
1992
+ fo as IconHelpers,
1993
+ yo as LANGUAGE_MAP,
1994
+ wo as LocalStorage,
1995
+ bo as MODELS,
1996
+ vo as ROUTES,
1997
+ Ao as STRINGS,
1998
+ xo as StringHelpers,
1999
+ Zo as VIDEOS,
2000
+ Ko as WEBSOCKET_HUB_CHANNEL,
2001
+ go as WS_URL,
2002
+ H as WebSocketHubEvent,
2003
+ X as WebsocketClientEvent,
2004
+ Y as WebsocketLogEvent,
2005
+ Go as aspectRatioSchema,
2006
+ Wo as cn,
2007
+ Co as databaseCreateBodySchema,
2008
+ Bo as databaseCreateResponseSchema,
2009
+ Eo as databaseDeleteBodySchema,
2010
+ Lo as databaseDeleteResponseSchema,
2011
+ Io as databaseGetAllBodySchema,
2012
+ No as databaseGetAllResponseSchema,
2013
+ To as databaseGetBodySchema,
2014
+ Do as databaseGetByBodySchema,
2015
+ zo as databaseGetByResponseSchema,
2016
+ Uo as databaseGetResponseSchema,
2017
+ jo as databaseUpdateBodySchema,
2018
+ Ro as databaseUpdateResponseSchema,
2019
+ Yo as deleteBodySchema,
2020
+ Jo as deleteResponseSchema,
2021
+ Mo as dmxSendBodySchema,
2022
+ Fo as dmxSendResponseSchema,
2023
+ Oo as filePayloadSchema,
2024
+ Po as imagePayloadSchema,
2025
+ Xo as listBodySchema,
2026
+ Ho as listResponseSchema,
2027
+ $o as presignDownloadBodySchema,
2028
+ Vo as presignDownloadResponseSchema,
2029
+ qo as presignUploadBodySchema,
2030
+ q as presignUploadResponseSchema,
2031
+ _o as sizeFormattedSchema,
2032
+ $ as storageObjectSchema,
2033
+ So as textBodySchema,
2034
+ G as textMessageSchema,
2035
+ J as tryCatch
2004
2036
  };
2005
2037
  //# sourceMappingURL=index.js.map