@powerhousedao/shared 6.0.2-staging.8 → 6.0.2-staging.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/actions-UH5nIJcP.d.ts +21068 -0
  2. package/dist/actions-UH5nIJcP.d.ts.map +1 -0
  3. package/dist/clis/args/access-token.mjs +1 -1
  4. package/dist/clis/args/{common-Bc8EcW9w.mjs → common-DPYlcz-d.mjs} +7 -1
  5. package/dist/clis/args/common-DPYlcz-d.mjs.map +1 -0
  6. package/dist/clis/args/common.mjs +1 -1
  7. package/dist/clis/args/connect.mjs +1 -1
  8. package/dist/clis/args/{generate-DNGRYRdp.mjs → generate-BJPBa0mK.mjs} +2 -2
  9. package/dist/clis/args/{generate-DNGRYRdp.mjs.map → generate-BJPBa0mK.mjs.map} +1 -1
  10. package/dist/clis/args/generate.mjs +1 -1
  11. package/dist/clis/args/{help-CFAVJzhI.mjs → help-rztSuf9S.mjs} +3 -3
  12. package/dist/clis/args/{help-CFAVJzhI.mjs.map → help-rztSuf9S.mjs.map} +1 -1
  13. package/dist/clis/args/help.mjs +1 -1
  14. package/dist/clis/args/index.d.mts +1 -1
  15. package/dist/clis/args/index.mjs +3 -3
  16. package/dist/clis/args/init.mjs +1 -1
  17. package/dist/clis/args/inspect.mjs +1 -1
  18. package/dist/clis/args/install.mjs +1 -1
  19. package/dist/clis/args/list.mjs +1 -1
  20. package/dist/clis/args/login.mjs +1 -1
  21. package/dist/clis/args/migrate.mjs +1 -1
  22. package/dist/clis/args/publish.mjs +1 -1
  23. package/dist/clis/args/registry.mjs +1 -1
  24. package/dist/clis/args/service-LXIFUZ_8.d.mts +106 -0
  25. package/dist/clis/args/service-LXIFUZ_8.d.mts.map +1 -0
  26. package/dist/clis/args/service.d.mts +1 -1
  27. package/dist/clis/args/service.mjs +1 -1
  28. package/dist/clis/args/switchboard.mjs +1 -1
  29. package/dist/clis/args/uninstall.mjs +1 -1
  30. package/dist/clis/args/unpublish.mjs +1 -1
  31. package/dist/clis/args/vetra.d.mts +3 -0
  32. package/dist/clis/args/vetra.d.mts.map +1 -1
  33. package/dist/clis/args/vetra.mjs +6 -1
  34. package/dist/clis/args/vetra.mjs.map +1 -1
  35. package/dist/clis/constants.d.mts +248 -1
  36. package/dist/clis/constants.d.mts.map +1 -1
  37. package/dist/clis/constants.mjs +139 -9
  38. package/dist/clis/constants.mjs.map +1 -1
  39. package/dist/clis/index.d.mts +276 -10
  40. package/dist/clis/index.d.mts.map +1 -1
  41. package/dist/clis/index.mjs +176 -15
  42. package/dist/clis/index.mjs.map +1 -1
  43. package/dist/clis/utils.d.mts +11 -1
  44. package/dist/clis/utils.d.mts.map +1 -1
  45. package/dist/clis/utils.mjs +17 -2
  46. package/dist/clis/utils.mjs.map +1 -1
  47. package/dist/document-drive/index.d.ts +2 -2
  48. package/dist/document-model/index.d.ts +3 -3
  49. package/dist/document-model/index.js +133 -54
  50. package/dist/document-model/index.js.map +1 -1
  51. package/dist/{index-dcU9nj_u.d.ts → index-DhPr5zSB.d.ts} +5 -6
  52. package/dist/index-DhPr5zSB.d.ts.map +1 -0
  53. package/dist/index.d.ts +3 -3
  54. package/dist/processors/index.d.ts +1 -1
  55. package/dist/registry/index.d.ts +1 -1
  56. package/dist/registry/index.js +6 -0
  57. package/dist/registry/index.js.map +1 -1
  58. package/dist/{types-DyMP31mD.d.ts → types-WzwAClp2.d.ts} +2 -2
  59. package/dist/{types-DyMP31mD.d.ts.map → types-WzwAClp2.d.ts.map} +1 -1
  60. package/package.json +3 -3
  61. package/dist/actions-_5ZcthYq.d.ts +0 -2444
  62. package/dist/actions-_5ZcthYq.d.ts.map +0 -1
  63. package/dist/clis/args/common-Bc8EcW9w.mjs.map +0 -1
  64. package/dist/clis/args/service-C88bN_g_.d.mts +0 -22
  65. package/dist/clis/args/service-C88bN_g_.d.mts.map +0 -1
  66. package/dist/index-dcU9nj_u.d.ts.map +0 -1
@@ -1,9 +1,19 @@
1
1
  //#region clis/utils.d.ts
2
+ /**
3
+ * Mutates a resolved `pnpm dlx ...` command to add one `--allow-build=<pkg>`
4
+ * flag per package in {@link BOILERPLATE_ALLOWED_BUILDS}, so pnpm 11's
5
+ * `strict-dep-builds=true` default doesn't prompt for approval during the
6
+ * outer dlx download. No-op for other package managers or non-dlx commands.
7
+ */
8
+ declare function injectPnpmAllowBuilds(pm: string, resolved: {
9
+ command: string;
10
+ args: string[];
11
+ }): void;
2
12
  declare class NodeVersionError extends Error {
3
13
  constructor(currentVersion: string, minimumVersion: string);
4
14
  static isError(error: unknown): error is NodeVersionError;
5
15
  }
6
16
  declare function assertNodeVersion(nodeVersion?: string): void;
7
17
  //#endregion
8
- export { NodeVersionError, assertNodeVersion };
18
+ export { NodeVersionError, assertNodeVersion, injectPnpmAllowBuilds };
9
19
  //# sourceMappingURL=utils.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.mts","names":[],"sources":["../../clis/utils.ts"],"mappings":";cAIa,gBAAA,SAAyB,KAAA;cACxB,cAAA,UAAwB,cAAA;EAAA,OAO7B,OAAA,CAAQ,KAAA,YAAiB,KAAA,IAAS,gBAAA;AAAA;AAAA,iBAK3B,iBAAA,CAAkB,WAAA"}
1
+ {"version":3,"file":"utils.d.mts","names":[],"sources":["../../clis/utils.ts"],"mappings":";;AAaA;;;;;iBAAgB,qBAAA,CACd,EAAA,UACA,QAAA;EAAY,OAAA;EAAiB,IAAA;AAAA;AAAA,cAOlB,gBAAA,SAAyB,KAAA;cACxB,cAAA,UAAwB,cAAA;EAAA,OAO7B,OAAA,CAAQ,KAAA,YAAiB,KAAA,IAAS,gBAAA;AAAA;AAAA,iBAK3B,iBAAA,CAAkB,WAAA"}
@@ -1,4 +1,4 @@
1
- import { MINIMUM_NODE_VERSION } from "./constants.mjs";
1
+ import { BOILERPLATE_ALLOWED_BUILDS, MINIMUM_NODE_VERSION } from "./constants.mjs";
2
2
  //#region \0rolldown/runtime.js
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
@@ -354,6 +354,21 @@ var import_lt = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports
354
354
  const lt = (a, b, loose) => compare(a, b, loose) < 0;
355
355
  module.exports = lt;
356
356
  })))(), 1);
