@arbidocs/react 0.5.51 → 0.5.53

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/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkW7DQJT4T_cjs = require('./chunk-W7DQJT4T.cjs');
4
- var chunkGAW2PLSL_cjs = require('./chunk-GAW2PLSL.cjs');
4
+ var chunkODGIOGH5_cjs = require('./chunk-ODGIOGH5.cjs');
5
5
  var chunkME4TS33T_cjs = require('./chunk-ME4TS33T.cjs');
6
6
  var chunkONGNP4JM_cjs = require('./chunk-ONGNP4JM.cjs');
7
7
  var chunkRRWAX52L_cjs = require('./chunk-RRWAX52L.cjs');
@@ -1663,11 +1663,11 @@ var SNAPSHOT_MS = 500;
1663
1663
  function applyTaskEvent(queryClient, arbi, message, me) {
1664
1664
  const workspaceId = message.workspace_ext_id;
1665
1665
  if (!workspaceId) return;
1666
- if (chunkGAW2PLSL_cjs.FINISHED_DOCUMENT_STATUSES.has(message.status)) {
1667
- void chunkGAW2PLSL_cjs.refreshDocuments(queryClient, arbi, [message.doc_ext_id]);
1666
+ if (chunkODGIOGH5_cjs.FINISHED_DOCUMENT_STATUSES.has(message.status)) {
1667
+ void chunkODGIOGH5_cjs.refreshDocuments(queryClient, arbi, [message.doc_ext_id]);
1668
1668
  return;
1669
1669
  }
1670
- const cached = chunkGAW2PLSL_cjs.getCachedDocuments(queryClient, workspaceId);
1670
+ const cached = chunkODGIOGH5_cjs.getCachedDocuments(queryClient, workspaceId);
1671
1671
  if (!cached || cached.some((d) => d.external_id === message.doc_ext_id)) return;
1672
1672
  const now = (/* @__PURE__ */ new Date()).toISOString();
1673
1673
  const placeholder = {
@@ -1684,7 +1684,7 @@ function applyTaskEvent(queryClient, arbi, message, me) {
1684
1684
  created_at: now,
1685
1685
  updated_at: now
1686
1686
  };
1687
- chunkGAW2PLSL_cjs.patchDocuments(
1687
+ chunkODGIOGH5_cjs.patchDocuments(
1688
1688
  queryClient,
1689
1689
  (old) => old.some((d) => d.external_id === message.doc_ext_id) ? old : [...old, placeholder],
1690
1690
  workspaceId
@@ -1693,14 +1693,14 @@ function applyTaskEvent(queryClient, arbi, message, me) {
1693
1693
  function useWorkspaceProcessing(workspaceId) {
1694
1694
  const queryClient = reactQuery.useQueryClient();
1695
1695
  const arbi = chunkYIUUTRMQ_cjs.useArbi();
1696
- const [snapshot, setSnapshot] = React.useState(() => chunkGAW2PLSL_cjs.useArbiWsStore.getState().tasks);
1696
+ const [snapshot, setSnapshot] = React.useState(() => chunkODGIOGH5_cjs.useArbiWsStore.getState().tasks);
1697
1697
  React.useEffect(() => {
1698
1698
  let timer = null;
1699
- const unsubscribe = chunkGAW2PLSL_cjs.useArbiWsStore.subscribe((state, previous) => {
1699
+ const unsubscribe = chunkODGIOGH5_cjs.useArbiWsStore.subscribe((state, previous) => {
1700
1700
  if (state.tasks === previous.tasks || timer) return;
1701
1701
  timer = setTimeout(() => {
1702
1702
  timer = null;
1703
- setSnapshot(chunkGAW2PLSL_cjs.useArbiWsStore.getState().tasks);
1703
+ setSnapshot(chunkODGIOGH5_cjs.useArbiWsStore.getState().tasks);
1704
1704
  }, SNAPSHOT_MS);
1705
1705
  });
1706
1706
  return () => {
@@ -1710,13 +1710,13 @@ function useWorkspaceProcessing(workspaceId) {
1710
1710
  }, []);
1711
1711
  React.useEffect(() => {
1712
1712
  if (!workspaceId) return;
1713
- const store = chunkGAW2PLSL_cjs.useArbiWsStore.getState();
1714
- const documents2 = chunkGAW2PLSL_cjs.getCachedDocuments(queryClient, workspaceId) ?? [];
1713
+ const store = chunkODGIOGH5_cjs.useArbiWsStore.getState();
1714
+ const documents2 = chunkODGIOGH5_cjs.getCachedDocuments(queryClient, workspaceId) ?? [];
1715
1715
  store.settleTasks(documents2);
1716
1716
  const listed = new Set(documents2.map((d) => d.external_id));
1717
1717
  const now = Date.now();
1718
- for (const task of Object.values(chunkGAW2PLSL_cjs.useArbiWsStore.getState().tasks)) {
1719
- if (task.workspace_ext_id !== workspaceId || !chunkGAW2PLSL_cjs.IN_FLIGHT_DOCUMENT_STATUSES.has(task.status))
1718
+ for (const task of Object.values(chunkODGIOGH5_cjs.useArbiWsStore.getState().tasks)) {
1719
+ if (task.workspace_ext_id !== workspaceId || !chunkODGIOGH5_cjs.IN_FLIGHT_DOCUMENT_STATUSES.has(task.status))
1720
1720
  continue;
1721
1721
  const since = task.startTime ?? task.endTime;
1722
1722
  const age = since == null ? null : now - since;
@@ -1729,16 +1729,16 @@ function useWorkspaceProcessing(workspaceId) {
1729
1729
  if (!workspaceId) return;
1730
1730
  const unsubscribeReads = subscribeDocumentReads(
1731
1731
  queryClient,
1732
- (rows) => chunkGAW2PLSL_cjs.useArbiWsStore.getState().settleTasks(rows)
1732
+ (rows) => chunkODGIOGH5_cjs.useArbiWsStore.getState().settleTasks(rows)
1733
1733
  );
1734
1734
  const recheck = async () => {
1735
- const ids = Object.values(chunkGAW2PLSL_cjs.useArbiWsStore.getState().tasks).filter(
1736
- (t) => t.workspace_ext_id === workspaceId && chunkGAW2PLSL_cjs.IN_FLIGHT_DOCUMENT_STATUSES.has(t.status)
1735
+ const ids = Object.values(chunkODGIOGH5_cjs.useArbiWsStore.getState().tasks).filter(
1736
+ (t) => t.workspace_ext_id === workspaceId && chunkODGIOGH5_cjs.IN_FLIGHT_DOCUMENT_STATUSES.has(t.status)
1737
1737
  ).map((t) => t.doc_ext_id);
1738
- if (ids.length) await chunkGAW2PLSL_cjs.refreshDocuments(queryClient, arbi, ids);
1738
+ if (ids.length) await chunkODGIOGH5_cjs.refreshDocuments(queryClient, arbi, ids);
1739
1739
  };
1740
- let wasConnected = chunkGAW2PLSL_cjs.useArbiWsStore.getState().status === "connected";
1741
- const unsubscribeStatus = chunkGAW2PLSL_cjs.useArbiWsStore.subscribe((state) => {
1740
+ let wasConnected = chunkODGIOGH5_cjs.useArbiWsStore.getState().status === "connected";
1741
+ const unsubscribeStatus = chunkODGIOGH5_cjs.useArbiWsStore.subscribe((state) => {
1742
1742
  const connected = state.status === "connected";
1743
1743
  if (connected && !wasConnected) void recheck();
1744
1744
  wasConnected = connected;
@@ -1753,11 +1753,11 @@ function useWorkspaceProcessing(workspaceId) {
1753
1753
  const count = (statuses) => allTasks.filter(
1754
1754
  (t) => Array.isArray(statuses) ? statuses.includes(t.status) : statuses.has(t.status)
1755
1755
  ).length;
1756
- const { clearTask, clearFinishedTasks } = chunkGAW2PLSL_cjs.useArbiWsStore.getState();
1756
+ const { clearTask, clearFinishedTasks } = chunkODGIOGH5_cjs.useArbiWsStore.getState();
1757
1757
  return {
1758
1758
  tasks: Object.fromEntries(allTasks.map((t) => [t.doc_ext_id, t])),
1759
1759
  allTasks,
1760
- processingCount: count(chunkGAW2PLSL_cjs.IN_FLIGHT_DOCUMENT_STATUSES),
1760
+ processingCount: count(chunkODGIOGH5_cjs.IN_FLIGHT_DOCUMENT_STATUSES),
1761
1761
  completedCount: count(["completed", "low-content"]),
1762
1762
  failedCount: count(["failed"]),
1763
1763
  skippedCount: count(["skipped"]),
@@ -1769,7 +1769,7 @@ function useWorkspaceProcessing(workspaceId) {
1769
1769
  function applyOptimisticDocumentEdit(qc, updates) {
1770
1770
  const byId = new Map(updates.map((update) => [update.external_id, update]));
1771
1771
  const previous = [];
1772
- chunkGAW2PLSL_cjs.patchDocuments(qc, (old) => {
1772
+ chunkODGIOGH5_cjs.patchDocuments(qc, (old) => {
1773
1773
  let changed = false;
1774
1774
  const next = old.map((doc) => {
1775
1775
  const update = byId.get(doc.external_id);
@@ -1784,7 +1784,7 @@ function applyOptimisticDocumentEdit(qc, updates) {
1784
1784
  const own = qc.getQueryData(
1785
1785
  chunkRRWAX52L_cjs.arbiQueryKeys.document(update.external_id)
1786
1786
  );
1787
- if (own) chunkGAW2PLSL_cjs.setCachedDocument(qc, { ...own, ...update });
1787
+ if (own) chunkODGIOGH5_cjs.setCachedDocument(qc, { ...own, ...update });
1788
1788
  return [update.external_id, own];
1789
1789
  });
1790
1790
  return { optimistic: true, previous, previousOwn };
@@ -1794,7 +1794,7 @@ function rollbackOptimisticDocumentEdit(qc, context) {
1794
1794
  if (!edit?.optimistic) return;
1795
1795
  if (edit.previous.length) {
1796
1796
  const restore = new Map(edit.previous.map((doc) => [doc.external_id, doc]));
1797
- chunkGAW2PLSL_cjs.patchDocuments(
1797
+ chunkODGIOGH5_cjs.patchDocuments(
1798
1798
  qc,
1799
1799
  (old) => old.some((doc) => restore.has(doc.external_id)) ? old.map((doc) => restore.get(doc.external_id) ?? doc) : old
1800
1800
  );
@@ -1804,19 +1804,19 @@ function rollbackOptimisticDocumentEdit(qc, context) {
1804
1804
  function settleUpdatedDocuments(qc, updated) {
1805
1805
  if (!updated.length) return;
1806
1806
  const byId = new Map(updated.map((doc) => [doc.external_id, doc]));
1807
- chunkGAW2PLSL_cjs.patchDocuments(
1807
+ chunkODGIOGH5_cjs.patchDocuments(
1808
1808
  qc,
1809
1809
  (old) => old.some((doc) => byId.has(doc.external_id)) ? old.map((doc) => byId.get(doc.external_id) ?? doc) : old
1810
1810
  );
1811
- for (const doc of updated) chunkGAW2PLSL_cjs.setCachedDocument(qc, doc);
1811
+ for (const doc of updated) chunkODGIOGH5_cjs.setCachedDocument(qc, doc);
1812
1812
  }
1813
1813
  function patchEachDocument(qc, docIds, reducer) {
1814
1814
  const ids = new Set(docIds);
1815
- chunkGAW2PLSL_cjs.patchDocuments(
1815
+ chunkODGIOGH5_cjs.patchDocuments(
1816
1816
  qc,
1817
1817
  (old) => old.some((doc) => ids.has(doc.external_id)) ? old.map((doc) => ids.has(doc.external_id) ? reducer(doc) : doc) : old
1818
1818
  );
1819
- for (const id of ids) chunkGAW2PLSL_cjs.patchCachedDocument(qc, id, reducer);
1819
+ for (const id of ids) chunkODGIOGH5_cjs.patchCachedDocument(qc, id, reducer);
1820
1820
  }
1821
1821
  function workspaceOf(qc, docId) {
1822
1822
  for (const [, docs] of qc.getQueriesData({
@@ -1843,7 +1843,7 @@ function settleAssignedDocTags(qc, created) {
1843
1843
  ...doc,
1844
1844
  doctags: [...doc.doctags ?? [], ...byDoc.get(doc.external_id) ?? []]
1845
1845
  }));
1846
- for (const [workspaceId, delta] of workspaces) chunkGAW2PLSL_cjs.adjustTagCounts(qc, workspaceId, delta);
1846
+ for (const [workspaceId, delta] of workspaces) chunkODGIOGH5_cjs.adjustTagCounts(qc, workspaceId, delta);
1847
1847
  }
1848
1848
  function settleRemovedDocTags(qc, { tagId, docIds }) {
1849
1849
  const ids = new Set(docIds);
@@ -1865,7 +1865,7 @@ function settleRemovedDocTags(qc, { tagId, docIds }) {
1865
1865
  doctags: (doc.doctags ?? []).filter((dt) => dt.tag_ext_id !== tagId)
1866
1866
  }));
1867
1867
  for (const [workspaceId, removed] of removedByWorkspace)
1868
- chunkGAW2PLSL_cjs.adjustTagCounts(qc, workspaceId, /* @__PURE__ */ new Map([[tagId, -removed]]));
1868
+ chunkODGIOGH5_cjs.adjustTagCounts(qc, workspaceId, /* @__PURE__ */ new Map([[tagId, -removed]]));
1869
1869
  }
1870
1870
  function settleUpdatedDocTag(qc, updated) {
1871
1871
  patchEachDocument(qc, [updated.doc_ext_id], (doc) => ({
@@ -1912,7 +1912,7 @@ function useMarkDocumentShared() {
1912
1912
  const qc = reactQuery.useQueryClient();
1913
1913
  return React.useCallback(
1914
1914
  (documentExtId) => {
1915
- chunkGAW2PLSL_cjs.patchDocuments(
1915
+ chunkODGIOGH5_cjs.patchDocuments(
1916
1916
  qc,
1917
1917
  (old) => old.map((doc) => doc.external_id === documentExtId ? { ...doc, shared: true } : doc)
1918
1918
  );
@@ -1954,7 +1954,7 @@ function useRenameFolder() {
1954
1954
  return folder === void 0 ? [] : [{ external_id: doc.external_id, folder }];
1955
1955
  });
1956
1956
  if (updates.length > 0) await mutateAsync({ documents: updates });
1957
- chunkGAW2PLSL_cjs.patchDocuments(qc, (rows) => {
1957
+ chunkODGIOGH5_cjs.patchDocuments(qc, (rows) => {
1958
1958
  let changed = false;
1959
1959
  const next = rows.map((doc) => {
1960
1960
  const folder = moved(doc.folder);
@@ -1977,19 +1977,19 @@ function useDeleteDocuments() {
1977
1977
  mutationFn: (docIds) => arbi.documents.delete(docIds),
1978
1978
  onSuccess: (_data, docIds) => {
1979
1979
  const gone = new Set(docIds);
1980
- chunkGAW2PLSL_cjs.patchDocuments(
1980
+ chunkODGIOGH5_cjs.patchDocuments(
1981
1981
  qc,
1982
1982
  (old) => old.some((doc) => gone.has(doc.external_id)) ? old.filter((doc) => !gone.has(doc.external_id)) : old
1983
1983
  );
1984
- chunkGAW2PLSL_cjs.forgetDocuments(qc, docIds);
1985
- const { clearTask } = chunkGAW2PLSL_cjs.useArbiWsStore.getState();
1984
+ chunkODGIOGH5_cjs.forgetDocuments(qc, docIds);
1985
+ const { clearTask } = chunkODGIOGH5_cjs.useArbiWsStore.getState();
1986
1986
  for (const id of docIds) clearTask(id);
1987
1987
  return qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaces() });
1988
1988
  }
1989
1989
  });
1990
1990
  }
1991
1991
  async function settleUpload(qc, arbi, docIds) {
1992
- if (docIds?.length) await chunkGAW2PLSL_cjs.refreshDocuments(qc, arbi, docIds);
1992
+ if (docIds?.length) await chunkODGIOGH5_cjs.refreshDocuments(qc, arbi, docIds);
1993
1993
  await qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaces() });
1994
1994
  }
1995
1995
  function useUploadDocuments() {
@@ -2044,7 +2044,7 @@ function useUpdateDocTag() {
2044
2044
  );
2045
2045
  }
2046
2046
  function queueProcessing(documents2) {
2047
- const store = chunkGAW2PLSL_cjs.useArbiWsStore.getState();
2047
+ const store = chunkODGIOGH5_cjs.useArbiWsStore.getState();
2048
2048
  const previous = documents2.map(({ docId }) => [docId, store.tasks[docId]]);
2049
2049
  const now = Date.now();
2050
2050
  for (const doc of documents2)
@@ -2057,7 +2057,7 @@ function queueProcessing(documents2) {
2057
2057
  progress: 0,
2058
2058
  startTime: now
2059
2059
  });
2060
- return () => chunkGAW2PLSL_cjs.useArbiWsStore.setState((state) => {
2060
+ return () => chunkODGIOGH5_cjs.useArbiWsStore.setState((state) => {
2061
2061
  const tasks = { ...state.tasks };
2062
2062
  for (const [docId, task] of previous) {
2063
2063
  if (task) tasks[docId] = task;
@@ -2076,7 +2076,7 @@ function useGenerateDocTags() {
2076
2076
  if (!docIds.length) return void 0;
2077
2077
  const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : "";
2078
2078
  const listed = new Map(
2079
- (chunkGAW2PLSL_cjs.getCachedDocuments(qc, workspaceId) ?? []).map((doc) => [doc.external_id, doc])
2079
+ (chunkODGIOGH5_cjs.getCachedDocuments(qc, workspaceId) ?? []).map((doc) => [doc.external_id, doc])
2080
2080
  );
2081
2081
  return {
2082
2082
  undo: queueProcessing(
@@ -2097,7 +2097,7 @@ function useFinaliseTranslation() {
2097
2097
  const qc = reactQuery.useQueryClient();
2098
2098
  return reactQuery.useMutation({
2099
2099
  mutationFn: (docId) => arbi.documents.finaliseTranslation(docId),
2100
- onSuccess: (result) => void chunkGAW2PLSL_cjs.refreshDocuments(qc, arbi, [result.document_ext_id])
2100
+ onSuccess: (result) => void chunkODGIOGH5_cjs.refreshDocuments(qc, arbi, [result.document_ext_id])
2101
2101
  });
2102
2102
  }
2103
2103
 
@@ -2107,10 +2107,10 @@ function useDocumentsSupport() {
2107
2107
  return chunkYIUUTRMQ_cjs.useArbiHost().documents ?? NO_SUPPORT;
2108
2108
  }
2109
2109
  function useProcessingTasks() {
2110
- return chunkGAW2PLSL_cjs.useArbiWsStore((state) => state.tasks);
2110
+ return chunkODGIOGH5_cjs.useArbiWsStore((state) => state.tasks);
2111
2111
  }
2112
2112
  function useProcessingTask(docId) {
2113
- return chunkGAW2PLSL_cjs.useArbiWsStore((state) => state.tasks[docId]);
2113
+ return chunkODGIOGH5_cjs.useArbiWsStore((state) => state.tasks[docId]);
2114
2114
  }
2115
2115
  var NO_ACTIONS = {};
2116
2116
  function useDocumentHostActions() {
@@ -2304,7 +2304,7 @@ function useDocumentThumbnails(visibleIds) {
2304
2304
  for (const id of visibleIds)
2305
2305
  if (IN_PROGRESS.has(tasks[id]?.status ?? "")) resolvedRef.current.delete(id);
2306
2306
  const ready = visibleIds.filter(
2307
- (id) => !resolvedRef.current.has(id) && chunkGAW2PLSL_cjs.FINISHED_DOCUMENT_STATUSES.has(tasks[id]?.status ?? "")
2307
+ (id) => !resolvedRef.current.has(id) && chunkODGIOGH5_cjs.FINISHED_DOCUMENT_STATUSES.has(tasks[id]?.status ?? "")
2308
2308
  );
2309
2309
  if (ready.length > 0) void fetchMissing(ready);
2310
2310
  }, [tasks, idsKey, fetchMissing]);
@@ -3369,7 +3369,7 @@ function useUploadFiles() {
3369
3369
  if (docIds2.length > 0) {
3370
3370
  for (const docId of docIds2) uploadedFolders.set(docId, { workspaceId, folder });
3371
3371
  const made = new Set(docIds2);
3372
- chunkGAW2PLSL_cjs.patchDocuments(
3372
+ chunkODGIOGH5_cjs.patchDocuments(
3373
3373
  qc,
3374
3374
  (rows) => rows.map((doc) => made.has(doc.external_id) ? { ...doc, folder } : doc),
3375
3375
  workspaceId
@@ -3385,7 +3385,7 @@ function useUploadFiles() {
3385
3385
  const docIds = results.flatMap((result) => result.doc_ext_ids ?? []);
3386
3386
  const skipped = results.flatMap((result) => result.skipped ?? []);
3387
3387
  if (docIds.length > 0) {
3388
- const read = await chunkGAW2PLSL_cjs.refreshDocuments(qc, arbi, docIds);
3388
+ const read = await chunkODGIOGH5_cjs.refreshDocuments(qc, arbi, docIds);
3389
3389
  for (const doc of read) forgetUploadedDocumentFolder(doc.external_id);
3390
3390
  }
3391
3391
  await qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaces() });
@@ -3472,7 +3472,7 @@ function getRelatedLabels(related) {
3472
3472
  return parts;
3473
3473
  }
3474
3474
  function useRelatedDocuments(documents2) {
3475
- const { data: similarData } = chunkGAW2PLSL_cjs.useSimilarDocuments();
3475
+ const { data: similarData } = chunkODGIOGH5_cjs.useSimilarDocuments();
3476
3476
  const structuralKey = React.useMemo(() => {
3477
3477
  const parts = [];
3478
3478
  for (const doc of documents2) {
@@ -3552,7 +3552,7 @@ function useRelatedDocuments(documents2) {
3552
3552
  }
3553
3553
  if (similarData?.pairs) {
3554
3554
  for (const pair of similarData.pairs) {
3555
- if (pair.similarity < chunkGAW2PLSL_cjs.SIMILARITY_THRESHOLD || pair.similarity >= 1) continue;
3555
+ if (pair.similarity < chunkODGIOGH5_cjs.SIMILARITY_THRESHOLD || pair.similarity >= 1) continue;
3556
3556
  const docA = docById.get(pair.doc_a.external_id);
3557
3557
  const docB = docById.get(pair.doc_b.external_id);
3558
3558
  if (docA && docB) {
@@ -3572,7 +3572,7 @@ function useRelatedDocuments(documents2) {
3572
3572
  }, [documents2, similarData, structuralKey]);
3573
3573
  }
3574
3574
  var REPLAYABLE = [
3575
- ...chunkGAW2PLSL_cjs.replayableTagMutations,
3575
+ ...chunkODGIOGH5_cjs.replayableTagMutations,
3576
3576
  ...replayableDocumentMutations
3577
3577
  ];
3578
3578
  function isReplayableArbiMutation(mutationKey) {
@@ -3604,7 +3604,7 @@ function isRestorableArbiQueryOnline(queryKey, data) {
3604
3604
  const docs = Array.isArray(data) ? data : [data];
3605
3605
  return !docs.some((doc) => {
3606
3606
  const status = doc?.status;
3607
- return !!status && !chunkGAW2PLSL_cjs.FINISHED_DOCUMENT_STATUSES.has(status);
3607
+ return !!status && !chunkODGIOGH5_cjs.FINISHED_DOCUMENT_STATUSES.has(status);
3608
3608
  });
3609
3609
  }
3610
3610
 
@@ -3719,7 +3719,7 @@ var PENDING_SYNC_PREDICATE = (m) => (
3719
3719
  isReplayableArbiMutation(m.options.mutationKey) && (m.state.isPaused || m.state.status === "error")
3720
3720
  );
3721
3721
  function usePendingSyncItems() {
3722
- const { data: documents2 } = chunkGAW2PLSL_cjs.useDocuments();
3722
+ const { data: documents2 } = chunkODGIOGH5_cjs.useDocuments();
3723
3723
  const { data: tags } = chunkME4TS33T_cjs.useTags();
3724
3724
  const raw = reactQuery.useMutationState({
3725
3725
  filters: { predicate: PENDING_SYNC_PREDICATE },
@@ -3904,7 +3904,7 @@ function useKeepDocumentsOffline() {
3904
3904
  return reactQuery.useMutation({
3905
3905
  mutationFn: async (docs) => {
3906
3906
  await keepDocumentsOffline(arbi.getClient().fetch, docs);
3907
- for (const doc of docs) chunkGAW2PLSL_cjs.setCachedDocument(queryClient, doc);
3907
+ for (const doc of docs) chunkODGIOGH5_cjs.setCachedDocument(queryClient, doc);
3908
3908
  await onKeptOffline?.();
3909
3909
  return docs.length;
3910
3910
  },
@@ -4296,7 +4296,7 @@ function useStreamHandlers() {
4296
4296
  return "";
4297
4297
  }
4298
4298
  },
4299
- refreshDocuments: (ids) => chunkGAW2PLSL_cjs.refreshDocuments(queryClient, arbi, ids)
4299
+ refreshDocuments: (ids) => chunkODGIOGH5_cjs.refreshDocuments(queryClient, arbi, ids)
4300
4300
  },
4301
4301
  params
4302
4302
  ),
@@ -5373,7 +5373,7 @@ function useConversation(options = {}) {
5373
5373
  React.useEffect(() => {
5374
5374
  if (agentId && workspaceId && !conversationId) session.setNewAgentChat({ agentId, workspaceId });
5375
5375
  }, [session, agentId, workspaceId, conversationId]);
5376
- const { data: docs = [], isLoading: isLoadingDocuments } = chunkGAW2PLSL_cjs.useDocuments(workspaceId);
5376
+ const { data: docs = [], isLoading: isLoadingDocuments } = chunkODGIOGH5_cjs.useDocuments(workspaceId);
5377
5377
  const ordinaryHistory = chunkME4TS33T_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
5378
5378
  const agentHistory = useAgentChats(agentId);
5379
5379
  const stored = React.useMemo(
@@ -5635,7 +5635,7 @@ function useConversation(options = {}) {
5635
5635
  } else
5636
5636
  uploaded.push(...(await arbi.documents.uploadFile(file, file.name)).doc_ext_ids ?? []);
5637
5637
  }
5638
- if (uploaded.length) await chunkGAW2PLSL_cjs.refreshDocuments(queryClient, arbi, uploaded);
5638
+ if (uploaded.length) await chunkODGIOGH5_cjs.refreshDocuments(queryClient, arbi, uploaded);
5639
5639
  } catch (e) {
5640
5640
  setUploadError(messageOf(e, "The upload failed."));
5641
5641
  } finally {
@@ -5849,7 +5849,7 @@ function useConversationDocuments() {
5849
5849
  const inConversationDocuments = chunkME4TS33T_cjs.useArbiSessionState(
5850
5850
  (state) => state.conversationDocuments[convKey] || EMPTY_DOCS
5851
5851
  );
5852
- const { data: documents2 = [], isLoading: isLoadingDocs } = chunkGAW2PLSL_cjs.useDocuments();
5852
+ const { data: documents2 = [], isLoading: isLoadingDocs } = chunkODGIOGH5_cjs.useDocuments();
5853
5853
  const conversationDocuments = React__default.default.useMemo(() => {
5854
5854
  if (inConversationDocuments.length === 0) {
5855
5855
  return [];
@@ -6865,11 +6865,11 @@ function ArbiWebSocketProvider({
6865
6865
  arbiRef.current = arbi;
6866
6866
  const queryClient = reactQuery.useQueryClient();
6867
6867
  const subscribersRef = React.useRef(/* @__PURE__ */ new Set());
6868
- const setStatus = chunkGAW2PLSL_cjs.useArbiWsStore((s) => s.setStatus);
6869
- const applyTaskUpdate = chunkGAW2PLSL_cjs.useArbiWsStore((s) => s.applyTaskUpdate);
6870
- const applyPresence = chunkGAW2PLSL_cjs.useArbiWsStore((s) => s.applyPresence);
6871
- const reset = chunkGAW2PLSL_cjs.useArbiWsStore((s) => s.reset);
6872
- const setEvicted = chunkGAW2PLSL_cjs.useArbiWsStore((s) => s.setEvicted);
6868
+ const setStatus = chunkODGIOGH5_cjs.useArbiWsStore((s) => s.setStatus);
6869
+ const applyTaskUpdate = chunkODGIOGH5_cjs.useArbiWsStore((s) => s.applyTaskUpdate);
6870
+ const applyPresence = chunkODGIOGH5_cjs.useArbiWsStore((s) => s.applyPresence);
6871
+ const reset = chunkODGIOGH5_cjs.useArbiWsStore((s) => s.reset);
6872
+ const setEvicted = chunkODGIOGH5_cjs.useArbiWsStore((s) => s.setEvicted);
6873
6873
  const onAuthenticatedRef = React.useRef(onAuthenticated);
6874
6874
  onAuthenticatedRef.current = onAuthenticated;
6875
6875
  const acceptRings = chunkYIUUTRMQ_cjs.useArbiHost().calls?.useEnabled?.() ?? true;
@@ -6905,12 +6905,12 @@ function ArbiWebSocketProvider({
6905
6905
  } else if (client.isMessageType(msg, "presence_update")) applyPresence(msg);
6906
6906
  else if (client.isMessageType(msg, "batch_complete")) {
6907
6907
  if (msg.batch_type === "entity_extract") {
6908
- chunkGAW2PLSL_cjs.finishEntityExtraction(msg.doc_ext_ids ?? []);
6908
+ chunkODGIOGH5_cjs.finishEntityExtraction(msg.doc_ext_ids ?? []);
6909
6909
  void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.allFacts() });
6910
6910
  }
6911
6911
  if (msg.batch_type === "upload" || msg.batch_type === "entity_extract") {
6912
6912
  if (msg.doc_ext_ids?.length)
6913
- void chunkGAW2PLSL_cjs.refreshDocuments(queryClient, arbiRef.current, msg.doc_ext_ids);
6913
+ void chunkODGIOGH5_cjs.refreshDocuments(queryClient, arbiRef.current, msg.doc_ext_ids);
6914
6914
  void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.allTags() });
6915
6915
  }
6916
6916
  } else if (type.startsWith("chat.") || type === "agent_dm_status")
@@ -7022,10 +7022,10 @@ function useArbiWsMessage(type, handler) {
7022
7022
  );
7023
7023
  }
7024
7024
  function useArbiWsStatus() {
7025
- return chunkGAW2PLSL_cjs.useArbiWsStore((s) => s.status);
7025
+ return chunkODGIOGH5_cjs.useArbiWsStore((s) => s.status);
7026
7026
  }
7027
7027
  function useArbiConnected() {
7028
- return chunkGAW2PLSL_cjs.useArbiWsStore((s) => s.status === "connected");
7028
+ return chunkODGIOGH5_cjs.useArbiWsStore((s) => s.status === "connected");
7029
7029
  }
7030
7030
  var WORKSPACE_SCOPED_PACKAGE_KEYS = [
7031
7031
  chunkRRWAX52L_cjs.arbiQueryKeys.allDocuments(),
@@ -8535,6 +8535,12 @@ function useSetWorkspaceHouseTemplate() {
8535
8535
  onSuccess: () => queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaces() })
8536
8536
  });
8537
8537
  }
8538
+ function useSetDeploymentHouseTemplate() {
8539
+ const arbi = chunkYIUUTRMQ_cjs.useArbi();
8540
+ return reactQuery.useMutation({
8541
+ mutationFn: (file) => arbi.houseTemplates.setDeployment(file)
8542
+ });
8543
+ }
8538
8544
  var supportsHouseTemplates = browser.houseTemplates.supportsHouseTemplates;
8539
8545
  var workspaceHouseTemplateId = browser.houseTemplates.workspaceHouseTemplateId;
8540
8546
  var isDeploymentAdmin = browser.houseTemplates.isDeploymentAdmin;
@@ -10028,7 +10034,7 @@ function useDeleteBookingPage() {
10028
10034
  });
10029
10035
  }
10030
10036
  function useWorkspaceDocs(workspaceId) {
10031
- const { data: docs = [], isLoading, isError } = chunkGAW2PLSL_cjs.useDocuments(workspaceId);
10037
+ const { data: docs = [], isLoading, isError } = chunkODGIOGH5_cjs.useDocuments(workspaceId);
10032
10038
  const docIds = React.useMemo(
10033
10039
  () => docs.map((d) => d.external_id).filter((id) => !!id),
10034
10040
  [docs]
@@ -12054,7 +12060,7 @@ function isAgentUser(user) {
12054
12060
  return user.external_id.startsWith("agt-");
12055
12061
  }
12056
12062
  function DmAvatar({ user, className, size = "lg" }) {
12057
- const presence = chunkGAW2PLSL_cjs.useArbiWsStore((s) => s.presence[user.external_id]);
12063
+ const presence = chunkODGIOGH5_cjs.useArbiWsStore((s) => s.presence[user.external_id]);
12058
12064
  const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
12059
12065
  return /* @__PURE__ */ jsxRuntime.jsx(
12060
12066
  chunkFSPLYO52_cjs.UserEntity,
@@ -13835,183 +13841,183 @@ Object.defineProperty(exports, "writeSamples", {
13835
13841
  });
13836
13842
  Object.defineProperty(exports, "DISMISSED_TASK_TTL_MS", {
13837
13843
  enumerable: true,
13838
- get: function () { return chunkGAW2PLSL_cjs.DISMISSED_TASK_TTL_MS; }
13844
+ get: function () { return chunkODGIOGH5_cjs.DISMISSED_TASK_TTL_MS; }
13839
13845
  });
13840
13846
  Object.defineProperty(exports, "DOCUMENTS_FIRST_PAGE_MEASURE", {
13841
13847
  enumerable: true,
13842
- get: function () { return chunkGAW2PLSL_cjs.DOCUMENTS_FIRST_PAGE_MEASURE; }
13848
+ get: function () { return chunkODGIOGH5_cjs.DOCUMENTS_FIRST_PAGE_MEASURE; }
13843
13849
  });
13844
13850
  Object.defineProperty(exports, "DOCUMENTS_FIRST_PAGE_SIZE", {
13845
13851
  enumerable: true,
13846
- get: function () { return chunkGAW2PLSL_cjs.DOCUMENTS_FIRST_PAGE_SIZE; }
13852
+ get: function () { return chunkODGIOGH5_cjs.DOCUMENTS_FIRST_PAGE_SIZE; }
13847
13853
  });
13848
13854
  Object.defineProperty(exports, "DOCUMENTS_PAGE_SIZE", {
13849
13855
  enumerable: true,
13850
- get: function () { return chunkGAW2PLSL_cjs.DOCUMENTS_PAGE_SIZE; }
13856
+ get: function () { return chunkODGIOGH5_cjs.DOCUMENTS_PAGE_SIZE; }
13851
13857
  });
13852
13858
  Object.defineProperty(exports, "FINISHED_DOCUMENT_STATUSES", {
13853
13859
  enumerable: true,
13854
- get: function () { return chunkGAW2PLSL_cjs.FINISHED_DOCUMENT_STATUSES; }
13860
+ get: function () { return chunkODGIOGH5_cjs.FINISHED_DOCUMENT_STATUSES; }
13855
13861
  });
13856
13862
  Object.defineProperty(exports, "IN_FLIGHT_DOCUMENT_STATUSES", {
13857
13863
  enumerable: true,
13858
- get: function () { return chunkGAW2PLSL_cjs.IN_FLIGHT_DOCUMENT_STATUSES; }
13864
+ get: function () { return chunkODGIOGH5_cjs.IN_FLIGHT_DOCUMENT_STATUSES; }
13859
13865
  });
13860
13866
  Object.defineProperty(exports, "SIMILARITY_THRESHOLD", {
13861
13867
  enumerable: true,
13862
- get: function () { return chunkGAW2PLSL_cjs.SIMILARITY_THRESHOLD; }
13868
+ get: function () { return chunkODGIOGH5_cjs.SIMILARITY_THRESHOLD; }
13863
13869
  });
13864
13870
  Object.defineProperty(exports, "adjustTagCounts", {
13865
13871
  enumerable: true,
13866
- get: function () { return chunkGAW2PLSL_cjs.adjustTagCounts; }
13872
+ get: function () { return chunkODGIOGH5_cjs.adjustTagCounts; }
13867
13873
  });
13868
13874
  Object.defineProperty(exports, "dropTagFromCachedDocuments", {
13869
13875
  enumerable: true,
13870
- get: function () { return chunkGAW2PLSL_cjs.dropTagFromCachedDocuments; }
13876
+ get: function () { return chunkODGIOGH5_cjs.dropTagFromCachedDocuments; }
13871
13877
  });
13872
13878
  Object.defineProperty(exports, "finishEntityExtraction", {
13873
13879
  enumerable: true,
13874
- get: function () { return chunkGAW2PLSL_cjs.finishEntityExtraction; }
13880
+ get: function () { return chunkODGIOGH5_cjs.finishEntityExtraction; }
13875
13881
  });
13876
13882
  Object.defineProperty(exports, "forgetDocuments", {
13877
13883
  enumerable: true,
13878
- get: function () { return chunkGAW2PLSL_cjs.forgetDocuments; }
13884
+ get: function () { return chunkODGIOGH5_cjs.forgetDocuments; }
13879
13885
  });
13880
13886
  Object.defineProperty(exports, "getCachedDocuments", {
13881
13887
  enumerable: true,
13882
- get: function () { return chunkGAW2PLSL_cjs.getCachedDocuments; }
13888
+ get: function () { return chunkODGIOGH5_cjs.getCachedDocuments; }
13883
13889
  });
13884
13890
  Object.defineProperty(exports, "invalidateTagData", {
13885
13891
  enumerable: true,
13886
- get: function () { return chunkGAW2PLSL_cjs.invalidateTagData; }
13892
+ get: function () { return chunkODGIOGH5_cjs.invalidateTagData; }
13887
13893
  });
13888
13894
  Object.defineProperty(exports, "invalidateTagTables", {
13889
13895
  enumerable: true,
13890
- get: function () { return chunkGAW2PLSL_cjs.invalidateTagTables; }
13896
+ get: function () { return chunkODGIOGH5_cjs.invalidateTagTables; }
13891
13897
  });
13892
13898
  Object.defineProperty(exports, "isDocumentsLoading", {
13893
13899
  enumerable: true,
13894
- get: function () { return chunkGAW2PLSL_cjs.isDocumentsLoading; }
13900
+ get: function () { return chunkODGIOGH5_cjs.isDocumentsLoading; }
13895
13901
  });
13896
13902
  Object.defineProperty(exports, "isRowNewer", {
13897
13903
  enumerable: true,
13898
- get: function () { return chunkGAW2PLSL_cjs.isRowNewer; }
13904
+ get: function () { return chunkODGIOGH5_cjs.isRowNewer; }
13899
13905
  });
13900
13906
  Object.defineProperty(exports, "isStaleTaskUpdate", {
13901
13907
  enumerable: true,
13902
- get: function () { return chunkGAW2PLSL_cjs.isStaleTaskUpdate; }
13908
+ get: function () { return chunkODGIOGH5_cjs.isStaleTaskUpdate; }
13903
13909
  });
13904
13910
  Object.defineProperty(exports, "patchCachedDocument", {
13905
13911
  enumerable: true,
13906
- get: function () { return chunkGAW2PLSL_cjs.patchCachedDocument; }
13912
+ get: function () { return chunkODGIOGH5_cjs.patchCachedDocument; }
13907
13913
  });
13908
13914
  Object.defineProperty(exports, "patchDocuments", {
13909
13915
  enumerable: true,
13910
- get: function () { return chunkGAW2PLSL_cjs.patchDocuments; }
13916
+ get: function () { return chunkODGIOGH5_cjs.patchDocuments; }
13911
13917
  });
13912
13918
  Object.defineProperty(exports, "patchWorkspaceTags", {
13913
13919
  enumerable: true,
13914
- get: function () { return chunkGAW2PLSL_cjs.patchWorkspaceTags; }
13920
+ get: function () { return chunkODGIOGH5_cjs.patchWorkspaceTags; }
13915
13921
  });
13916
13922
  Object.defineProperty(exports, "refreshDocuments", {
13917
13923
  enumerable: true,
13918
- get: function () { return chunkGAW2PLSL_cjs.refreshDocuments; }
13924
+ get: function () { return chunkODGIOGH5_cjs.refreshDocuments; }
13919
13925
  });
13920
13926
  Object.defineProperty(exports, "resolveDocumentStatus", {
13921
13927
  enumerable: true,
13922
- get: function () { return chunkGAW2PLSL_cjs.resolveDocumentStatus; }
13928
+ get: function () { return chunkODGIOGH5_cjs.resolveDocumentStatus; }
13923
13929
  });
13924
13930
  Object.defineProperty(exports, "setCachedDocument", {
13925
13931
  enumerable: true,
13926
- get: function () { return chunkGAW2PLSL_cjs.setCachedDocument; }
13932
+ get: function () { return chunkODGIOGH5_cjs.setCachedDocument; }
13927
13933
  });
13928
13934
  Object.defineProperty(exports, "settledByRows", {
13929
13935
  enumerable: true,
13930
- get: function () { return chunkGAW2PLSL_cjs.settledByRows; }
13936
+ get: function () { return chunkODGIOGH5_cjs.settledByRows; }
13931
13937
  });
13932
13938
  Object.defineProperty(exports, "startEntityExtraction", {
13933
13939
  enumerable: true,
13934
- get: function () { return chunkGAW2PLSL_cjs.startEntityExtraction; }
13940
+ get: function () { return chunkODGIOGH5_cjs.startEntityExtraction; }
13935
13941
  });
13936
13942
  Object.defineProperty(exports, "stopDocumentsLoading", {
13937
13943
  enumerable: true,
13938
- get: function () { return chunkGAW2PLSL_cjs.stopDocumentsLoading; }
13944
+ get: function () { return chunkODGIOGH5_cjs.stopDocumentsLoading; }
13939
13945
  });
13940
13946
  Object.defineProperty(exports, "subscribeDocumentRows", {
13941
13947
  enumerable: true,
13942
- get: function () { return chunkGAW2PLSL_cjs.subscribeDocumentRows; }
13948
+ get: function () { return chunkODGIOGH5_cjs.subscribeDocumentRows; }
13943
13949
  });
13944
13950
  Object.defineProperty(exports, "upsertDocuments", {
13945
13951
  enumerable: true,
13946
- get: function () { return chunkGAW2PLSL_cjs.upsertDocuments; }
13952
+ get: function () { return chunkODGIOGH5_cjs.upsertDocuments; }
13947
13953
  });
13948
13954
  Object.defineProperty(exports, "useArbiWsStore", {
13949
13955
  enumerable: true,
13950
- get: function () { return chunkGAW2PLSL_cjs.useArbiWsStore; }
13956
+ get: function () { return chunkODGIOGH5_cjs.useArbiWsStore; }
13951
13957
  });
13952
13958
  Object.defineProperty(exports, "useCreateTag", {
13953
13959
  enumerable: true,
13954
- get: function () { return chunkGAW2PLSL_cjs.useCreateTag; }
13960
+ get: function () { return chunkODGIOGH5_cjs.useCreateTag; }
13955
13961
  });
13956
13962
  Object.defineProperty(exports, "useDeleteTag", {
13957
13963
  enumerable: true,
13958
- get: function () { return chunkGAW2PLSL_cjs.useDeleteTag; }
13964
+ get: function () { return chunkODGIOGH5_cjs.useDeleteTag; }
13959
13965
  });
13960
13966
  Object.defineProperty(exports, "useDocument", {
13961
13967
  enumerable: true,
13962
- get: function () { return chunkGAW2PLSL_cjs.useDocument; }
13968
+ get: function () { return chunkODGIOGH5_cjs.useDocument; }
13963
13969
  });
13964
13970
  Object.defineProperty(exports, "useDocuments", {
13965
13971
  enumerable: true,
13966
- get: function () { return chunkGAW2PLSL_cjs.useDocuments; }
13972
+ get: function () { return chunkODGIOGH5_cjs.useDocuments; }
13967
13973
  });
13968
13974
  Object.defineProperty(exports, "useDocumentsById", {
13969
13975
  enumerable: true,
13970
- get: function () { return chunkGAW2PLSL_cjs.useDocumentsById; }
13976
+ get: function () { return chunkODGIOGH5_cjs.useDocumentsById; }
13971
13977
  });
13972
13978
  Object.defineProperty(exports, "useDocumentsLoading", {
13973
13979
  enumerable: true,
13974
- get: function () { return chunkGAW2PLSL_cjs.useDocumentsLoading; }
13980
+ get: function () { return chunkODGIOGH5_cjs.useDocumentsLoading; }
13975
13981
  });
13976
13982
  Object.defineProperty(exports, "useEntityExtractionDocIds", {
13977
13983
  enumerable: true,
13978
- get: function () { return chunkGAW2PLSL_cjs.useEntityExtractionDocIds; }
13984
+ get: function () { return chunkODGIOGH5_cjs.useEntityExtractionDocIds; }
13979
13985
  });
13980
13986
  Object.defineProperty(exports, "useExtractEntities", {
13981
13987
  enumerable: true,
13982
- get: function () { return chunkGAW2PLSL_cjs.useExtractEntities; }
13988
+ get: function () { return chunkODGIOGH5_cjs.useExtractEntities; }
13983
13989
  });
13984
13990
  Object.defineProperty(exports, "useInvalidateTagData", {
13985
13991
  enumerable: true,
13986
- get: function () { return chunkGAW2PLSL_cjs.useInvalidateTagData; }
13992
+ get: function () { return chunkODGIOGH5_cjs.useInvalidateTagData; }
13987
13993
  });
13988
13994
  Object.defineProperty(exports, "useIsCreatingTag", {
13989
13995
  enumerable: true,
13990
- get: function () { return chunkGAW2PLSL_cjs.useIsCreatingTag; }
13996
+ get: function () { return chunkODGIOGH5_cjs.useIsCreatingTag; }
13991
13997
  });
13992
13998
  Object.defineProperty(exports, "useRefreshDocuments", {
13993
13999
  enumerable: true,
13994
- get: function () { return chunkGAW2PLSL_cjs.useRefreshDocuments; }
14000
+ get: function () { return chunkODGIOGH5_cjs.useRefreshDocuments; }
13995
14001
  });
13996
14002
  Object.defineProperty(exports, "useSetTagValues", {
13997
14003
  enumerable: true,
13998
- get: function () { return chunkGAW2PLSL_cjs.useSetTagValues; }
14004
+ get: function () { return chunkODGIOGH5_cjs.useSetTagValues; }
13999
14005
  });
14000
14006
  Object.defineProperty(exports, "useSimilarDocuments", {
14001
14007
  enumerable: true,
14002
- get: function () { return chunkGAW2PLSL_cjs.useSimilarDocuments; }
14008
+ get: function () { return chunkODGIOGH5_cjs.useSimilarDocuments; }
14003
14009
  });
14004
14010
  Object.defineProperty(exports, "useTagKindSchema", {
14005
14011
  enumerable: true,
14006
- get: function () { return chunkGAW2PLSL_cjs.useTagKindSchema; }
14012
+ get: function () { return chunkODGIOGH5_cjs.useTagKindSchema; }
14007
14013
  });
14008
14014
  Object.defineProperty(exports, "useUpdateTag", {
14009
14015
  enumerable: true,
14010
- get: function () { return chunkGAW2PLSL_cjs.useUpdateTag; }
14016
+ get: function () { return chunkODGIOGH5_cjs.useUpdateTag; }
14011
14017
  });
14012
14018
  Object.defineProperty(exports, "useUpdateTagKindSchema", {
14013
14019
  enumerable: true,
14014
- get: function () { return chunkGAW2PLSL_cjs.useUpdateTagKindSchema; }
14020
+ get: function () { return chunkODGIOGH5_cjs.useUpdateTagKindSchema; }
14015
14021
  });
14016
14022
  Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEWER_STATE", {
14017
14023
  enumerable: true,
@@ -15993,6 +15999,7 @@ exports.useSemanticSearch = useSemanticSearch;
15993
15999
  exports.useSendBackStep = useSendBackStep;
15994
16000
  exports.useSendMail = useSendMail;
15995
16001
  exports.useSessions = useSessions;
16002
+ exports.useSetDeploymentHouseTemplate = useSetDeploymentHouseTemplate;
15996
16003
  exports.useSetSkillVisibility = useSetSkillVisibility;
15997
16004
  exports.useSetWorkspaceHouseTemplate = useSetWorkspaceHouseTemplate;
15998
16005
  exports.useSetWorkspaceMemberRoles = useSetWorkspaceMemberRoles;