@powerhousedao/shared 6.2.3-dev.33 → 6.2.3-dev.35
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/clis/args/index.d.mts +1 -1
- package/dist/clis/args/{service-BBx5GDTc.d.mts → service-CHjY5epu.d.mts} +3 -3
- package/dist/clis/args/{service-BBx5GDTc.d.mts.map → service-CHjY5epu.d.mts.map} +1 -1
- package/dist/clis/args/service.d.mts +1 -1
- package/dist/clis/build-pieces.d.mts +1 -1
- package/dist/clis/constants.d.mts +1 -1
- package/dist/clis/index.d.mts +3 -2
- package/dist/clis/index.d.mts.map +1 -1
- package/dist/clis/index.mjs +5 -2
- package/dist/clis/index.mjs.map +1 -1
- package/dist/clis/{types-nzer4WIr.d.mts → types-DM26OWlT.d.mts} +2 -2
- package/dist/clis/{types-nzer4WIr.d.mts.map → types-DM26OWlT.d.mts.map} +1 -1
- package/dist/{config-loader-C6dZB_iX.js → config-loader-CXhzL512.js} +7 -2
- package/dist/{config-loader-C6dZB_iX.js.map → config-loader-CXhzL512.js.map} +1 -1
- package/dist/connect/config-loader.d.ts +2 -1
- package/dist/connect/config-loader.d.ts.map +1 -1
- package/dist/connect/config-loader.js +2 -2
- package/dist/connect/index.d.ts +3 -3
- package/dist/connect/index.js +2 -2
- package/dist/document-drive/index.d.ts +3 -4
- package/dist/document-drive/index.d.ts.map +1 -1
- package/dist/document-model/index.d.ts +2 -3
- package/dist/document-model/index.js +7 -322
- package/dist/document-model/index.js.map +1 -1
- package/dist/{index-5gwOhPG5.d.ts → index-DdXp-CVw.d.ts} +2 -2
- package/dist/{index-5gwOhPG5.d.ts.map → index-DdXp-CVw.d.ts.map} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/processors/index.d.ts +2 -2
- package/dist/processors/index.js +58 -3
- package/dist/processors/index.js.map +1 -1
- package/dist/purge-v06m_oGz.js +381 -0
- package/dist/purge-v06m_oGz.js.map +1 -0
- package/dist/registry/index.d.ts +3 -3
- package/dist/registry/index.js +10 -1
- package/dist/registry/index.js.map +1 -1
- package/dist/registry/manifest-slim.d.ts +2 -2
- package/dist/{types-CI3ren9F.d.ts → types-B11NGQOQ.d.ts} +20 -12
- package/dist/types-B11NGQOQ.d.ts.map +1 -0
- package/dist/{types-CmeoQg_J.d.ts → types-CFbd2nan.d.ts} +1489 -468
- package/dist/types-CFbd2nan.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/index-D6833Siv.d.ts +0 -939
- package/dist/index-D6833Siv.d.ts.map +0 -1
- package/dist/types-CI3ren9F.d.ts.map +0 -1
- package/dist/types-CmeoQg_J.d.ts.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "mutative";
|
|
2
|
-
import "luxon";
|
|
3
2
|
import { z } from "zod";
|
|
4
3
|
import "cmd-ts/dist/cjs/argparser.js";
|
|
5
4
|
import "package-manager-detector";
|
|
5
|
+
import "luxon";
|
|
6
6
|
import "kysely";
|
|
7
7
|
//#region clis/constants.d.ts
|
|
8
8
|
declare const SERVICE_ACTIONS: readonly ["start", "stop", "status", "setup", "restart"];
|
|
@@ -538,4 +538,4 @@ type Manifest = z.infer<typeof ManifestSchema>;
|
|
|
538
538
|
//#endregion
|
|
539
539
|
export { PIECES_FRAMEWORK_PACKAGE as A, VERSIONED_DEPENDENCIES as B, LEGACY_LINT_FORMAT_FILES as C, PH_BIN as D, PEER_EXTERNAL_DEPENDENCIES as E, PROJECT_PORT_BAND_SWITCHBOARD as F, externalDevDependencies as G, VERSIONED_PEER_DEPENDENCIES as H, PROJECT_PORT_BAND_VETRA_CONNECT as I, packageJsonExports as K, REACTOR_API_PACKAGE as L, POWERHOUSE_GLOBAL_DIR as M, PROJECT_PORT_BAND_SIZE as N, PH_GLOBAL_DIR_NAME as O, PROJECT_PORT_BAND_STUDIO as P, SECONDS_IN_DAY as R, LEGACY_LINT_FORMAT_DEPENDENCIES as S, MINIMUM_NODE_VERSION as T, defaultManifest as U, VERSIONED_DEV_DEPENDENCIES as V, externalDependencies as W, DRIVES_PRESERVE_STRATEGIES as _, DEFAULT_CONFIG as a, GRAPHQL_TAG_PACKAGE as b, DEFAULT_CONNECT_STUDIO_PORT as c, DEFAULT_REGISTRY_URL as d, DEFAULT_RENOWN_URL as f, DEFAULT_VETRA_DRIVE_ID as g, DEFAULT_VETRA_CONNECT_PORT as h, BOILERPLATE_DEPENDENCY_OVERRIDES as i, POWERHOUSE_CONFIG_FILE as j, PH_GLOBAL_PROJECT_NAME as k, DEFAULT_EXPIRY_DAYS as l, DEFAULT_TIMEOUT as m, ANALYTICS_ENGINE_CORE_PACKAGE as n, DEFAULT_CONNECT_OUTDIR as o, DEFAULT_SWITCHBOARD_PORT as p, packageScripts as q, BOILERPLATE_ALLOWED_BUILDS as r, DEFAULT_CONNECT_PREVIEW_PORT as s, Manifest as t, DEFAULT_EXPIRY_SECONDS as u, FEATURE_DEPENDENCIES as v, LOG_LEVELS as w, HOME_DIR as x, GRAPHQL_PACKAGE as y, SERVICE_ACTIONS as z };
|
|
540
540
|
export {};
|
|
541
|
-
//# sourceMappingURL=types-
|
|
541
|
+
//# sourceMappingURL=types-DM26OWlT.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-
|
|
1
|
+
{"version":3,"file":"types-DM26OWlT.d.mts","names":[],"sources":["../../clis/constants.ts","../../clis/types.ts","../../document-model/schemas.ts","../../document-model/types.ts"],"mappings":";;;;;;;cAKa;cAQA;cACA;cACA;cAEA;cAKA;cAQA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAqBA;cACA;cACA;cACA;cAEA;cAEA;cACA;cACA;cACA;cAEA;cAEA;cAEA;cAGA;cAOA;cACA;cAEA;cACA;cACA;cAQA;;aACU;aAAa;;;aACT;aAAY;;;aAC5B;aAAa;;;aACP;aAAa;;;aACrB;aAAY;;;cAKR;;aAET;aACA;aACA;;;aAKA;aACA;aACA;;;cAWS;cAUA;cAiBA;WACC;WACN;WACI;;cAGC;cAQA;WACX;aACE;aACA;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;aACA;;WAEF;aACE;aACA;aACA;;WAEF;aACE;aACA;aACA;;WAEF;aACE;aACA;aACA;;WAEF;aACE;aACA;aACA;;WAEF;aACE;aACA;aACA;;WAKF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;WACA;;cAGW;WACX;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WAEA;;cAIW;cAIA;cAcA;cAwBA;WACX;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;cAGW,iBAAiB;cAuBjB,gBAAgB;;;KCxUjB,iCAAiC;KACjC,wBAAwB;KACxB,mBAAmB;KACnB,WAAW;KAOX;KAGA;EACV;EACA;EACA,WAAW;EACX;;KAGU;EACV;EACA;;KAGU;EACV;EACA;EACA;;KAGU;;EAEV;;EAEA;EACA;EACA;;EAEA;;KAGU,wBACR,8BACA;KAEQ;EACV;EACA;EACA;;KAGU;EACV,SAAS;EACT,QAAQ;;KAGE;EACV;EACA,gBAAgB;EAChB,mBAAmB;EACnB,WAAW;;KAGD;EACV;EACA;EACA;EAGA;EAKA;;KAGU;;EAEV;;KAGU;EACV;;EAEA;;KAGU;;EAEV;;EAEA;;KAGU;;EAEV;;EAEA;;EAEA;;KAGU;EACV,UAAU;EACV,QAAQ;;KAGE;EACV;EACA;EACA;;EAEA;;EAEA;;EAEA,WAAW;;KAGD;;EAEV;;EAEA;;EAEA;;KAGU;;EAEV;;EAEA;;EAEA;;EAEA;;KAGU;EACV;EACA;;;;KAKU;;EAEV;;EAEA;;EAEA;;EAEA;;KAGU;EACV,eAAe;;EAEf;;EAEA;;;;;;;;;;KAWU;EAEN;EAAgB;;KAEV;;KAQA;EACV,YAAY;EACZ,SAAS;EACT;EACA;IACE;;;IAGA;IACA;MAAe;MAAqB;;IACpC;MACE;MACA,UAAU;;;;KAKJ;EACV;EACA;EACA;EACA;;;;;;;;;KAUU;;EAEV,QAAQ;;EAER,QAAQ;EACR;;;KAIU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ;;EAER,gBAAgB;;EAEhB;IACE;;;;;EASF;;;;;;;;;;;;KAaU;EACV,WAAW;;EAEX;;EAEA;;EAEA;;EAEA,iBAAiB;;EAEjB,2BAA2B;;KAGjB;EACV,WAAW;EACX,MAAM;EACN,KAAK;EACL,WAAW;EACX,SAAS;EACT,SAAS;EACT,SAAS;EACT,YAAY;EACZ,WAAW;EACX,UAAU;EACV,MAAM;;;KAII;;;EAGV;;EAEA;;EAEA;;KAGU;EAEV,UAAU;EACV;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;IACE;IACA;MAIM;MACA;;IAEN;MACE;MACA;MACA;;;EAGJ;IACE;IACA;IACA,SAAS;;EAEX;IACE;MACE;;IAEF;;EAEF;IACE;IACA;IACA;IACA;;EAEF,WAAW;EACX;IACE;IACA;IACA;;EAIF;IACE;;EAEF;EACA,UAAU;;;;cC6eC,gBAAc,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiBzB,EAAA,KAAA;;;KC+0BU,WAAW,EAAE,aAAa"}
|
|
@@ -104,6 +104,11 @@ function deepMerge(base, patch) {
|
|
|
104
104
|
function resolveSourceConnect(source, defaults = DEFAULT_CONNECT_CONFIG) {
|
|
105
105
|
return deepMerge(deepMerge(defaults, { app: { workflowsEnabled: source.workflows?.enabled } }), source.connect ?? {});
|
|
106
106
|
}
|
|
107
|
+
function workflowsSettingConflict(source) {
|
|
108
|
+
if (source.workflows?.enabled !== true) return void 0;
|
|
109
|
+
if (source.connect?.app?.workflowsEnabled !== false) return void 0;
|
|
110
|
+
return "powerhouse.config.json sets workflows.enabled but also connect.app.workflowsEnabled: false, so Workflow Studio stays off in Connect. Remove \"workflowsEnabled\" from connect.app to follow workflows.enabled.";
|
|
111
|
+
}
|
|
107
112
|
/**
|
|
108
113
|
* Pluggable loader on top of a `ConfigAdapter`.
|
|
109
114
|
*
|
|
@@ -162,6 +167,6 @@ var ConfigLoader = class {
|
|
|
162
167
|
}
|
|
163
168
|
};
|
|
164
169
|
//#endregion
|
|
165
|
-
export {
|
|
170
|
+
export { DEFAULT_CONNECT_CONFIG as a, workflowsSettingConflict as i, deepMerge as n, buildRuntimeConfig as o, resolveSourceConnect as r, ConfigLoader as t };
|
|
166
171
|
|
|
167
|
-
//# sourceMappingURL=config-loader-
|
|
172
|
+
//# sourceMappingURL=config-loader-CXhzL512.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-loader-C6dZB_iX.js","names":[],"sources":["../connect/runtime-config.ts","../connect/config-loader.ts"],"sourcesContent":["import type {\n PHConnectRuntimeConfig,\n PowerhouseConfig,\n PowerhousePackage,\n} from \"../clis/types.js\";\n\nexport type RuntimePowerhouseConfig = {\n schemaVersion: 2;\n packages: PowerhousePackage[];\n packageRegistryUrl?: string;\n localPackage: { name: string; version: string } | null;\n connect: PHConnectRuntimeConfig;\n};\n\n/** Defaults for every field Connect reads at runtime, merged into the\n * `connect.*` block at boot; also the dist emitter's and the scaffold's base. */\nexport const DEFAULT_CONNECT_CONFIG: PHConnectRuntimeConfig = {\n branding: {\n appName: \"Powerhouse Connect\",\n homeBackground: null,\n },\n app: {\n logLevel: \"info\",\n basePath: \"/\",\n offline: true,\n studioMode: false,\n },\n ai: {\n assistantEnabled: false,\n },\n packages: {\n externalEnabled: true,\n liveReload: false,\n },\n drives: {\n allowAddDrive: true,\n defaultDrives: [],\n sections: {\n remote: { enabled: true, allowAdd: true, allowDelete: true },\n local: { enabled: true, allowAdd: true, allowDelete: true },\n },\n },\n renown: {\n url: \"https://www.renown.id\",\n networkId: \"eip155\",\n chainId: 1,\n },\n sentry: {\n // `dsn: null` is the disabled-Sentry state — the SPA never loads the\n // Sentry SDK chunk. Override via `ph connect config --sentry-dsn ...`\n // or by including `connect.sentry.dsn` in PH_CONNECT_CONFIG_JSON.\n dsn: null,\n env: \"dev\",\n tracing: false,\n },\n openPanel: {\n // An empty `clientId` keeps OpenPanel disabled. Enable it per deploy by\n // including `connect.openPanel.clientId` in PH_CONNECT_CONFIG_JSON.\n // `apiUrl` has no default: unset means OpenPanel's hosted API.\n clientId: \"\",\n trackUiEvents: true,\n trackOperations: true,\n },\n instance: {\n namespace: null,\n reactorWorker: false,\n },\n reactor: {\n featureFlags: {\n documentDecisions: false,\n authEnforcement: false,\n authGroups: false,\n authConditions: false,\n },\n createSignaturePolicy: \"v2-required\",\n unsupportedStoredDocuments: \"refuse\",\n },\n};\n\nexport function buildRuntimeConfig(\n source: Pick<PowerhouseConfig, \"packages\" | \"connect\" | \"packageRegistryUrl\">,\n projectInfo: { name: string; version: string } | null,\n): RuntimePowerhouseConfig {\n const result: RuntimePowerhouseConfig = {\n schemaVersion: 2,\n packages: source.packages ?? [],\n localPackage: projectInfo,\n connect: source.connect ?? {},\n };\n if (\n typeof source.packageRegistryUrl === \"string\" &&\n source.packageRegistryUrl !== \"\"\n ) {\n result.packageRegistryUrl = source.packageRegistryUrl;\n }\n return result;\n}\n","// Environment-neutral config loader. Wraps a `ConfigAdapter` (the IO layer)\n// with in-process caching and deep-merge-with-defaults reads.\n//\n// No validation. The loader trusts that whatever bytes the adapter returns\n// can be merged into the default Connect config; missing or partial fields\n// fall back to DEFAULT_CONNECT_CONFIG, so the SPA always sees a complete\n// `connect.*` block.\n//\n// Top-level fields outside `connect.*` (e.g. `studio.port` in the source\n// powerhouse.config.json) pass through untouched on both read and write.\n// They're not Connect's concern, but a write-back round-trip preserves\n// them so editing tools don't accidentally drop them.\n\nimport { isPlainObject } from \"remeda\";\nimport type {\n PHConnectRuntimeConfig,\n PowerhouseConfig,\n} from \"../clis/types.js\";\nimport { DEFAULT_CONNECT_CONFIG } from \"./runtime-config.js\";\n\n/** Recursive Partial. Arrays are leaves — `write({ packages: [...] })`\n * replaces the array, it doesn't merge. */\nexport type DeepPartial<T> =\n T extends Array<infer U>\n ? Array<U>\n : T extends object\n ? { [K in keyof T]?: DeepPartial<T[K]> }\n : T;\n\n/**\n * Shape returned by `ConfigLoader.read()`. The loader is Connect-scoped:\n * it guarantees `connect` is present and fully populated from\n * DEFAULT_CONNECT_CONFIG, but lets any other top-level fields pass\n * through unchanged so source-config-only fields (studio, reactor, auth,\n * documentModelsDir, etc.) survive a read+write round-trip.\n */\nexport type ConfigShape = Record<string, unknown> & {\n connect: PHConnectRuntimeConfig;\n};\n\n/**\n * Abstract IO layer for `powerhouse.config.json`.\n *\n * Implementations decide where bytes come from and go to. The shipped\n * adapter is `JsonConfigAdapter` (reads via fetch in the browser, fs in\n * Node; writes via fs in Node, throws in the browser). Future adapters\n * (remote-JSON, GraphQL) plug in without changing the loader or any\n * consumer.\n */\nexport interface ConfigAdapter {\n /** Read raw JSON-parsed payload from the backing store. */\n read(): Promise<unknown>;\n /** Persist a fully-formed config. */\n write(next: ConfigShape): Promise<void>;\n /** Human-readable description used in errors and logs. */\n readonly source: string;\n}\n\n/**\n * Deep-merge `patch` into `base`. Object fields recurse; arrays and\n * primitives replace. `undefined` in patch leaves the base value\n * untouched (no unset). `null` in patch overwrites with null.\n *\n * Exported for unit tests; consumers use ConfigLoader.write() which\n * applies this internally.\n */\nexport function deepMerge<T>(base: T, patch: DeepPartial<T>): T {\n if (!isPlainObject(base) || !isPlainObject(patch)) {\n return patch as T;\n }\n const result: Record<string, unknown> = { ...base };\n for (const [key, patchValue] of Object.entries(patch)) {\n if (patchValue === undefined) continue;\n const baseValue = result[key];\n if (isPlainObject(baseValue) && isPlainObject(patchValue)) {\n result[key] = deepMerge(\n baseValue,\n patchValue as DeepPartial<typeof baseValue>,\n );\n } else {\n result[key] = patchValue;\n }\n }\n return result as T;\n}\n\n/**\n * The effective `connect.*` block of a source `powerhouse.config.json`:\n * defaults < project-wide settings Connect follows < `connect.*`. So\n * `connect.app.workflowsEnabled` falls back to `workflows.enabled`, and\n * wins when set.\n */\nexport function resolveSourceConnect(\n source: Pick<PowerhouseConfig, \"connect\" | \"workflows\">,\n defaults: PHConnectRuntimeConfig = DEFAULT_CONNECT_CONFIG,\n): PHConnectRuntimeConfig {\n const projectWide = deepMerge(defaults, {\n app: { workflowsEnabled: source.workflows?.enabled },\n });\n return deepMerge(projectWide, source.connect ?? {});\n}\n\n/**\n * Pluggable loader on top of a `ConfigAdapter`.\n *\n * Responsibilities:\n * - merge-with-defaults on read (so consumers never see a partial connect block)\n * - in-process caching (call `invalidate()` to force re-read)\n * - deep-merge for partial writes; writes the merged whole back through the adapter\n *\n * The cache is module-instance scoped — every `new ConfigLoader(...)` has\n * its own cache. The browser SPA constructs the loader once at boot; the\n * CLI typically constructs a fresh loader per command.\n */\nexport class ConfigLoader {\n private cache: ConfigShape | undefined;\n\n constructor(\n private readonly adapter: ConfigAdapter,\n private readonly defaults: PHConnectRuntimeConfig = DEFAULT_CONNECT_CONFIG,\n ) {}\n\n /** Returns the config with the default connect block merged in.\n * Cached after the first successful call. */\n async read(): Promise<ConfigShape> {\n if (this.cache) return this.cache;\n const raw = await this.adapter.read();\n const obj = isPlainObject(raw) ? raw : {};\n const connectRaw = isPlainObject(obj.connect) ? obj.connect : {};\n this.cache = {\n ...obj,\n connect: deepMerge(\n this.defaults,\n connectRaw as DeepPartial<PHConnectRuntimeConfig>,\n ),\n };\n return this.cache;\n }\n\n /**\n * Returns the cached config synchronously. Throws if `read()` has not\n * resolved yet — matches Connect's `getRuntimeConfig()` shape.\n */\n getCached(): ConfigShape {\n if (!this.cache) {\n throw new Error(\n `ConfigLoader (${this.adapter.source}): cache empty; call read() first.`,\n );\n }\n return this.cache;\n }\n\n /** Drop the in-memory cache. Next `read()` re-fetches from the adapter. */\n invalidate(): void {\n this.cache = undefined;\n }\n\n /**\n * Deep-merge `patch` into the current config and persist via the adapter.\n * Returns the new full config (also updates the cache). Arrays in `patch`\n * replace — they do NOT append.\n */\n async write(patch: DeepPartial<ConfigShape>): Promise<ConfigShape> {\n const current = await this.read();\n const next = deepMerge(current, patch);\n await this.adapter.write(next);\n this.cache = next;\n return next;\n }\n}\n"],"mappings":";;;;AAgBA,MAAa,yBAAiD;CAC5D,UAAU;EACR,SAAS;EACT,gBAAgB;CAClB;CACA,KAAK;EACH,UAAU;EACV,UAAU;EACV,SAAS;EACT,YAAY;CACd;CACA,IAAI,EACF,kBAAkB,MACpB;CACA,UAAU;EACR,iBAAiB;EACjB,YAAY;CACd;CACA,QAAQ;EACN,eAAe;EACf,eAAe,CAAC;EAChB,UAAU;GACR,QAAQ;IAAE,SAAS;IAAM,UAAU;IAAM,aAAa;GAAK;GAC3D,OAAO;IAAE,SAAS;IAAM,UAAU;IAAM,aAAa;GAAK;EAC5D;CACF;CACA,QAAQ;EACN,KAAK;EACL,WAAW;EACX,SAAS;CACX;CACA,QAAQ;EAIN,KAAK;EACL,KAAK;EACL,SAAS;CACX;CACA,WAAW;EAIT,UAAU;EACV,eAAe;EACf,iBAAiB;CACnB;CACA,UAAU;EACR,WAAW;EACX,eAAe;CACjB;CACA,SAAS;EACP,cAAc;GACZ,mBAAmB;GACnB,iBAAiB;GACjB,YAAY;GACZ,gBAAgB;EAClB;EACA,uBAAuB;EACvB,4BAA4B;CAC9B;AACF;AAEA,SAAgB,mBACd,QACA,aACyB;CACzB,MAAM,SAAkC;EACtC,eAAe;EACf,UAAU,OAAO,YAAY,CAAC;EAC9B,cAAc;EACd,SAAS,OAAO,WAAW,CAAC;CAC9B;CACA,IACE,OAAO,OAAO,uBAAuB,YACrC,OAAO,uBAAuB,IAE9B,OAAO,qBAAqB,OAAO;CAErC,OAAO;AACT;;;;;;;;;;;AC9BA,SAAgB,UAAa,MAAS,OAA0B;CAC9D,IAAI,CAAC,cAAc,IAAI,KAAK,CAAC,cAAc,KAAK,GAC9C,OAAO;CAET,MAAM,SAAkC,EAAE,GAAG,KAAK;CAClD,KAAK,MAAM,CAAC,KAAK,eAAe,OAAO,QAAQ,KAAK,GAAG;EACrD,IAAI,eAAe,KAAA,GAAW;EAC9B,MAAM,YAAY,OAAO;EACzB,IAAI,cAAc,SAAS,KAAK,cAAc,UAAU,GACtD,OAAO,OAAO,UACZ,WACA,UACF;OAEA,OAAO,OAAO;CAElB;CACA,OAAO;AACT;;;;;;;AAQA,SAAgB,qBACd,QACA,WAAmC,wBACX;CAIxB,OAAO,UAHa,UAAU,UAAU,EACtC,KAAK,EAAE,kBAAkB,OAAO,WAAW,QAAQ,EACrD,CAC2B,GAAG,OAAO,WAAW,CAAC,CAAC;AACpD;;;;;;;;;;;;;AAcA,IAAa,eAAb,MAA0B;CAIL;CACA;CAJnB;CAEA,YACE,SACA,WAAoD,wBACpD;EAFiB,KAAA,UAAA;EACA,KAAA,WAAA;CAChB;;;CAIH,MAAM,OAA6B;EACjC,IAAI,KAAK,OAAO,OAAO,KAAK;EAC5B,MAAM,MAAM,MAAM,KAAK,QAAQ,KAAK;EACpC,MAAM,MAAM,cAAc,GAAG,IAAI,MAAM,CAAC;EACxC,MAAM,aAAa,cAAc,IAAI,OAAO,IAAI,IAAI,UAAU,CAAC;EAC/D,KAAK,QAAQ;GACX,GAAG;GACH,SAAS,UACP,KAAK,UACL,UACF;EACF;EACA,OAAO,KAAK;CACd;;;;;CAMA,YAAyB;EACvB,IAAI,CAAC,KAAK,OACR,MAAM,IAAI,MACR,iBAAiB,KAAK,QAAQ,OAAO,mCACvC;EAEF,OAAO,KAAK;CACd;;CAGA,aAAmB;EACjB,KAAK,QAAQ,KAAA;CACf;;;;;;CAOA,MAAM,MAAM,OAAuD;EAEjE,MAAM,OAAO,UAAU,MADD,KAAK,KAAK,GACA,KAAK;EACrC,MAAM,KAAK,QAAQ,MAAM,IAAI;EAC7B,KAAK,QAAQ;EACb,OAAO;CACT;AACF"}
|
|
1
|
+
{"version":3,"file":"config-loader-CXhzL512.js","names":[],"sources":["../connect/runtime-config.ts","../connect/config-loader.ts"],"sourcesContent":["import type {\n PHConnectRuntimeConfig,\n PowerhouseConfig,\n PowerhousePackage,\n} from \"../clis/types.js\";\n\nexport type RuntimePowerhouseConfig = {\n schemaVersion: 2;\n packages: PowerhousePackage[];\n packageRegistryUrl?: string;\n localPackage: { name: string; version: string } | null;\n connect: PHConnectRuntimeConfig;\n};\n\n/** Defaults for every field Connect reads at runtime, merged into the\n * `connect.*` block at boot; also the dist emitter's and the scaffold's base. */\nexport const DEFAULT_CONNECT_CONFIG: PHConnectRuntimeConfig = {\n branding: {\n appName: \"Powerhouse Connect\",\n homeBackground: null,\n },\n app: {\n logLevel: \"info\",\n basePath: \"/\",\n offline: true,\n studioMode: false,\n },\n ai: {\n assistantEnabled: false,\n },\n packages: {\n externalEnabled: true,\n liveReload: false,\n },\n drives: {\n allowAddDrive: true,\n defaultDrives: [],\n sections: {\n remote: { enabled: true, allowAdd: true, allowDelete: true },\n local: { enabled: true, allowAdd: true, allowDelete: true },\n },\n },\n renown: {\n url: \"https://www.renown.id\",\n networkId: \"eip155\",\n chainId: 1,\n },\n sentry: {\n // `dsn: null` is the disabled-Sentry state — the SPA never loads the\n // Sentry SDK chunk. Override via `ph connect config --sentry-dsn ...`\n // or by including `connect.sentry.dsn` in PH_CONNECT_CONFIG_JSON.\n dsn: null,\n env: \"dev\",\n tracing: false,\n },\n openPanel: {\n // An empty `clientId` keeps OpenPanel disabled. Enable it per deploy by\n // including `connect.openPanel.clientId` in PH_CONNECT_CONFIG_JSON.\n // `apiUrl` has no default: unset means OpenPanel's hosted API.\n clientId: \"\",\n trackUiEvents: true,\n trackOperations: true,\n },\n instance: {\n namespace: null,\n reactorWorker: false,\n },\n reactor: {\n featureFlags: {\n documentDecisions: false,\n authEnforcement: false,\n authGroups: false,\n authConditions: false,\n },\n createSignaturePolicy: \"v2-required\",\n unsupportedStoredDocuments: \"refuse\",\n },\n};\n\nexport function buildRuntimeConfig(\n source: Pick<PowerhouseConfig, \"packages\" | \"connect\" | \"packageRegistryUrl\">,\n projectInfo: { name: string; version: string } | null,\n): RuntimePowerhouseConfig {\n const result: RuntimePowerhouseConfig = {\n schemaVersion: 2,\n packages: source.packages ?? [],\n localPackage: projectInfo,\n connect: source.connect ?? {},\n };\n if (\n typeof source.packageRegistryUrl === \"string\" &&\n source.packageRegistryUrl !== \"\"\n ) {\n result.packageRegistryUrl = source.packageRegistryUrl;\n }\n return result;\n}\n","// Environment-neutral config loader. Wraps a `ConfigAdapter` (the IO layer)\n// with in-process caching and deep-merge-with-defaults reads.\n//\n// No validation. The loader trusts that whatever bytes the adapter returns\n// can be merged into the default Connect config; missing or partial fields\n// fall back to DEFAULT_CONNECT_CONFIG, so the SPA always sees a complete\n// `connect.*` block.\n//\n// Top-level fields outside `connect.*` (e.g. `studio.port` in the source\n// powerhouse.config.json) pass through untouched on both read and write.\n// They're not Connect's concern, but a write-back round-trip preserves\n// them so editing tools don't accidentally drop them.\n\nimport { isPlainObject } from \"remeda\";\nimport type {\n PHConnectRuntimeConfig,\n PowerhouseConfig,\n} from \"../clis/types.js\";\nimport { DEFAULT_CONNECT_CONFIG } from \"./runtime-config.js\";\n\n/** Recursive Partial. Arrays are leaves — `write({ packages: [...] })`\n * replaces the array, it doesn't merge. */\nexport type DeepPartial<T> =\n T extends Array<infer U>\n ? Array<U>\n : T extends object\n ? { [K in keyof T]?: DeepPartial<T[K]> }\n : T;\n\n/**\n * Shape returned by `ConfigLoader.read()`. The loader is Connect-scoped:\n * it guarantees `connect` is present and fully populated from\n * DEFAULT_CONNECT_CONFIG, but lets any other top-level fields pass\n * through unchanged so source-config-only fields (studio, reactor, auth,\n * documentModelsDir, etc.) survive a read+write round-trip.\n */\nexport type ConfigShape = Record<string, unknown> & {\n connect: PHConnectRuntimeConfig;\n};\n\n/**\n * Abstract IO layer for `powerhouse.config.json`.\n *\n * Implementations decide where bytes come from and go to. The shipped\n * adapter is `JsonConfigAdapter` (reads via fetch in the browser, fs in\n * Node; writes via fs in Node, throws in the browser). Future adapters\n * (remote-JSON, GraphQL) plug in without changing the loader or any\n * consumer.\n */\nexport interface ConfigAdapter {\n /** Read raw JSON-parsed payload from the backing store. */\n read(): Promise<unknown>;\n /** Persist a fully-formed config. */\n write(next: ConfigShape): Promise<void>;\n /** Human-readable description used in errors and logs. */\n readonly source: string;\n}\n\n/**\n * Deep-merge `patch` into `base`. Object fields recurse; arrays and\n * primitives replace. `undefined` in patch leaves the base value\n * untouched (no unset). `null` in patch overwrites with null.\n *\n * Exported for unit tests; consumers use ConfigLoader.write() which\n * applies this internally.\n */\nexport function deepMerge<T>(base: T, patch: DeepPartial<T>): T {\n if (!isPlainObject(base) || !isPlainObject(patch)) {\n return patch as T;\n }\n const result: Record<string, unknown> = { ...base };\n for (const [key, patchValue] of Object.entries(patch)) {\n if (patchValue === undefined) continue;\n const baseValue = result[key];\n if (isPlainObject(baseValue) && isPlainObject(patchValue)) {\n result[key] = deepMerge(\n baseValue,\n patchValue as DeepPartial<typeof baseValue>,\n );\n } else {\n result[key] = patchValue;\n }\n }\n return result as T;\n}\n\n/**\n * The effective `connect.*` block of a source `powerhouse.config.json`:\n * defaults < project-wide settings Connect follows < `connect.*`. So\n * `connect.app.workflowsEnabled` falls back to `workflows.enabled`, and\n * wins when set.\n */\nexport function resolveSourceConnect(\n source: Pick<PowerhouseConfig, \"connect\" | \"workflows\">,\n defaults: PHConnectRuntimeConfig = DEFAULT_CONNECT_CONFIG,\n): PHConnectRuntimeConfig {\n const projectWide = deepMerge(defaults, {\n app: { workflowsEnabled: source.workflows?.enabled },\n });\n return deepMerge(projectWide, source.connect ?? {});\n}\n\n// Projects scaffolded before workflows.enabled reached Connect carry an explicit\n// `false` from the old defaults, which then keeps Workflow Studio off\nexport function workflowsSettingConflict(\n source: Pick<PowerhouseConfig, \"connect\" | \"workflows\">,\n): string | undefined {\n if (source.workflows?.enabled !== true) return undefined;\n if (source.connect?.app?.workflowsEnabled !== false) return undefined;\n return 'powerhouse.config.json sets workflows.enabled but also connect.app.workflowsEnabled: false, so Workflow Studio stays off in Connect. Remove \"workflowsEnabled\" from connect.app to follow workflows.enabled.';\n}\n\n/**\n * Pluggable loader on top of a `ConfigAdapter`.\n *\n * Responsibilities:\n * - merge-with-defaults on read (so consumers never see a partial connect block)\n * - in-process caching (call `invalidate()` to force re-read)\n * - deep-merge for partial writes; writes the merged whole back through the adapter\n *\n * The cache is module-instance scoped — every `new ConfigLoader(...)` has\n * its own cache. The browser SPA constructs the loader once at boot; the\n * CLI typically constructs a fresh loader per command.\n */\nexport class ConfigLoader {\n private cache: ConfigShape | undefined;\n\n constructor(\n private readonly adapter: ConfigAdapter,\n private readonly defaults: PHConnectRuntimeConfig = DEFAULT_CONNECT_CONFIG,\n ) {}\n\n /** Returns the config with the default connect block merged in.\n * Cached after the first successful call. */\n async read(): Promise<ConfigShape> {\n if (this.cache) return this.cache;\n const raw = await this.adapter.read();\n const obj = isPlainObject(raw) ? raw : {};\n const connectRaw = isPlainObject(obj.connect) ? obj.connect : {};\n this.cache = {\n ...obj,\n connect: deepMerge(\n this.defaults,\n connectRaw as DeepPartial<PHConnectRuntimeConfig>,\n ),\n };\n return this.cache;\n }\n\n /**\n * Returns the cached config synchronously. Throws if `read()` has not\n * resolved yet — matches Connect's `getRuntimeConfig()` shape.\n */\n getCached(): ConfigShape {\n if (!this.cache) {\n throw new Error(\n `ConfigLoader (${this.adapter.source}): cache empty; call read() first.`,\n );\n }\n return this.cache;\n }\n\n /** Drop the in-memory cache. Next `read()` re-fetches from the adapter. */\n invalidate(): void {\n this.cache = undefined;\n }\n\n /**\n * Deep-merge `patch` into the current config and persist via the adapter.\n * Returns the new full config (also updates the cache). Arrays in `patch`\n * replace — they do NOT append.\n */\n async write(patch: DeepPartial<ConfigShape>): Promise<ConfigShape> {\n const current = await this.read();\n const next = deepMerge(current, patch);\n await this.adapter.write(next);\n this.cache = next;\n return next;\n }\n}\n"],"mappings":";;;;AAgBA,MAAa,yBAAiD;CAC5D,UAAU;EACR,SAAS;EACT,gBAAgB;CAClB;CACA,KAAK;EACH,UAAU;EACV,UAAU;EACV,SAAS;EACT,YAAY;CACd;CACA,IAAI,EACF,kBAAkB,MACpB;CACA,UAAU;EACR,iBAAiB;EACjB,YAAY;CACd;CACA,QAAQ;EACN,eAAe;EACf,eAAe,CAAC;EAChB,UAAU;GACR,QAAQ;IAAE,SAAS;IAAM,UAAU;IAAM,aAAa;GAAK;GAC3D,OAAO;IAAE,SAAS;IAAM,UAAU;IAAM,aAAa;GAAK;EAC5D;CACF;CACA,QAAQ;EACN,KAAK;EACL,WAAW;EACX,SAAS;CACX;CACA,QAAQ;EAIN,KAAK;EACL,KAAK;EACL,SAAS;CACX;CACA,WAAW;EAIT,UAAU;EACV,eAAe;EACf,iBAAiB;CACnB;CACA,UAAU;EACR,WAAW;EACX,eAAe;CACjB;CACA,SAAS;EACP,cAAc;GACZ,mBAAmB;GACnB,iBAAiB;GACjB,YAAY;GACZ,gBAAgB;EAClB;EACA,uBAAuB;EACvB,4BAA4B;CAC9B;AACF;AAEA,SAAgB,mBACd,QACA,aACyB;CACzB,MAAM,SAAkC;EACtC,eAAe;EACf,UAAU,OAAO,YAAY,CAAC;EAC9B,cAAc;EACd,SAAS,OAAO,WAAW,CAAC;CAC9B;CACA,IACE,OAAO,OAAO,uBAAuB,YACrC,OAAO,uBAAuB,IAE9B,OAAO,qBAAqB,OAAO;CAErC,OAAO;AACT;;;;;;;;;;;AC9BA,SAAgB,UAAa,MAAS,OAA0B;CAC9D,IAAI,CAAC,cAAc,IAAI,KAAK,CAAC,cAAc,KAAK,GAC9C,OAAO;CAET,MAAM,SAAkC,EAAE,GAAG,KAAK;CAClD,KAAK,MAAM,CAAC,KAAK,eAAe,OAAO,QAAQ,KAAK,GAAG;EACrD,IAAI,eAAe,KAAA,GAAW;EAC9B,MAAM,YAAY,OAAO;EACzB,IAAI,cAAc,SAAS,KAAK,cAAc,UAAU,GACtD,OAAO,OAAO,UACZ,WACA,UACF;OAEA,OAAO,OAAO;CAElB;CACA,OAAO;AACT;;;;;;;AAQA,SAAgB,qBACd,QACA,WAAmC,wBACX;CAIxB,OAAO,UAHa,UAAU,UAAU,EACtC,KAAK,EAAE,kBAAkB,OAAO,WAAW,QAAQ,EACrD,CAC2B,GAAG,OAAO,WAAW,CAAC,CAAC;AACpD;AAIA,SAAgB,yBACd,QACoB;CACpB,IAAI,OAAO,WAAW,YAAY,MAAM,OAAO,KAAA;CAC/C,IAAI,OAAO,SAAS,KAAK,qBAAqB,OAAO,OAAO,KAAA;CAC5D,OAAO;AACT;;;;;;;;;;;;;AAcA,IAAa,eAAb,MAA0B;CAIL;CACA;CAJnB;CAEA,YACE,SACA,WAAoD,wBACpD;EAFiB,KAAA,UAAA;EACA,KAAA,WAAA;CAChB;;;CAIH,MAAM,OAA6B;EACjC,IAAI,KAAK,OAAO,OAAO,KAAK;EAC5B,MAAM,MAAM,MAAM,KAAK,QAAQ,KAAK;EACpC,MAAM,MAAM,cAAc,GAAG,IAAI,MAAM,CAAC;EACxC,MAAM,aAAa,cAAc,IAAI,OAAO,IAAI,IAAI,UAAU,CAAC;EAC/D,KAAK,QAAQ;GACX,GAAG;GACH,SAAS,UACP,KAAK,UACL,UACF;EACF;EACA,OAAO,KAAK;CACd;;;;;CAMA,YAAyB;EACvB,IAAI,CAAC,KAAK,OACR,MAAM,IAAI,MACR,iBAAiB,KAAK,QAAQ,OAAO,mCACvC;EAEF,OAAO,KAAK;CACd;;CAGA,aAAmB;EACjB,KAAK,QAAQ,KAAA;CACf;;;;;;CAOA,MAAM,MAAM,OAAuD;EAEjE,MAAM,OAAO,UAAU,MADD,KAAK,KAAK,GACA,KAAK;EACrC,MAAM,KAAK,QAAQ,MAAM,IAAI;EAC7B,KAAK,QAAQ;EACb,OAAO;CACT;AACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as PowerhouseConfig, O as PHConnectRuntimeConfig } from "../types-
|
|
1
|
+
import { L as PowerhouseConfig, O as PHConnectRuntimeConfig } from "../types-CFbd2nan.js";
|
|
2
2
|
//#region connect/config-loader.d.ts
|
|
3
3
|
/** Recursive Partial. Arrays are leaves — `write({ packages: [...] })`
|
|
4
4
|
* replaces the array, it doesn't merge. */
|
|
@@ -46,6 +46,7 @@ export declare function deepMerge<T>(base: T, patch: DeepPartial<T>): T;
|
|
|
46
46
|
* wins when set.
|
|
47
47
|
*/
|
|
48
48
|
export declare function resolveSourceConnect(source: Pick<PowerhouseConfig, "connect" | "workflows">, defaults?: PHConnectRuntimeConfig): PHConnectRuntimeConfig;
|
|
49
|
+
export declare function workflowsSettingConflict(source: Pick<PowerhouseConfig, "connect" | "workflows">): string | undefined;
|
|
49
50
|
/**
|
|
50
51
|
* Pluggable loader on top of a `ConfigAdapter`.
|
|
51
52
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-loader.d.ts","names":[],"sources":["../../connect/config-loader.ts"],"mappings":";;;;YAsBY,YAAY,KACtB,UAAU,YAAY,KAClB,MAAM,KACN,sBACK,WAAW,KAAK,YAAY,EAAE,SACjC;;;;;;;;YASI,cAAc;EACxB,SAAS;;;;;;;;;;;iBAYM;;EAEf,QAAQ;;EAER,MAAM,MAAM,cAAc;;WAEjB;;;;;;;;;;wBAWK,UAAU,GAAG,MAAM,GAAG,OAAO,YAAY,KAAK;;;;;;;wBA0B9C,qBACd,QAAQ,KAAK,4CACb,WAAU,yBACT;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"config-loader.d.ts","names":[],"sources":["../../connect/config-loader.ts"],"mappings":";;;;YAsBY,YAAY,KACtB,UAAU,YAAY,KAClB,MAAM,KACN,sBACK,WAAW,KAAK,YAAY,EAAE,SACjC;;;;;;;;YASI,cAAc;EACxB,SAAS;;;;;;;;;;;iBAYM;;EAEf,QAAQ;;EAER,MAAM,MAAM,cAAc;;WAEjB;;;;;;;;;;wBAWK,UAAU,GAAG,MAAM,GAAG,OAAO,YAAY,KAAK;;;;;;;wBA0B9C,qBACd,QAAQ,KAAK,4CACb,WAAU,yBACT;wBASa,yBACd,QAAQ,KAAK;;;;;;;;;;;;;qBAmBF;mBAIQ;mBACA;UAJX;EAER,YACmB,SAAS,eACT,WAAU;;;EAKvB,QAAQ,QAAQ;;;;;EAmBtB,aAAa;;EAUb;;;;;;EASM,MAAM,OAAO,YAAY,eAAe,QAAQ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as deepMerge, r as resolveSourceConnect, t as ConfigLoader } from "../config-loader-
|
|
2
|
-
export { ConfigLoader, deepMerge, resolveSourceConnect };
|
|
1
|
+
import { i as workflowsSettingConflict, n as deepMerge, r as resolveSourceConnect, t as ConfigLoader } from "../config-loader-CXhzL512.js";
|
|
2
|
+
export { ConfigLoader, deepMerge, resolveSourceConnect, workflowsSettingConflict };
|
package/dist/connect/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as PHConnectPwaUrlPattern, L as PowerhouseConfig, O as PHConnectRuntimeConfig, R as PowerhousePackage, S as PHConnectPwaRuntimeCaching, _ as PHConnectPwa, b as PHConnectPwaIcon, v as PHConnectPwaCacheStrategy, x as PHConnectPwaManifest, y as PHConnectPwaFileHandler } from "../types-
|
|
2
|
-
import { ConfigAdapter, ConfigLoader, ConfigShape, DeepPartial, deepMerge, resolveSourceConnect } from "./config-loader.js";
|
|
1
|
+
import { C as PHConnectPwaUrlPattern, L as PowerhouseConfig, O as PHConnectRuntimeConfig, R as PowerhousePackage, S as PHConnectPwaRuntimeCaching, _ as PHConnectPwa, b as PHConnectPwaIcon, v as PHConnectPwaCacheStrategy, x as PHConnectPwaManifest, y as PHConnectPwaFileHandler } from "../types-CFbd2nan.js";
|
|
2
|
+
import { ConfigAdapter, ConfigLoader, ConfigShape, DeepPartial, deepMerge, resolveSourceConnect, workflowsSettingConflict } from "./config-loader.js";
|
|
3
3
|
import { JsonConfigAdapter, JsonConfigAdapterOptions } from "./json-adapter.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region connect/dynamic-base.d.ts
|
|
@@ -1044,6 +1044,6 @@ export type PackageDeps = {
|
|
|
1044
1044
|
export declare function checkSharedDeps(pkgJson: PackageDeps, hostVersions: Record<string, string>): SharedDepMismatch[];
|
|
1045
1045
|
export declare function formatSharedDepWarnings(mismatches: SharedDepMismatch[]): string[];
|
|
1046
1046
|
//#endregion
|
|
1047
|
-
export { ConfigAdapter, ConfigLoader, ConfigShape, DeepPartial, JsonConfigAdapter, JsonConfigAdapterOptions, type PHConnectPwa, type PHConnectPwaCacheStrategy, type PHConnectPwaFileHandler, type PHConnectPwaIcon, type PHConnectPwaManifest, type PHConnectPwaRuntimeCaching, type PHConnectPwaUrlPattern, deepMerge, resolveSourceConnect };
|
|
1047
|
+
export { ConfigAdapter, ConfigLoader, ConfigShape, DeepPartial, JsonConfigAdapter, JsonConfigAdapterOptions, type PHConnectPwa, type PHConnectPwaCacheStrategy, type PHConnectPwaFileHandler, type PHConnectPwaIcon, type PHConnectPwaManifest, type PHConnectPwaRuntimeCaching, type PHConnectPwaUrlPattern, deepMerge, resolveSourceConnect, workflowsSettingConflict };
|
|
1048
1048
|
export {};
|
|
1049
1049
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/connect/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as DEFAULT_CONNECT_CONFIG, i as workflowsSettingConflict, n as deepMerge, o as buildRuntimeConfig, r as resolveSourceConnect, t as ConfigLoader } from "../config-loader-CXhzL512.js";
|
|
2
2
|
import { JsonConfigAdapter } from "./json-adapter.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { satisfies, validRange } from "semver";
|
|
@@ -1237,6 +1237,6 @@ function formatSharedDepWarnings(mismatches) {
|
|
|
1237
1237
|
return mismatches.map((m) => `${m.package}: requires ${m.required}, Connect provides ${m.provided}`);
|
|
1238
1238
|
}
|
|
1239
1239
|
//#endregion
|
|
1240
|
-
export { ConfigLoader, DEFAULT_CONNECT_CONFIG, DYNAMIC_BASE_PLACEHOLDER, EXTERNALIZABLE_SHARED_SPECIFIERS, JsonConfigAdapter, PWA_FILE_HANDLER_ACTION, PWA_IDB_KEY, PWA_IDB_NAME, PWA_IDB_STORE, PWA_IDB_VERSION, ROOT_STORAGE_NAMESPACE, SHARED_DEPS, SHARED_DEP_SPECIFIERS, SHARED_SUBPATHS, buildRuntimeConfig, checkSharedDeps, connectEnvSchema, dedupeFileHandlers, dedupeIcons, deepMerge, findSharedImports, formatSharedDepWarnings, getStorageNamespace, loadConnectEnv, loadRuntimeEnv, mergeManifest, mergePwaConfig, normalizeBasePath, parseDepSpec, phConnectRuntimeConfigSchema, powerhousePackageSchema, resolveSourceConnect, rewritePackageSource, runtimeEnvSchema, setConnectEnv, toRegExpOrString, unionStrings, withInferredCategory };
|
|
1240
|
+
export { ConfigLoader, DEFAULT_CONNECT_CONFIG, DYNAMIC_BASE_PLACEHOLDER, EXTERNALIZABLE_SHARED_SPECIFIERS, JsonConfigAdapter, PWA_FILE_HANDLER_ACTION, PWA_IDB_KEY, PWA_IDB_NAME, PWA_IDB_STORE, PWA_IDB_VERSION, ROOT_STORAGE_NAMESPACE, SHARED_DEPS, SHARED_DEP_SPECIFIERS, SHARED_SUBPATHS, buildRuntimeConfig, checkSharedDeps, connectEnvSchema, dedupeFileHandlers, dedupeIcons, deepMerge, findSharedImports, formatSharedDepWarnings, getStorageNamespace, loadConnectEnv, loadRuntimeEnv, mergeManifest, mergePwaConfig, normalizeBasePath, parseDepSpec, phConnectRuntimeConfigSchema, powerhousePackageSchema, resolveSourceConnect, rewritePackageSource, runtimeEnvSchema, setConnectEnv, toRegExpOrString, unionStrings, withInferredCategory, workflowsSettingConflict };
|
|
1241
1241
|
|
|
1242
1242
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../
|
|
3
|
-
import {
|
|
4
|
-
import { a as GenerateNodesCopyIdGenerator, i as DriveInput, o as GenerateNodesCopySrc, s as SharingType } from "../index-5gwOhPG5.js";
|
|
1
|
+
import { Dn as IsStateOfType, En as IsDocumentOfType, Fn as Maybe, Om as PHBaseState, Vt as DocumentModelGlobalState, Yr as Reducer, _t as CreateDocument, bt as CreateState, ct as AssertIsStateOfType, hi as SaveToFileHandle, kn as LoadFromInput, st as AssertIsDocumentOfType } from "../types-CFbd2nan.js";
|
|
2
|
+
import { $ as LegacySynchronizationUnit, A as TriggerData, C as RemoveTriggerInput, D as SetSharingTypeInput, E as SetDriveNameInput, J as DriveDocumentModelModule, M as TriggerType, N as UpdateFileInput, O as TransmitterType, P as UpdateNodeInput, Q as LegacyAddFileInput, S as RemoveListenerInput, T as SetDriveIconInput, X as DocumentDriveDocument, Y as DocumentDriveAction, Z as LegacyAddFileAction, _ as ListenerInput, _t as SetDriveNameAction, a as CopyNodeInput, at as DocumentDriveNodeOperations, b as PullResponderTriggerData, c as DocumentDriveLocalState, ct as UpdateNodeAction, d as FolderNode, dt as DocumentDriveDriveAction, et as AddFileAction, f as Listener, ft as DocumentDriveDriveOperations, g as ListenerFilterInput, gt as SetDriveIconAction, h as ListenerFilter, ht as SetAvailableOfflineAction, i as AddTriggerInput, it as DocumentDriveNodeAction, j as TriggerInput, k as Trigger, l as DocumentDrivePHState$1, lt as AddListenerAction, m as ListenerCallInfoInput, mt as RemoveTriggerAction, n as AddFolderInput, nt as CopyNodeAction, o as DeleteNodeInput, ot as MoveNodeAction, p as ListenerCallInfo, pt as RemoveListenerAction, q as DocumentDrivePHState, r as AddListenerInput, rt as DeleteNodeAction, s as DocumentDriveGlobalState, st as UpdateFileAction, t as AddFileInput, tt as AddFolderAction, u as FileNode, ut as AddTriggerAction, v as MoveNodeInput, vt as SetSharingTypeAction, w as SetAvailableOfflineInput, x as PullResponderTriggerDataInput, y as Node } from "../types-B11NGQOQ.js";
|
|
3
|
+
import { a as GenerateNodesCopyIdGenerator, i as DriveInput, o as GenerateNodesCopySrc, s as SharingType } from "../index-DdXp-CVw.js";
|
|
5
4
|
import { z } from "zod";
|
|
6
5
|
//#region document-drive/constants.d.ts
|
|
7
6
|
export declare const driveDocumentFileExtension = "phdd";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../document-drive/constants.ts","../../document-drive/gen/node/creators.ts","../../document-drive/gen/drive/creators.ts","../../document-drive/gen/document-model.ts","../../document-drive/gen/document-schema.ts","../../document-drive/gen/document-type.ts","../../document-drive/gen/ph-factories.ts","../../document-drive/gen/reducer.ts","../../document-drive/gen/schema/zod.ts","../../document-drive/gen/utils.ts","../../document-drive/module.ts","../../document-drive/src/reducers/drive.ts","../../document-drive/src/reducers/node.ts","../../document-drive/src/utils.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../document-drive/constants.ts","../../document-drive/gen/node/creators.ts","../../document-drive/gen/drive/creators.ts","../../document-drive/gen/document-model.ts","../../document-drive/gen/document-schema.ts","../../document-drive/gen/document-type.ts","../../document-drive/gen/ph-factories.ts","../../document-drive/gen/reducer.ts","../../document-drive/gen/schema/zod.ts","../../document-drive/gen/utils.ts","../../document-drive/module.ts","../../document-drive/src/reducers/drive.ts","../../document-drive/src/reducers/node.ts","../../document-drive/src/utils.ts"],"mappings":";;;;;qBAAa;;;;;;wBCiCG,QAAQ,OAAO,qBAAqB;wBACpC,QAAQ,OAAO,eAAe;qBA0BjC,YAAS,OAAW,mBAAc;qBASlC,aAAU,OAAW,oBAAe;qBASpC,aAAU,OAAW,oBAAe;qBASpC,aAAU,OAAW,oBAAe;qBASpC,WAAQ,OAAW,kBAAa;qBAShC,WAAQ,OAAW,kBAAa;;;qBCzEhC,eAAY,OAAW,sBAAiB;qBASxC,eAAY,OAAW,sBAAiB;qBASxC,iBAAc,OAAW,wBAAmB;qBAS5C,sBAAmB,OAAW,6BAAwB;qBAStD,cAAW,OAAW,qBAAgB;qBAStC,iBAAc,OAAW,wBAAmB;qBAS5C,aAAU,OAAW,oBAAe;qBASpC,gBAAa,OAAW,uBAAkB;;;qBC7F1C,oBAAoB;;;;qBCWpB,2BAAyB,EAAA;;;;;;GAEpC,EAAA,KAAA;;qBAGW,oBAAkB,EAAA;;;;;;;;;;;;GAG7B,EAAA,KAAA;qBAEW,qBAAmB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAI9B,EAAA,KAAA;;wBAGc,aAAa,iBAAiB,SAAS;;wBAKvC,mBACd,yBACS,SAAS;;wBAKJ,gBACd,oBACC,YAAY;;wBAKC,sBACd,4BACS,YAAY;;;qBCnDV;;;wBCeG,sBAAsB;wBAQtB,qBAAqB;wBASrB,kBAAkB;wBAQlB,kBACd,QAAQ,QAAQ,4BACf;wBAOa,iBACd,QAAQ,QAAQ,2BACf;wBAOa,YACd,YAAY,QAAQ,cACpB,cAAc,QAAQ,2BACtB,aAAa,QAAQ,2BACpB;;;qBC4HU,sBAAsB,QAAQ;;;KCzJtC,WAAW,KAAK,YAClB,WAAW,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;KAG/B;qBAEQ,sBAAmB,WAAa,KAAK;qBAGrC,yBAAuB,EAAA,SAAA,EAAA,QAAA,wBAAA,EAAA,KAAA,kBAAA;qBAIvB,uBAAqB,EAAA;;;;;;;;qBASrB,mBAAiB,EAAA;;;wBAEd,sBAAsB,EAAE,UAAU,WAAW;wBAS7C,wBAAwB,EAAE,UACxC,WAAW;wBASG,0BAA0B,EAAE,UAC1C,WAAW;wBAOG,yBAAyB,EAAE,UACzC,WAAW;wBAOG,uBAAuB,EAAE,UAAU,WAAW;wBAS9C,yBAAyB,EAAE,UACzC,WAAW;wBAOG,iCAAiC,EAAE,UACjD,WAAW;wBAWG,4BAA4B,EAAE,UAC5C,WAAW;wBAUG,kBAAkB,EAAE,UAAU,WAAW;wBAWzC,oBAAoB,EAAE,UAAU,WAAW;wBAU3C,kBAAkB,EAAE,UAAU,WAAW;wBAYzC,uBAAuB,EAAE,UAAU,WAAW;wBAW9C,0BAA0B,EAAE,UAC1C,WAAW;wBAUG,+BAA+B,EAAE,UAC/C,WAAW;wBASG,wBAAwB,EAAE,UACxC,WAAW;wBAWG,6BAA6B,EAAE,UAC7C,WAAW;wBAUG,uBAAuB,EAAE,UAAU,WAAW;wBAO9C,cAAU,EAAA,mBAAA,EAAA,UAAA;;;;;;;;;;;IAEzB,EAAA,KAAA;wBAEe,kCAAkC,EAAE,UAClD,WAAW;wBAUG,uCAAuC,EAAE,UACvD,WAAW;wBASG,6BAA6B,EAAE,UAC7C,WAAW;wBAOG,4BAA4B,EAAE,UAC5C,WAAW;wBAOG,kCAAkC,EAAE,UAClD,WAAW;wBAOG,2BAA2B,EAAE,UAC3C,WAAW;wBAOG,2BAA2B,EAAE,UAC3C,WAAW;wBAOG,6BAA6B,EAAE,UAC7C,WAAW;wBAOG,iBAAiB,EAAE,UAAU,WAAW;wBASxC,sBAAsB,EAAE,UAAU,WAAW;wBAQ7C,qBAAiB,EAAA,UAAA;;;;IAEhC,EAAA,KAAA;wBAEe,yBAAyB,EAAE,UACzC,WAAW;wBAUG,yBAAyB,EAAE,UACzC,WAAW;;;qBC/SA,oBAAoB;qBAKpB,mBAAmB;qBAOnB,kBAAkB,YAAY;qBAU9B,qBAAqB,eAAe;qBAMpC,uBAAuB;qBAIvB,oBAAoB,cAAc;qBAMlC,eAAe,cAAc;qBAI7B,qBAAqB,oBAAoB;qBAMzC,kBAAkB,iBAAiB;qBAMnC,wBAAwB,uBACnC;;;qBCrEW,0BAA0B;;;qBCG1B,cAAc;;;qBCCd,aAAa;;;wBCRV,WAAW,MAAM,OAAO,QAAQ;wBAIhC,aAAa,MAAM,OAAO,QAAQ;wBAIlC,aAAa,MAAM,MAAM,UAAU,SAAS;wBAY5C,eAAe,MAAM,MAAM,UAAU,SAAS;;;;;;;;;wBAc9C,kBACd,KAAK,sBACL,aAAa,8BACb,OAAO,SACN;wBA6Ca,kBACd,iBACA;wBAsBc,aAAa;;;;;;;;;wBAYb,UAAU;EAAS,OAAO;IAAW;;;;;;;wBA0BrC,cAAc,gBAAgB,kBAAkB;;;;;;;;;wBAYhD,iBACd,gBAAgB,QAChB,MAAM,gBACI;;;;;;;;;;;;wBAeI,YACd;EAAS,OAAO;GAChB,gBAAgB;wBAKF,2BAA2B;EACzC,OAAO;EACP;EACA;EACA;;qBAsBW,cAAW"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { $ as AddOperationErrorInput, $a as AddOperationErrorInputSchema, $c as deleteOperationError, $i as SetOperationNameInput, $l as baseReducerVersion, $n as MutationMoveOperationArgs, $o as SetOperationErrorNameInputSchema, $r as ReorderChangeLogItemsInput, $t as DocumentModelOperationExampleAction, $u as defaultDocumentState, Aa as UndoRedoAction, Ad as PHDocumentSignatureInfo, Ai as SetModelExtensionInput, Al as setOperationErrorName, An as MakeEmpty, Ao as RedoActionSchema, Ar as MutationUpdateStateExampleArgs, As as isV2ActionHash, At as DeleteOperationErrorAction, Au as sortOperations, Ba as UpgradeDocumentActionInput, Bc as addChangeLogItem, Bi as SetNameActionInput, Bl as updateChangeLogItem, Bn as Mutation, Bo as SetAuthorWebsiteInputSchema, Br as PieceModule, Bt as DocumentModelDocumentModelModule, Bu as PHBaseState, Ca as SkipHeaderOperations, Cd as setNameOperation, Ci as SetAuthorWebsiteAction, Cl as setModelName, Cn as ISigner, Co as PieceModuleSchema, Cr as MutationSetOperationReducerArgs, Cs as CanonicalJsonError, Ct as DeleteChildDocumentInput, Cu as readOnly, Da as Undo, Dd as ActionSigner, Di as SetModelDescriptionAction, Dl as setOperationDescription, Dn as IsStateOfType, Do as PublisherSchema, Dr as MutationUndoArgs, Ds as actionSigningTarget, Dt as DeleteModuleAction, Du as reshuffleByTimestampAndIndex, Ea as SubgraphModule, Ed as undoOperationV2, Ei as SetInitialStateInput, El as setName, En as IsDocumentOfType, Eo as PowerhouseModulesSchema, Er as MutationSetStateSchemaArgs, Es as actionSignerIdentity, Et as DeleteDocumentActionInput, Eu as reshuffleByTimestamp, Fa as UpdateRelationshipAction, Fc as ActionContext, Fi as SetModuleDescriptionAction, Fl as setOperationScope, Fn as Maybe, Fo as ReorderOperationErrorsInputSchema, Fr as OperationsByScope, Ft as DeleteStateExampleAction, Fu as Capability, G as ActionVerificationHandler, Ga as UpgradeTransition, Gc as addStateExample, Gi as SetOperationErrorCodeInput, Gl as IntegrityIssueType, Gn as MutationAddOperationExampleArgs, Go as SetModelNameInputSchema, Gr as RedoAction, Gt as DocumentModelLib, Gu as createAuthState, H as ActionErrorCallback, Ha as ValidationError, Hc as addOperation, Hi as SetOperationDescriptionAction, Hl as updateStateExample, Hn as MutationAddModuleArgs, Ho as SetModelDescriptionInputSchema, Hr as Publisher, Ht as DocumentModelHeaderAction, Hu as PHGroupState, Ia as UpdateRelationshipActionInput, Ic as actionContext, Ii as SetModuleDescriptionInput, Il as setOperationTemplate, In as MinimalBackupData, Io as ReorderOperationExamplesInputSchema, Ir as PartialRecord, It as DeleteStateExampleInput, Iu as Condition, J as AddChangeLogItemInput, Ja as computeUpgradeTransitions, Jc as buildSignedAction, Ji as SetOperationErrorNameAction, Jl as PHDocumentMeta, Jn as MutationDeleteModuleArgs, Jo as SetNameActionInputSchema, Jr as ReducerOptions, Jt as DocumentModelModuleAction, Ju as createGlobalState, K as Actions, Ka as applyDeleteDocumentAction, Kc as baseActions, Ki as SetOperationErrorDescriptionAction, Kl as PHDocument, Kn as MutationAddStateExampleArgs, Ko as SetModuleDescriptionInputSchema, Kr as RedoActionInput, Kt as DocumentModelLocalState, Ku as createBaseState, La as UpdateStateExampleAction, Lc as actionFromAction, Li as SetModuleNameAction, Ll as setPreferredEditor, Ln as ModuleSpecification, Lo as ReorderStateExamplesInputSchema, Lr as PartialState, Lt as DocumentAction, Lu as Grant, Ma as UpdateChangeLogItemInput, Md as UserActionSigner, Mi as SetModelIdInput, Ml as setOperationName, Mn as MakeOptional, Mo as ReorderChangeLogItemsInputSchema, Mr as OperationErrorSpecification, Ms as targetDocumentId, Mt as DeleteOperationExampleAction, Mu as updateHeaderRevision, Na as UpdateOperationExampleAction, Nd as deserializeSignature, Ni as SetModelNameAction, Nl as setOperationReducer, Nn as Manifest, No as ReorderModuleOperationsInputSchema, Nr as OperationIndex, Ns as v2TupleProblem, Nt as DeleteOperationExampleInput, Nu as withSignaturePolicy, Oa as UndoAction, Od as AppActionSigner, Oi as SetModelDescriptionInput, Ol as setOperationErrorCode, On as LoadFromFile, Oo as PwaConfigSchema, Or as MutationUpdateChangeLogItemInputArgs, Os as canonicalJson, Ot as DeleteModuleInput, Ou as skipHeaderOperations, Pa as UpdateOperationExampleInput, Pc as Action, Pd as serializeSignature, Pi as SetModelNameInput, Pl as setOperationSchema, Pn as MappedOperation, Po as ReorderModulesInputSchema, Pr as OperationSpecification, Pt as DeleteOperationInput, Pu as AuthGroups, Q as AddOperationErrorAction, Qa as AddModuleInputSchema, Qc as deleteOperation, Qi as SetOperationNameAction, Ql as baseCreateDocument, Qn as MutationDeleteStateExampleArgs, Qo as SetOperationErrorDescriptionInputSchema, Qr as ReorderChangeLogItemsAction, Qt as DocumentModelOperationErrorOperations, Qu as defaultBaseState, Ra as UpdateStateExampleInput, Rc as actionSigner, Ri as SetModuleNameInput, Rl as setStateSchema, Rn as MoveOperationAction, Ro as ScopeStateSchema, Rr as PhAiToolAnnotations, Rt as DocumentModelAction, Ru as Operand, Sa as SkipHeaderOperationIndex, Sd as redoOperation, Si as SetAuthorNameInput, Sl as setModelId, Sn as ISignalResult, So as OperationSpecificationSchema, Sr as MutationSetOperationNameArgs, Ss as ActionSigningTarget, St as DeleteChangeLogItemInput, Su as prepareOperations, Ta as StateReducer, Td as undoOperation, Ti as SetInitialStateAction, Tl as setModuleName, Tn as InputMaybe, To as PowerhouseModuleSchema, Tr as MutationSetOperationTemplateArgs, Ts as actionPreimageV2, Tt as DeleteDocumentAction, Tu as replayDocument, U as ActionSignatureContext, Ua as UpgradeManifest, Uc as addOperationError, Ui as SetOperationDescriptionInput, Ul as verifyOperationSignature, Un as MutationAddOperationArgs, Uo as SetModelExtensionInputSchema, Ur as Query, Ut as DocumentModelHeaderOperations, Uu as Principal, Va as User, Vc as addModule, Vi as SetNameOperation, Vl as updateOperationExample, Vn as MutationAddChangeLogItemInputArgs, Vo as SetInitialStateInputSchema, Vr as PowerhouseModule, Vt as DocumentModelGlobalState, Vu as PHDocumentState, W as ActionSigningHandler, Wa as UpgradeReducer, Wc as addOperationExample, Wi as SetOperationErrorCodeAction, Wl as IntegrityIssueSubType, Wn as MutationAddOperationErrorArgs, Wo as SetModelIdInputSchema, Wr as Redo, Wt as DocumentModelInput, Wu as backfillAuthState, X as AddModuleInput, Xa as withProtocolVersions, Xc as deleteChangeLogItem, Xi as SetOperationErrorTemplateAction, Xl as appendWithoutApplying, Xn as MutationDeleteOperationErrorArgs, Xo as SetOperationDescriptionInputSchema, Xr as RemoveRelationshipAction, Xt as DocumentModelOperationAction, Xu as createState, Y as AddModuleAction, Ya as normalizeDocumentModelVersion, Yc as createAction, Yi as SetOperationErrorNameInput, Yl as addUndo, Yn as MutationDeleteOperationArgs, Yo as SetNameActionSchema, Yr as ReleaseNewVersionAction, Yt as DocumentModelModuleOperations, Yu as createLocalState, Z as AddOperationAction, Za as AddChangeLogItemInputSchema, Zc as deleteModule, Zi as SetOperationErrorTemplateInput, Zl as attachBranch, Zn as MutationDeleteOperationExampleArgs, Zo as SetOperationErrorCodeInputSchema, Zr as RemoveRelationshipActionInput, Zt as DocumentModelOperationErrorAction, Zu as defaultAuthState, _a as SignalResult, _d as Operation, _i as SchemaSetNameAction, _l as setAuthorName, _n as IAction, _o as ManifestSchema, _r as MutationSetOperationDescriptionArgs, _s as UpdateStateExampleInputSchema, _t as CreateDocument, _u as merge, aa as SetOperationScopeInput, ad as ProtocolVersions, ai as ReorderOperationErrorsInput, al as operationExampleCreators, an as DocumentModelUtils, ao as ConfigEntrySchema, ar as MutationReorderOperationExamplesArgs, as as SetOperationTemplateInputSchema, at as AddStateExampleAction, au as garbageCollect, ba as SignatureVerificationHandler, bd as OperationWithContext, bi as ScopeState, bl as setModelDescription, bn as IOperation, bo as OperationErrorSchema, br as MutationSetOperationErrorNameArgs, bs as ACTION_SIGNATURE_V2_PREFIX, bt as CreateState, bu as parseResultingState, ca as SetPreferredEditorAction, cd as SignaturePolicy, ci as ReorderStateExamplesAction, cl as operationWithContext, cn as DocumentOperationsIgnoreMap, co as DeleteModuleInputSchema, cr as MutationSetAuthorWebsiteArgs, cs as SetStateSchemaInputSchema, ct as AssertIsStateOfType, cu as getDocumentLastModified, da as SetStateSchemaAction, dd as isSignaturePolicy, di as RevisionsFilter, dl as reorderChangeLogItems, dn as EditorDispatch, do as DeleteOperationInputSchema, dr as MutationSetModelExtensionArgs, ds as StateSchema, dt as ConfigEntry, du as isDocumentAction, ea as SetOperationReducerAction, ed as defaultGlobalState, ei as ReorderModuleOperationsAction, el as deleteOperationExample, en as DocumentModelOperationExampleOperations, eo as AddOperationExampleInputSchema, er as MutationRedoArgs, es as SetOperationErrorTemplateInputSchema, et as AddOperationExampleAction, eu as checkCleanedOperationsIntegrity, fa as SetStateSchemaInput, fd as protocolVersionsFor, fi as SaveToFile, fl as reorderModuleOperations, fn as EditorModule, fo as DeleteStateExampleInputSchema, fr as MutationSetModelIdArgs, fs as UndoActionInputSchema, ft as ConfigEntryType, fu as isNoopOperation, ga as SignalDispatch, gd as DocumentOperations, gi as SchemaRedoAction, gl as reorderStateExamples, gn as GetDocumentOptions, go as DocumentSpecificationSchema, gr as MutationSetNameArgs, gs as UpdateOperationExampleInputSchema, gt as CreateChildDocumentSignal, gu as mapSkippedOperationsV2, ha as Signal, hd as v2RequiredProtocolVersions, hi as SchemaNOOPAction, hl as reorderOperationExamples, hn as FileInput, ho as DocumentModelInputSchema, hr as MutationSetModuleNameArgs, hs as UpdateChangeLogItemInputSchema, ht as CreateChildDocumentInput, hu as mapSkippedOperations, ia as SetOperationScopeAction, id as DocumentIdParams, ii as ReorderOperationErrorsAction, il as noop, in as DocumentModelStateOperations, io as CodeExampleSchema, ir as MutationReorderOperationErrorsArgs, is as SetOperationScopeInputSchema, it as AddRelationshipActionInput, iu as filterDuplicatedOperations, ja as UpdateChangeLogItemAction, jd as Signature, ji as SetModelIdAction, jl as setOperationErrorTemplate, jn as MakeMaybe, jo as RedoSchema, jr as NOOPAction, js as signActionV2, jt as DeleteOperationErrorInput, ju as split, ka as UndoActionInput, kd as HashConfig, ki as SetModelExtensionAction, kl as setOperationErrorDescription, kn as LoadFromInput, ko as RedoActionInputSchema, kr as MutationUpdateOperationExampleArgs, ks as hashActionV2, kt as DeleteOperationAction, ku as sortMappedOperations, la as SetPreferredEditorActionInput, ld as deriveDocumentId, li as ReorderStateExamplesInput, ll as redo, ln as DocumentSpecification, lo as DeleteOperationErrorInputSchema, lr as MutationSetInitialStateArgs, ls as Set_NameSchema, lt as Author, lu as groupOperationsByScope, ma as Set_PreferredEditor, md as signaturePolicyOf, mi as Scalars, ml as reorderOperationErrors, mn as Exact, mo as DocumentModelGlobalStateSchema, mr as MutationSetModuleDescriptionArgs, ms as UndoSchema, mt as CopyChildDocumentSignal, mu as isUndoRedo, na as SetOperationSchemaAction, nd as defaultPHState, ni as ReorderModulesAction, nl as documentModelActions, nn as DocumentModelPHState, no as AddStateExampleInputSchema, nr as MutationReorderModuleOperationsArgs, ns as SetOperationReducerInputSchema, nt as AddOperationInput, nu as diffOperations, oa as SetOperationTemplateAction, od as SIGNATURE_PROTOCOL, oi as ReorderOperationExamplesAction, ol as operationFromAction, on as DocumentModelVersioningAction, oo as ConfigEntryTypeSchema, or as MutationReorderStateExamplesArgs, os as SetPreferredEditorActionInputSchema, ot as AddStateExampleInput, ou as garbageCollectDocumentOperations, pa as Set_Name, pd as requestedSignaturePolicy, pi as SaveToFileHandle, pl as reorderModules, pn as EditorProps, po as DocumentActionSchema, pr as MutationSetModelNameArgs, ps as UndoActionSchema, pt as CopyChildDocumentInput, pu as isUndo, q as AddChangeLogItemAction, qa as applyUpgradeDocumentAction, qc as buildOperationSignature, qi as SetOperationErrorDescriptionInput, ql as PHDocumentHeader, qn as MutationDeleteChangeLogItemInputArgs, qo as SetModuleNameInputSchema, qr as Reducer, qt as DocumentModelModule, qu as createDocumentState, ra as SetOperationSchemaInput, rd as DEFAULT_SIGNATURE_POLICY, ri as ReorderModulesInput, rl as moveOperation, rn as DocumentModelStateAction, ro as AuthorSchema, rr as MutationReorderModulesArgs, rs as SetOperationSchemaInputSchema, rt as AddRelationshipAction, ru as filterDocumentOperationsResultingState, sa as SetOperationTemplateInput, sd as SIGNATURE_PROTOCOL_V2, si as ReorderOperationExamplesInput, sl as operationFromOperation, sn as DocumentModelVersioningOperations, so as DeleteChangeLogItemInputSchema, sr as MutationSetAuthorNameArgs, ss as SetPreferredEditorActionSchema, st as AssertIsDocumentOfType, su as garbageCollectV2, ta as SetOperationReducerInput, td as defaultLocalState, ti as ReorderModuleOperationsInput, tl as deleteStateExample, tn as DocumentModelOperationOperations, to as AddOperationInputSchema, tr as MutationReorderChangeLogItemsInputArgs, ts as SetOperationNameInputSchema, tt as AddOperationExampleInput, tu as checkOperationsIntegrity, ua as SetPreferredEditorOperation, ud as isDerivedDocumentId, ui as ReplayDocumentOptions, ul as releaseNewVersion, un as ENSInfo, uo as DeleteOperationExampleInputSchema, ur as MutationSetModelDescriptionArgs, us as Set_PreferredEditorSchema, ut as CodeExample, uu as hashDocumentStateForScope, va as SignalResults, vd as OperationContext, vi as SchemaSetPreferredEditorAction, vl as setAuthorWebsite, vn as ID, vo as ModuleSchema, vr as MutationSetOperationErrorCodeArgs, vs as definedNonNullAnySchema, vt as CreateDocumentAction, vu as nextSkipNumber, wa as State, wd as setPreferredEditorOperation, wi as SetAuthorWebsiteInput, wl as setModuleDescription, wn as Incremental, wo as PieceModulesSchema, wr as MutationSetOperationSchemaArgs, ws as DOCUMENT_SCOPE_ACTION_TYPES, wt as DeleteChildDocumentSignal, wu as removeExistingOperations, xa as SigningParameters, xd as operationOutcome, xi as SetAuthorNameAction, xl as setModelExtension, xn as ISignal, xo as OperationScopeSchema, xr as MutationSetOperationErrorTemplateArgs, xs as ActionSignerIdentity, xt as DeleteChangeLogItemAction, xu as precedes, ya as SignalType, yd as OperationOutcome, yi as SchemaUndoAction, yl as setInitialState, yn as IDocument, yo as MoveOperationInputSchema, yr as MutationSetOperationErrorDescriptionArgs, ys as isDefinedNonNullAny, yt as CreateDocumentActionInput, yu as operationsAreEqual, za as UpgradeDocumentAction, zc as actions, zi as SetNameAction, zl as undo, zn as MoveOperationInput, zo as SetAuthorNameInputSchema, zr as PhAiToolDescriptor, zt as DocumentModelDocument, zu as PHAuthState } from "../types-CmeoQg_J.js";
|
|
2
|
-
import { $ as peerSupports, $n as MAX_SUPPORTED_AUTH_VERSION, $t as AUTH_DENIED_BY_GRANT_REASON, A as documentModelVersioningReducer, An as MAX_CONDITION_NODES, At as AuthAlreadyInitializedError, B as PeerCapability, Bn as referencedGroupIds, Bt as UnsupportedDocumentModelVersionError, C as documentModelModuleReducer, Cn as AuthAdministrationMissingError, Cr as removeGrant, Ct as readFileBrowser, D as documentModelReducer, Dn as MAX_AUTH_GRANTS, Dr as TransportActionContext, Dt as VersionedReplayConfig, E as documentModelOperationReducer, En as InvalidGrantError, Er as TransportAction, Et as VersionedReducers, F as updateDocument, Fn as evaluateCondition, Ft as GrantNotFoundError, G as coversLocal, Gn as AuthRefusal, Gt as BaseDocumentStateSchema, H as PeerManifest, Hn as AuthAction, Ht as groupDocumentType, I as FeatureCapability, In as evaluateGrantStack, It as HashMismatchError, J as legacySupports, Jn as AuthVerb, Jt as DocumentModelSchema, K as holdReason, Kn as AuthRequest, Kt as DocumentModelHeaderSchema, L as HoldReason, Ln as evaluateGrants, Lt as InvalidActionInputError, M as createReducer, Mn as assertValidGrant, Mt as AuthPolicyNotPreservedError, N as processUndoRedo, Nn as assertValidGrantUpsert, Nt as DowngradeNotSupportedError, O as documentModelStateReducer, On as MAX_CAPABILITY_OPERATIONS, Or as TransportSigner, Ot as replayDocumentVersioned, P as replayOperations, Pn as assertValidInitialGrants, Pt as FileSystemError, Q as mergePeerCapabilities, Qn as InitializeAuthActionInputSchema, Qt as isDocumentModelState, R as PEER_CAPABILITIES, Rn as grantProblem, Rt as InvalidActionInputZodError, S as documentModelHeaderReducer, Sn as AuthAdministrationLockoutError, Sr as moveGrant, St as parseBulkArchive, T as documentModelOperationExampleReducer, Tn as GroupPrincipalNotAllowedError, Tr as setGrant, Tt as zipEntries, U as ProtocolCapability, Un as AuthDecision, Ut as groupMembershipActionTypes, V as PeerCapabilityFlags, Vn as AUTH_ACTION_TYPES, Vt as documentModelDocumentType, W as Supports, Wn as AuthEvaluation, Wt as BaseDocumentHeaderSchema, X as localSupports, Xn as InitializeAuthAction, Xt as assertIsDocumentModelState, Y as localPeerManifest, Yn as ConditionContext, Yt as assertIsDocumentModelDocument, Z as manifestRevision, Zn as InitializeAuthActionInput, Zt as isDocumentModelDocument, _ as validateModuleOperation, _n as HASH_ENCODING_HEX, _r as evaluate, _t as documentModelLoadFromInput, a as assertOperationErrorIdUnique, an as base58Decode, ar as RemoveGrantActionInputSchema, at as createSignedHeaderForSigner, b as validateOperations, bn as documentModelInitialGlobalState, br as isDocumentCreator, bt as getFileBrowser, c as findModuleOrThrow, cn as buildOperationSignatureParams, cr as SetGrantActionInputSchema, ct as sign, d as findOperationOrThrow, dn as hashBrowser, dr as applyMoveGrantAction, dt as BulkArchiveEntry, en as AUTH_NO_GRANT_REASON, er as MoveGrantAction, et as readPeerManifest, f as getAllOperationNames, fn as hex2ab, fr as applyRemoveGrantAction, ft as baseLoadFromInput, g as validateModule, gn as HASH_ENCODING_BASE64, gr as decide, gt as createZip, h as validateInitialState, hn as HASH_ALGORITHM_SHA512, hr as assertAuthScopeActionAllowed, ht as createMinimalZip, i as assertModuleIdUnique, in as ab2hex, ir as RemoveGrantActionInput, it as createSignedHeader, j as baseReducer, jn as assertAuthAdministrationRetained, jt as AuthInitializerNotCreatorError, k as documentModelStateSchemaReducer, kn as MAX_CONDITION_DEPTH, kr as toTransportAction, kt as AuthActionNotAllowedError, l as findOperationErrorOrThrow, ln as bytesToBase64Url, lr as applyAuthAction, lt as validateHeader, m as isValidOperationNameFormat, mn as HASH_ALGORITHM_SHA256, mr as assertAuthPreservedOnDuplicate, mt as baseSaveToFileHandle, n as RESERVED_OPERATION_NAMES, nn as DOCUMENT_DELETED_REASON, nr as MoveGrantActionInputSchema, nt as createCopyHeader, o as assertOperationExampleIdUnique, on as base64UrlToBytes, or as SetGrantAction, ot as createVerificationSigner, p as isReservedOperationName, pn as HASH_ALGORITHM_SHA1, pr as applySetGrantAction, pt as baseLoadFromInputVersioned, q as isOlderManifest, qn as AuthSubject, qt as DocumentModelPHStateSchema, r as ReservedOperationName, rn as isDenied, rr as RemoveGrantAction, rt as createPresignedHeader, s as assertOperationIdUnique, sn as buildOperationSignatureMessage, sr as SetGrantActionInput, st as hasDerivedDocumentId, t as OPERATION_NAME_PATTERN, tn as AUTH_VERSION_UNSUPPORTED_REASON, tr as MoveGrantActionInput, tt as selectProtocolVersions, u as findOperationExampleOrThrow, un as getUnixTimestamp, ur as applyInitializeAuthAction, ut as verify, v as validateModules, vn as documentModelFileExtension, vr as initializeAuth, vt as documentModelSaveToFileHandle, w as documentModelOperationErrorReducer, wn as GrantSchema, wr as resolveSnapshotAuth, wt as writeFileBrowser, x as validateStateSchemaName, xn as documentModelInitialLocalState, xr as mentionedGroupIds, xt as isDocumentZip, y as validateOperationName, yn as documentModelGlobalState, yr as isAuthAction, yt as fetchFileBrowser, z as PEER_MANIFEST_FORMAT, zn as isPlainValue, zt as InvalidAuthVersionError } from "../index-D6833Siv.js";
|
|
1
|
+
import { $ as AddOperationErrorInput, $c as PurgeMarkerOperation, $d as mentionedGroupIds, $f as reorderChangeLogItems, $i as SetOperationErrorTemplateInput, $l as UpgradeManifest, $m as isSignaturePolicy, $n as MutationMoveOperationArgs, $o as assertOperationExampleIdUnique, $p as isDocumentAction, $r as RemoveRelationshipActionInput, $s as ReorderOperationErrorsInputSchema, $t as DocumentModelOperationExampleAction, $u as documentModelInitialLocalState, Aa as UndoAction, Ac as UndoActionInputSchema, Ad as InitializeAuthActionInputSchema, Af as addOperation, Ai as SetModelDescriptionInput, Al as createVerificationSigner, Am as PHGroupState, An as MakeEmpty, Ap as updateStateExample, Ar as MutationUpdateStateExampleArgs, As as DeleteStateExampleInputSchema, At as DeleteOperationErrorAction, Au as isDocumentModelState, Ba as UpdateStateExampleInput, Bc as documentModelOperationErrorReducer, Bd as SetGrantActionInputSchema, Bf as deleteOperation, Bi as SetModuleNameInput, Bl as createZip, Bm as defaultBaseState, Bn as Mutation, Bp as baseCreateDocument, Br as PieceModule, Bs as OperationSpecificationSchema, Bt as DocumentModelDocumentModelModule, Bu as buildOperationSignatureParams, Ca as SigningParameters, Cc as SetOperationTemplateInputSchema, Cd as AuthRefusal, Cf as ActionContext, Ci as SetAuthorNameAction, Cl as peerSupports, Cm as Capability, Cn as ISigner, Cp as setOperationScope, Cr as MutationSetOperationReducerArgs, Cs as ConfigEntrySchema, Ct as DeleteChildDocumentInput, Cu as BaseDocumentStateSchema, Da as StateReducer, Dc as Set_NameSchema, Dd as ConditionContext, Df as actions, Di as SetInitialStateAction, Dl as createPresignedHeader, Dm as PHAuthState, Dn as IsStateOfType, Dp as undo, Dr as MutationUndoArgs, Ds as DeleteOperationErrorInputSchema, Dt as DeleteModuleAction, Du as assertIsDocumentModelDocument, Ea as State, Ec as SetStateSchemaInputSchema, Ed as AuthVerb, Ef as actionSigner, Ei as SetAuthorWebsiteInput, El as createCopyHeader, Em as Operand, En as IsDocumentOfType, Ep as setStateSchema, Er as MutationSetStateSchemaArgs, Es as DeleteModuleInputSchema, Et as DeleteDocumentActionInput, Eu as DocumentModelSchema, Fa as UpdateOperationExampleAction, Fc as UpdateStateExampleInputSchema, Fd as RemoveGrantAction, Ff as buildOperationSignature, Fi as SetModelNameAction, Fl as BulkArchiveEntry, Fm as createDocumentState, Fn as Maybe, Fp as PHDocumentHeader, Fr as OperationsByScope, Fs as ManifestSchema, Ft as DeleteStateExampleAction, Fu as isDenied, G as ActionVerificationHandler, Gc as documentModelStateSchemaReducer, Gd as applySetGrantAction, Gf as moveOperation, Gi as SetOperationDescriptionInput, Gl as isDocumentZip, Gm as DEFAULT_SIGNATURE_POLICY, Gn as MutationAddOperationExampleArgs, Gp as filterDocumentOperationsResultingState, Gr as Query, Gs as PublisherSchema, Gt as DocumentModelLib, Gu as HASH_ALGORITHM_SHA1, H as ActionErrorCallback, Ha as UpgradeDocumentActionInput, Hc as documentModelOperationReducer, Hd as applyInitializeAuthAction, Hf as deleteOperationExample, Hi as SetNameActionInput, Hl as documentModelSaveToFileHandle, Hm as defaultGlobalState, Hn as MutationAddModuleArgs, Hp as checkCleanedOperationsIntegrity, Hr as Publisher, Hs as PieceModulesSchema, Ht as DocumentModelHeaderAction, Hu as getUnixTimestamp, Ia as UpdateOperationExampleInput, Ic as definedNonNullAnySchema, Id as RemoveGrantActionInput, If as buildSignedAction, Ii as SetModelNameInput, Il as baseLoadFromInput, Im as createGlobalState, In as MinimalBackupData, Ip as PHDocumentMeta, Ir as PartialRecord, Is as ModuleSchema, It as DeleteStateExampleInput, Iu as ab2hex, J as AddChangeLogItemInput, Jc as createReducer, Jd as decide, Jf as operationFromAction, Ji as SetOperationErrorDescriptionAction, Jl as writeFileBrowser, Jm as SIGNATURE_PROTOCOL, Jn as MutationDeleteModuleArgs, Jo as OPERATION_NAME_PATTERN, Jp as garbageCollectDocumentOperations, Jr as RedoActionInput, Js as RedoActionSchema, Jt as DocumentModelModuleAction, Ju as HASH_ENCODING_BASE64, K as Actions, Kc as documentModelVersioningReducer, Kd as assertAuthPreservedOnDuplicate, Kf as noop, Ki as SetOperationErrorCodeAction, Kl as parseBulkArchive, Km as DocumentIdParams, Kn as MutationAddStateExampleArgs, Kp as filterDuplicatedOperations, Kr as Redo, Ks as PwaConfigSchema, Kt as DocumentModelLocalState, Ku as HASH_ALGORITHM_SHA256, La as UpdateRelationshipAction, Lc as isDefinedNonNullAny, Ld as RemoveGrantActionInputSchema, Lf as createAction, Li as SetModuleDescriptionAction, Ll as baseLoadFromInputVersioned, Lm as createLocalState, Ln as ModuleSpecification, Lp as addUndo, Lr as PartialState, Ls as MoveOperationInputSchema, Lt as DocumentAction, Lu as base58Decode, Ma as UndoRedoAction, Mc as UndoSchema, Md as MoveGrantAction, Mf as addOperationExample, Mi as SetModelExtensionInput, Ml as sign, Mm as backfillAuthState, Mn as MakeOptional, Mp as IntegrityIssueSubType, Mr as OperationErrorSpecification, Ms as DocumentModelGlobalStateSchema, Mt as DeleteOperationExampleAction, Mu as AUTH_NO_GRANT_REASON, Na as UpdateChangeLogItemAction, Nc as UpdateChangeLogItemInputSchema, Nd as MoveGrantActionInput, Nf as addStateExample, Ni as SetModelIdAction, Nl as validateHeader, Nm as createAuthState, Nn as Manifest, Np as IntegrityIssueType, Nr as OperationIndex, Ns as DocumentModelInputSchema, Nt as DeleteOperationExampleInput, Nu as AUTH_VERSION_UNSUPPORTED_REASON, Oa as SubgraphModule, Oc as Set_PreferredEditorSchema, Od as InitializeAuthAction, Of as addChangeLogItem, Oi as SetInitialStateInput, Ol as createSignedHeader, Om as PHBaseState, On as LoadFromFile, Op as updateChangeLogItem, Or as MutationUpdateChangeLogItemInputArgs, Os as DeleteOperationExampleInputSchema, Ot as DeleteModuleInput, Ou as assertIsDocumentModelState, Pa as UpdateChangeLogItemInput, Pc as UpdateOperationExampleInputSchema, Pd as MoveGrantActionInputSchema, Pf as baseActions, Pi as SetModelIdInput, Pl as verify, Pm as createBaseState, Pn as MappedOperation, Pp as PHDocument, Pr as OperationSpecification, Ps as DocumentSpecificationSchema, Pt as DeleteOperationInput, Pu as DOCUMENT_DELETED_REASON, Q as AddOperationErrorAction, Qc as PURGE_DOCUMENT, Qd as isDocumentCreator, Qf as releaseNewVersion, Qi as SetOperationErrorTemplateAction, Ql as replayDocumentVersioned, Qm as isDerivedDocumentId, Qn as MutationDeleteStateExampleArgs, Qo as assertOperationErrorIdUnique, Qp as hashDocumentStateForScope, Qr as RemoveRelationshipAction, Qs as ReorderModulesInputSchema, Qt as DocumentModelOperationErrorOperations, Qu as documentModelInitialGlobalState, Ra as UpdateRelationshipActionInput, Rc as documentModelHeaderReducer, Rd as SetGrantAction, Rf as deleteChangeLogItem, Ri as SetModuleDescriptionInput, Rl as baseSaveToFileHandle, Rm as createState, Rn as MoveOperationAction, Rp as appendWithoutApplying, Rr as PhAiToolAnnotations, Rs as OperationErrorSchema, Rt as DocumentModelAction, Ru as base64UrlToBytes, Sa as SignatureVerificationHandler, Sc as SetOperationScopeInputSchema, Sd as AuthEvaluation, Sf as Action, Sh as serializeSignature, Si as ScopeState, Sl as mergePeerCapabilities, Sm as AuthGroups, Sn as ISignalResult, Sp as setOperationSchema, Sr as MutationSetOperationNameArgs, Ss as CodeExampleSchema, St as DeleteChangeLogItemInput, Su as BaseDocumentHeaderSchema, Ta as SkipHeaderOperations, Tc as SetPreferredEditorActionSchema, Td as AuthSubject, Tf as actionFromAction, Ti as SetAuthorWebsiteAction, Tl as selectProtocolVersions, Tm as Grant, Tn as InputMaybe, Tp as setPreferredEditor, Tr as MutationSetOperationTemplateArgs, Ts as DeleteChangeLogItemInputSchema, Tt as DeleteDocumentAction, Tu as DocumentModelPHStateSchema, U as ActionSignatureContext, Ua as User, Uc as documentModelReducer, Ud as applyMoveGrantAction, Uf as deleteStateExample, Ui as SetNameOperation, Ul as fetchFileBrowser, Um as defaultLocalState, Un as MutationAddOperationArgs, Up as checkOperationsIntegrity, Ur as PurgeDocumentAction, Us as PowerhouseModuleSchema, Ut as DocumentModelHeaderOperations, Uu as hashBrowser, Va as UpgradeDocumentAction, Vc as documentModelOperationExampleReducer, Vd as applyAuthAction, Vf as deleteOperationError, Vi as SetNameAction, Vl as documentModelLoadFromInput, Vm as defaultDocumentState, Vn as MutationAddChangeLogItemInputArgs, Vp as baseReducerVersion, Vr as PowerhouseModule, Vs as PieceModuleSchema, Vt as DocumentModelGlobalState, Vu as bytesToBase64Url, W as ActionSigningHandler, Wa as ValidationError, Wc as documentModelStateReducer, Wd as applyRemoveGrantAction, Wf as documentModelActions, Wi as SetOperationDescriptionAction, Wl as getFileBrowser, Wm as defaultPHState, Wn as MutationAddOperationErrorArgs, Wp as diffOperations, Wr as PurgeDocumentActionInput, Ws as PowerhouseModulesSchema, Wt as DocumentModelInput, Wu as hex2ab, X as AddModuleInput, Xc as replayOperations, Xd as initializeAuth, Xf as operationWithContext, Xi as SetOperationErrorNameAction, Xl as VersionedReducers, Xm as SignaturePolicy, Xn as MutationDeleteOperationErrorArgs, Xo as ReservedOperationName, Xp as getDocumentLastModified, Xr as ReducerOptions, Xs as ReorderChangeLogItemsInputSchema, Xt as DocumentModelOperationAction, Xu as documentModelFileExtension, Y as AddModuleAction, Yc as processUndoRedo, Yd as evaluate, Yf as operationFromOperation, Yi as SetOperationErrorDescriptionInput, Yl as zipEntries, Ym as SIGNATURE_PROTOCOL_V2, Yn as MutationDeleteOperationArgs, Yo as RESERVED_OPERATION_NAMES, Yp as garbageCollectV2, Yr as Reducer, Ys as RedoSchema, Yt as DocumentModelModuleOperations, Yu as HASH_ENCODING_HEX, Z as AddOperationAction, Zc as updateDocument, Zd as isAuthAction, Zf as redo, Zi as SetOperationErrorNameInput, Zl as VersionedReplayConfig, Zm as deriveDocumentId, Zn as MutationDeleteOperationExampleArgs, Zo as assertModuleIdUnique, Zp as groupOperationsByScope, Zr as ReleaseNewVersionAction, Zs as ReorderModuleOperationsInputSchema, Zt as DocumentModelOperationErrorAction, Zu as documentModelGlobalState, _a as Signal, _c as SetOperationErrorNameInputSchema, _d as isPlainValue, _f as hashActionV2, _h as HashConfig, _i as SchemaNOOPAction, _l as isOlderManifest, _m as sortMappedOperations, _n as IAction, _p as setOperationErrorDescription, _r as MutationSetOperationDescriptionArgs, _s as AddOperationErrorInputSchema, _t as CreateDocument, _u as InvalidAuthVersionError, aa as SetOperationSchemaInput, ac as SetInitialStateInputSchema, ad as MAX_AUTH_GRANTS, af as TransportActionContext, ah as Operation, ai as ReorderModulesInput, al as FeatureCapability, am as merge, an as DocumentModelUtils, ap as setAuthorName, ar as MutationReorderOperationExamplesArgs, as as getAllOperationNames, at as AddStateExampleAction, au as normalizeDocumentModelVersion, ba as SignalResults, bc as SetOperationReducerInputSchema, bd as AuthAction, bf as targetDocumentId, bh as UserActionSigner, bi as SchemaSetPreferredEditorAction, bl as localSupports, bm as updateHeaderRevision, bn as IOperation, bp as setOperationName, br as MutationSetOperationErrorNameArgs, bs as AddStateExampleInputSchema, bt as CreateState, bu as groupDocumentType, ca as SetOperationTemplateAction, cc as SetModelIdInputSchema, cd as MAX_CONDITION_NODES, cf as ACTION_SIGNATURE_V2_PREFIX, ch as OperationWithContext, ci as ReorderOperationExamplesAction, cl as PEER_CAPABILITIES, cm as parseResultingState, cn as DocumentOperationsIgnoreMap, cp as setModelDescription, cr as MutationSetAuthorWebsiteArgs, cs as validateInitialState, ct as AssertIsStateOfType, cu as AuthAlreadyInitializedError, da as SetPreferredEditorActionInput, dc as SetModuleNameInputSchema, dd as assertValidGrantUpsert, df as CanonicalJsonError, dh as setNameOperation, di as ReorderStateExamplesInput, dl as PeerCapabilityFlags, dm as readOnly, dn as EditorDispatch, dp as setModelName, dr as MutationSetModelExtensionArgs, ds as validateModules, dt as ConfigEntry, du as DowngradeNotSupportedError, ea as SetOperationNameAction, ec as ReorderOperationExamplesInputSchema, ed as AuthAdministrationLockoutError, ef as moveGrant, eh as protocolVersionsFor, ei as ReorderChangeLogItemsAction, el as isPurgeMarker, em as isNoopOperation, en as DocumentModelOperationExampleOperations, ep as reorderModuleOperations, er as MutationRedoArgs, es as assertOperationIdUnique, et as AddOperationExampleAction, eu as UpgradeReducer, fa as SetPreferredEditorOperation, fc as SetNameActionInputSchema, fd as assertValidInitialGrants, ff as DOCUMENT_SCOPE_ACTION_TYPES, fh as setPreferredEditorOperation, fi as ReplayDocumentOptions, fl as PeerManifest, fm as removeExistingOperations, fn as EditorModule, fp as setModuleDescription, fr as MutationSetModelIdArgs, fs as validateOperationName, ft as ConfigEntryType, fu as FileSystemError, ga as Set_PreferredEditor, gc as SetOperationErrorDescriptionInputSchema, gd as grantProblem, gf as canonicalJson, gh as AppActionSigner, gi as Scalars, gl as holdReason, gm as skipHeaderOperations, gn as GetDocumentOptions, gp as setOperationErrorCode, gr as MutationSetNameArgs, gs as AddModuleInputSchema, gt as CreateChildDocumentSignal, gu as InvalidActionInputZodError, ha as Set_Name, hc as SetOperationErrorCodeInputSchema, hd as evaluateGrants, hf as actionSigningTarget, hh as ActionSigner, hi as SaveToFileHandle, hl as coversLocal, hm as reshuffleByTimestampAndIndex, hn as FileInput, hp as setOperationDescription, hr as MutationSetModuleNameArgs, hs as AddChangeLogItemInputSchema, ht as CreateChildDocumentInput, hu as InvalidActionInputError, ia as SetOperationSchemaAction, ic as SetAuthorWebsiteInputSchema, id as InvalidGrantError, if as TransportAction, ih as DocumentOperations, ii as ReorderModulesAction, il as DOCUMENT_PURGE_PROTOCOL, im as mapSkippedOperationsV2, in as DocumentModelStateOperations, ip as reorderStateExamples, ir as MutationReorderOperationErrorsArgs, is as findOperationOrThrow, it as AddRelationshipActionInput, iu as computeUpgradeTransitions, ja as UndoActionInput, jc as UndoActionSchema, jd as MAX_SUPPORTED_AUTH_VERSION, jf as addOperationError, ji as SetModelExtensionAction, jl as hasDerivedDocumentId, jm as Principal, jn as MakeMaybe, jp as verifyOperationSignature, jr as NOOPAction, js as DocumentActionSchema, jt as DeleteOperationErrorInput, ju as AUTH_DENIED_BY_GRANT_REASON, ka as Undo, kc as StateSchema, kd as InitializeAuthActionInput, kf as addModule, ki as SetModelDescriptionAction, kl as createSignedHeaderForSigner, km as PHDocumentState, kn as LoadFromInput, kp as updateOperationExample, kr as MutationUpdateOperationExampleArgs, ks as DeleteOperationInputSchema, kt as DeleteOperationAction, ku as isDocumentModelDocument, la as SetOperationTemplateInput, lc as SetModelNameInputSchema, ld as assertAuthAdministrationRetained, lf as ActionSignerIdentity, lh as operationOutcome, li as ReorderOperationExamplesInput, ll as PEER_MANIFEST_FORMAT, lm as precedes, ln as DocumentSpecification, lp as setModelExtension, lr as MutationSetInitialStateArgs, ls as validateModule, lt as Author, lu as AuthInitializerNotCreatorError, ma as SetStateSchemaInput, mc as SetOperationDescriptionInputSchema, md as evaluateGrantStack, mf as actionSignerIdentity, mh as undoOperationV2, mi as SaveToFile, ml as Supports, mm as reshuffleByTimestamp, mn as Exact, mp as setName, mr as MutationSetModuleDescriptionArgs, ms as validateStateSchemaName, mt as CopyChildDocumentSignal, mu as HashMismatchError, na as SetOperationReducerAction, nc as ScopeStateSchema, nd as GrantSchema, nf as resolveSnapshotAuth, nh as signaturePolicyOf, ni as ReorderModuleOperationsAction, nl as purgeMarkerOperation, nm as isUndoRedo, nn as DocumentModelPHState, np as reorderOperationErrors, nr as MutationReorderModuleOperationsArgs, ns as findOperationErrorOrThrow, nt as AddOperationInput, nu as applyDeleteDocumentAction, oa as SetOperationScopeAction, oc as SetModelDescriptionInputSchema, od as MAX_CAPABILITY_OPERATIONS, of as TransportSigner, oh as OperationContext, oi as ReorderOperationErrorsAction, ol as HoldReason, om as nextSkipNumber, on as DocumentModelVersioningAction, op as setAuthorWebsite, or as MutationReorderStateExamplesArgs, os as isReservedOperationName, ot as AddStateExampleInput, ou as withProtocolVersions, pa as SetStateSchemaAction, pc as SetNameActionSchema, pd as evaluateCondition, pf as actionPreimageV2, ph as undoOperation, pi as RevisionsFilter, pl as ProtocolCapability, pm as replayDocument, pn as EditorProps, pp as setModuleName, pr as MutationSetModelNameArgs, ps as validateOperations, pt as CopyChildDocumentInput, pu as GrantNotFoundError, q as AddChangeLogItemAction, qc as baseReducer, qd as assertAuthScopeActionAllowed, qf as operationExampleCreators, qi as SetOperationErrorCodeInput, ql as readFileBrowser, qm as ProtocolVersions, qn as MutationDeleteChangeLogItemInputArgs, qp as garbageCollect, qr as RedoAction, qs as RedoActionInputSchema, qt as DocumentModelModule, qu as HASH_ALGORITHM_SHA512, ra as SetOperationReducerInput, rc as SetAuthorNameInputSchema, rd as GroupPrincipalNotAllowedError, rf as setGrant, rh as v2RequiredProtocolVersions, ri as ReorderModuleOperationsInput, rl as purgedProtocolVersions, rm as mapSkippedOperations, rn as DocumentModelStateAction, rp as reorderOperationExamples, rr as MutationReorderModulesArgs, rs as findOperationExampleOrThrow, rt as AddRelationshipAction, ru as applyUpgradeDocumentAction, sa as SetOperationScopeInput, sc as SetModelExtensionInputSchema, sd as MAX_CONDITION_DEPTH, sf as toTransportAction, sh as OperationOutcome, si as ReorderOperationErrorsInput, sl as MARKER_REFUSAL_FEATURE, sm as operationsAreEqual, sn as DocumentModelVersioningOperations, sp as setInitialState, sr as MutationSetAuthorNameArgs, ss as isValidOperationNameFormat, st as AssertIsDocumentOfType, su as AuthActionNotAllowedError, ta as SetOperationNameInput, tc as ReorderStateExamplesInputSchema, td as AuthAdministrationMissingError, tf as removeGrant, th as requestedSignaturePolicy, ti as ReorderChangeLogItemsInput, tl as purgeDocumentAction, tm as isUndo, tn as DocumentModelOperationOperations, tp as reorderModules, tr as MutationReorderChangeLogItemsInputArgs, ts as findModuleOrThrow, tt as AddOperationExampleInput, tu as UpgradeTransition, ua as SetPreferredEditorAction, uc as SetModuleDescriptionInputSchema, ud as assertValidGrant, uf as ActionSigningTarget, uh as redoOperation, ui as ReorderStateExamplesAction, ul as PeerCapability, um as prepareOperations, un as ENSInfo, up as setModelId, ur as MutationSetModelDescriptionArgs, us as validateModuleOperation, ut as CodeExample, uu as AuthPolicyNotPreservedError, va as SignalDispatch, vc as SetOperationErrorTemplateInputSchema, vd as referencedGroupIds, vf as isV2ActionHash, vh as PHDocumentSignatureInfo, vi as SchemaRedoAction, vl as legacySupports, vm as sortOperations, vn as ID, vp as setOperationErrorName, vr as MutationSetOperationErrorCodeArgs, vs as AddOperationExampleInputSchema, vt as CreateDocumentAction, vu as UnsupportedDocumentModelVersionError, wa as SkipHeaderOperationIndex, wc as SetPreferredEditorActionInputSchema, wd as AuthRequest, wf as actionContext, wi as SetAuthorNameInput, wl as readPeerManifest, wm as Condition, wn as Incremental, wp as setOperationTemplate, wr as MutationSetOperationSchemaArgs, ws as ConfigEntryTypeSchema, wt as DeleteChildDocumentSignal, wu as DocumentModelHeaderSchema, xa as SignalType, xc as SetOperationSchemaInputSchema, xd as AuthDecision, xf as v2TupleProblem, xh as deserializeSignature, xi as SchemaUndoAction, xl as manifestRevision, xm as withSignaturePolicy, xn as ISignal, xp as setOperationReducer, xr as MutationSetOperationErrorTemplateArgs, xs as AuthorSchema, xt as DeleteChangeLogItemAction, xu as groupMembershipActionTypes, ya as SignalResult, yc as SetOperationNameInputSchema, yd as AUTH_ACTION_TYPES, yf as signActionV2, yh as Signature, yi as SchemaSetNameAction, yl as localPeerManifest, ym as split, yn as IDocument, yp as setOperationErrorTemplate, yr as MutationSetOperationErrorDescriptionArgs, ys as AddOperationInputSchema, yt as CreateDocumentActionInput, yu as documentModelDocumentType, za as UpdateStateExampleAction, zc as documentModelModuleReducer, zd as SetGrantActionInput, zf as deleteModule, zi as SetModuleNameAction, zl as createMinimalZip, zm as defaultAuthState, zn as MoveOperationInput, zp as attachBranch, zr as PhAiToolDescriptor, zs as OperationScopeSchema, zt as DocumentModelDocument, zu as buildOperationSignatureMessage } from "../types-CFbd2nan.js";
|
|
3
2
|
import { n as generateId, r as generateMock, t as deriveOperationId } from "../utils-BrKxCmKx.js";
|
|
4
|
-
export { ACTION_SIGNATURE_V2_PREFIX, AUTH_ACTION_TYPES, AUTH_DENIED_BY_GRANT_REASON, AUTH_NO_GRANT_REASON, AUTH_VERSION_UNSUPPORTED_REASON, Action, ActionContext, type ActionErrorCallback, type ActionSignatureContext, ActionSigner, ActionSignerIdentity, type ActionSigningHandler, ActionSigningTarget, type ActionVerificationHandler, type Actions, type AddChangeLogItemAction, type AddChangeLogItemInput, AddChangeLogItemInputSchema, type AddModuleAction, type AddModuleInput, AddModuleInputSchema, type AddOperationAction, type AddOperationErrorAction, type AddOperationErrorInput, AddOperationErrorInputSchema, type AddOperationExampleAction, type AddOperationExampleInput, AddOperationExampleInputSchema, type AddOperationInput, AddOperationInputSchema, type AddRelationshipAction, type AddRelationshipActionInput, type AddStateExampleAction, type AddStateExampleInput, AddStateExampleInputSchema, AppActionSigner, type AssertIsDocumentOfType, type AssertIsStateOfType, AuthAction, AuthActionNotAllowedError, AuthAdministrationLockoutError, AuthAdministrationMissingError, AuthAlreadyInitializedError, AuthDecision, AuthEvaluation, AuthGroups, AuthInitializerNotCreatorError, AuthPolicyNotPreservedError, AuthRefusal, AuthRequest, AuthSubject, AuthVerb, type Author, AuthorSchema, BaseDocumentHeaderSchema, BaseDocumentStateSchema, BulkArchiveEntry, CanonicalJsonError, Capability, type CodeExample, CodeExampleSchema, Condition, ConditionContext, type ConfigEntry, ConfigEntrySchema, type ConfigEntryType, ConfigEntryTypeSchema, type CopyChildDocumentInput, type CopyChildDocumentSignal, type CreateChildDocumentInput, type CreateChildDocumentSignal, type CreateDocument, type CreateDocumentAction, type CreateDocumentActionInput, type CreateState, DEFAULT_SIGNATURE_POLICY, DOCUMENT_DELETED_REASON, DOCUMENT_SCOPE_ACTION_TYPES, type DeleteChangeLogItemAction, type DeleteChangeLogItemInput, DeleteChangeLogItemInputSchema, type DeleteChildDocumentInput, type DeleteChildDocumentSignal, type DeleteDocumentAction, type DeleteDocumentActionInput, type DeleteModuleAction, type DeleteModuleInput, DeleteModuleInputSchema, type DeleteOperationAction, type DeleteOperationErrorAction, type DeleteOperationErrorInput, DeleteOperationErrorInputSchema, type DeleteOperationExampleAction, type DeleteOperationExampleInput, DeleteOperationExampleInputSchema, type DeleteOperationInput, DeleteOperationInputSchema, type DeleteStateExampleAction, type DeleteStateExampleInput, DeleteStateExampleInputSchema, type DocumentAction, DocumentActionSchema, DocumentIdParams, type DocumentModelAction, type DocumentModelDocument, type DocumentModelDocumentModelModule, type DocumentModelGlobalState, DocumentModelGlobalStateSchema, type DocumentModelHeaderAction, type DocumentModelHeaderOperations, DocumentModelHeaderSchema, type DocumentModelInput, DocumentModelInputSchema, type DocumentModelLib, type DocumentModelLocalState, type DocumentModelModule, type DocumentModelModuleAction, type DocumentModelModuleOperations, type DocumentModelOperationAction, type DocumentModelOperationErrorAction, type DocumentModelOperationErrorOperations, type DocumentModelOperationExampleAction, type DocumentModelOperationExampleOperations, type DocumentModelOperationOperations, type DocumentModelPHState, DocumentModelPHStateSchema, DocumentModelSchema, type DocumentModelStateAction, type DocumentModelStateOperations, type DocumentModelUtils, type DocumentModelVersioningAction, type DocumentModelVersioningOperations, DocumentOperations, type DocumentOperationsIgnoreMap, type DocumentSpecification, DocumentSpecificationSchema, DowngradeNotSupportedError, type ENSInfo, type EditorDispatch, type EditorModule, type EditorProps, type Exact, FeatureCapability, type FileInput, FileSystemError, type GetDocumentOptions, Grant, GrantNotFoundError, GrantSchema, GroupPrincipalNotAllowedError, HASH_ALGORITHM_SHA1, HASH_ALGORITHM_SHA256, HASH_ALGORITHM_SHA512, HASH_ENCODING_BASE64, HASH_ENCODING_HEX, HashConfig, HashMismatchError, HoldReason, type IAction, type ID, type IDocument, type IOperation, type ISignal, type ISignalResult, type ISigner, type Incremental, InitializeAuthAction, InitializeAuthActionInput, InitializeAuthActionInputSchema, type InputMaybe, IntegrityIssueSubType, IntegrityIssueType, InvalidActionInputError, InvalidActionInputZodError, InvalidAuthVersionError, InvalidGrantError, type IsDocumentOfType, type IsStateOfType, type LoadFromFile, type LoadFromInput, MAX_AUTH_GRANTS, MAX_CAPABILITY_OPERATIONS, MAX_CONDITION_DEPTH, MAX_CONDITION_NODES, MAX_SUPPORTED_AUTH_VERSION, type MakeEmpty, type MakeMaybe, type MakeOptional, type Manifest, ManifestSchema, type MappedOperation, type Maybe, type MinimalBackupData, ModuleSchema, type ModuleSpecification, MoveGrantAction, MoveGrantActionInput, MoveGrantActionInputSchema, type MoveOperationAction, type MoveOperationInput, MoveOperationInputSchema, type Mutation, type MutationAddChangeLogItemInputArgs, type MutationAddModuleArgs, type MutationAddOperationArgs, type MutationAddOperationErrorArgs, type MutationAddOperationExampleArgs, type MutationAddStateExampleArgs, type MutationDeleteChangeLogItemInputArgs, type MutationDeleteModuleArgs, type MutationDeleteOperationArgs, type MutationDeleteOperationErrorArgs, type MutationDeleteOperationExampleArgs, type MutationDeleteStateExampleArgs, type MutationMoveOperationArgs, type MutationRedoArgs, type MutationReorderChangeLogItemsInputArgs, type MutationReorderModuleOperationsArgs, type MutationReorderModulesArgs, type MutationReorderOperationErrorsArgs, type MutationReorderOperationExamplesArgs, type MutationReorderStateExamplesArgs, type MutationSetAuthorNameArgs, type MutationSetAuthorWebsiteArgs, type MutationSetInitialStateArgs, type MutationSetModelDescriptionArgs, type MutationSetModelExtensionArgs, type MutationSetModelIdArgs, type MutationSetModelNameArgs, type MutationSetModuleDescriptionArgs, type MutationSetModuleNameArgs, type MutationSetNameArgs, type MutationSetOperationDescriptionArgs, type MutationSetOperationErrorCodeArgs, type MutationSetOperationErrorDescriptionArgs, type MutationSetOperationErrorNameArgs, type MutationSetOperationErrorTemplateArgs, type MutationSetOperationNameArgs, type MutationSetOperationReducerArgs, type MutationSetOperationSchemaArgs, type MutationSetOperationTemplateArgs, type MutationSetStateSchemaArgs, type MutationUndoArgs, type MutationUpdateChangeLogItemInputArgs, type MutationUpdateOperationExampleArgs, type MutationUpdateStateExampleArgs, type NOOPAction, OPERATION_NAME_PATTERN, Operand, Operation, OperationContext, OperationErrorSchema, type OperationErrorSpecification, type OperationIndex, OperationOutcome, OperationScopeSchema, type OperationSpecification, OperationSpecificationSchema, OperationWithContext, type OperationsByScope, PEER_CAPABILITIES, PEER_MANIFEST_FORMAT, PHAuthState, PHBaseState, PHDocument, PHDocumentHeader, PHDocumentMeta, PHDocumentSignatureInfo, PHDocumentState, PHGroupState, type PartialRecord, type PartialState, PeerCapability, PeerCapabilityFlags, PeerManifest, type PhAiToolAnnotations, type PhAiToolDescriptor, type PieceModule, PieceModuleSchema, PieceModulesSchema, type PowerhouseModule, PowerhouseModuleSchema, PowerhouseModulesSchema, Principal, ProtocolCapability, ProtocolVersions, type Publisher, PublisherSchema, PwaConfigSchema, type Query, RESERVED_OPERATION_NAMES, type Redo, type RedoAction, type RedoActionInput, RedoActionInputSchema, RedoActionSchema, RedoSchema, type Reducer, type ReducerOptions, type ReleaseNewVersionAction, RemoveGrantAction, RemoveGrantActionInput, RemoveGrantActionInputSchema, type RemoveRelationshipAction, type RemoveRelationshipActionInput, type ReorderChangeLogItemsAction, type ReorderChangeLogItemsInput, ReorderChangeLogItemsInputSchema, type ReorderModuleOperationsAction, type ReorderModuleOperationsInput, ReorderModuleOperationsInputSchema, type ReorderModulesAction, type ReorderModulesInput, ReorderModulesInputSchema, type ReorderOperationErrorsAction, type ReorderOperationErrorsInput, ReorderOperationErrorsInputSchema, type ReorderOperationExamplesAction, type ReorderOperationExamplesInput, ReorderOperationExamplesInputSchema, type ReorderStateExamplesAction, type ReorderStateExamplesInput, ReorderStateExamplesInputSchema, type ReplayDocumentOptions, ReservedOperationName, type RevisionsFilter, SIGNATURE_PROTOCOL, SIGNATURE_PROTOCOL_V2, type SaveToFile, type SaveToFileHandle, type Scalars, type SchemaNOOPAction, type SchemaRedoAction, type SchemaSetNameAction, type SchemaSetPreferredEditorAction, type SchemaUndoAction, type ScopeState, ScopeStateSchema, type SetAuthorNameAction, type SetAuthorNameInput, SetAuthorNameInputSchema, type SetAuthorWebsiteAction, type SetAuthorWebsiteInput, SetAuthorWebsiteInputSchema, SetGrantAction, SetGrantActionInput, SetGrantActionInputSchema, type SetInitialStateAction, type SetInitialStateInput, SetInitialStateInputSchema, type SetModelDescriptionAction, type SetModelDescriptionInput, SetModelDescriptionInputSchema, type SetModelExtensionAction, type SetModelExtensionInput, SetModelExtensionInputSchema, type SetModelIdAction, type SetModelIdInput, SetModelIdInputSchema, type SetModelNameAction, type SetModelNameInput, SetModelNameInputSchema, type SetModuleDescriptionAction, type SetModuleDescriptionInput, SetModuleDescriptionInputSchema, type SetModuleNameAction, type SetModuleNameInput, SetModuleNameInputSchema, type SetNameAction, type SetNameActionInput, SetNameActionInputSchema, SetNameActionSchema, type SetNameOperation, type SetOperationDescriptionAction, type SetOperationDescriptionInput, SetOperationDescriptionInputSchema, type SetOperationErrorCodeAction, type SetOperationErrorCodeInput, SetOperationErrorCodeInputSchema, type SetOperationErrorDescriptionAction, type SetOperationErrorDescriptionInput, SetOperationErrorDescriptionInputSchema, type SetOperationErrorNameAction, type SetOperationErrorNameInput, SetOperationErrorNameInputSchema, type SetOperationErrorTemplateAction, type SetOperationErrorTemplateInput, SetOperationErrorTemplateInputSchema, type SetOperationNameAction, type SetOperationNameInput, SetOperationNameInputSchema, type SetOperationReducerAction, type SetOperationReducerInput, SetOperationReducerInputSchema, type SetOperationSchemaAction, type SetOperationSchemaInput, SetOperationSchemaInputSchema, type SetOperationScopeAction, type SetOperationScopeInput, SetOperationScopeInputSchema, type SetOperationTemplateAction, type SetOperationTemplateInput, SetOperationTemplateInputSchema, type SetPreferredEditorAction, type SetPreferredEditorActionInput, SetPreferredEditorActionInputSchema, SetPreferredEditorActionSchema, type SetPreferredEditorOperation, type SetStateSchemaAction, type SetStateSchemaInput, SetStateSchemaInputSchema, type Set_Name, Set_NameSchema, type Set_PreferredEditor, Set_PreferredEditorSchema, type Signal, type SignalDispatch, type SignalResult, type SignalResults, type SignalType, Signature, SignaturePolicy, type SignatureVerificationHandler, type SigningParameters, type SkipHeaderOperationIndex, type SkipHeaderOperations, type State, type StateReducer, StateSchema, type SubgraphModule, Supports, TransportAction, TransportActionContext, TransportSigner, type Undo, type UndoAction, type UndoActionInput, UndoActionInputSchema, UndoActionSchema, type UndoRedoAction, UndoSchema, UnsupportedDocumentModelVersionError, type UpdateChangeLogItemAction, type UpdateChangeLogItemInput, UpdateChangeLogItemInputSchema, type UpdateOperationExampleAction, type UpdateOperationExampleInput, UpdateOperationExampleInputSchema, type UpdateRelationshipAction, type UpdateRelationshipActionInput, type UpdateStateExampleAction, type UpdateStateExampleInput, UpdateStateExampleInputSchema, type UpgradeDocumentAction, type UpgradeDocumentActionInput, UpgradeManifest, UpgradeReducer, UpgradeTransition, type User, UserActionSigner, type ValidationError, VersionedReducers, VersionedReplayConfig, ab2hex, actionContext, actionFromAction, actionPreimageV2, actionSigner, actionSignerIdentity, actionSigningTarget, actions, addChangeLogItem, addModule, addOperation, addOperationError, addOperationExample, addStateExample, addUndo, appendWithoutApplying, applyAuthAction, applyDeleteDocumentAction, applyInitializeAuthAction, applyMoveGrantAction, applyRemoveGrantAction, applySetGrantAction, applyUpgradeDocumentAction, assertAuthAdministrationRetained, assertAuthPreservedOnDuplicate, assertAuthScopeActionAllowed, assertIsDocumentModelDocument, assertIsDocumentModelState, assertModuleIdUnique, assertOperationErrorIdUnique, assertOperationExampleIdUnique, assertOperationIdUnique, assertValidGrant, assertValidGrantUpsert, assertValidInitialGrants, attachBranch, backfillAuthState, base58Decode, base64UrlToBytes, baseActions, baseCreateDocument, baseLoadFromInput, baseLoadFromInputVersioned, baseReducer, baseReducerVersion, baseSaveToFileHandle, buildOperationSignature, buildOperationSignatureMessage, buildOperationSignatureParams, buildSignedAction, bytesToBase64Url, canonicalJson, checkCleanedOperationsIntegrity, checkOperationsIntegrity, computeUpgradeTransitions, coversLocal, createAction, createAuthState, createBaseState, createCopyHeader, createDocumentState, createGlobalState, createLocalState, createMinimalZip, createPresignedHeader, createReducer, createSignedHeader, createSignedHeaderForSigner, createState, createVerificationSigner, createZip, decide, defaultAuthState, defaultBaseState, defaultDocumentState, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, deleteChangeLogItem, deleteModule, deleteOperation, deleteOperationError, deleteOperationExample, deleteStateExample, deriveDocumentId, deriveOperationId, deserializeSignature, diffOperations, documentModelActions, documentModelDocumentType, documentModelFileExtension, documentModelGlobalState, documentModelHeaderReducer, documentModelInitialGlobalState, documentModelInitialLocalState, documentModelLoadFromInput, documentModelModuleReducer, documentModelOperationErrorReducer, documentModelOperationExampleReducer, documentModelOperationReducer, documentModelReducer, documentModelSaveToFileHandle, documentModelStateReducer, documentModelStateSchemaReducer, documentModelVersioningReducer, evaluate, evaluateCondition, evaluateGrantStack, evaluateGrants, fetchFileBrowser, filterDocumentOperationsResultingState, filterDuplicatedOperations, findModuleOrThrow, findOperationErrorOrThrow, findOperationExampleOrThrow, findOperationOrThrow, garbageCollect, garbageCollectDocumentOperations, garbageCollectV2, generateId, generateMock, getAllOperationNames, getDocumentLastModified, getFileBrowser, getUnixTimestamp, grantProblem, groupDocumentType, groupMembershipActionTypes, groupOperationsByScope, hasDerivedDocumentId, hashActionV2, hashBrowser, hashDocumentStateForScope, hex2ab, holdReason, initializeAuth, isAuthAction, isDefinedNonNullAny, isDenied, isDerivedDocumentId, isDocumentAction, isDocumentCreator, isDocumentModelDocument, isDocumentModelState, isDocumentZip, isNoopOperation, isOlderManifest, isPlainValue, isReservedOperationName, isSignaturePolicy, isUndo, isUndoRedo, isV2ActionHash, isValidOperationNameFormat, legacySupports, localPeerManifest, localSupports, manifestRevision, mapSkippedOperations, mapSkippedOperationsV2, mentionedGroupIds, merge, mergePeerCapabilities, moveGrant, moveOperation, nextSkipNumber, noop, normalizeDocumentModelVersion, operationExampleCreators, operationFromAction, operationFromOperation, operationOutcome, operationWithContext, operationsAreEqual, parseBulkArchive, parseResultingState, peerSupports, precedes, prepareOperations, processUndoRedo, protocolVersionsFor, readFileBrowser, readOnly, readPeerManifest, redo, redoOperation, referencedGroupIds, releaseNewVersion, removeExistingOperations, removeGrant, reorderChangeLogItems, reorderModuleOperations, reorderModules, reorderOperationErrors, reorderOperationExamples, reorderStateExamples, replayDocument, replayDocumentVersioned, replayOperations, requestedSignaturePolicy, reshuffleByTimestamp, reshuffleByTimestampAndIndex, resolveSnapshotAuth, selectProtocolVersions, serializeSignature, setAuthorName, setAuthorWebsite, setGrant, setInitialState, setModelDescription, setModelExtension, setModelId, setModelName, setModuleDescription, setModuleName, setName, setNameOperation, setOperationDescription, setOperationErrorCode, setOperationErrorDescription, setOperationErrorName, setOperationErrorTemplate, setOperationName, setOperationReducer, setOperationSchema, setOperationScope, setOperationTemplate, setPreferredEditor, setPreferredEditorOperation, setStateSchema, sign, signActionV2, signaturePolicyOf, skipHeaderOperations, sortMappedOperations, sortOperations, split, targetDocumentId, toTransportAction, undo, undoOperation, undoOperationV2, updateChangeLogItem, updateDocument, updateHeaderRevision, updateOperationExample, updateStateExample, v2RequiredProtocolVersions, v2TupleProblem, validateHeader, validateInitialState, validateModule, validateModuleOperation, validateModules, validateOperationName, validateOperations, validateStateSchemaName, verify, verifyOperationSignature, withProtocolVersions, withSignaturePolicy, writeFileBrowser, zipEntries };
|
|
3
|
+
export { ACTION_SIGNATURE_V2_PREFIX, AUTH_ACTION_TYPES, AUTH_DENIED_BY_GRANT_REASON, AUTH_NO_GRANT_REASON, AUTH_VERSION_UNSUPPORTED_REASON, Action, ActionContext, type ActionErrorCallback, type ActionSignatureContext, ActionSigner, ActionSignerIdentity, type ActionSigningHandler, ActionSigningTarget, type ActionVerificationHandler, type Actions, type AddChangeLogItemAction, type AddChangeLogItemInput, AddChangeLogItemInputSchema, type AddModuleAction, type AddModuleInput, AddModuleInputSchema, type AddOperationAction, type AddOperationErrorAction, type AddOperationErrorInput, AddOperationErrorInputSchema, type AddOperationExampleAction, type AddOperationExampleInput, AddOperationExampleInputSchema, type AddOperationInput, AddOperationInputSchema, type AddRelationshipAction, type AddRelationshipActionInput, type AddStateExampleAction, type AddStateExampleInput, AddStateExampleInputSchema, AppActionSigner, type AssertIsDocumentOfType, type AssertIsStateOfType, AuthAction, AuthActionNotAllowedError, AuthAdministrationLockoutError, AuthAdministrationMissingError, AuthAlreadyInitializedError, AuthDecision, AuthEvaluation, AuthGroups, AuthInitializerNotCreatorError, AuthPolicyNotPreservedError, AuthRefusal, AuthRequest, AuthSubject, AuthVerb, type Author, AuthorSchema, BaseDocumentHeaderSchema, BaseDocumentStateSchema, BulkArchiveEntry, CanonicalJsonError, Capability, type CodeExample, CodeExampleSchema, Condition, ConditionContext, type ConfigEntry, ConfigEntrySchema, type ConfigEntryType, ConfigEntryTypeSchema, type CopyChildDocumentInput, type CopyChildDocumentSignal, type CreateChildDocumentInput, type CreateChildDocumentSignal, type CreateDocument, type CreateDocumentAction, type CreateDocumentActionInput, type CreateState, DEFAULT_SIGNATURE_POLICY, DOCUMENT_DELETED_REASON, DOCUMENT_PURGE_PROTOCOL, DOCUMENT_SCOPE_ACTION_TYPES, type DeleteChangeLogItemAction, type DeleteChangeLogItemInput, DeleteChangeLogItemInputSchema, type DeleteChildDocumentInput, type DeleteChildDocumentSignal, type DeleteDocumentAction, type DeleteDocumentActionInput, type DeleteModuleAction, type DeleteModuleInput, DeleteModuleInputSchema, type DeleteOperationAction, type DeleteOperationErrorAction, type DeleteOperationErrorInput, DeleteOperationErrorInputSchema, type DeleteOperationExampleAction, type DeleteOperationExampleInput, DeleteOperationExampleInputSchema, type DeleteOperationInput, DeleteOperationInputSchema, type DeleteStateExampleAction, type DeleteStateExampleInput, DeleteStateExampleInputSchema, type DocumentAction, DocumentActionSchema, DocumentIdParams, type DocumentModelAction, type DocumentModelDocument, type DocumentModelDocumentModelModule, type DocumentModelGlobalState, DocumentModelGlobalStateSchema, type DocumentModelHeaderAction, type DocumentModelHeaderOperations, DocumentModelHeaderSchema, type DocumentModelInput, DocumentModelInputSchema, type DocumentModelLib, type DocumentModelLocalState, type DocumentModelModule, type DocumentModelModuleAction, type DocumentModelModuleOperations, type DocumentModelOperationAction, type DocumentModelOperationErrorAction, type DocumentModelOperationErrorOperations, type DocumentModelOperationExampleAction, type DocumentModelOperationExampleOperations, type DocumentModelOperationOperations, type DocumentModelPHState, DocumentModelPHStateSchema, DocumentModelSchema, type DocumentModelStateAction, type DocumentModelStateOperations, type DocumentModelUtils, type DocumentModelVersioningAction, type DocumentModelVersioningOperations, DocumentOperations, type DocumentOperationsIgnoreMap, type DocumentSpecification, DocumentSpecificationSchema, DowngradeNotSupportedError, type ENSInfo, type EditorDispatch, type EditorModule, type EditorProps, type Exact, FeatureCapability, type FileInput, FileSystemError, type GetDocumentOptions, Grant, GrantNotFoundError, GrantSchema, GroupPrincipalNotAllowedError, HASH_ALGORITHM_SHA1, HASH_ALGORITHM_SHA256, HASH_ALGORITHM_SHA512, HASH_ENCODING_BASE64, HASH_ENCODING_HEX, HashConfig, HashMismatchError, HoldReason, type IAction, type ID, type IDocument, type IOperation, type ISignal, type ISignalResult, type ISigner, type Incremental, InitializeAuthAction, InitializeAuthActionInput, InitializeAuthActionInputSchema, type InputMaybe, IntegrityIssueSubType, IntegrityIssueType, InvalidActionInputError, InvalidActionInputZodError, InvalidAuthVersionError, InvalidGrantError, type IsDocumentOfType, type IsStateOfType, type LoadFromFile, type LoadFromInput, MARKER_REFUSAL_FEATURE, MAX_AUTH_GRANTS, MAX_CAPABILITY_OPERATIONS, MAX_CONDITION_DEPTH, MAX_CONDITION_NODES, MAX_SUPPORTED_AUTH_VERSION, type MakeEmpty, type MakeMaybe, type MakeOptional, type Manifest, ManifestSchema, type MappedOperation, type Maybe, type MinimalBackupData, ModuleSchema, type ModuleSpecification, MoveGrantAction, MoveGrantActionInput, MoveGrantActionInputSchema, type MoveOperationAction, type MoveOperationInput, MoveOperationInputSchema, type Mutation, type MutationAddChangeLogItemInputArgs, type MutationAddModuleArgs, type MutationAddOperationArgs, type MutationAddOperationErrorArgs, type MutationAddOperationExampleArgs, type MutationAddStateExampleArgs, type MutationDeleteChangeLogItemInputArgs, type MutationDeleteModuleArgs, type MutationDeleteOperationArgs, type MutationDeleteOperationErrorArgs, type MutationDeleteOperationExampleArgs, type MutationDeleteStateExampleArgs, type MutationMoveOperationArgs, type MutationRedoArgs, type MutationReorderChangeLogItemsInputArgs, type MutationReorderModuleOperationsArgs, type MutationReorderModulesArgs, type MutationReorderOperationErrorsArgs, type MutationReorderOperationExamplesArgs, type MutationReorderStateExamplesArgs, type MutationSetAuthorNameArgs, type MutationSetAuthorWebsiteArgs, type MutationSetInitialStateArgs, type MutationSetModelDescriptionArgs, type MutationSetModelExtensionArgs, type MutationSetModelIdArgs, type MutationSetModelNameArgs, type MutationSetModuleDescriptionArgs, type MutationSetModuleNameArgs, type MutationSetNameArgs, type MutationSetOperationDescriptionArgs, type MutationSetOperationErrorCodeArgs, type MutationSetOperationErrorDescriptionArgs, type MutationSetOperationErrorNameArgs, type MutationSetOperationErrorTemplateArgs, type MutationSetOperationNameArgs, type MutationSetOperationReducerArgs, type MutationSetOperationSchemaArgs, type MutationSetOperationTemplateArgs, type MutationSetStateSchemaArgs, type MutationUndoArgs, type MutationUpdateChangeLogItemInputArgs, type MutationUpdateOperationExampleArgs, type MutationUpdateStateExampleArgs, type NOOPAction, OPERATION_NAME_PATTERN, Operand, Operation, OperationContext, OperationErrorSchema, type OperationErrorSpecification, type OperationIndex, OperationOutcome, OperationScopeSchema, type OperationSpecification, OperationSpecificationSchema, OperationWithContext, type OperationsByScope, PEER_CAPABILITIES, PEER_MANIFEST_FORMAT, PHAuthState, PHBaseState, PHDocument, PHDocumentHeader, PHDocumentMeta, PHDocumentSignatureInfo, PHDocumentState, PHGroupState, PURGE_DOCUMENT, type PartialRecord, type PartialState, PeerCapability, PeerCapabilityFlags, PeerManifest, type PhAiToolAnnotations, type PhAiToolDescriptor, type PieceModule, PieceModuleSchema, PieceModulesSchema, type PowerhouseModule, PowerhouseModuleSchema, PowerhouseModulesSchema, Principal, ProtocolCapability, ProtocolVersions, type Publisher, PublisherSchema, type PurgeDocumentAction, type PurgeDocumentActionInput, PurgeMarkerOperation, PwaConfigSchema, type Query, RESERVED_OPERATION_NAMES, type Redo, type RedoAction, type RedoActionInput, RedoActionInputSchema, RedoActionSchema, RedoSchema, type Reducer, type ReducerOptions, type ReleaseNewVersionAction, RemoveGrantAction, RemoveGrantActionInput, RemoveGrantActionInputSchema, type RemoveRelationshipAction, type RemoveRelationshipActionInput, type ReorderChangeLogItemsAction, type ReorderChangeLogItemsInput, ReorderChangeLogItemsInputSchema, type ReorderModuleOperationsAction, type ReorderModuleOperationsInput, ReorderModuleOperationsInputSchema, type ReorderModulesAction, type ReorderModulesInput, ReorderModulesInputSchema, type ReorderOperationErrorsAction, type ReorderOperationErrorsInput, ReorderOperationErrorsInputSchema, type ReorderOperationExamplesAction, type ReorderOperationExamplesInput, ReorderOperationExamplesInputSchema, type ReorderStateExamplesAction, type ReorderStateExamplesInput, ReorderStateExamplesInputSchema, type ReplayDocumentOptions, ReservedOperationName, type RevisionsFilter, SIGNATURE_PROTOCOL, SIGNATURE_PROTOCOL_V2, type SaveToFile, type SaveToFileHandle, type Scalars, type SchemaNOOPAction, type SchemaRedoAction, type SchemaSetNameAction, type SchemaSetPreferredEditorAction, type SchemaUndoAction, type ScopeState, ScopeStateSchema, type SetAuthorNameAction, type SetAuthorNameInput, SetAuthorNameInputSchema, type SetAuthorWebsiteAction, type SetAuthorWebsiteInput, SetAuthorWebsiteInputSchema, SetGrantAction, SetGrantActionInput, SetGrantActionInputSchema, type SetInitialStateAction, type SetInitialStateInput, SetInitialStateInputSchema, type SetModelDescriptionAction, type SetModelDescriptionInput, SetModelDescriptionInputSchema, type SetModelExtensionAction, type SetModelExtensionInput, SetModelExtensionInputSchema, type SetModelIdAction, type SetModelIdInput, SetModelIdInputSchema, type SetModelNameAction, type SetModelNameInput, SetModelNameInputSchema, type SetModuleDescriptionAction, type SetModuleDescriptionInput, SetModuleDescriptionInputSchema, type SetModuleNameAction, type SetModuleNameInput, SetModuleNameInputSchema, type SetNameAction, type SetNameActionInput, SetNameActionInputSchema, SetNameActionSchema, type SetNameOperation, type SetOperationDescriptionAction, type SetOperationDescriptionInput, SetOperationDescriptionInputSchema, type SetOperationErrorCodeAction, type SetOperationErrorCodeInput, SetOperationErrorCodeInputSchema, type SetOperationErrorDescriptionAction, type SetOperationErrorDescriptionInput, SetOperationErrorDescriptionInputSchema, type SetOperationErrorNameAction, type SetOperationErrorNameInput, SetOperationErrorNameInputSchema, type SetOperationErrorTemplateAction, type SetOperationErrorTemplateInput, SetOperationErrorTemplateInputSchema, type SetOperationNameAction, type SetOperationNameInput, SetOperationNameInputSchema, type SetOperationReducerAction, type SetOperationReducerInput, SetOperationReducerInputSchema, type SetOperationSchemaAction, type SetOperationSchemaInput, SetOperationSchemaInputSchema, type SetOperationScopeAction, type SetOperationScopeInput, SetOperationScopeInputSchema, type SetOperationTemplateAction, type SetOperationTemplateInput, SetOperationTemplateInputSchema, type SetPreferredEditorAction, type SetPreferredEditorActionInput, SetPreferredEditorActionInputSchema, SetPreferredEditorActionSchema, type SetPreferredEditorOperation, type SetStateSchemaAction, type SetStateSchemaInput, SetStateSchemaInputSchema, type Set_Name, Set_NameSchema, type Set_PreferredEditor, Set_PreferredEditorSchema, type Signal, type SignalDispatch, type SignalResult, type SignalResults, type SignalType, Signature, SignaturePolicy, type SignatureVerificationHandler, type SigningParameters, type SkipHeaderOperationIndex, type SkipHeaderOperations, type State, type StateReducer, StateSchema, type SubgraphModule, Supports, TransportAction, TransportActionContext, TransportSigner, type Undo, type UndoAction, type UndoActionInput, UndoActionInputSchema, UndoActionSchema, type UndoRedoAction, UndoSchema, UnsupportedDocumentModelVersionError, type UpdateChangeLogItemAction, type UpdateChangeLogItemInput, UpdateChangeLogItemInputSchema, type UpdateOperationExampleAction, type UpdateOperationExampleInput, UpdateOperationExampleInputSchema, type UpdateRelationshipAction, type UpdateRelationshipActionInput, type UpdateStateExampleAction, type UpdateStateExampleInput, UpdateStateExampleInputSchema, type UpgradeDocumentAction, type UpgradeDocumentActionInput, UpgradeManifest, UpgradeReducer, UpgradeTransition, type User, UserActionSigner, type ValidationError, VersionedReducers, VersionedReplayConfig, ab2hex, actionContext, actionFromAction, actionPreimageV2, actionSigner, actionSignerIdentity, actionSigningTarget, actions, addChangeLogItem, addModule, addOperation, addOperationError, addOperationExample, addStateExample, addUndo, appendWithoutApplying, applyAuthAction, applyDeleteDocumentAction, applyInitializeAuthAction, applyMoveGrantAction, applyRemoveGrantAction, applySetGrantAction, applyUpgradeDocumentAction, assertAuthAdministrationRetained, assertAuthPreservedOnDuplicate, assertAuthScopeActionAllowed, assertIsDocumentModelDocument, assertIsDocumentModelState, assertModuleIdUnique, assertOperationErrorIdUnique, assertOperationExampleIdUnique, assertOperationIdUnique, assertValidGrant, assertValidGrantUpsert, assertValidInitialGrants, attachBranch, backfillAuthState, base58Decode, base64UrlToBytes, baseActions, baseCreateDocument, baseLoadFromInput, baseLoadFromInputVersioned, baseReducer, baseReducerVersion, baseSaveToFileHandle, buildOperationSignature, buildOperationSignatureMessage, buildOperationSignatureParams, buildSignedAction, bytesToBase64Url, canonicalJson, checkCleanedOperationsIntegrity, checkOperationsIntegrity, computeUpgradeTransitions, coversLocal, createAction, createAuthState, createBaseState, createCopyHeader, createDocumentState, createGlobalState, createLocalState, createMinimalZip, createPresignedHeader, createReducer, createSignedHeader, createSignedHeaderForSigner, createState, createVerificationSigner, createZip, decide, defaultAuthState, defaultBaseState, defaultDocumentState, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, deleteChangeLogItem, deleteModule, deleteOperation, deleteOperationError, deleteOperationExample, deleteStateExample, deriveDocumentId, deriveOperationId, deserializeSignature, diffOperations, documentModelActions, documentModelDocumentType, documentModelFileExtension, documentModelGlobalState, documentModelHeaderReducer, documentModelInitialGlobalState, documentModelInitialLocalState, documentModelLoadFromInput, documentModelModuleReducer, documentModelOperationErrorReducer, documentModelOperationExampleReducer, documentModelOperationReducer, documentModelReducer, documentModelSaveToFileHandle, documentModelStateReducer, documentModelStateSchemaReducer, documentModelVersioningReducer, evaluate, evaluateCondition, evaluateGrantStack, evaluateGrants, fetchFileBrowser, filterDocumentOperationsResultingState, filterDuplicatedOperations, findModuleOrThrow, findOperationErrorOrThrow, findOperationExampleOrThrow, findOperationOrThrow, garbageCollect, garbageCollectDocumentOperations, garbageCollectV2, generateId, generateMock, getAllOperationNames, getDocumentLastModified, getFileBrowser, getUnixTimestamp, grantProblem, groupDocumentType, groupMembershipActionTypes, groupOperationsByScope, hasDerivedDocumentId, hashActionV2, hashBrowser, hashDocumentStateForScope, hex2ab, holdReason, initializeAuth, isAuthAction, isDefinedNonNullAny, isDenied, isDerivedDocumentId, isDocumentAction, isDocumentCreator, isDocumentModelDocument, isDocumentModelState, isDocumentZip, isNoopOperation, isOlderManifest, isPlainValue, isPurgeMarker, isReservedOperationName, isSignaturePolicy, isUndo, isUndoRedo, isV2ActionHash, isValidOperationNameFormat, legacySupports, localPeerManifest, localSupports, manifestRevision, mapSkippedOperations, mapSkippedOperationsV2, mentionedGroupIds, merge, mergePeerCapabilities, moveGrant, moveOperation, nextSkipNumber, noop, normalizeDocumentModelVersion, operationExampleCreators, operationFromAction, operationFromOperation, operationOutcome, operationWithContext, operationsAreEqual, parseBulkArchive, parseResultingState, peerSupports, precedes, prepareOperations, processUndoRedo, protocolVersionsFor, purgeDocumentAction, purgeMarkerOperation, purgedProtocolVersions, readFileBrowser, readOnly, readPeerManifest, redo, redoOperation, referencedGroupIds, releaseNewVersion, removeExistingOperations, removeGrant, reorderChangeLogItems, reorderModuleOperations, reorderModules, reorderOperationErrors, reorderOperationExamples, reorderStateExamples, replayDocument, replayDocumentVersioned, replayOperations, requestedSignaturePolicy, reshuffleByTimestamp, reshuffleByTimestampAndIndex, resolveSnapshotAuth, selectProtocolVersions, serializeSignature, setAuthorName, setAuthorWebsite, setGrant, setInitialState, setModelDescription, setModelExtension, setModelId, setModelName, setModuleDescription, setModuleName, setName, setNameOperation, setOperationDescription, setOperationErrorCode, setOperationErrorDescription, setOperationErrorName, setOperationErrorTemplate, setOperationName, setOperationReducer, setOperationSchema, setOperationScope, setOperationTemplate, setPreferredEditor, setPreferredEditorOperation, setStateSchema, sign, signActionV2, signaturePolicyOf, skipHeaderOperations, sortMappedOperations, sortOperations, split, targetDocumentId, toTransportAction, undo, undoOperation, undoOperationV2, updateChangeLogItem, updateDocument, updateHeaderRevision, updateOperationExample, updateStateExample, v2RequiredProtocolVersions, v2TupleProblem, validateHeader, validateInitialState, validateModule, validateModuleOperation, validateModules, validateOperationName, validateOperations, validateStateSchemaName, verify, verifyOperationSignature, withProtocolVersions, withSignaturePolicy, writeFileBrowser, zipEntries };
|
|
5
4
|
export {};
|