357
+ /**
358
+ * Mutates a resolved `pnpm dlx ...` command to add one `--allow-build=<pkg>`
359
+ * flag per package in {@link BOILERPLATE_ALLOWED_BUILDS}, so pnpm 11's
360
+ * `strict-dep-builds=true` default doesn't prompt for approval during the
361
+ * outer dlx download. No-op for other package managers or non-dlx commands.
362
+ */
363
+ function injectPnpmAllowBuilds(pm, resolved) {
364
+ if (pm !== "pnpm" || resolved.args[0] !== "dlx") return;
365
+ const flags = BOILERPLATE_ALLOWED_BUILDS.map((pkg) => `--allow-build=${pkg}`);
366
+ resolved.args = [
367
+ resolved.args[0],
368
+ ...flags,
369
+ ...resolved.args.slice(1)
370
+ ];
371
+ }
357
372
  var NodeVersionError = class extends Error {
358
373
  constructor(currentVersion, minimumVersion) {
359
374
  super(`Node version ${minimumVersion} or higher is required. Current version: ${currentVersion}`);
@@ -368,6 +383,6 @@ function assertNodeVersion(nodeVersion = process.versions.node) {
368
383
  if ((0, import_lt.default)(nodeVersion, "24.0.0")) throw new NodeVersionError(nodeVersion, MINIMUM_NODE_VERSION);
369
384
  }
370
385
  //#endregion
371
- export { NodeVersionError, assertNodeVersion };
386
+ export { NodeVersionError, assertNodeVersion, injectPnpmAllowBuilds };
372
387
 
373
388
  //# sourceMappingURL=utils.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.mjs","names":[],"sources":["../../../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/debug.js","../../../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/constants.js","../../../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/re.js","../../../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/parse-options.js","../../../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/identifiers.js","../../../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/semver.js","../../../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare.js","../../../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lt.js","../../clis/utils.ts"],"sourcesContent":["'use strict'\n\nconst debug = (\n typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)\n) ? (...args) => console.error('SEMVER', ...args)\n : () => {}\n\nmodule.exports = debug\n","'use strict'\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst SEMVER_SPEC_VERSION = '2.0.0'\n\nconst MAX_LENGTH = 256\nconst MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n/* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nconst MAX_SAFE_COMPONENT_LENGTH = 16\n\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\n}\n","'use strict'\n\nconst {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst safeSrc = exports.safeSrc = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\n const index = R++\n debug(name, index, value)\n t[name] = index\n src[index] = value\n safeSrc[index] = safe\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ncreateToken('NUMERICIDENTIFIER', '0|[1-9]\\\\d*')\ncreateToken('NUMERICIDENTIFIERLOOSE', '\\\\d+')\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ncreateToken('NONNUMERICIDENTIFIER', `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`)\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ncreateToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n// Non-numeric identifiers include numeric identifiers but can be longer.\n// Therefore non-numeric identifiers must go first.\n\ncreateToken('PRERELEASEIDENTIFIER', `(?:${src[t.NONNUMERICIDENTIFIER]\n}|${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NONNUMERICIDENTIFIER]\n}|${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ncreateToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`)\n\ncreateToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ncreateToken('BUILDIDENTIFIER', `${LETTERDASHNUMBER}+`)\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ncreateToken('BUILD', `(?:\\\\+(${src[t.BUILDIDENTIFIER]\n}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`)\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ncreateToken('FULLPLAIN', `v?${src[t.MAINVERSION]\n}${src[t.PRERELEASE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('FULL', `^${src[t.FULLPLAIN]}$`)\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken('LOOSEPLAIN', `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]\n}${src[t.PRERELEASELOOSE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)\n\ncreateToken('GTLT', '((?:<|>)?=?)')\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`)\ncreateToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`)\n\ncreateToken('XRANGEPLAIN', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:${src[t.PRERELEASE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGEPLAINLOOSE', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:${src[t.PRERELEASELOOSE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`)\ncreateToken('XRANGELOOSE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken('COERCEPLAIN', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`)\ncreateToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\\\d])`)\ncreateToken('COERCEFULL', src[t.COERCEPLAIN] +\n `(?:${src[t.PRERELEASE]})?` +\n `(?:${src[t.BUILD]})?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\ncreateToken('COERCERTLFULL', src[t.COERCEFULL], true)\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken('LONETILDE', '(?:~>?)')\n\ncreateToken('TILDETRIM', `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true)\nexports.tildeTrimReplace = '$1~'\n\ncreateToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken('LONECARET', '(?:\\\\^)')\n\ncreateToken('CARETTRIM', `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true)\nexports.caretTrimReplace = '$1^'\n\ncreateToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`)\ncreateToken('COMPARATOR', `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`)\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken('COMPARATORTRIM', `(\\\\s*)${src[t.GTLT]\n}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)\nexports.comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken('HYPHENRANGE', `^\\\\s*(${src[t.XRANGEPLAIN]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAIN]})` +\n `\\\\s*$`)\n\ncreateToken('HYPHENRANGELOOSE', `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s*$`)\n\n// Star ranges basically just allow anything at all.\ncreateToken('STAR', '(<|>)?=?\\\\s*\\\\*')\n// >=0.0.0 is like a star\ncreateToken('GTE0', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$')\ncreateToken('GTE0PRE', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$')\n","'use strict'\n\n// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\n return options\n}\nmodule.exports = parseOptions\n","'use strict'\n\nconst numeric = /^[0-9]+$/\nconst compareIdentifiers = (a, b) => {\n if (typeof a === 'number' && typeof b === 'number') {\n return a === b ? 0 : a < b ? -1 : 1\n }\n\n const anum = numeric.test(a)\n const bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nconst rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)\n\nmodule.exports = {\n compareIdentifiers,\n rcompareIdentifiers,\n}\n","'use strict'\n\nconst debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { safeRe: re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n if (this.major < other.major) {\n return -1\n }\n if (this.major > other.major) {\n return 1\n }\n if (this.minor < other.minor) {\n return -1\n }\n if (this.minor > other.minor) {\n return 1\n }\n if (this.patch < other.patch) {\n return -1\n }\n if (this.patch > other.patch) {\n return 1\n }\n return 0\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('build compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier, identifierBase) {\n if (release.startsWith('pre')) {\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n // Avoid an invalid semver results\n if (identifier) {\n const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE])\n if (!match || match[1] !== identifier) {\n throw new Error(`invalid identifier: ${identifier}`)\n }\n }\n }\n\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier, identifierBase)\n this.inc('pre', identifier, identifierBase)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\n break\n case 'release':\n if (this.prerelease.length === 0) {\n throw new Error(`version ${this.raw} is not a prerelease`)\n }\n this.prerelease.length = 0\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre': {\n const base = Number(identifierBase) ? 1 : 0\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","'use strict'\n\nconst SemVer = require('../classes/semver')\nconst compare = (a, b, loose) =>\n new SemVer(a, loose).compare(new SemVer(b, loose))\n\nmodule.exports = compare\n","'use strict'\n\nconst compare = require('./compare')\nconst lt = (a, b, loose) => compare(a, b, loose) < 0\nmodule.exports = lt\n","// Sub-path: this module loads on the cold path of every CLI invocation.\nimport lt from \"semver/functions/lt.js\";\nimport { MINIMUM_NODE_VERSION } from \"./constants.js\";\n\nexport class NodeVersionError extends Error {\n constructor(currentVersion: string, minimumVersion: string) {\n super(\n `Node version ${minimumVersion} or higher is required. Current version: ${currentVersion}`,\n );\n this.name = \"NodeVersionError\";\n }\n\n static isError(error: unknown): error is NodeVersionError {\n return error instanceof Error && error.name === \"NodeVersionError\";\n }\n}\n\nexport function assertNodeVersion(nodeVersion = process.versions.node) {\n if (!nodeVersion) return;\n\n if (lt(nodeVersion, MINIMUM_NODE_VERSION)) {\n throw new NodeVersionError(nodeVersion, MINIMUM_NODE_VERSION);\n }\n}\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,QAAO,UAPL,OAAO,YAAY,YACnB,QAAQ,OACR,QAAQ,IAAI,cACZ,cAAc,KAAK,QAAQ,I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AE1E,YAAK,WAAW,KAAK,KAAK;;;AAG9B,SAAI,YAAY;MAGd,IAAI,aAAa,CAAC,YAAY,KAAK;AACnC,UAAI,mBAAmB,MACrB,cAAa,CAAC,WAAW;AAE3B,UAAI,mBAAmB,KAAK,WAAW,IAAI,WAAW,KAAK;WACrD,MAAM,KAAK,WAAW,GAAG,CAC3B,MAAK,aAAa;YAGpB,MAAK,aAAa;;AAGtB;;IAEF,QACE,OAAM,IAAI,MAAM,+BAA+B,UAAU;;AAE7D,QAAK,MAAM,KAAK,QAAQ;AACxB,OAAI,KAAK,MAAM,OACb,MAAK,OAAO,IAAI,KAAK,MAAM,KAAK,IAAI;AAEtC,UAAO;;;;;;;CCtUX,MAAM,SAAA,gBAAA;CACN,MAAM,WAAW,GAAG,GAAG,UACrB,IAAI,OAAO,GAAG,MAAM,CAAC,QAAQ,IAAI,OAAO,GAAG,MAAM,CAAC;AAEpD,QAAO,UAAU;;;;;CCJjB,MAAM,UAAA,iBAAA;CACN,MAAM,MAAM,GAAG,GAAG,UAAU,QAAQ,GAAG,GAAG,MAAM,GAAG;AACnD,QAAO,UAAU;;ACAjB,IAAa,mBAAb,cAAsC,MAAM;CAC1C,YAAY,gBAAwB,gBAAwB;AAC1D,QACE,gBAAgB,eAAe,2CAA2C,iBAC3E;AACD,OAAK,OAAO;;CAGd,OAAO,QAAQ,OAA2C;AACxD,SAAO,iBAAiB,SAAS,MAAM,SAAS;;;AAIpD,SAAgB,kBAAkB,cAAc,QAAQ,SAAS,MAAM;AACrE,KAAI,CAAC,YAAa;AAElB,MAAA,GAAA,UAAA,SAAO,aAAA,SAAkC,CACvC,OAAM,IAAI,iBAAiB,aAAa,qBAAqB"}
1
+ {"version":3,"file":"utils.mjs","names":[],"sources":["../../../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/debug.js","../../../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/constants.js","../../../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/re.js","../../../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/parse-options.js","../../../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/identifiers.js","../../../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/semver.js","../../../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare.js","../../../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lt.js","../../clis/utils.ts"],"sourcesContent":["'use strict'\n\nconst debug = (\n typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)\n) ? (...args) => console.error('SEMVER', ...args)\n : () => {}\n\nmodule.exports = debug\n","'use strict'\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst SEMVER_SPEC_VERSION = '2.0.0'\n\nconst MAX_LENGTH = 256\nconst MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n/* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nconst MAX_SAFE_COMPONENT_LENGTH = 16\n\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\n}\n","'use strict'\n\nconst {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst safeSrc = exports.safeSrc = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\n const index = R++\n debug(name, index, value)\n t[name] = index\n src[index] = value\n safeSrc[index] = safe\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ncreateToken('NUMERICIDENTIFIER', '0|[1-9]\\\\d*')\ncreateToken('NUMERICIDENTIFIERLOOSE', '\\\\d+')\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ncreateToken('NONNUMERICIDENTIFIER', `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`)\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ncreateToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n// Non-numeric identifiers include numeric identifiers but can be longer.\n// Therefore non-numeric identifiers must go first.\n\ncreateToken('PRERELEASEIDENTIFIER', `(?:${src[t.NONNUMERICIDENTIFIER]\n}|${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NONNUMERICIDENTIFIER]\n}|${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ncreateToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`)\n\ncreateToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ncreateToken('BUILDIDENTIFIER', `${LETTERDASHNUMBER}+`)\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ncreateToken('BUILD', `(?:\\\\+(${src[t.BUILDIDENTIFIER]\n}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`)\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ncreateToken('FULLPLAIN', `v?${src[t.MAINVERSION]\n}${src[t.PRERELEASE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('FULL', `^${src[t.FULLPLAIN]}$`)\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken('LOOSEPLAIN', `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]\n}${src[t.PRERELEASELOOSE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)\n\ncreateToken('GTLT', '((?:<|>)?=?)')\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`)\ncreateToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`)\n\ncreateToken('XRANGEPLAIN', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:${src[t.PRERELEASE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGEPLAINLOOSE', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:${src[t.PRERELEASELOOSE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`)\ncreateToken('XRANGELOOSE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken('COERCEPLAIN', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`)\ncreateToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\\\d])`)\ncreateToken('COERCEFULL', src[t.COERCEPLAIN] +\n `(?:${src[t.PRERELEASE]})?` +\n `(?:${src[t.BUILD]})?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\ncreateToken('COERCERTLFULL', src[t.COERCEFULL], true)\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken('LONETILDE', '(?:~>?)')\n\ncreateToken('TILDETRIM', `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true)\nexports.tildeTrimReplace = '$1~'\n\ncreateToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken('LONECARET', '(?:\\\\^)')\n\ncreateToken('CARETTRIM', `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true)\nexports.caretTrimReplace = '$1^'\n\ncreateToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`)\ncreateToken('COMPARATOR', `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`)\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken('COMPARATORTRIM', `(\\\\s*)${src[t.GTLT]\n}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)\nexports.comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken('HYPHENRANGE', `^\\\\s*(${src[t.XRANGEPLAIN]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAIN]})` +\n `\\\\s*$`)\n\ncreateToken('HYPHENRANGELOOSE', `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s*$`)\n\n// Star ranges basically just allow anything at all.\ncreateToken('STAR', '(<|>)?=?\\\\s*\\\\*')\n// >=0.0.0 is like a star\ncreateToken('GTE0', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$')\ncreateToken('GTE0PRE', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$')\n","'use strict'\n\n// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\n return options\n}\nmodule.exports = parseOptions\n","'use strict'\n\nconst numeric = /^[0-9]+$/\nconst compareIdentifiers = (a, b) => {\n if (typeof a === 'number' && typeof b === 'number') {\n return a === b ? 0 : a < b ? -1 : 1\n }\n\n const anum = numeric.test(a)\n const bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nconst rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)\n\nmodule.exports = {\n compareIdentifiers,\n rcompareIdentifiers,\n}\n","'use strict'\n\nconst debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { safeRe: re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n if (this.major < other.major) {\n return -1\n }\n if (this.major > other.major) {\n return 1\n }\n if (this.minor < other.minor) {\n return -1\n }\n if (this.minor > other.minor) {\n return 1\n }\n if (this.patch < other.patch) {\n return -1\n }\n if (this.patch > other.patch) {\n return 1\n }\n return 0\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('build compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier, identifierBase) {\n if (release.startsWith('pre')) {\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n // Avoid an invalid semver results\n if (identifier) {\n const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE])\n if (!match || match[1] !== identifier) {\n throw new Error(`invalid identifier: ${identifier}`)\n }\n }\n }\n\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier, identifierBase)\n this.inc('pre', identifier, identifierBase)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\n break\n case 'release':\n if (this.prerelease.length === 0) {\n throw new Error(`version ${this.raw} is not a prerelease`)\n }\n this.prerelease.length = 0\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre': {\n const base = Number(identifierBase) ? 1 : 0\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","'use strict'\n\nconst SemVer = require('../classes/semver')\nconst compare = (a, b, loose) =>\n new SemVer(a, loose).compare(new SemVer(b, loose))\n\nmodule.exports = compare\n","'use strict'\n\nconst compare = require('./compare')\nconst lt = (a, b, loose) => compare(a, b, loose) < 0\nmodule.exports = lt\n","// Sub-path: this module loads on the cold path of every CLI invocation.\nimport lt from \"semver/functions/lt.js\";\nimport {\n BOILERPLATE_ALLOWED_BUILDS,\n MINIMUM_NODE_VERSION,\n} from \"./constants.js\";\n\n/**\n * Mutates a resolved `pnpm dlx ...` command to add one `--allow-build=<pkg>`\n * flag per package in {@link BOILERPLATE_ALLOWED_BUILDS}, so pnpm 11's\n * `strict-dep-builds=true` default doesn't prompt for approval during the\n * outer dlx download. No-op for other package managers or non-dlx commands.\n */\nexport function injectPnpmAllowBuilds(\n pm: string,\n resolved: { command: string; args: string[] },\n): void {\n if (pm !== \"pnpm\" || resolved.args[0] !== \"dlx\") return;\n const flags = BOILERPLATE_ALLOWED_BUILDS.map((pkg) => `--allow-build=${pkg}`);\n resolved.args = [resolved.args[0], ...flags, ...resolved.args.slice(1)];\n}\n\nexport class NodeVersionError extends Error {\n constructor(currentVersion: string, minimumVersion: string) {\n super(\n `Node version ${minimumVersion} or higher is required. Current version: ${currentVersion}`,\n );\n this.name = \"NodeVersionError\";\n }\n\n static isError(error: unknown): error is NodeVersionError {\n return error instanceof Error && error.name === \"NodeVersionError\";\n }\n}\n\nexport function assertNodeVersion(nodeVersion = process.versions.node) {\n if (!nodeVersion) return;\n\n if (lt(nodeVersion, MINIMUM_NODE_VERSION)) {\n throw new NodeVersionError(nodeVersion, MINIMUM_NODE_VERSION);\n }\n}\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,QAAO,UAPL,OAAO,YAAY,YACnB,QAAQ,OACR,QAAQ,IAAI,cACZ,cAAc,KAAK,QAAQ,IAAI,WAAW,IACvC,GAAG,SAAS,QAAQ,MAAM,UAAU,GAAG,KAAK,SACvC;;;;;CCJV,MAAM,sBAAsB;CAE5B,MAAM,aAAa;CACnB,MAAM,mBAAmB,OAAO,oBACL;AAmB3B,QAAO,UAAU;EACf;EACA,2BAlBgC;EAmBhC,uBAf4B,aAAa;EAgBzC;EACA,eAfoB;GACpB;GACA;GACA;GACA;GACA;GACA;GACA;GACD;EAQC;EACA,yBAAyB;EACzB,YAAY;EACb;;;;;CClCD,MAAM,EACJ,2BACA,uBACA,eAAA,mBAAA;CAEF,MAAM,QAAA,eAAA;AACN,WAAU,OAAO,UAAU,EAAE;CAG7B,MAAM,KAAK,QAAQ,KAAK,EAAE;CAC1B,MAAM,SAAS,QAAQ,SAAS,EAAE;CAClC,MAAM,MAAM,QAAQ,MAAM,EAAE;CAC5B,MAAM,UAAU,QAAQ,UAAU,EAAE;CACpC,MAAM,IAAI,QAAQ,IAAI,EAAE;CACxB,IAAI,IAAI;CAER,MAAM,mBAAmB;CAQzB,MAAM,wBAAwB;EAC5B,CAAC,OAAO,EAAE;EACV,CAAC,OAAO,WAAW;EACnB,CAAC,kBAAkB,sBAAsB;EAC1C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N,KAAI,OAAO,UAAU,SAAS,KAAK,OAAO,MAAO;CACjD,MAAM,QAAQ,2BAA2B,KAAK,QAAQ,iBAAiB,MAAM;AAC7E,UAAS,OAAO;EAAC,SAAS,KAAK;EAAI,GAAG;EAAO,GAAG,SAAS,KAAK,MAAM,EAAE;EAAC;;AAGzE,IAAa,mBAAb,cAAsC,MAAM;CAC1C,YAAY,gBAAwB,gBAAwB;AAC1D,QACE,gBAAgB,eAAe,2CAA2C,iBAC3E;AACD,OAAK,OAAO;;CAGd,OAAO,QAAQ,OAA2C;AACxD,SAAO,iBAAiB,SAAS,MAAM,SAAS;;;AAIpD,SAAgB,kBAAkB,cAAc,QAAQ,SAAS,MAAM;AACrE,KAAI,CAAC,YAAa;AAElB,MAAA,GAAA,UAAA,SAAO,aAAA,SAAkC,CACvC,OAAM,IAAI,iBAAiB,aAAa,qBAAqB"}
@@ -1,5 +1,5 @@
1
- import { Ba as Reducer, Dr as DocumentModelGlobalState, Ei as Maybe, Kn as AssertIsDocumentOfType, ar as CreateState, gi as LoadFromInput, mi as IsStateOfType, nr as CreateDocument, oo as SaveToFileHandle, pi as IsDocumentOfType, pn as PHBaseState, qn as AssertIsStateOfType } from "../actions-_5ZcthYq.js";
2
- import { $ as AddFolderAction, A as TriggerData, C as RemoveTriggerInput, D as SetSharingTypeInput, E as SetDriveNameInput, G as GenerateNodesCopySrc, H as DriveDocumentModelModule, J as DocumentDriveDocument, K as SharingType, M as TriggerType, N as UpdateFileInput, O as TransmitterType, P as UpdateNodeInput, Q as AddFileAction, S as RemoveListenerInput, T as SetDriveIconInput, U as DriveInput, V as DocumentDrivePHState, W as GenerateNodesCopyIdGenerator, X as LegacyAddFileInput, Y as LegacyAddFileAction, Z as LegacySynchronizationUnit, _ as ListenerInput, a as CopyNodeInput, at as UpdateFileAction, b as PullResponderTriggerData, c as DocumentDriveLocalState, ct as AddTriggerAction, d as FolderNode, dt as RemoveListenerAction, et as CopyNodeAction, f as Listener, ft as RemoveTriggerAction, g as ListenerFilterInput, gt as SetSharingTypeAction, h as ListenerFilter, ht as SetDriveNameAction, i as AddTriggerInput, it as MoveNodeAction, j as TriggerInput, k as Trigger, l as DocumentDrivePHState$1, lt as DocumentDriveDriveAction, m as ListenerCallInfoInput, mt as SetDriveIconAction, n as AddFolderInput, nt as DocumentDriveNodeAction, o as DeleteNodeInput, ot as UpdateNodeAction, p as ListenerCallInfo, pt as SetAvailableOfflineAction, q as DocumentDriveAction, r as AddListenerInput, rt as DocumentDriveNodeOperations, s as DocumentDriveGlobalState, st as AddListenerAction, t as AddFileInput, tt as DeleteNodeAction, u as FileNode, ut as DocumentDriveDriveOperations, v as MoveNodeInput, w as SetAvailableOfflineInput, x as PullResponderTriggerDataInput, y as Node } from "../types-DyMP31mD.js";
1
+ import { Ha as Reducer, Jn as AssertIsDocumentOfType, Oi as Maybe, Yn as AssertIsStateOfType, co as SaveToFileHandle, gi as IsStateOfType, hi as IsDocumentOfType, hn as PHBaseState, ir as CreateDocument, kr as DocumentModelGlobalState, sr as CreateState, vi as LoadFromInput } from "../actions-UH5nIJcP.js";
2
+ import { $ as AddFolderAction, A as TriggerData, C as RemoveTriggerInput, D as SetSharingTypeInput, E as SetDriveNameInput, G as GenerateNodesCopySrc, H as DriveDocumentModelModule, J as DocumentDriveDocument, K as SharingType, M as TriggerType, N as UpdateFileInput, O as TransmitterType, P as UpdateNodeInput, Q as AddFileAction, S as RemoveListenerInput, T as SetDriveIconInput, U as DriveInput, V as DocumentDrivePHState, W as GenerateNodesCopyIdGenerator, X as LegacyAddFileInput, Y as LegacyAddFileAction, Z as LegacySynchronizationUnit, _ as ListenerInput, a as CopyNodeInput, at as UpdateFileAction, b as PullResponderTriggerData, c as DocumentDriveLocalState, ct as AddTriggerAction, d as FolderNode, dt as RemoveListenerAction, et as CopyNodeAction, f as Listener, ft as RemoveTriggerAction, g as ListenerFilterInput, gt as SetSharingTypeAction, h as ListenerFilter, ht as SetDriveNameAction, i as AddTriggerInput, it as MoveNodeAction, j as TriggerInput, k as Trigger, l as DocumentDrivePHState$1, lt as DocumentDriveDriveAction, m as ListenerCallInfoInput, mt as SetDriveIconAction, n as AddFolderInput, nt as DocumentDriveNodeAction, o as DeleteNodeInput, ot as UpdateNodeAction, p as ListenerCallInfo, pt as SetAvailableOfflineAction, q as DocumentDriveAction, r as AddListenerInput, rt as DocumentDriveNodeOperations, s as DocumentDriveGlobalState, st as AddListenerAction, t as AddFileInput, tt as DeleteNodeAction, u as FileNode, ut as DocumentDriveDriveOperations, v as MoveNodeInput, w as SetAvailableOfflineInput, x as PullResponderTriggerDataInput, y as Node } from "../types-WzwAClp2.js";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region document-drive/constants.d.ts
@@ -1,5 +1,5 @@
1
- import { $ as setName, $a as ReorderOperationExamplesAction, $c as UndoSchema, $i as MutationReorderStateExamplesArgs, $n as CopyChildDocumentSignal, $o as SetOperationScopeInput, $r as EditorProps, $s as DocumentModelInputSchema, $t as sortMappedOperations, A as noop, Aa as PartialState, Ac as SetModelDescriptionInputSchema, Ai as MoveOperationInput, An as ActionVerificationHandler, Ao as SetModuleDescriptionInput, Ar as DocumentModelInput, As as ValidationError, At as garbageCollectDocumentOperations, B as reorderModules, Ba as Reducer, Bc as SetOperationErrorDescriptionInputSchema, Bi as MutationDeleteOperationArgs, Bl as UserActionSigner, Bn as AddOperationExampleInput, Bo as SetOperationErrorDescriptionAction, Br as DocumentModelOperationExampleOperations, Bs as AuthorSchema, Bt as mapSkippedOperationsV2, C as deleteOperation, Ca as MutationUpdateStateExampleArgs, Cc as ReorderOperationErrorsInputSchema, Ci as MakeOptional, Cn as defaultDocumentState, Co as SetModelExtensionAction, Cr as DocumentFile, Cs as UpdateOperationExampleAction, Ct as baseCreateDocument, D as documentModelActions, Da as OperationSpecification, Dc as SetAuthorNameInputSchema, Di as MinimalBackupData, Dn as ActionErrorCallback, Do as SetModelNameAction, Dr as DocumentModelGlobalState, Ds as UpgradeDocumentAction, Dt as filterDocumentOperationsResultingState, E as deleteStateExample, Ea as OperationIndex, Ec as ScopeStateSchema, Ei as Maybe, En as defaultPHState, Eo as SetModelIdInput, Er as DocumentModelDocumentModelModule, Es as UpdateStateExampleInput, Et as diffOperations, F as prune, Fa as Publisher, Fc as SetModuleNameInputSchema, Fi as MutationAddOperationErrorArgs, Fl as ActionSigner, Fn as AddModuleInput, Fo as SetNameOperation, Fr as DocumentModelModuleOperations, Fs as AddModuleInputSchema, Ft as isDocumentAction, G as setAuthorWebsite, Ga as ReorderChangeLogItemsAction, Gc as SetOperationSchemaInputSchema, Gi as MutationMoveOperationArgs, Gn as AddStateExampleInput, Go as SetOperationErrorTemplateInput, Gr as DocumentModelUtils, Gs as DeleteModuleInputSchema, Gt as precedes, H as reorderOperationExamples, Ha as ReleaseNewVersionAction, Hc as SetOperationErrorTemplateInputSchema, Hi as MutationDeleteOperationExampleArgs, Hn as AddRelationshipAction, Ho as SetOperationErrorNameAction, Hr as DocumentModelPHState, Hs as ConfigEntrySchema, Ht as nextSkipNumber, I as redo, Ia as Query, Ic as SetNameActionInputSchema, Ii as MutationAddOperationExampleArgs, Il as AppActionSigner, In as AddOperationAction, Io as SetOperationDescriptionAction, Ir as DocumentModelOperationAction, Is as AddOperationErrorInputSchema, It as isNoopOperation, J as setModelExtension, Ja as ReorderModuleOperationsInput, Jc as SetStateSchemaInputSchema, Ji as MutationReorderChangeLogItemsInputArgs, Jn as Author, Jo as SetOperationReducerAction, Jr as DocumentOperationsIgnoreMap, Js as DeleteOperationInputSchema, Jt as removeExistingOperations, K as setInitialState, Ka as ReorderChangeLogItemsInput, Kc as SetOperationScopeInputSchema, Ki as MutationPruneArgs, Kn as AssertIsDocumentOfType, Ko as SetOperationNameAction, Kr as DocumentModelVersioningAction, Ks as DeleteOperationErrorInputSchema, Kt as prepareOperations, L as releaseNewVersion, La as Redo, Lc as SetNameActionSchema, Li as MutationAddStateExampleArgs, Ll as HashConfig, Ln as AddOperationErrorAction, Lo as SetOperationDescriptionInput, Lr as DocumentModelOperationErrorAction, Ls as AddOperationExampleInputSchema, Lt as isUndo, M as operationFromAction, Ma as Prune, Mc as SetModelIdInputSchema, Mi as MutationAddChangeLogItemInputArgs, Mn as AddChangeLogItemAction, Mo as SetModuleNameInput, Mr as DocumentModelLocalState, Ms as UpgradeReducer, Mt as getDocumentLastModified, N as operationFromOperation, Na as PruneAction, Nc as SetModelNameInputSchema, Ni as MutationAddModuleArgs, Nn as AddChangeLogItemInput, No as SetNameAction, Nr as DocumentModelModule, Ns as UpgradeTransition, Nt as groupOperationsByScope, O as loadState, Oa as OperationsByScope, Oc as SetAuthorWebsiteInputSchema, Oi as ModuleSpecification, On as ActionSignatureContext, Oo as SetModelNameInput, Or as DocumentModelHeaderAction, Os as UpgradeDocumentActionInput, Ot as filterDuplicatedOperations, P as operationWithContext, Pa as PruneActionInput, Pc as SetModuleDescriptionInputSchema, Pi as MutationAddOperationArgs, Pn as AddModuleAction, Po as SetNameActionInput, Pr as DocumentModelModuleAction, Ps as AddChangeLogItemInputSchema, Pt as hashDocumentStateForScope, Q as setModuleName, Qa as ReorderOperationErrorsInput, Qc as UndoActionSchema, Qi as MutationReorderOperationExamplesArgs, Qn as CopyChildDocumentInput, Qo as SetOperationScopeAction, Qr as EditorModule, Qs as DocumentModelGlobalStateSchema, Qt as skipHeaderOperations, R as reorderChangeLogItems, Ra as RedoAction, Rc as SetOperationDescriptionInputSchema, Ri as MutationDeleteChangeLogItemInputArgs, Rl as PHDocumentSignatureInfo, Rn as AddOperationErrorInput, Ro as SetOperationErrorCodeAction, Rr as DocumentModelOperationErrorOperations, Rs as AddOperationInputSchema, Rt as isUndoRedo, S as deleteModule, Sa as MutationUpdateOperationExampleArgs, Sc as ReorderModulesInputSchema, Si as MakeMaybe, Sn as defaultBaseState, So as SetModelDescriptionInput, Sr as DocumentAction, Ss as UpdateChangeLogItemInput, St as attachBranch, T as deleteOperationExample, Ta as OperationErrorSpecification, Tc as ReorderStateExamplesInputSchema, Ti as MappedOperation, Tn as defaultLocalState, To as SetModelIdAction, Tr as DocumentModelDocument, Ts as UpdateStateExampleAction, Tt as checkOperationsIntegrity, U as reorderStateExamples, Ua as RemoveRelationshipAction, Uc as SetOperationNameInputSchema, Ui as MutationDeleteStateExampleArgs, Un as AddRelationshipActionInput, Uo as SetOperationErrorNameInput, Ur as DocumentModelStateAction, Us as ConfigEntryTypeSchema, Ut as operationsAreEqual, V as reorderOperationErrors, Va as ReducerOptions, Vc as SetOperationErrorNameInputSchema, Vi as MutationDeleteOperationErrorArgs, Vn as AddOperationInput, Vo as SetOperationErrorDescriptionInput, Vr as DocumentModelOperationOperations, Vs as CodeExampleSchema, Vt as merge, W as setAuthorName, Wa as RemoveRelationshipActionInput, Wc as SetOperationReducerInputSchema, Wi as MutationLoadStateArgs, Wn as AddStateExampleAction, Wo as SetOperationErrorTemplateAction, Wr as DocumentModelStateOperations, Ws as DeleteChangeLogItemInputSchema, Wt as parseResultingState, X as setModelName, Xa as ReorderModulesInput, Xc as StateSchema, Xi as MutationReorderModulesArgs, Xn as ConfigEntry, Xo as SetOperationSchemaAction, Xr as ENSInfo, Xs as DocumentActionSchema, Xt as reshuffleByTimestamp, Y as setModelId, Ya as ReorderModulesAction, Yc as Set_NameSchema, Yi as MutationReorderModuleOperationsArgs, Yn as CodeExample, Yo as SetOperationReducerInput, Yr as DocumentSpecification, Ys as DeleteStateExampleInputSchema, Yt as replayDocument, Z as setModuleDescription, Za as ReorderOperationErrorsAction, Zc as UndoActionInputSchema, Zi as MutationReorderOperationErrorsArgs, Zn as ConfigEntryType, Zo as SetOperationSchemaInput, Zr as EditorDispatch, Zs as DocumentFileSchema, Zt as reshuffleByTimestampAndIndex, _ as baseActions, _a as MutationSetOperationSchemaArgs, _c as RedoActionInputSchema, _i as LoadStateAction, _n as createDocumentState, _o as SetAuthorWebsiteAction, _r as DeleteOperationExampleAction, _s as Undo, _t as IntegrityIssueType, a as AttachmentInput, aa as MutationSetModelIdArgs, ac as ManifestSchema, ai as ID, an as OperationContext, ao as SaveToFile, ar as CreateState, as as Signal, at as setOperationName, b as createAction, ba as MutationUndoArgs, bc as ReorderChangeLogItemsInputSchema, bi as Load_State, bn as createState, bo as SetInitialStateInput, br as DeleteStateExampleAction, bs as UndoRedoAction, bt as PHDocumentMeta, c as actionFromAction, ca as MutationSetModuleNameArgs, cc as OperationErrorSchema, ci as ISignal, cn as redoOperation, co as SchemaLoadStateAction, cr as DeleteChildDocumentInput, cs as SignalResults, ct as setOperationScope, d as addChangeLogItem, da as MutationSetOperationErrorCodeArgs, dc as PowerhouseModuleSchema, di as Incremental, dn as undoOperationV2, do as SchemaRedoAction, dr as DeleteDocumentActionInput, ds as SigningParameters, dt as undo, ea as MutationSetAuthorNameArgs, ec as DocumentSpecificationSchema, ei as Exact, el as UpdateChangeLogItemInputSchema, en as sortOperations, eo as ReorderOperationExamplesInput, er as CreateChildDocumentInput, es as SetOperationTemplateAction, et as setOperationDescription, f as addModule, fa as MutationSetOperationErrorDescriptionArgs, fc as PowerhouseModulesSchema, fi as InputMaybe, fn as PHAuthState, fo as SchemaSetNameAction, fr as DeleteModuleAction, fs as SkipHeaderOperationIndex, ft as updateChangeLogItem, g as addStateExample, ga as MutationSetOperationReducerArgs, gc as PublisherSchema, gi as LoadFromInput, gn as createBaseState, go as SetAuthorNameInput, gr as DeleteOperationErrorInput, gs as SubgraphModule, gt as IntegrityIssueSubType, h as addOperationExample, ha as MutationSetOperationNameArgs, hc as PruneSchema, hi as LoadFromFile, hn as createAuthState, ho as SetAuthorNameAction, hr as DeleteOperationErrorAction, hs as StateReducer, ht as verifyOperationSignature, i as Attachment, ia as MutationSetModelExtensionArgs, ic as Load_StateSchema, ii as IAction, il as isDefinedNonNullAny, in as Operation, io as RevisionsFilter, ir as CreateDocumentActionInput, is as Set_Name, it as setOperationErrorTemplate, j as operationExampleCreators, ja as PowerhouseModule, jc as SetModelExtensionInputSchema, ji as Mutation, jn as Actions, jo as SetModuleNameAction, jr as DocumentModelLib, js as UpgradeManifest, jt as garbageCollectV2, k as moveOperation, ka as PartialRecord, kc as SetInitialStateInputSchema, ki as MoveOperationAction, kn as ActionSigningHandler, ko as SetModuleDescriptionAction, kr as DocumentModelHeaderOperations, ks as User, kt as garbageCollect, l as actionSigner, la as MutationSetNameArgs, lc as OperationScopeSchema, li as ISignalResult, ln as setNameOperation, lo as SchemaNOOPAction, lr as DeleteChildDocumentSignal, ls as SignalType, lt as setOperationTemplate, m as addOperationError, ma as MutationSetOperationErrorTemplateArgs, mc as PruneActionSchema, mi as IsStateOfType, mn as PHDocumentState, mo as ScopeState, mr as DeleteOperationAction, ms as State, mt as updateStateExample, n as ActionContext, na as MutationSetInitialStateArgs, nc as LoadStateActionSchema, ni as FileRegistry, nl as UpdateStateExampleInputSchema, nn as updateHeaderRevision, no as ReorderStateExamplesInput, nr as CreateDocument, ns as SetStateSchemaAction, nt as setOperationErrorDescription, o as AttachmentRef, oa as MutationSetModelNameArgs, oc as ModuleSchema, oi as IDocument, on as OperationWithContext, oo as SaveToFileHandle, or as DeleteChangeLogItemAction, os as SignalDispatch, ot as setOperationReducer, p as addOperation, pa as MutationSetOperationErrorNameArgs, pc as PruneActionInputSchema, pi as IsDocumentOfType, pn as PHBaseState, po as SchemaUndoAction, pr as DeleteModuleInput, ps as SkipHeaderOperations, pt as updateOperationExample, q as setModelDescription, qa as ReorderModuleOperationsAction, qc as SetOperationTemplateInputSchema, qi as MutationRedoArgs, qn as AssertIsStateOfType, qo as SetOperationNameInput, qr as DocumentModelVersioningOperations, qs as DeleteOperationExampleInputSchema, qt as readOnly, r as ActionWithAttachment, ra as MutationSetModelDescriptionArgs, rc as LoadStateActionStateInputSchema, ri as GetDocumentOptions, rl as definedNonNullAnySchema, rn as DocumentOperations, ro as ReplayDocumentOptions, rr as CreateDocumentAction, rs as SetStateSchemaInput, rt as setOperationErrorName, s as actionContext, sa as MutationSetModuleDescriptionArgs, sc as MoveOperationInputSchema, si as IOperation, sn as loadStateOperation, so as Scalars, sr as DeleteChangeLogItemInput, ss as SignalResult, st as setOperationSchema, t as Action, ta as MutationSetAuthorWebsiteArgs, tc as LoadStateActionInputSchema, ti as FileInput, tl as UpdateOperationExampleInputSchema, tn as split, to as ReorderStateExamplesAction, tr as CreateChildDocumentSignal, ts as SetOperationTemplateInput, tt as setOperationErrorCode, u as actions, ua as MutationSetOperationDescriptionArgs, uc as OperationSpecificationSchema, ui as ISigner, un as undoOperation, uo as SchemaPruneAction, ur as DeleteDocumentAction, us as SignatureVerificationHandler, ut as setStateSchema, v as buildOperationSignature, va as MutationSetOperationTemplateArgs, vc as RedoActionSchema, vi as LoadStateActionInput, vn as createGlobalState, vo as SetAuthorWebsiteInput, vr as DeleteOperationExampleInput, vs as UndoAction, vt as PHDocument, w as deleteOperationError, wa as NOOPAction, wc as ReorderOperationExamplesInputSchema, wi as Manifest, wn as defaultGlobalState, wo as SetModelExtensionInput, wr as DocumentModelAction, ws as UpdateOperationExampleInput, wt as checkCleanedOperationsIntegrity, x as deleteChangeLogItem, xa as MutationUpdateChangeLogItemInputArgs, xc as ReorderModuleOperationsInputSchema, xi as MakeEmpty, xn as defaultAuthState, xo as SetModelDescriptionAction, xr as DeleteStateExampleInput, xs as UpdateChangeLogItemAction, xt as addUndo, y as buildSignedAction, ya as MutationSetStateSchemaArgs, yc as RedoSchema, yi as LoadStateActionStateInput, yn as createLocalState, yo as SetInitialStateAction, yr as DeleteOperationInput, ys as UndoActionInput, yt as PHDocumentHeader, z as reorderModuleOperations, za as RedoActionInput, zc as SetOperationErrorCodeInputSchema, zi as MutationDeleteModuleArgs, zl as Signature, zn as AddOperationExampleAction, zo as SetOperationErrorCodeInput, zr as DocumentModelOperationExampleAction, zs as AddStateExampleInputSchema, zt as mapSkippedOperations } from "../actions-_5ZcthYq.js";
2
- import { $ as DocumentModelSchema, A as createVerificationSigner, B as fetchFileBrowser, C as processUndoRedo, D as createPresignedHeader, E as updateDocument, F as baseSaveToFileHandle, G as HashMismatchError, H as readFileBrowser, I as createMinimalZip, J as documentModelDocumentType, K as InvalidActionInputError, L as createZip, M as validateHeader, N as verify, O as createSignedHeader, P as baseLoadFromInput, Q as DocumentModelPHStateSchema, R as documentModelLoadFromInput, S as createReducer, T as replayOperations, U as writeFileBrowser, V as getFileBrowser, W as FileSystemError, X as BaseDocumentStateSchema, Y as BaseDocumentHeaderSchema, Z as DocumentModelHeaderSchema, _ as documentModelReducer, _t as documentModelInitialGlobalState, a as validateInitialState, at as buildOperationSignatureMessage, b as documentModelVersioningReducer, c as validateModules, ct as hashBrowser, d as validateStateSchemaName, dt as HASH_ALGORITHM_SHA256, et as assertIsDocumentModelDocument, f as documentModelHeaderReducer, ft as HASH_ALGORITHM_SHA512, g as documentModelOperationReducer, gt as documentModelGlobalState, h as documentModelOperationExampleReducer, ht as documentModelFileExtension, i as isReservedOperationName, it as ab2hex, j as sign, k as createSignedHeaderForSigner, l as validateOperationName, lt as hex2ab, m as documentModelOperationErrorReducer, mt as HASH_ENCODING_HEX, n as ReservedOperationName, nt as isDocumentModelDocument, o as validateModule, ot as buildOperationSignatureParams, p as documentModelModuleReducer, pt as HASH_ENCODING_BASE64, q as InvalidActionInputZodError, r as getAllOperationNames, rt as isDocumentModelState, s as validateModuleOperation, st as getUnixTimestamp, t as RESERVED_OPERATION_NAMES, tt as assertIsDocumentModelState, u as validateOperations, ut as HASH_ALGORITHM_SHA1, v as documentModelStateReducer, vt as documentModelInitialLocalState, w as pruneOperation, x as baseReducer, y as documentModelStateSchemaReducer, z as documentModelSaveToFileHandle } from "../index-dcU9nj_u.js";
1
+ import { $ as setName, $a as ReorderOperationErrorsAction, $c as SetOperationReducerInputSchema, $i as MutationReorderOperationErrorsArgs, $n as ConfigEntryType, $o as SetOperationSchemaAction, $r as EditorDispatch, $s as DeleteChangeLogItemInputSchema, $t as skipHeaderOperations, A as noop, Aa as OperationsByScope, Ac as ReorderModuleOperationsInputSchema, Ai as ModuleSpecification, An as ActionSignatureContext, Ao as SetModelNameAction, Ar as DocumentModelHeaderAction, As as UpdateOperationExampleAction, At as garbageCollect, B as reorderModules, Ba as RedoAction, Bc as SetModelExtensionInputSchema, Bi as MutationDeleteChangeLogItemInputArgs, Bn as AddOperationErrorInput, Bo as SetOperationDescriptionInput, Br as DocumentModelOperationErrorOperations, Bs as UpgradeManifest, Bt as mapSkippedOperations, C as deleteOperation, Ca as MutationUpdateChangeLogItemInputArgs, Cc as PruneActionSchema, Ci as MakeEmpty, Cn as defaultAuthState, Co as SetInitialStateInput, Cr as DeleteStateExampleInput, Cs as SubgraphModule, Ct as attachBranch, D as documentModelActions, Da as OperationErrorSpecification, Dc as RedoActionSchema, Di as MappedOperation, Dn as defaultLocalState, Do as SetModelExtensionInput, Dr as DocumentModelDocument, Ds as UndoRedoAction, Dt as diffOperations, E as deleteStateExample, Ea as NOOPAction, Ec as RedoActionInputSchema, Ei as Manifest, En as defaultGlobalState, Eo as SetModelExtensionAction, Er as DocumentModelAction, Es as UndoActionInput, Et as checkOperationsIntegrity, F as prune, Fa as PruneAction, Fc as ScopeStateSchema, Fi as MutationAddModuleArgs, Fn as AddChangeLogItemInput, Fo as SetModuleNameInput, Fr as DocumentModelModule, Fs as UpdateStateExampleInput, Ft as hashDocumentStateForScope, G as setAuthorWebsite, Ga as RemoveRelationshipAction, Gc as SetNameActionInputSchema, Gi as MutationDeleteStateExampleArgs, Gn as AddRelationshipActionInput, Go as SetOperationErrorNameAction, Gr as DocumentModelStateAction, Gs as AddOperationErrorInputSchema, Gt as parseResultingState, H as reorderOperationExamples, Ha as Reducer, Hc as SetModelNameInputSchema, Hi as MutationDeleteOperationArgs, Hn as AddOperationExampleInput, Ho as SetOperationErrorCodeInput, Hr as DocumentModelOperationExampleOperations, Hs as UpgradeTransition, Ht as merge, I as redo, Ia as PruneActionInput, Ic as SetAuthorNameInputSchema, Ii as MutationAddOperationArgs, In as AddModuleAction, Io as SetNameAction, Ir as DocumentModelModuleAction, Is as UpgradeDocumentAction, It as isDocumentAction, J as setModelExtension, Ja as ReorderChangeLogItemsInput, Jc as SetOperationErrorCodeInputSchema, Ji as MutationPruneArgs, Jl as AppActionSigner, Jn as AssertIsDocumentOfType, Jo as SetOperationErrorTemplateInput, Jr as DocumentModelVersioningAction, Js as AddStateExampleInputSchema, Jt as readOnly, K as setInitialState, Ka as RemoveRelationshipActionInput, Kc as SetNameActionSchema, Ki as MutationLoadStateArgs, Kn as AddStateExampleAction, Ko as SetOperationErrorNameInput, Kr as DocumentModelStateOperations, Ks as AddOperationExampleInputSchema, Kt as precedes, L as releaseNewVersion, La as Publisher, Lc as SetAuthorWebsiteInputSchema, Li as MutationAddOperationErrorArgs, Ln as AddModuleInput, Lo as SetNameActionInput, Lr as DocumentModelModuleOperations, Ls as UpgradeDocumentActionInput, Lt as isNoopOperation, M as operationFromAction, Ma as PartialState, Mc as ReorderOperationErrorsInputSchema, Mi as MoveOperationInput, Mn as ActionVerificationHandler, Mo as SetModuleDescriptionAction, Mr as DocumentModelInput, Ms as UpdateRelationshipAction, Mt as garbageCollectV2, N as operationFromOperation, Na as PowerhouseModule, Nc as ReorderOperationExamplesInputSchema, Ni as Mutation, Nn as Actions, No as SetModuleDescriptionInput, Nr as DocumentModelLib, Ns as UpdateRelationshipActionInput, Nt as getDocumentLastModified, O as loadState, Oa as OperationIndex, Oc as RedoSchema, Oi as Maybe, On as defaultPHState, Oo as SetModelIdAction, Or as DocumentModelDocumentModelModule, Os as UpdateChangeLogItemAction, Ot as filterDocumentOperationsResultingState, P as operationWithContext, Pa as Prune, Pc as ReorderStateExamplesInputSchema, Pi as MutationAddChangeLogItemInputArgs, Pn as AddChangeLogItemAction, Po as SetModuleNameAction, Pr as DocumentModelLocalState, Ps as UpdateStateExampleAction, Pt as groupOperationsByScope, Q as setModuleName, Qa as ReorderModulesInput, Qc as SetOperationNameInputSchema, Qi as MutationReorderModulesArgs, Ql as UserActionSigner, Qn as ConfigEntry, Qo as SetOperationReducerInput, Qr as ENSInfo, Qs as ConfigEntryTypeSchema, Qt as reshuffleByTimestampAndIndex, R as reorderChangeLogItems, Ra as Query, Rc as SetInitialStateInputSchema, Ri as MutationAddOperationExampleArgs, Rn as AddOperationAction, Ro as SetNameOperation, Rr as DocumentModelOperationAction, Rs as User, Rt as isUndo, S as deleteModule, Sa as MutationUndoArgs, Sc as PruneActionInputSchema, Si as Load_State, Sn as createState, So as SetInitialStateAction, Sr as DeleteStateExampleAction, Ss as StateReducer, St as addUndo, T as deleteOperationExample, Ta as MutationUpdateStateExampleArgs, Tc as PublisherSchema, Ti as MakeOptional, Tn as defaultDocumentState, To as SetModelDescriptionInput, Tr as DocumentFile, Ts as UndoAction, Tt as checkCleanedOperationsIntegrity, U as reorderStateExamples, Ua as ReducerOptions, Uc as SetModuleDescriptionInputSchema, Ui as MutationDeleteOperationErrorArgs, Un as AddOperationInput, Uo as SetOperationErrorDescriptionAction, Ur as DocumentModelOperationOperations, Us as AddChangeLogItemInputSchema, Ut as nextSkipNumber, V as reorderOperationErrors, Va as RedoActionInput, Vc as SetModelIdInputSchema, Vi as MutationDeleteModuleArgs, Vn as AddOperationExampleAction, Vo as SetOperationErrorCodeAction, Vr as DocumentModelOperationExampleAction, Vs as UpgradeReducer, Vt as mapSkippedOperationsV2, W as setAuthorName, Wa as ReleaseNewVersionAction, Wc as SetModuleNameInputSchema, Wi as MutationDeleteOperationExampleArgs, Wn as AddRelationshipAction, Wo as SetOperationErrorDescriptionInput, Wr as DocumentModelPHState, Ws as AddModuleInputSchema, Wt as operationsAreEqual, X as setModelName, Xa as ReorderModuleOperationsInput, Xc as SetOperationErrorNameInputSchema, Xi as MutationReorderChangeLogItemsInputArgs, Xl as PHDocumentSignatureInfo, Xn as Author, Xo as SetOperationNameInput, Xr as DocumentOperationsIgnoreMap, Xs as CodeExampleSchema, Xt as replayDocument, Y as setModelId, Ya as ReorderModuleOperationsAction, Yc as SetOperationErrorDescriptionInputSchema, Yi as MutationRedoArgs, Yl as HashConfig, Yn as AssertIsStateOfType, Yo as SetOperationNameAction, Yr as DocumentModelVersioningOperations, Ys as AuthorSchema, Yt as removeExistingOperations, Z as setModuleDescription, Za as ReorderModulesAction, Zc as SetOperationErrorTemplateInputSchema, Zi as MutationReorderModuleOperationsArgs, Zl as Signature, Zn as CodeExample, Zo as SetOperationReducerAction, Zr as DocumentSpecification, Zs as ConfigEntrySchema, Zt as reshuffleByTimestamp, _ as baseActions, _a as MutationSetOperationNameArgs, _c as OperationErrorSchema, _i as LoadFromFile, _n as createAuthState, _o as ScopeState, _r as DeleteOperationErrorAction, _s as SignatureVerificationHandler, _t as IntegrityIssueSubType, a as AttachmentInput, aa as MutationSetModelDescriptionArgs, ac as DocumentActionSchema, ai as GetDocumentOptions, al as SetStateSchemaInputSchema, an as Operation, ao as ReplayDocumentOptions, ar as CreateDocumentAction, as as SetPreferredEditorAction, at as setOperationName, b as createAction, ba as MutationSetOperationTemplateArgs, bc as PowerhouseModuleSchema, bi as LoadStateActionInput, bn as createGlobalState, bo as SetAuthorWebsiteAction, br as DeleteOperationExampleInput, bs as SkipHeaderOperations, bt as PHDocumentHeader, c as actionFromAction, ca as MutationSetModelNameArgs, cc as DocumentModelInputSchema, ci as IDocument, cl as StateSchema, cn as loadStateOperation, co as SaveToFileHandle, cr as DeleteChangeLogItemAction, cs as SetStateSchemaAction, ct as setOperationScope, d as addChangeLogItem, da as MutationSetNameArgs, dc as LoadStateActionSchema, di as ISignalResult, dl as UndoSchema, dn as setPreferredEditorOperation, do as SchemaNOOPAction, dr as DeleteChildDocumentSignal, ds as Set_PreferredEditor, dt as setStateSchema, ea as MutationReorderOperationExamplesArgs, ec as DeleteModuleInputSchema, ei as EditorModule, el as SetOperationSchemaInputSchema, en as sortMappedOperations, eo as ReorderOperationErrorsInput, er as CopyChildDocumentInput, es as SetOperationSchemaInput, et as setOperationDescription, f as addModule, fa as MutationSetOperationDescriptionArgs, fc as LoadStateActionStateInputSchema, fi as ISigner, fl as UpdateChangeLogItemInputSchema, fn as undoOperation, fo as SchemaPruneAction, fr as DeleteDocumentAction, fs as Signal, ft as undo, g as addStateExample, ga as MutationSetOperationErrorTemplateArgs, gc as MoveOperationInputSchema, gi as IsStateOfType, gl as isDefinedNonNullAny, gn as PHDocumentState, go as SchemaUndoAction, gr as DeleteOperationAction, gs as SignalType, gt as verifyOperationSignature, h as addOperationExample, ha as MutationSetOperationErrorNameArgs, hc as ModuleSchema, hi as IsDocumentOfType, hl as definedNonNullAnySchema, hn as PHBaseState, ho as SchemaSetPreferredEditorAction, hr as DeleteModuleInput, hs as SignalResults, ht as updateStateExample, i as Attachment, ia as MutationSetInitialStateArgs, ic as DeleteStateExampleInputSchema, ii as FileRegistry, il as SetPreferredEditorActionSchema, in as DocumentOperations, io as ReorderStateExamplesInput, ir as CreateDocument, is as SetOperationTemplateInput, it as setOperationErrorTemplate, j as operationExampleCreators, ja as PartialRecord, jc as ReorderModulesInputSchema, ji as MoveOperationAction, jn as ActionSigningHandler, jo as SetModelNameInput, jr as DocumentModelHeaderOperations, js as UpdateOperationExampleInput, jt as garbageCollectDocumentOperations, k as moveOperation, ka as OperationSpecification, kc as ReorderChangeLogItemsInputSchema, ki as MinimalBackupData, kn as ActionErrorCallback, ko as SetModelIdInput, kr as DocumentModelGlobalState, ks as UpdateChangeLogItemInput, kt as filterDuplicatedOperations, l as actionSigner, la as MutationSetModuleDescriptionArgs, lc as DocumentSpecificationSchema, li as IOperation, ll as UndoActionInputSchema, ln as redoOperation, lo as Scalars, lr as DeleteChangeLogItemInput, ls as SetStateSchemaInput, lt as setOperationTemplate, m as addOperationError, ma as MutationSetOperationErrorDescriptionArgs, mc as ManifestSchema, mi as InputMaybe, ml as UpdateStateExampleInputSchema, mn as PHAuthState, mo as SchemaSetNameAction, mr as DeleteModuleAction, ms as SignalResult, mt as updateOperationExample, n as ActionContext, na as MutationSetAuthorNameArgs, nc as DeleteOperationExampleInputSchema, ni as Exact, nl as SetOperationTemplateInputSchema, nn as split, no as ReorderOperationExamplesInput, nr as CreateChildDocumentInput, ns as SetOperationScopeInput, nt as setOperationErrorDescription, o as AttachmentRef, oa as MutationSetModelExtensionArgs, oc as DocumentFileSchema, oi as IAction, ol as Set_NameSchema, on as OperationContext, oo as RevisionsFilter, or as CreateDocumentActionInput, os as SetPreferredEditorActionInput, ot as setOperationReducer, p as addOperation, pa as MutationSetOperationErrorCodeArgs, pc as Load_StateSchema, pi as Incremental, pl as UpdateOperationExampleInputSchema, pn as undoOperationV2, po as SchemaRedoAction, pr as DeleteDocumentActionInput, ps as SignalDispatch, pt as updateChangeLogItem, q as setModelDescription, qa as ReorderChangeLogItemsAction, qc as SetOperationDescriptionInputSchema, qi as MutationMoveOperationArgs, ql as ActionSigner, qn as AddStateExampleInput, qo as SetOperationErrorTemplateAction, qr as DocumentModelUtils, qs as AddOperationInputSchema, qt as prepareOperations, r as ActionWithAttachment, ra as MutationSetAuthorWebsiteArgs, rc as DeleteOperationInputSchema, ri as FileInput, rl as SetPreferredEditorActionInputSchema, rn as updateHeaderRevision, ro as ReorderStateExamplesAction, rr as CreateChildDocumentSignal, rs as SetOperationTemplateAction, rt as setOperationErrorName, s as actionContext, sa as MutationSetModelIdArgs, sc as DocumentModelGlobalStateSchema, si as ID, sl as Set_PreferredEditorSchema, sn as OperationWithContext, so as SaveToFile, sr as CreateState, ss as SetPreferredEditorOperation, st as setOperationSchema, t as Action, ta as MutationReorderStateExamplesArgs, tc as DeleteOperationErrorInputSchema, ti as EditorProps, tl as SetOperationScopeInputSchema, tn as sortOperations, to as ReorderOperationExamplesAction, tr as CopyChildDocumentSignal, ts as SetOperationScopeAction, tt as setOperationErrorCode, u as actions, ua as MutationSetModuleNameArgs, uc as LoadStateActionInputSchema, ui as ISignal, ul as UndoActionSchema, un as setNameOperation, uo as SchemaLoadStateAction, ur as DeleteChildDocumentInput, us as Set_Name, ut as setPreferredEditor, v as buildOperationSignature, va as MutationSetOperationReducerArgs, vc as OperationScopeSchema, vi as LoadFromInput, vn as createBaseState, vo as SetAuthorNameAction, vr as DeleteOperationErrorInput, vs as SigningParameters, vt as IntegrityIssueType, w as deleteOperationError, wa as MutationUpdateOperationExampleArgs, wc as PruneSchema, wi as MakeMaybe, wn as defaultBaseState, wo as SetModelDescriptionAction, wr as DocumentAction, ws as Undo, wt as baseCreateDocument, x as deleteChangeLogItem, xa as MutationSetStateSchemaArgs, xc as PowerhouseModulesSchema, xi as LoadStateActionStateInput, xn as createLocalState, xo as SetAuthorWebsiteInput, xr as DeleteOperationInput, xs as State, xt as PHDocumentMeta, y as buildSignedAction, ya as MutationSetOperationSchemaArgs, yc as OperationSpecificationSchema, yi as LoadStateAction, yn as createDocumentState, yo as SetAuthorNameInput, yr as DeleteOperationExampleAction, ys as SkipHeaderOperationIndex, yt as PHDocument, z as reorderModuleOperations, za as Redo, zc as SetModelDescriptionInputSchema, zi as MutationAddStateExampleArgs, zn as AddOperationErrorAction, zo as SetOperationDescriptionAction, zr as DocumentModelOperationErrorAction, zs as ValidationError, zt as isUndoRedo } from "../actions-UH5nIJcP.js";
2
+ import { $ as DocumentModelSchema, A as createVerificationSigner, B as fetchFileBrowser, C as processUndoRedo, D as createPresignedHeader, E as updateDocument, F as baseSaveToFileHandle, G as HashMismatchError, H as readFileBrowser, I as createMinimalZip, J as documentModelDocumentType, K as InvalidActionInputError, L as createZip, M as validateHeader, N as verify, O as createSignedHeader, P as baseLoadFromInput, Q as DocumentModelPHStateSchema, R as documentModelLoadFromInput, S as createReducer, T as replayOperations, U as writeFileBrowser, V as getFileBrowser, W as FileSystemError, X as BaseDocumentStateSchema, Y as BaseDocumentHeaderSchema, Z as DocumentModelHeaderSchema, _ as documentModelReducer, _t as documentModelInitialGlobalState, a as validateInitialState, at as buildOperationSignatureMessage, b as documentModelVersioningReducer, c as validateModules, ct as hashBrowser, d as validateStateSchemaName, dt as HASH_ALGORITHM_SHA256, et as assertIsDocumentModelDocument, f as documentModelHeaderReducer, ft as HASH_ALGORITHM_SHA512, g as documentModelOperationReducer, gt as documentModelGlobalState, h as documentModelOperationExampleReducer, ht as documentModelFileExtension, i as isReservedOperationName, it as ab2hex, j as sign, k as createSignedHeaderForSigner, l as validateOperationName, lt as hex2ab, m as documentModelOperationErrorReducer, mt as HASH_ENCODING_HEX, n as ReservedOperationName, nt as isDocumentModelDocument, o as validateModule, ot as buildOperationSignatureParams, p as documentModelModuleReducer, pt as HASH_ENCODING_BASE64, q as InvalidActionInputZodError, r as getAllOperationNames, rt as isDocumentModelState, s as validateModuleOperation, st as getUnixTimestamp, t as RESERVED_OPERATION_NAMES, tt as assertIsDocumentModelState, u as validateOperations, ut as HASH_ALGORITHM_SHA1, v as documentModelStateReducer, vt as documentModelInitialLocalState, w as pruneOperation, x as baseReducer, y as documentModelStateSchemaReducer, z as documentModelSaveToFileHandle } from "../index-DhPr5zSB.js";
3
3
  import { t as generateMock } from "../mock-Cgn-VBF_.js";
4
4
  import { n as generateId, t as deriveOperationId } from "../utils-CJF4w5Bp.js";
5
- export { Action, ActionContext, ActionErrorCallback, ActionSignatureContext, ActionSigner, ActionSigningHandler, ActionVerificationHandler, ActionWithAttachment, Actions, AddChangeLogItemAction, AddChangeLogItemInput, AddChangeLogItemInputSchema, AddModuleAction, AddModuleInput, AddModuleInputSchema, AddOperationAction, AddOperationErrorAction, AddOperationErrorInput, AddOperationErrorInputSchema, AddOperationExampleAction, AddOperationExampleInput, AddOperationExampleInputSchema, AddOperationInput, AddOperationInputSchema, AddRelationshipAction, AddRelationshipActionInput, AddStateExampleAction, AddStateExampleInput, AddStateExampleInputSchema, AppActionSigner, AssertIsDocumentOfType, AssertIsStateOfType, Attachment, AttachmentInput, AttachmentRef, Author, AuthorSchema, BaseDocumentHeaderSchema, BaseDocumentStateSchema, CodeExample, CodeExampleSchema, ConfigEntry, ConfigEntrySchema, ConfigEntryType, ConfigEntryTypeSchema, CopyChildDocumentInput, CopyChildDocumentSignal, CreateChildDocumentInput, CreateChildDocumentSignal, CreateDocument, CreateDocumentAction, CreateDocumentActionInput, CreateState, DeleteChangeLogItemAction, DeleteChangeLogItemInput, DeleteChangeLogItemInputSchema, DeleteChildDocumentInput, DeleteChildDocumentSignal, DeleteDocumentAction, DeleteDocumentActionInput, DeleteModuleAction, DeleteModuleInput, DeleteModuleInputSchema, DeleteOperationAction, DeleteOperationErrorAction, DeleteOperationErrorInput, DeleteOperationErrorInputSchema, DeleteOperationExampleAction, DeleteOperationExampleInput, DeleteOperationExampleInputSchema, DeleteOperationInput, DeleteOperationInputSchema, DeleteStateExampleAction, DeleteStateExampleInput, DeleteStateExampleInputSchema, DocumentAction, DocumentActionSchema, DocumentFile, DocumentFileSchema, DocumentModelAction, DocumentModelDocument, DocumentModelDocumentModelModule, DocumentModelGlobalState, DocumentModelGlobalStateSchema, DocumentModelHeaderAction, DocumentModelHeaderOperations, DocumentModelHeaderSchema, DocumentModelInput, DocumentModelInputSchema, DocumentModelLib, DocumentModelLocalState, DocumentModelModule, DocumentModelModuleAction, DocumentModelModuleOperations, DocumentModelOperationAction, DocumentModelOperationErrorAction, DocumentModelOperationErrorOperations, DocumentModelOperationExampleAction, DocumentModelOperationExampleOperations, DocumentModelOperationOperations, DocumentModelPHState, DocumentModelPHStateSchema, DocumentModelSchema, DocumentModelStateAction, DocumentModelStateOperations, DocumentModelUtils, DocumentModelVersioningAction, DocumentModelVersioningOperations, DocumentOperations, DocumentOperationsIgnoreMap, DocumentSpecification, DocumentSpecificationSchema, ENSInfo, EditorDispatch, EditorModule, EditorProps, Exact, FileInput, FileRegistry, FileSystemError, GetDocumentOptions, HASH_ALGORITHM_SHA1, HASH_ALGORITHM_SHA256, HASH_ALGORITHM_SHA512, HASH_ENCODING_BASE64, HASH_ENCODING_HEX, HashConfig, HashMismatchError, IAction, ID, IDocument, IOperation, ISignal, ISignalResult, ISigner, Incremental, InputMaybe, IntegrityIssueSubType, IntegrityIssueType, InvalidActionInputError, InvalidActionInputZodError, IsDocumentOfType, IsStateOfType, LoadFromFile, LoadFromInput, LoadStateAction, LoadStateActionInput, LoadStateActionInputSchema, LoadStateActionSchema, LoadStateActionStateInput, LoadStateActionStateInputSchema, Load_State, Load_StateSchema, MakeEmpty, MakeMaybe, MakeOptional, Manifest, ManifestSchema, MappedOperation, Maybe, MinimalBackupData, ModuleSchema, ModuleSpecification, MoveOperationAction, MoveOperationInput, MoveOperationInputSchema, Mutation, MutationAddChangeLogItemInputArgs, MutationAddModuleArgs, MutationAddOperationArgs, MutationAddOperationErrorArgs, MutationAddOperationExampleArgs, MutationAddStateExampleArgs, MutationDeleteChangeLogItemInputArgs, MutationDeleteModuleArgs, MutationDeleteOperationArgs, MutationDeleteOperationErrorArgs, MutationDeleteOperationExampleArgs, MutationDeleteStateExampleArgs, MutationLoadStateArgs, MutationMoveOperationArgs, MutationPruneArgs, MutationRedoArgs, MutationReorderChangeLogItemsInputArgs, MutationReorderModuleOperationsArgs, MutationReorderModulesArgs, MutationReorderOperationErrorsArgs, MutationReorderOperationExamplesArgs, MutationReorderStateExamplesArgs, MutationSetAuthorNameArgs, MutationSetAuthorWebsiteArgs, MutationSetInitialStateArgs, MutationSetModelDescriptionArgs, MutationSetModelExtensionArgs, MutationSetModelIdArgs, MutationSetModelNameArgs, MutationSetModuleDescriptionArgs, MutationSetModuleNameArgs, MutationSetNameArgs, MutationSetOperationDescriptionArgs, MutationSetOperationErrorCodeArgs, MutationSetOperationErrorDescriptionArgs, MutationSetOperationErrorNameArgs, MutationSetOperationErrorTemplateArgs, MutationSetOperationNameArgs, MutationSetOperationReducerArgs, MutationSetOperationSchemaArgs, MutationSetOperationTemplateArgs, MutationSetStateSchemaArgs, MutationUndoArgs, MutationUpdateChangeLogItemInputArgs, MutationUpdateOperationExampleArgs, MutationUpdateStateExampleArgs, NOOPAction, Operation, OperationContext, OperationErrorSchema, OperationErrorSpecification, OperationIndex, OperationScopeSchema, OperationSpecification, OperationSpecificationSchema, OperationWithContext, OperationsByScope, PHAuthState, PHBaseState, PHDocument, PHDocumentHeader, PHDocumentMeta, PHDocumentSignatureInfo, PHDocumentState, PartialRecord, PartialState, PowerhouseModule, PowerhouseModuleSchema, PowerhouseModulesSchema, Prune, PruneAction, PruneActionInput, PruneActionInputSchema, PruneActionSchema, PruneSchema, Publisher, PublisherSchema, Query, RESERVED_OPERATION_NAMES, Redo, RedoAction, RedoActionInput, RedoActionInputSchema, RedoActionSchema, RedoSchema, Reducer, ReducerOptions, ReleaseNewVersionAction, RemoveRelationshipAction, RemoveRelationshipActionInput, ReorderChangeLogItemsAction, ReorderChangeLogItemsInput, ReorderChangeLogItemsInputSchema, ReorderModuleOperationsAction, ReorderModuleOperationsInput, ReorderModuleOperationsInputSchema, ReorderModulesAction, ReorderModulesInput, ReorderModulesInputSchema, ReorderOperationErrorsAction, ReorderOperationErrorsInput, ReorderOperationErrorsInputSchema, ReorderOperationExamplesAction, ReorderOperationExamplesInput, ReorderOperationExamplesInputSchema, ReorderStateExamplesAction, ReorderStateExamplesInput, ReorderStateExamplesInputSchema, ReplayDocumentOptions, ReservedOperationName, RevisionsFilter, SaveToFile, SaveToFileHandle, Scalars, SchemaLoadStateAction, SchemaNOOPAction, SchemaPruneAction, SchemaRedoAction, SchemaSetNameAction, SchemaUndoAction, ScopeState, ScopeStateSchema, SetAuthorNameAction, SetAuthorNameInput, SetAuthorNameInputSchema, SetAuthorWebsiteAction, SetAuthorWebsiteInput, SetAuthorWebsiteInputSchema, SetInitialStateAction, SetInitialStateInput, SetInitialStateInputSchema, SetModelDescriptionAction, SetModelDescriptionInput, SetModelDescriptionInputSchema, SetModelExtensionAction, SetModelExtensionInput, SetModelExtensionInputSchema, SetModelIdAction, SetModelIdInput, SetModelIdInputSchema, SetModelNameAction, SetModelNameInput, SetModelNameInputSchema, SetModuleDescriptionAction, SetModuleDescriptionInput, SetModuleDescriptionInputSchema, SetModuleNameAction, SetModuleNameInput, SetModuleNameInputSchema, SetNameAction, SetNameActionInput, SetNameActionInputSchema, SetNameActionSchema, SetNameOperation, SetOperationDescriptionAction, SetOperationDescriptionInput, SetOperationDescriptionInputSchema, SetOperationErrorCodeAction, SetOperationErrorCodeInput, SetOperationErrorCodeInputSchema, SetOperationErrorDescriptionAction, SetOperationErrorDescriptionInput, SetOperationErrorDescriptionInputSchema, SetOperationErrorNameAction, SetOperationErrorNameInput, SetOperationErrorNameInputSchema, SetOperationErrorTemplateAction, SetOperationErrorTemplateInput, SetOperationErrorTemplateInputSchema, SetOperationNameAction, SetOperationNameInput, SetOperationNameInputSchema, SetOperationReducerAction, SetOperationReducerInput, SetOperationReducerInputSchema, SetOperationSchemaAction, SetOperationSchemaInput, SetOperationSchemaInputSchema, SetOperationScopeAction, SetOperationScopeInput, SetOperationScopeInputSchema, SetOperationTemplateAction, SetOperationTemplateInput, SetOperationTemplateInputSchema, SetStateSchemaAction, SetStateSchemaInput, SetStateSchemaInputSchema, Set_Name, Set_NameSchema, Signal, SignalDispatch, SignalResult, SignalResults, SignalType, Signature, SignatureVerificationHandler, SigningParameters, SkipHeaderOperationIndex, SkipHeaderOperations, State, StateReducer, StateSchema, SubgraphModule, Undo, UndoAction, UndoActionInput, UndoActionInputSchema, UndoActionSchema, UndoRedoAction, UndoSchema, UpdateChangeLogItemAction, UpdateChangeLogItemInput, UpdateChangeLogItemInputSchema, UpdateOperationExampleAction, UpdateOperationExampleInput, UpdateOperationExampleInputSchema, UpdateStateExampleAction, UpdateStateExampleInput, UpdateStateExampleInputSchema, UpgradeDocumentAction, UpgradeDocumentActionInput, UpgradeManifest, UpgradeReducer, UpgradeTransition, User, UserActionSigner, ValidationError, ab2hex, actionContext, actionFromAction, actionSigner, actions, addChangeLogItem, addModule, addOperation, addOperationError, addOperationExample, addStateExample, addUndo, assertIsDocumentModelDocument, assertIsDocumentModelState, attachBranch, baseActions, baseCreateDocument, baseLoadFromInput, baseReducer, baseSaveToFileHandle, buildOperationSignature, buildOperationSignatureMessage, buildOperationSignatureParams, buildSignedAction, checkCleanedOperationsIntegrity, checkOperationsIntegrity, createAction, createAuthState, createBaseState, createDocumentState, createGlobalState, createLocalState, createMinimalZip, createPresignedHeader, createReducer, createSignedHeader, createSignedHeaderForSigner, createState, createVerificationSigner, createZip, defaultAuthState, defaultBaseState, defaultDocumentState, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, deleteChangeLogItem, deleteModule, deleteOperation, deleteOperationError, deleteOperationExample, deleteStateExample, deriveOperationId, diffOperations, documentModelActions, documentModelDocumentType, documentModelFileExtension, documentModelGlobalState, documentModelHeaderReducer, documentModelInitialGlobalState, documentModelInitialLocalState, documentModelLoadFromInput, documentModelModuleReducer, documentModelOperationErrorReducer, documentModelOperationExampleReducer, documentModelOperationReducer, documentModelReducer, documentModelSaveToFileHandle, documentModelStateReducer, documentModelStateSchemaReducer, documentModelVersioningReducer, fetchFileBrowser, filterDocumentOperationsResultingState, filterDuplicatedOperations, garbageCollect, garbageCollectDocumentOperations, garbageCollectV2, generateId, generateMock, getAllOperationNames, getDocumentLastModified, getFileBrowser, getUnixTimestamp, groupOperationsByScope, hashBrowser, hashDocumentStateForScope, hex2ab, isDefinedNonNullAny, isDocumentAction, isDocumentModelDocument, isDocumentModelState, isNoopOperation, isReservedOperationName, isUndo, isUndoRedo, loadState, loadStateOperation, mapSkippedOperations, mapSkippedOperationsV2, merge, moveOperation, nextSkipNumber, noop, operationExampleCreators, operationFromAction, operationFromOperation, operationWithContext, operationsAreEqual, parseResultingState, precedes, prepareOperations, processUndoRedo, prune, pruneOperation, readFileBrowser, readOnly, redo, redoOperation, releaseNewVersion, removeExistingOperations, reorderChangeLogItems, reorderModuleOperations, reorderModules, reorderOperationErrors, reorderOperationExamples, reorderStateExamples, replayDocument, replayOperations, reshuffleByTimestamp, reshuffleByTimestampAndIndex, setAuthorName, setAuthorWebsite, setInitialState, setModelDescription, setModelExtension, setModelId, setModelName, setModuleDescription, setModuleName, setName, setNameOperation, setOperationDescription, setOperationErrorCode, setOperationErrorDescription, setOperationErrorName, setOperationErrorTemplate, setOperationName, setOperationReducer, setOperationSchema, setOperationScope, setOperationTemplate, setStateSchema, sign, skipHeaderOperations, sortMappedOperations, sortOperations, split, undo, undoOperation, undoOperationV2, updateChangeLogItem, updateDocument, updateHeaderRevision, updateOperationExample, updateStateExample, validateHeader, validateInitialState, validateModule, validateModuleOperation, validateModules, validateOperationName, validateOperations, validateStateSchemaName, verify, verifyOperationSignature, writeFileBrowser };
5
+ export { Action, ActionContext, ActionErrorCallback, ActionSignatureContext, ActionSigner, ActionSigningHandler, ActionVerificationHandler, ActionWithAttachment, Actions, AddChangeLogItemAction, AddChangeLogItemInput, AddChangeLogItemInputSchema, AddModuleAction, AddModuleInput, AddModuleInputSchema, AddOperationAction, AddOperationErrorAction, AddOperationErrorInput, AddOperationErrorInputSchema, AddOperationExampleAction, AddOperationExampleInput, AddOperationExampleInputSchema, AddOperationInput, AddOperationInputSchema, AddRelationshipAction, AddRelationshipActionInput, AddStateExampleAction, AddStateExampleInput, AddStateExampleInputSchema, AppActionSigner, AssertIsDocumentOfType, AssertIsStateOfType, Attachment, AttachmentInput, AttachmentRef, Author, AuthorSchema, BaseDocumentHeaderSchema, BaseDocumentStateSchema, CodeExample, CodeExampleSchema, ConfigEntry, ConfigEntrySchema, ConfigEntryType, ConfigEntryTypeSchema, CopyChildDocumentInput, CopyChildDocumentSignal, CreateChildDocumentInput, CreateChildDocumentSignal, CreateDocument, CreateDocumentAction, CreateDocumentActionInput, CreateState, DeleteChangeLogItemAction, DeleteChangeLogItemInput, DeleteChangeLogItemInputSchema, DeleteChildDocumentInput, DeleteChildDocumentSignal, DeleteDocumentAction, DeleteDocumentActionInput, DeleteModuleAction, DeleteModuleInput, DeleteModuleInputSchema, DeleteOperationAction, DeleteOperationErrorAction, DeleteOperationErrorInput, DeleteOperationErrorInputSchema, DeleteOperationExampleAction, DeleteOperationExampleInput, DeleteOperationExampleInputSchema, DeleteOperationInput, DeleteOperationInputSchema, DeleteStateExampleAction, DeleteStateExampleInput, DeleteStateExampleInputSchema, DocumentAction, DocumentActionSchema, DocumentFile, DocumentFileSchema, DocumentModelAction, DocumentModelDocument, DocumentModelDocumentModelModule, DocumentModelGlobalState, DocumentModelGlobalStateSchema, DocumentModelHeaderAction, DocumentModelHeaderOperations, DocumentModelHeaderSchema, DocumentModelInput, DocumentModelInputSchema, DocumentModelLib, DocumentModelLocalState, DocumentModelModule, DocumentModelModuleAction, DocumentModelModuleOperations, DocumentModelOperationAction, DocumentModelOperationErrorAction, DocumentModelOperationErrorOperations, DocumentModelOperationExampleAction, DocumentModelOperationExampleOperations, DocumentModelOperationOperations, DocumentModelPHState, DocumentModelPHStateSchema, DocumentModelSchema, DocumentModelStateAction, DocumentModelStateOperations, DocumentModelUtils, DocumentModelVersioningAction, DocumentModelVersioningOperations, DocumentOperations, DocumentOperationsIgnoreMap, DocumentSpecification, DocumentSpecificationSchema, ENSInfo, EditorDispatch, EditorModule, EditorProps, Exact, FileInput, FileRegistry, FileSystemError, GetDocumentOptions, HASH_ALGORITHM_SHA1, HASH_ALGORITHM_SHA256, HASH_ALGORITHM_SHA512, HASH_ENCODING_BASE64, HASH_ENCODING_HEX, HashConfig, HashMismatchError, IAction, ID, IDocument, IOperation, ISignal, ISignalResult, ISigner, Incremental, InputMaybe, IntegrityIssueSubType, IntegrityIssueType, InvalidActionInputError, InvalidActionInputZodError, IsDocumentOfType, IsStateOfType, LoadFromFile, LoadFromInput, LoadStateAction, LoadStateActionInput, LoadStateActionInputSchema, LoadStateActionSchema, LoadStateActionStateInput, LoadStateActionStateInputSchema, Load_State, Load_StateSchema, MakeEmpty, MakeMaybe, MakeOptional, Manifest, ManifestSchema, MappedOperation, Maybe, MinimalBackupData, ModuleSchema, ModuleSpecification, MoveOperationAction, MoveOperationInput, MoveOperationInputSchema, Mutation, MutationAddChangeLogItemInputArgs, MutationAddModuleArgs, MutationAddOperationArgs, MutationAddOperationErrorArgs, MutationAddOperationExampleArgs, MutationAddStateExampleArgs, MutationDeleteChangeLogItemInputArgs, MutationDeleteModuleArgs, MutationDeleteOperationArgs, MutationDeleteOperationErrorArgs, MutationDeleteOperationExampleArgs, MutationDeleteStateExampleArgs, MutationLoadStateArgs, MutationMoveOperationArgs, MutationPruneArgs, MutationRedoArgs, MutationReorderChangeLogItemsInputArgs, MutationReorderModuleOperationsArgs, MutationReorderModulesArgs, MutationReorderOperationErrorsArgs, MutationReorderOperationExamplesArgs, MutationReorderStateExamplesArgs, MutationSetAuthorNameArgs, MutationSetAuthorWebsiteArgs, MutationSetInitialStateArgs, MutationSetModelDescriptionArgs, MutationSetModelExtensionArgs, MutationSetModelIdArgs, MutationSetModelNameArgs, MutationSetModuleDescriptionArgs, MutationSetModuleNameArgs, MutationSetNameArgs, MutationSetOperationDescriptionArgs, MutationSetOperationErrorCodeArgs, MutationSetOperationErrorDescriptionArgs, MutationSetOperationErrorNameArgs, MutationSetOperationErrorTemplateArgs, MutationSetOperationNameArgs, MutationSetOperationReducerArgs, MutationSetOperationSchemaArgs, MutationSetOperationTemplateArgs, MutationSetStateSchemaArgs, MutationUndoArgs, MutationUpdateChangeLogItemInputArgs, MutationUpdateOperationExampleArgs, MutationUpdateStateExampleArgs, NOOPAction, Operation, OperationContext, OperationErrorSchema, OperationErrorSpecification, OperationIndex, OperationScopeSchema, OperationSpecification, OperationSpecificationSchema, OperationWithContext, OperationsByScope, PHAuthState, PHBaseState, PHDocument, PHDocumentHeader, PHDocumentMeta, PHDocumentSignatureInfo, PHDocumentState, PartialRecord, PartialState, PowerhouseModule, PowerhouseModuleSchema, PowerhouseModulesSchema, Prune, PruneAction, PruneActionInput, PruneActionInputSchema, PruneActionSchema, PruneSchema, Publisher, PublisherSchema, Query, RESERVED_OPERATION_NAMES, Redo, RedoAction, RedoActionInput, RedoActionInputSchema, RedoActionSchema, RedoSchema, Reducer, ReducerOptions, ReleaseNewVersionAction, RemoveRelationshipAction, RemoveRelationshipActionInput, ReorderChangeLogItemsAction, ReorderChangeLogItemsInput, ReorderChangeLogItemsInputSchema, ReorderModuleOperationsAction, ReorderModuleOperationsInput, ReorderModuleOperationsInputSchema, ReorderModulesAction, ReorderModulesInput, ReorderModulesInputSchema, ReorderOperationErrorsAction, ReorderOperationErrorsInput, ReorderOperationErrorsInputSchema, ReorderOperationExamplesAction, ReorderOperationExamplesInput, ReorderOperationExamplesInputSchema, ReorderStateExamplesAction, ReorderStateExamplesInput, ReorderStateExamplesInputSchema, ReplayDocumentOptions, ReservedOperationName, RevisionsFilter, SaveToFile, SaveToFileHandle, Scalars, SchemaLoadStateAction, SchemaNOOPAction, SchemaPruneAction, SchemaRedoAction, SchemaSetNameAction, SchemaSetPreferredEditorAction, SchemaUndoAction, ScopeState, ScopeStateSchema, SetAuthorNameAction, SetAuthorNameInput, SetAuthorNameInputSchema, SetAuthorWebsiteAction, SetAuthorWebsiteInput, SetAuthorWebsiteInputSchema, SetInitialStateAction, SetInitialStateInput, SetInitialStateInputSchema, SetModelDescriptionAction, SetModelDescriptionInput, SetModelDescriptionInputSchema, SetModelExtensionAction, SetModelExtensionInput, SetModelExtensionInputSchema, SetModelIdAction, SetModelIdInput, SetModelIdInputSchema, SetModelNameAction, SetModelNameInput, SetModelNameInputSchema, SetModuleDescriptionAction, SetModuleDescriptionInput, SetModuleDescriptionInputSchema, SetModuleNameAction, SetModuleNameInput, SetModuleNameInputSchema, SetNameAction, SetNameActionInput, SetNameActionInputSchema, SetNameActionSchema, SetNameOperation, SetOperationDescriptionAction, SetOperationDescriptionInput, SetOperationDescriptionInputSchema, SetOperationErrorCodeAction, SetOperationErrorCodeInput, SetOperationErrorCodeInputSchema, SetOperationErrorDescriptionAction, SetOperationErrorDescriptionInput, SetOperationErrorDescriptionInputSchema, SetOperationErrorNameAction, SetOperationErrorNameInput, SetOperationErrorNameInputSchema, SetOperationErrorTemplateAction, SetOperationErrorTemplateInput, SetOperationErrorTemplateInputSchema, SetOperationNameAction, SetOperationNameInput, SetOperationNameInputSchema, SetOperationReducerAction, SetOperationReducerInput, SetOperationReducerInputSchema, SetOperationSchemaAction, SetOperationSchemaInput, SetOperationSchemaInputSchema, SetOperationScopeAction, SetOperationScopeInput, SetOperationScopeInputSchema, SetOperationTemplateAction, SetOperationTemplateInput, SetOperationTemplateInputSchema, SetPreferredEditorAction, SetPreferredEditorActionInput, SetPreferredEditorActionInputSchema, SetPreferredEditorActionSchema, SetPreferredEditorOperation, SetStateSchemaAction, SetStateSchemaInput, SetStateSchemaInputSchema, Set_Name, Set_NameSchema, Set_PreferredEditor, Set_PreferredEditorSchema, Signal, SignalDispatch, SignalResult, SignalResults, SignalType, Signature, SignatureVerificationHandler, SigningParameters, SkipHeaderOperationIndex, SkipHeaderOperations, State, StateReducer, StateSchema, SubgraphModule, Undo, UndoAction, UndoActionInput, UndoActionInputSchema, UndoActionSchema, UndoRedoAction, UndoSchema, UpdateChangeLogItemAction, UpdateChangeLogItemInput, UpdateChangeLogItemInputSchema, UpdateOperationExampleAction, UpdateOperationExampleInput, UpdateOperationExampleInputSchema, UpdateRelationshipAction, UpdateRelationshipActionInput, UpdateStateExampleAction, UpdateStateExampleInput, UpdateStateExampleInputSchema, UpgradeDocumentAction, UpgradeDocumentActionInput, UpgradeManifest, UpgradeReducer, UpgradeTransition, User, UserActionSigner, ValidationError, ab2hex, actionContext, actionFromAction, actionSigner, actions, addChangeLogItem, addModule, addOperation, addOperationError, addOperationExample, addStateExample, addUndo, assertIsDocumentModelDocument, assertIsDocumentModelState, attachBranch, baseActions, baseCreateDocument, baseLoadFromInput, baseReducer, baseSaveToFileHandle, buildOperationSignature, buildOperationSignatureMessage, buildOperationSignatureParams, buildSignedAction, checkCleanedOperationsIntegrity, checkOperationsIntegrity, createAction, createAuthState, createBaseState, createDocumentState, createGlobalState, createLocalState, createMinimalZip, createPresignedHeader, createReducer, createSignedHeader, createSignedHeaderForSigner, createState, createVerificationSigner, createZip, defaultAuthState, defaultBaseState, defaultDocumentState, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, deleteChangeLogItem, deleteModule, deleteOperation, deleteOperationError, deleteOperationExample, deleteStateExample, deriveOperationId, diffOperations, documentModelActions, documentModelDocumentType, documentModelFileExtension, documentModelGlobalState, documentModelHeaderReducer, documentModelInitialGlobalState, documentModelInitialLocalState, documentModelLoadFromInput, documentModelModuleReducer, documentModelOperationErrorReducer, documentModelOperationExampleReducer, documentModelOperationReducer, documentModelReducer, documentModelSaveToFileHandle, documentModelStateReducer, documentModelStateSchemaReducer, documentModelVersioningReducer, fetchFileBrowser, filterDocumentOperationsResultingState, filterDuplicatedOperations, garbageCollect, garbageCollectDocumentOperations, garbageCollectV2, generateId, generateMock, getAllOperationNames, getDocumentLastModified, getFileBrowser, getUnixTimestamp, groupOperationsByScope, hashBrowser, hashDocumentStateForScope, hex2ab, isDefinedNonNullAny, isDocumentAction, isDocumentModelDocument, isDocumentModelState, isNoopOperation, isReservedOperationName, isUndo, isUndoRedo, loadState, loadStateOperation, mapSkippedOperations, mapSkippedOperationsV2, merge, moveOperation, nextSkipNumber, noop, operationExampleCreators, operationFromAction, operationFromOperation, operationWithContext, operationsAreEqual, parseResultingState, precedes, prepareOperations, processUndoRedo, prune, pruneOperation, readFileBrowser, readOnly, redo, redoOperation, releaseNewVersion, removeExistingOperations, reorderChangeLogItems, reorderModuleOperations, reorderModules, reorderOperationErrors, reorderOperationExamples, reorderStateExamples, replayDocument, replayOperations, reshuffleByTimestamp, reshuffleByTimestampAndIndex, setAuthorName, setAuthorWebsite, setInitialState, setModelDescription, setModelExtension, setModelId, setModelName, setModuleDescription, setModuleName, setName, setNameOperation, setOperationDescription, setOperationErrorCode, setOperationErrorDescription, setOperationErrorName, setOperationErrorTemplate, setOperationName, setOperationReducer, setOperationSchema, setOperationScope, setOperationTemplate, setPreferredEditor, setPreferredEditorOperation, setStateSchema, sign, skipHeaderOperations, sortMappedOperations, sortOperations, split, undo, undoOperation, undoOperationV2, updateChangeLogItem, updateDocument, updateHeaderRevision, updateOperationExample, updateStateExample, validateHeader, validateInitialState, validateModule, validateModuleOperation, validateModules, validateOperationName, validateOperations, validateStateSchemaName, verify, verifyOperationSignature, writeFileBrowser };