@powerhousedao/connect 1.0.19-dev.0 → 1.0.19-dev.1

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.
Files changed (26) hide show
  1. package/dist/assets/{app-CMvPXKGM.js → app-0PUokYXm.js} +29 -22
  2. package/dist/assets/{app-CMvPXKGM.js.map → app-0PUokYXm.js.map} +1 -1
  3. package/dist/assets/{app-loader-CBJsoaTy.js → app-loader-CVII2DYj.js} +182 -195
  4. package/dist/assets/app-loader-CVII2DYj.js.map +1 -0
  5. package/dist/assets/{browser-C1XtII0d.js → browser-DaWhu_1T.js} +4 -4
  6. package/dist/assets/{browser-C1XtII0d.js.map → browser-DaWhu_1T.js.map} +1 -1
  7. package/dist/assets/{ccip-pghZxJM2.js → ccip-BiEUOhIy.js} +4 -4
  8. package/dist/assets/{ccip-pghZxJM2.js.map → ccip-BiEUOhIy.js.map} +1 -1
  9. package/dist/assets/{content-Ckphl3_k.js → content-D_3kBNR7.js} +5 -5
  10. package/dist/assets/{content-Ckphl3_k.js.map → content-D_3kBNR7.js.map} +1 -1
  11. package/dist/assets/{index-CXW9Lig1.js → index-3a_rYGU1.js} +5 -5
  12. package/dist/assets/{index-CXW9Lig1.js.map → index-3a_rYGU1.js.map} +1 -1
  13. package/dist/assets/{index-BTynLKZO.js → index-C30XfZqk.js} +4 -4
  14. package/dist/assets/{index-BTynLKZO.js.map → index-C30XfZqk.js.map} +1 -1
  15. package/dist/assets/{index-Dgzoras6.js → index-DiejwhaO.js} +4 -4
  16. package/dist/assets/{index-Dgzoras6.js.map → index-DiejwhaO.js.map} +1 -1
  17. package/dist/assets/{main.yOd0NXUD.js → main.y7csLjWq.js} +2 -2
  18. package/dist/assets/{main.yOd0NXUD.js.map → main.y7csLjWq.js.map} +1 -1
  19. package/dist/assets/{reactor-analytics-8R1amkYi.js → reactor-analytics-DDw23exh.js} +4 -4
  20. package/dist/assets/{reactor-analytics-8R1amkYi.js.map → reactor-analytics-DDw23exh.js.map} +1 -1
  21. package/dist/assets/{router-vKaP_Iuh.js → router-D1e0l-Bx.js} +6 -6
  22. package/dist/assets/{router-vKaP_Iuh.js.map → router-D1e0l-Bx.js.map} +1 -1
  23. package/dist/index.html +1 -1
  24. package/dist/vite-envs.sh +1 -1
  25. package/package.json +7 -7
  26. package/dist/assets/app-loader-CBJsoaTy.js.map +0 -1
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-CMvPXKGM.js","assets/main.yOd0NXUD.js","assets/app-b1jkE5Vo.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-0PUokYXm.js","assets/main.y7csLjWq.js","assets/app-b1jkE5Vo.css"])))=>i.map(i=>d[i]);
2
2
  var __defProp = Object.defineProperty;
3
3
  var __typeError = (msg) => {
4
4
  throw TypeError(msg);
@@ -11,7 +11,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
11
11
  var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
12
12
  var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
13
13
  var _tags, _levelString, _errorHandler, _ConsoleLogger_instances, levelValue_get, _getDocumentModelModule, _drives, _ReadModeService_instances, parseGraphQLErrors_fn, fetchDrive_fn, _a, _ServiceWorkerManager_instances, handleServiceWorkerMessage_fn, handleServiceWorker_fn;
14
- import { _ as __vitePreload } from "./main.yOd0NXUD.js";
14
+ import { _ as __vitePreload } from "./main.y7csLjWq.js";
15
15
  import { jsx, jsxs } from "react/jsx-runtime";
16
16
  import { useState, useEffect, Suspense, lazy } from "react";
17
17
  function _mergeNamespaces(n, m) {
@@ -23582,8 +23582,9 @@ class BaseDocumentDriveServer {
23582
23582
  this.stopSyncRemoteDrive(driveId),
23583
23583
  this.listenerManager.removeDrive(driveId),
23584
23584
  this.cache.deleteDrive(driveId),
23585
- this.legacyStorage.deleteDrive(driveId)
23585
+ this.documentStorage.delete(driveId)
23586
23586
  ]);
23587
+ this.eventEmitter.emit("driveDeleted", driveId);
23587
23588
  result.forEach((r) => {
23588
23589
  if (r.status === "rejected") {
23589
23590
  throw r.reason;
@@ -24085,13 +24086,6 @@ class BaseDocumentDriveServer {
24085
24086
  addDriveOperation(driveId, operation, options) {
24086
24087
  return this.addDriveOperations(driveId, [operation], options);
24087
24088
  }
24088
- async clearStorage() {
24089
- var _a2, _b;
24090
- for (const drive of await this.getDrives()) {
24091
- await this.deleteDrive(drive);
24092
- }
24093
- await ((_b = (_a2 = this.legacyStorage).clearStorage) == null ? void 0 : _b.call(_a2));
24094
- }
24095
24089
  async _addDriveOperations(driveId, callback) {
24096
24090
  if (!this.legacyStorage.addDriveOperationsWithTransaction) {
24097
24091
  const documentStorage = await this.documentStorage.get(driveId);
@@ -24442,17 +24436,17 @@ class MemoryStorage {
24442
24436
  delete this.slugToDocumentId[slug];
24443
24437
  }
24444
24438
  }
24445
- let cursor;
24446
- do {
24447
- const { documents, nextCursor } = await this.findByType("powerhouse/document-drive", 100, cursor);
24448
- for (const driveId of documents) {
24449
- if (driveId === documentId) {
24450
- continue;
24451
- }
24452
- await this.removeChild(driveId, documentId);
24439
+ const parents = await this.getParents(documentId);
24440
+ for (const parent of parents) {
24441
+ await this.removeChild(parent, documentId);
24442
+ }
24443
+ const children = await this.getChildren(documentId);
24444
+ for (const child of children) {
24445
+ const childParents = await this.getParents(child);
24446
+ if (childParents.length === 1) {
24447
+ await this.delete(child);
24453
24448
  }
24454
- cursor = nextCursor;
24455
- } while (cursor);
24449
+ }
24456
24450
  delete this.driveManifests[documentId];
24457
24451
  if (this.documents[documentId]) {
24458
24452
  delete this.documents[documentId];
@@ -24485,14 +24479,26 @@ class MemoryStorage {
24485
24479
  const manifest = this.getManifest(parentId);
24486
24480
  return [...manifest.documentIds];
24487
24481
  }
24482
+ async getParents(childId) {
24483
+ const parents = [];
24484
+ for (const [driveId, manifest] of Object.entries(this.driveManifests)) {
24485
+ if (manifest.documentIds.has(childId)) {
24486
+ parents.push(driveId);
24487
+ }
24488
+ }
24489
+ return parents;
24490
+ }
24488
24491
  ////////////////////////////////
24489
- // IDriveStorage
24492
+ // IDocumentAdminStorage
24490
24493
  ////////////////////////////////
24491
- async clearStorage() {
24494
+ async clear() {
24492
24495
  this.documents = {};
24493
24496
  this.driveManifests = {};
24494
24497
  this.slugToDocumentId = {};
24495
24498
  }
24499
+ ////////////////////////////////
24500
+ // IDriveStorage
24501
+ ////////////////////////////////
24496
24502
  async addDocumentOperations(drive, id, operations, header) {
24497
24503
  const document = await this.get(id);
24498
24504
  if (!document) {
@@ -24514,36 +24520,6 @@ class MemoryStorage {
24514
24520
  operations: mergedOperations
24515
24521
  };
24516
24522
  }
24517
- async deleteDrive(id) {
24518
- const manifest = this.getManifest(id);
24519
- let cursor;
24520
- do {
24521
- const { documents: drives, nextCursor } = await this.findByType("powerhouse/document-drive", 100, cursor);
24522
- await Promise.all([...manifest.documentIds].map((docId) => {
24523
- var _a2;
24524
- for (const driveId of drives) {
24525
- if (driveId === id) {
24526
- continue;
24527
- }
24528
- const manifest2 = this.getManifest(driveId);
24529
- if (manifest2.documentIds.has(docId)) {
24530
- return;
24531
- }
24532
- }
24533
- const document = this.documents[docId];
24534
- if (document) {
24535
- const slug = (_a2 = document.initialState.state.global) == null ? void 0 : _a2.slug;
24536
- if (slug && this.slugToDocumentId[slug] === docId) {
24537
- delete this.slugToDocumentId[slug];
24538
- }
24539
- }
24540
- delete this.documents[docId];
24541
- }));
24542
- cursor = nextCursor;
24543
- } while (cursor);
24544
- delete this.driveManifests[id];
24545
- delete this.documents[id];
24546
- }
24547
24523
  async getSynchronizationUnitsRevision(units) {
24548
24524
  const results = await Promise.allSettled(units.map(async (unit) => {
24549
24525
  try {
@@ -26037,7 +26013,7 @@ const nodeOptionsMap = {
26037
26013
  };
26038
26014
  const name = "@powerhousedao/connect";
26039
26015
  const productName = "Powerhouse-Connect";
26040
- const version$1 = "1.0.19-dev.0";
26016
+ const version$1 = "1.0.19-dev.1";
26041
26017
  const description = "Powerhouse Connect";
26042
26018
  const main = "./dist/index.html";
26043
26019
  const type = "module";
@@ -26049,7 +26025,7 @@ const repository = { "type": "git", "url": "git+https://github.com/powerhouse-in
26049
26025
  const bugs = { "url": "https://github.com/powerhouse-inc/document-model-electron/issues" };
26050
26026
  const homepage = "https://github.com/powerhouse-inc/document-model-electron#readme";
26051
26027
  const scripts = { "build:tsc": "tsc --build", "start": "electron-forge start", "package": "electron-forge package", "make": "PH_CONNECT_BASE_HREF=./ electron-forge make", "make:mac": "PH_CONNECT_BASE_HREF=./ electron-forge make -p darwin", "make:linux": "PH_CONNECT_BASE_HREF=./ electron-forge make -p linux", "make:windows": "PH_CONNECT_BASE_HREF=./ electron-forge make -p win32", "publish:electron": "electron-forge publish", "prepublishOnly": "npm run build", "lint": "eslint .", "lint:fix": "eslint --fix .", "lint:nx": "eslint --quiet --fix .", "format": 'prettier --write "**/*.+(js|ts|jsx|tsx|json)"', "dev": "vite -c vite.renderer.config.mts", "dev:nocache": "rm -rf node_modules/.vite && rm -rf node_modules/.cache && npm run dev", "prebuild": "tsc --build --noEmit", "build": "NODE_OPTIONS=--max-old-space-size=6144 vite build -c vite.renderer.config.mts", "preview:web": "vite preview -c vite.renderer.config.mts", "e2e": "playwright test", "cy:open": "cypress open", "build:service-worker": "tsc --build ./tsconfig.sw.json", "clean": "rimraf dist", "clean:node_modules": "rimraf node_modules" };
26052
- const devDependencies = { "@electron-forge/cli": "^6.1.1", "@electron-forge/maker-deb": "^6.1.1", "@electron-forge/maker-rpm": "^6.1.1", "@electron-forge/maker-squirrel": "^6.1.1", "@electron-forge/maker-zip": "^6.1.1", "@electron-forge/plugin-vite": "^6.1.1", "@electron-forge/publisher-electron-release-server": "^6.2.1", "@electron-forge/publisher-github": "^7.2.0", "@electron-forge/shared-types": "^7.7.0", "@playwright/test": "^1.41.2", "@powerhousedao/builder-tools": "workspace:*", "@powerhousedao/common": "workspace:*", "@powerhousedao/config": "workspace:*", "@powerhousedao/design-system": "workspace:*", "@powerhousedao/diff-analyzer": "^0.0.0-dev.3", "@powerhousedao/reactor-browser": "workspace:*", "@powerhousedao/scalars": "workspace:*", "@rollup/plugin-node-resolve": "^15.2.3", "@sentry/browser": "^9.1.0", "@sentry/react": "^7.109.0", "@sentry/vite-plugin": "^2.22.2", "@tailwindcss/vite": "^4.0.9", "@tanstack/react-virtual": "^3.8.1", "@types/node": "^22.13.10", "@types/react": "^18.2.79", "@types/react-dom": "^18.2.18", "@types/uuid": "^9.0.7", "@types/wicg-file-system-access": "^2020.9.6", "@vitejs/plugin-basic-ssl": "^1.2.0", "@vitejs/plugin-react": "^4.2.1", "asar": "^3.2.0", "did-key-creator": "^1.2.0", "document-drive": "workspace:*", "document-model": "workspace:*", "electron": "30.0.0", "electron-is-dev": "^3.0.1", "electron-playwright-helpers": "^1.7.1", "electron-squirrel-startup": "^1.0.0", "electron-store": "^8.1.0", "esbuild": "^0.24.0", "graphql": "^16.8.1", "graphql-request": "^6.1.0", "i18next": "^23.7.6", "jotai": "^2.1.0", "jotai-effect": "^1.1.6", "localforage": "^1.10.0", "lz-string": "^1.5.0", "playwright": "^1.41.2", "playwright-core": "^1.41.2", "react": "^18.2.0", "react-dom": "^18.2.0", "react-error-boundary": "^4.0.11", "react-hotkeys-hook": "^4.5.0", "react-i18next": "^13.5.0", "react-router-dom": "^6.11.2", "tailwind-merge": "^3.0.2", "tailwindcss": "^4.0.9", "uuid": "^9.0.1", "viem": "^2.8.13", "vite": "^6.2.2", "vite-envs": "^4.4.11", "vite-plugin-html": "^3.2.2", "vite-plugin-node-polyfills": "^0.23.0", "vite-plugin-svgr": "^4.2.0", "vite-tsconfig-paths": "^4.3.2", "xvfb-maybe": "^0.2.1" };
26028
+ const devDependencies = { "@electron-forge/cli": "^6.1.1", "@electron-forge/maker-deb": "^6.1.1", "@electron-forge/maker-rpm": "^6.1.1", "@electron-forge/maker-squirrel": "^6.1.1", "@electron-forge/maker-zip": "^6.1.1", "@electron-forge/plugin-vite": "^6.1.1", "@electron-forge/publisher-electron-release-server": "^6.2.1", "@electron-forge/publisher-github": "^7.2.0", "@electron-forge/shared-types": "^7.7.0", "@playwright/test": "^1.41.2", "@powerhousedao/builder-tools": "workspace:*", "@powerhousedao/common": "workspace:*", "@powerhousedao/config": "workspace:*", "@powerhousedao/design-system": "workspace:*", "@powerhousedao/diff-analyzer": "^0.0.0-dev.4", "@powerhousedao/reactor-browser": "workspace:*", "@powerhousedao/scalars": "workspace:*", "@rollup/plugin-node-resolve": "^15.2.3", "@sentry/browser": "^9.1.0", "@sentry/react": "^7.109.0", "@sentry/vite-plugin": "^2.22.2", "@tailwindcss/vite": "^4.0.9", "@tanstack/react-virtual": "^3.8.1", "@types/node": "^22.13.10", "@types/react": "^18.2.79", "@types/react-dom": "^18.2.18", "@types/uuid": "^9.0.7", "@types/wicg-file-system-access": "^2020.9.6", "@vitejs/plugin-basic-ssl": "^1.2.0", "@vitejs/plugin-react": "^4.2.1", "asar": "^3.2.0", "did-key-creator": "^1.2.0", "document-drive": "workspace:*", "document-model": "workspace:*", "electron": "30.0.0", "electron-is-dev": "^3.0.1", "electron-playwright-helpers": "^1.7.1", "electron-squirrel-startup": "^1.0.0", "electron-store": "^8.1.0", "esbuild": "^0.24.0", "graphql": "^16.8.1", "graphql-request": "^6.1.0", "i18next": "^23.7.6", "jotai": "^2.1.0", "jotai-effect": "^1.1.6", "localforage": "^1.10.0", "lz-string": "^1.5.0", "playwright": "^1.41.2", "playwright-core": "^1.41.2", "react": "^18.2.0", "react-dom": "^18.2.0", "react-error-boundary": "^4.0.11", "react-hotkeys-hook": "^4.5.0", "react-i18next": "^13.5.0", "react-router-dom": "^6.11.2", "tailwind-merge": "^3.0.2", "tailwindcss": "^4.0.9", "uuid": "^9.0.1", "viem": "^2.8.13", "vite": "^6.2.2", "vite-envs": "^4.4.11", "vite-plugin-html": "^3.2.2", "vite-plugin-node-polyfills": "^0.23.0", "vite-plugin-svgr": "^4.2.0", "vite-tsconfig-paths": "^4.3.2", "xvfb-maybe": "^0.2.1" };
26053
26029
  const optionalDependencies = { "@esbuild/linux-x64": "^0.21.4", "@rollup/rollup-linux-x64-musl": "4.14.3" };
26054
26030
  const packageJson = {
26055
26031
  name,
@@ -28830,6 +28806,9 @@ const _BrowserStorage = class _BrowserStorage {
28830
28806
  name: namespace ? `${namespace}:${_BrowserStorage.DBName}` : _BrowserStorage.DBName
28831
28807
  }));
28832
28808
  }
28809
+ ////////////////////////////////
28810
+ // IDocumentAdminStorage
28811
+ ////////////////////////////////
28833
28812
  async clear() {
28834
28813
  const db = await this.db;
28835
28814
  await db.clear();
@@ -28944,17 +28923,17 @@ const _BrowserStorage = class _BrowserStorage {
28944
28923
  }
28945
28924
  } catch (error) {
28946
28925
  }
28947
- let cursor;
28948
- do {
28949
- const { documents: drives, nextCursor } = await this.findByType("powerhouse/document-drive", 100, cursor);
28950
- for (const driveId of drives) {
28951
- if (driveId === documentId) {
28952
- continue;
28953
- }
28954
- await this.removeChild(driveId, documentId);
28926
+ const parents = await this.getParents(documentId);
28927
+ for (const parent of parents) {
28928
+ await this.removeChild(parent, documentId);
28929
+ }
28930
+ const children = await this.getChildren(documentId);
28931
+ for (const child of children) {
28932
+ const childParents = await this.getParents(child);
28933
+ if (childParents.length === 1 && childParents[0] === documentId) {
28934
+ await this.delete(child);
28955
28935
  }
28956
- cursor = nextCursor;
28957
- } while (cursor);
28936
+ }
28958
28937
  await db.removeItem(this.buildManifestKey(documentId));
28959
28938
  await db.removeItem(this.buildDocumentKey(documentId));
28960
28939
  return true;
@@ -28987,6 +28966,20 @@ const _BrowserStorage = class _BrowserStorage {
28987
28966
  const manifest = await this.getManifest(parentId);
28988
28967
  return manifest.documentIds;
28989
28968
  }
28969
+ async getParents(childId) {
28970
+ const db = await this.db;
28971
+ const keys = await db.keys();
28972
+ const parents = [];
28973
+ const manifestKeys = keys.filter((key) => key.startsWith(`${_BrowserStorage.MANIFEST_KEY}${_BrowserStorage.SEP}`));
28974
+ for (const key of manifestKeys) {
28975
+ const driveId = key.slice(_BrowserStorage.MANIFEST_KEY.length + _BrowserStorage.SEP.length);
28976
+ const manifest = await this.getManifest(driveId);
28977
+ if (manifest.documentIds.includes(childId)) {
28978
+ parents.push(driveId);
28979
+ }
28980
+ }
28981
+ return parents;
28982
+ }
28990
28983
  ////////////////////////////////
28991
28984
  // IDriveStorage
28992
28985
  ////////////////////////////////
@@ -29008,9 +29001,6 @@ const _BrowserStorage = class _BrowserStorage {
29008
29001
  const db = await this.db;
29009
29002
  await db.setItem(_BrowserStorage.SLUG_MANIFEST_KEY, manifest);
29010
29003
  }
29011
- async clearStorage() {
29012
- return (await this.db).clear();
29013
- }
29014
29004
  async addDocumentOperations(drive, id, operations, header) {
29015
29005
  const document = await this.get(id);
29016
29006
  if (!document) {
@@ -29024,13 +29014,6 @@ const _BrowserStorage = class _BrowserStorage {
29024
29014
  operations: mergedOperations
29025
29015
  });
29026
29016
  }
29027
- async deleteDrive(id) {
29028
- const documents = await this.getChildren(id);
29029
- await Promise.all(documents.map((doc) => this.delete(doc)));
29030
- const db = await this.db;
29031
- await db.removeItem(this.buildManifestKey(id));
29032
- return db.removeItem(this.buildDocumentKey(id));
29033
- }
29034
29017
  async addDriveOperations(id, operations, header) {
29035
29018
  const drive = await this.get(id);
29036
29019
  const mergedOperations = mergeOperations(drive.operations, operations);
@@ -29154,8 +29137,11 @@ const getReactorDefaultDrivesConfig = () => {
29154
29137
  }
29155
29138
  };
29156
29139
  };
29157
- function createBrowserDocumentDriveServer(documentModels, routerBasename) {
29158
- return new ReactorBuilder(documentModels).withStorage(new BrowserStorage(routerBasename)).withCache(new InMemoryCache()).withQueueManager(new BaseQueueManager(1, 10)).withOptions({ ...getReactorDefaultDrivesConfig() }).build();
29140
+ function createBrowserStorage(routerBasename) {
29141
+ return new BrowserStorage(routerBasename);
29142
+ }
29143
+ function createBrowserDocumentDriveServer(documentModels, storage) {
29144
+ return new ReactorBuilder(documentModels).withStorage(storage).withCache(new InMemoryCache()).withQueueManager(new BaseQueueManager(1, 10)).withOptions({ ...getReactorDefaultDrivesConfig() }).build();
29159
29145
  }
29160
29146
  const VERSION_CHECK_INTERVAL = parseInt(window.__VITE_ENVS.PH_CONNECT_VERSION_CHECK_INTERVAL) || 60 * 60 * 1e3;
29161
29147
  const basePath = connectConfig.routerBasename;
@@ -31714,7 +31700,7 @@ if (window.__VITE_ENVS.MODE === "development") {
31714
31700
  } else {
31715
31701
  serviceWorkerManager.registerServiceWorker(false);
31716
31702
  }
31717
- const App = lazy(() => __vitePreload(() => import("./app-CMvPXKGM.js").then((n) => n.bG), true ? __vite__mapDeps([0,1,2]) : void 0));
31703
+ const App = lazy(() => __vitePreload(() => import("./app-0PUokYXm.js").then((n) => n.bG), true ? __vite__mapDeps([0,1,2]) : void 0));
31718
31704
  const AppLoader = /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(App, {}) });
31719
31705
  const appLoader = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31720
31706
  __proto__: null,
@@ -31750,7 +31736,7 @@ export {
31750
31736
  pascalCase as Z,
31751
31737
  logger$1 as _,
31752
31738
  createReducer as a,
31753
- getNamedType as a$,
31739
+ GraphQLError as a$,
31754
31740
  getDefaultExportFromCjs as a0,
31755
31741
  LOCAL as a1,
31756
31742
  commonjsGlobal as a2,
@@ -31761,33 +31747,33 @@ export {
31761
31747
  objectType as a7,
31762
31748
  recordType as a8,
31763
31749
  stringType as a9,
31764
- FILE as aA,
31765
- moveNode as aB,
31766
- generateNodesCopy as aC,
31767
- copyNode as aD,
31768
- createState as aE,
31769
- setDriveName as aF,
31770
- setAvailableOffline as aG,
31771
- setSharingType as aH,
31772
- SynchronizationUnitNotFoundError as aI,
31773
- removeTrigger as aJ,
31774
- generateUUID as aK,
31775
- PullResponderTransmitter as aL,
31776
- addTrigger as aM,
31777
- ReadDriveNotFoundError as aN,
31778
- openUrl as aO,
31779
- getNodeOptions as aP,
31780
- DRIVE as aQ,
31781
- FOLDER as aR,
31782
- requestPublicDrive as aS,
31783
- serviceWorkerManager as aT,
31784
- packageJson as aU,
31785
- t as aV,
31786
- generateId as aW,
31787
- gql as aX,
31788
- request as aY,
31789
- inspect as aZ,
31790
- GraphQLError as a_,
31750
+ updateNode as aA,
31751
+ FILE as aB,
31752
+ moveNode as aC,
31753
+ generateNodesCopy as aD,
31754
+ copyNode as aE,
31755
+ createState as aF,
31756
+ setDriveName as aG,
31757
+ setAvailableOffline as aH,
31758
+ setSharingType as aI,
31759
+ SynchronizationUnitNotFoundError as aJ,
31760
+ removeTrigger as aK,
31761
+ generateUUID as aL,
31762
+ PullResponderTransmitter as aM,
31763
+ addTrigger as aN,
31764
+ ReadDriveNotFoundError as aO,
31765
+ openUrl as aP,
31766
+ getNodeOptions as aQ,
31767
+ DRIVE as aR,
31768
+ FOLDER as aS,
31769
+ requestPublicDrive as aT,
31770
+ serviceWorkerManager as aU,
31771
+ packageJson as aV,
31772
+ t as aW,
31773
+ generateId as aX,
31774
+ gql as aY,
31775
+ request as aZ,
31776
+ inspect as a_,
31791
31777
  capitalCase as aa,
31792
31778
  CLOUD as ab,
31793
31779
  createZip as ac,
@@ -31801,97 +31787,98 @@ export {
31801
31787
  process as ak,
31802
31788
  setErrorHandler as al,
31803
31789
  driveDocumentModelModule as am,
31804
- createBrowserDocumentDriveServer as an,
31805
- hashKey as ao,
31806
- childLogger as ap,
31807
- reducer as aq,
31808
- isDocumentDrive as ar,
31809
- generateAddNodeAction as as,
31810
- isFileNode as at,
31811
- uploadDocumentOperations as au,
31812
- updateFile as av,
31813
- addFolder as aw,
31814
- isFolderNode as ax,
31815
- deleteNode as ay,
31816
- updateNode as az,
31790
+ createBrowserStorage as an,
31791
+ createBrowserDocumentDriveServer as ao,
31792
+ hashKey as ap,
31793
+ childLogger as aq,
31794
+ reducer as ar,
31795
+ isDocumentDrive as as,
31796
+ generateAddNodeAction as at,
31797
+ isFileNode as au,
31798
+ uploadDocumentOperations as av,
31799
+ updateFile as aw,
31800
+ addFolder as ax,
31801
+ isFolderNode as ay,
31802
+ deleteNode as az,
31817
31803
  SetStateSchemaInputSchema as b,
31818
- defaultFileOptions as b$,
31819
- invariant as b0,
31820
- isInputObjectType as b1,
31821
- isScalarType as b2,
31822
- isObjectType as b3,
31823
- isInterfaceType as b4,
31824
- isUnionType as b5,
31825
- isEnumType as b6,
31826
- print as b7,
31827
- isPrintableAsBlockString as b8,
31828
- Kind as b9,
31829
- isOutputType as bA,
31830
- isInputType as bB,
31831
- GraphQLBoolean as bC,
31832
- assertAbstractType as bD,
31833
- doTypesOverlap as bE,
31834
- DirectiveLocation as bF,
31835
- specifiedRules as bG,
31836
- NoUnusedFragmentsRule as bH,
31837
- ExecutableDefinitionsRule as bI,
31838
- validate as bJ,
31839
- validateSchema as bK,
31840
- GraphQLID as bL,
31841
- GraphQLString as bM,
31842
- GraphQLFloat as bN,
31843
- GraphQLInt as bO,
31844
- GraphQLDirective as bP,
31845
- GraphQLUnionType as bQ,
31846
- isNonNullType as bR,
31847
- GraphQLNonNull as bS,
31848
- isNamedType as bT,
31849
- isLeafType as bU,
31850
- GraphQLSchema as bV,
31851
- buildSchema as bW,
31852
- sentenceCase as bX,
31853
- getDimensions as bY,
31854
- READ as bZ,
31855
- nodeOptionsMap as b_,
31856
- astFromValue as ba,
31857
- DEFAULT_DEPRECATION_REASON as bb,
31858
- isSpecifiedDirective as bc,
31859
- isSpecifiedScalarType as bd,
31860
- isIntrospectionType as be,
31861
- z as bf,
31862
- GraphQLScalarType as bg,
31863
- parse as bh,
31864
- visit as bi,
31865
- buildASTSchema as bj,
31866
- extendSchema as bk,
31867
- getNullableType as bl,
31868
- isListType as bm,
31869
- snakeCase as bn,
31870
- constantCase as bo,
31871
- isAbstractType as bp,
31872
- BREAK as bq,
31873
- GraphQLInputObjectType as br,
31874
- GraphQLList as bs,
31875
- GraphQLEnumType as bt,
31876
- GraphQLObjectType as bu,
31877
- GraphQLInterfaceType as bv,
31878
- SchemaMetaFieldDef as bw,
31879
- TypeMetaFieldDef as bx,
31880
- TypeNameMetaFieldDef as by,
31881
- isCompositeType as bz,
31804
+ nodeOptionsMap as b$,
31805
+ getNamedType as b0,
31806
+ invariant as b1,
31807
+ isInputObjectType as b2,
31808
+ isScalarType as b3,
31809
+ isObjectType as b4,
31810
+ isInterfaceType as b5,
31811
+ isUnionType as b6,
31812
+ isEnumType as b7,
31813
+ print as b8,
31814
+ isPrintableAsBlockString as b9,
31815
+ isCompositeType as bA,
31816
+ isOutputType as bB,
31817
+ isInputType as bC,
31818
+ GraphQLBoolean as bD,
31819
+ assertAbstractType as bE,
31820
+ doTypesOverlap as bF,
31821
+ DirectiveLocation as bG,
31822
+ specifiedRules as bH,
31823
+ NoUnusedFragmentsRule as bI,
31824
+ ExecutableDefinitionsRule as bJ,
31825
+ validate as bK,
31826
+ validateSchema as bL,
31827
+ GraphQLID as bM,
31828
+ GraphQLString as bN,
31829
+ GraphQLFloat as bO,
31830
+ GraphQLInt as bP,
31831
+ GraphQLDirective as bQ,
31832
+ GraphQLUnionType as bR,
31833
+ isNonNullType as bS,
31834
+ GraphQLNonNull as bT,
31835
+ isNamedType as bU,
31836
+ isLeafType as bV,
31837
+ GraphQLSchema as bW,
31838
+ buildSchema as bX,
31839
+ sentenceCase as bY,
31840
+ getDimensions as bZ,
31841
+ READ as b_,
31842
+ Kind as ba,
31843
+ astFromValue as bb,
31844
+ DEFAULT_DEPRECATION_REASON as bc,
31845
+ isSpecifiedDirective as bd,
31846
+ isSpecifiedScalarType as be,
31847
+ isIntrospectionType as bf,
31848
+ z as bg,
31849
+ GraphQLScalarType as bh,
31850
+ parse as bi,
31851
+ visit as bj,
31852
+ buildASTSchema as bk,
31853
+ extendSchema as bl,
31854
+ getNullableType as bm,
31855
+ isListType as bn,
31856
+ snakeCase as bo,
31857
+ constantCase as bp,
31858
+ isAbstractType as bq,
31859
+ BREAK as br,
31860
+ GraphQLInputObjectType as bs,
31861
+ GraphQLList as bt,
31862
+ GraphQLEnumType as bu,
31863
+ GraphQLObjectType as bv,
31864
+ GraphQLInterfaceType as bw,
31865
+ SchemaMetaFieldDef as bx,
31866
+ TypeMetaFieldDef as by,
31867
+ TypeNameMetaFieldDef as bz,
31882
31868
  createAction as c,
31883
- DELETE as c0,
31884
- RENAME as c1,
31885
- WRITE as c2,
31886
- DUPLICATE as c3,
31887
- defaultFolderOptions as c4,
31888
- garbageCollect as c5,
31889
- sortOperations as c6,
31890
- UI_NODE as c7,
31891
- undo as c8,
31892
- redo as c9,
31893
- useDocumentDispatch as ca,
31894
- appLoader as cb,
31869
+ defaultFileOptions as c0,
31870
+ DELETE as c1,
31871
+ RENAME as c2,
31872
+ WRITE as c3,
31873
+ DUPLICATE as c4,
31874
+ defaultFolderOptions as c5,
31875
+ garbageCollect as c6,
31876
+ sortOperations as c7,
31877
+ UI_NODE as c8,
31878
+ undo as c9,
31879
+ redo as ca,
31880
+ useDocumentDispatch as cb,
31881
+ appLoader as cc,
31895
31882
  ReorderModuleOperationsInputSchema as d,
31896
31883
  DeleteOperationInputSchema as e,
31897
31884
  SetOperationReducerInputSchema as f,
@@ -31916,4 +31903,4 @@ export {
31916
31903
  ReorderModulesInputSchema as y,
31917
31904
  DeleteModuleInputSchema as z
31918
31905
  };
31919
- //# sourceMappingURL=app-loader-CBJsoaTy.js.map
31906
+ //# sourceMappingURL=app-loader-CVII2DYj.js.map