@powerlines/plugin-env 0.14.7 → 0.14.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.
- package/dist/components/docs.cjs +1 -1
- package/dist/components/docs.mjs +1 -1
- package/dist/components/env.cjs +1 -1
- package/dist/components/env.mjs +1 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/create-reflection-resource-B1734Oqz.mjs +17 -0
- package/dist/create-reflection-resource-JGnGa1lq.cjs +17 -0
- package/dist/docs-B_eQmaOI.mjs +1 -0
- package/dist/docs-ChC5Pu1X.cjs +1 -0
- package/dist/env-Dco1ouC9.mjs +31 -0
- package/dist/env-N-X_-s2s.cjs +34 -0
- package/dist/index.cjs +4 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +4 -3
- package/dist/{plugin-vBgCrEuY.d.cts → plugin-Bub_SPEB.d.cts} +13 -2
- package/dist/{plugin-CuDS8_K8.d.mts → plugin-CbIYUQ4Z.d.mts} +18 -8
- package/dist/{runtime-CRLPiOqf.d.mts → runtime-AfBxUosz.d.mts} +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.mts +2 -2
- package/dist/types/runtime.d.mts +1 -1
- package/package.json +16 -14
- package/dist/create-reflection-resource-BtYlphp1.mjs +0 -17
- package/dist/create-reflection-resource-CdrQyUuT.cjs +0 -17
- package/dist/docs-CMoOO30q.mjs +0 -1
- package/dist/docs-DWXbRrEK.cjs +0 -1
- package/dist/env-Bwys2dqb.mjs +0 -31
- package/dist/env-mhFQyGk4.cjs +0 -34
package/dist/components/docs.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`../create-reflection-resource-
|
|
1
|
+
require(`../create-reflection-resource-JGnGa1lq.cjs`);const e=require(`../docs-ChC5Pu1X.cjs`);exports.EnvDocs=e.t;
|
package/dist/components/docs.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../create-reflection-resource-
|
|
1
|
+
import"../create-reflection-resource-B1734Oqz.mjs";import{t as e}from"../docs-B_eQmaOI.mjs";export{e as EnvDocs};
|
package/dist/components/env.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`../create-reflection-resource-
|
|
1
|
+
require(`../create-reflection-resource-JGnGa1lq.cjs`);const e=require(`../env-N-X_-s2s.cjs`);exports.EnvBuiltin=e.t,exports.EnvTypeDefinition=e.n;
|
package/dist/components/env.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../create-reflection-resource-
|
|
1
|
+
import"../create-reflection-resource-B1734Oqz.mjs";import{n as e,t}from"../env-Dco1ouC9.mjs";export{t as EnvBuiltin,e as EnvTypeDefinition};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`../create-reflection-resource-
|
|
1
|
+
require(`../create-reflection-resource-JGnGa1lq.cjs`);const e=require(`../env-N-X_-s2s.cjs`),t=require(`../docs-ChC5Pu1X.cjs`);require(`../components-C9bYrQVK.cjs`),exports.EnvBuiltin=e.t,exports.EnvDocs=t.t,exports.EnvTypeDefinition=e.n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../create-reflection-resource-
|
|
1
|
+
import"../create-reflection-resource-B1734Oqz.mjs";import{n as e,t}from"../env-Dco1ouC9.mjs";import{t as n}from"../docs-B_eQmaOI.mjs";import"../components-ByVHjWXF.mjs";export{t as EnvBuiltin,n as EnvDocs,e as EnvTypeDefinition};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import{t as e}from"./chunk-D1UamjDs.mjs";import{computed as t,createResource as n}from"@alloy-js/core";import{LogLevelLabel as r}from"@storm-software/config-tools/types";import{isParentPath as i}from"@stryke/path/is-parent-path";import{replacePath as a}from"@stryke/path/replace";import{isSetString as ee}from"@stryke/type-checks/is-set-string";import{appendPath as te}from"@stryke/path/append";import o from"defu";import{getUniqueBy as ne}from"@stryke/helpers/get-unique";import{isString as re}from"@stryke/type-checks/is-string";import{toArray as ie}from"@stryke/convert/to-array";import{camelCase as s}from"@stryke/string-format/camel-case";import{titleCase as c}from"@stryke/string-format/title-case";import{joinPaths as l}from"@stryke/path/join-paths";import"@stryke/fs/is-file";import{listFiles as ae}from"@stryke/fs/list-files";import{loadConfig as oe}from"c12";import{isSetObject as se}from"@stryke/type-checks/is-set-object";import{kebabCase as ce}from"@stryke/string-format/kebab-case";import{parseTypeDefinition as le}from"@stryke/convert/parse-type-definition";import{ENV_PREFIXES as ue}from"@stryke/env/types";import{isInteger as de,isSetObject as fe,isString as pe,isUndefined as me}from"@stryke/type-checks";import*as u from"@stryke/capnp";import{readFileBuffer as he,writeFileBuffer as ge,writeFileBufferSync as _e}from"@stryke/fs/buffer";import{existsSync as ve}from"node:fs";import{resolvePackage as ye}from"@stryke/fs/resolve";import{isEmptyObject as be}from"@stryke/type-checks/is-empty-object";import{build as xe}from"esbuild";import{omit as Se}from"@stryke/helpers/omit";import"@stryke/hash/murmurhash";import Ce,{DiagnosticCategory as we}from"typescript";import{loadEnv as Te,loadEnvFile as Ee}from"@stryke/env/load-env";var d={};import*as De from"@deepkit/type";e(d,De);const f={PUBLIC:0,PROTECTED:1,PRIVATE:2};var p=class extends u.Struct{static _capnp={displayName:`TagsReflection`,id:`ab7e31d6b834bbf8`,size:new u.ObjectSize(8,4)};_adoptAlias(e){u.utils.adopt(e,u.utils.getPointer(0,this))}_disownAlias(){return u.utils.disown(this.alias)}get alias(){return u.utils.getList(0,u.TextList,this)}_hasAlias(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initAlias(e){return u.utils.initList(0,u.TextList,e,this)}set alias(e){u.utils.copyFrom(e,u.utils.getPointer(0,this))}get title(){return u.utils.getText(1,this)}set title(e){u.utils.setText(1,e,this)}get hidden(){return u.utils.getBit(0,this)}set hidden(e){u.utils.setBit(0,e,this)}get readonly(){return u.utils.getBit(1,this)}set readonly(e){u.utils.setBit(1,e,this)}get ignore(){return u.utils.getBit(2,this)}set ignore(e){u.utils.setBit(2,e,this)}get internal(){return u.utils.getBit(3,this)}set internal(e){u.utils.setBit(3,e,this)}_adoptPermission(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownPermission(){return u.utils.disown(this.permission)}get permission(){return u.utils.getList(2,u.TextList,this)}_hasPermission(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initPermission(e){return u.utils.initList(2,u.TextList,e,this)}set permission(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}get domain(){return u.utils.getText(3,this)}set domain(e){u.utils.setText(3,e,this)}toString(){return`TagsReflection_`+super.toString()}};const m={UNDEFINED:0,BOOLEAN:1,INTEGER:2,FLOAT:3,STRING:4};var Oe=class extends u.Struct{static UNDEFINED=m.UNDEFINED;static BOOLEAN=m.BOOLEAN;static INTEGER=m.INTEGER;static FLOAT=m.FLOAT;static STRING=m.STRING;static _capnp={displayName:`value`,id:`8748135e0497fe81`,size:new u.ObjectSize(16,1)};get _isUndefined(){return u.utils.getUint16(0,this)===0}set undefined(e){u.utils.setUint16(0,0,this)}get boolean(){return u.utils.testWhich(`boolean`,u.utils.getUint16(0,this),1,this),u.utils.getBit(16,this)}get _isBoolean(){return u.utils.getUint16(0,this)===1}set boolean(e){u.utils.setUint16(0,1,this),u.utils.setBit(16,e,this)}get integer(){return u.utils.testWhich(`integer`,u.utils.getUint16(0,this),2,this),u.utils.getInt32(4,this)}get _isInteger(){return u.utils.getUint16(0,this)===2}set integer(e){u.utils.setUint16(0,2,this),u.utils.setInt32(4,e,this)}get float(){return u.utils.testWhich(`float`,u.utils.getUint16(0,this),3,this),u.utils.getFloat64(8,this)}get _isFloat(){return u.utils.getUint16(0,this)===3}set float(e){u.utils.setUint16(0,3,this),u.utils.setFloat64(8,e,this)}get string(){return u.utils.testWhich(`string`,u.utils.getUint16(0,this),4,this),u.utils.getText(0,this)}get _isString(){return u.utils.getUint16(0,this)===4}set string(e){u.utils.setUint16(0,4,this),u.utils.setText(0,e,this)}toString(){return`DefaultValueReflection_Value_`+super.toString()}which(){return u.utils.getUint16(0,this)}},h=class extends u.Struct{static _capnp={displayName:`DefaultValueReflection`,id:`96fe6f07954197c9`,size:new u.ObjectSize(16,1)};get value(){return u.utils.getAs(Oe,this)}_initValue(){return u.utils.getAs(Oe,this)}toString(){return`DefaultValueReflection_`+super.toString()}},g=class extends u.Struct{static _capnp={displayName:`SerializedTypeReference`,id:`a83d8a28b5e80f3a`,size:new u.ObjectSize(8,0)};get id(){return u.utils.getUint32(0,this)}set id(e){u.utils.setUint32(0,e,this)}toString(){return`SerializedTypeReference_`+super.toString()}},_=class extends u.Struct{static _capnp={displayName:`IndexAccessOrigin`,id:`ca50b18186c87afe`,size:new u.ObjectSize(0,2)};_adoptContainer(e){u.utils.adopt(e,u.utils.getPointer(0,this))}_disownContainer(){return u.utils.disown(this.container)}get container(){return u.utils.getStruct(0,g,this)}_hasContainer(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initContainer(){return u.utils.initStructAt(0,g,this)}set container(e){u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptIndex(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownIndex(){return u.utils.disown(this.index)}get index(){return u.utils.getStruct(1,g,this)}_hasIndex(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initIndex(){return u.utils.initStructAt(1,g,this)}set index(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}toString(){return`IndexAccessOrigin_`+super.toString()}},ke=class extends u.Struct{static _capnp={displayName:`EntityIndexOptions`,id:`de584ad10b7c5004`,size:new u.ObjectSize(0,2)};_adoptNames(e){u.utils.adopt(e,u.utils.getPointer(0,this))}_disownNames(){return u.utils.disown(this.names)}get names(){return u.utils.getList(0,u.TextList,this)}_hasNames(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initNames(e){return u.utils.initList(0,u.TextList,e,this)}set names(e){u.utils.copyFrom(e,u.utils.getPointer(0,this))}get options(){return u.utils.getText(1,this)}set options(e){u.utils.setText(1,e,this)}toString(){return`EntityOptions_EntityIndexOptions_`+super.toString()}},Ae=class e extends u.Struct{static EntityIndexOptions=ke;static _capnp={displayName:`EntityOptions`,id:`948d2d02cf676d60`,size:new u.ObjectSize(8,5)};get name(){return u.utils.getText(0,this)}set name(e){u.utils.setText(0,e,this)}get description(){return u.utils.getText(1,this)}set description(e){u.utils.setText(1,e,this)}get collection(){return u.utils.getText(2,this)}set collection(e){u.utils.setText(2,e,this)}get database(){return u.utils.getText(3,this)}set database(e){u.utils.setText(3,e,this)}get singleTableInheritance(){return u.utils.getBit(0,this)}set singleTableInheritance(e){u.utils.setBit(0,e,this)}_adoptIndexes(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownIndexes(){return u.utils.disown(this.indexes)}get indexes(){return u.utils.getList(4,e._Indexes,this)}_hasIndexes(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initIndexes(t){return u.utils.initList(4,e._Indexes,t,this)}set indexes(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}toString(){return`EntityOptions_`+super.toString()}},v=class e extends u.Struct{static _capnp={displayName:`SerializedTypeObjectLiteral`,id:`8b56235ad9bcb2b1`,size:new u.ObjectSize(8,6)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptTypes(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownTypes(){return u.utils.disown(this.types)}get types(){return u.utils.getList(4,e._Types,this)}_hasTypes(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initTypes(t){return u.utils.initList(4,e._Types,t,this)}set types(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(5,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(5,p,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(5,this))}_initTags(){return u.utils.initStructAt(5,p,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(5,this))}toString(){return`SerializedTypeObjectLiteral_`+super.toString()}},y=class e extends u.Struct{static _capnp={displayName:`SerializedTypeClassType`,id:`9855392bf9c48b25`,size:new u.ObjectSize(8,11)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}get name(){return u.utils.getText(4,this)}set name(e){u.utils.setText(4,e,this)}get globalObject(){return u.utils.getBit(16,this)}set globalObject(e){u.utils.setBit(16,e,this)}get classType(){return u.utils.getText(5,this)}set classType(e){u.utils.setText(5,e,this)}_adoptExtendsArguments(e){u.utils.adopt(e,u.utils.getPointer(6,this))}_disownExtendsArguments(){return u.utils.disown(this.extendsArguments)}get extendsArguments(){return u.utils.getList(6,e._ExtendsArguments,this)}_hasExtendsArguments(){return!u.utils.isNull(u.utils.getPointer(6,this))}_initExtendsArguments(t){return u.utils.initList(6,e._ExtendsArguments,t,this)}set extendsArguments(e){u.utils.copyFrom(e,u.utils.getPointer(6,this))}_adoptArguments(e){u.utils.adopt(e,u.utils.getPointer(7,this))}_disownArguments(){return u.utils.disown(this.arguments)}get arguments(){return u.utils.getList(7,e._Arguments,this)}_hasArguments(){return!u.utils.isNull(u.utils.getPointer(7,this))}_initArguments(t){return u.utils.initList(7,e._Arguments,t,this)}set arguments(e){u.utils.copyFrom(e,u.utils.getPointer(7,this))}_adoptSuperClass(e){u.utils.adopt(e,u.utils.getPointer(8,this))}_disownSuperClass(){return u.utils.disown(this.superClass)}get superClass(){return u.utils.getStruct(8,g,this)}_hasSuperClass(){return!u.utils.isNull(u.utils.getPointer(8,this))}_initSuperClass(){return u.utils.initStructAt(8,g,this)}set superClass(e){u.utils.copyFrom(e,u.utils.getPointer(8,this))}_adoptTypes(e){u.utils.adopt(e,u.utils.getPointer(9,this))}_disownTypes(){return u.utils.disown(this.types)}get types(){return u.utils.getList(9,e._Types,this)}_hasTypes(){return!u.utils.isNull(u.utils.getPointer(9,this))}_initTypes(t){return u.utils.initList(9,e._Types,t,this)}set types(e){u.utils.copyFrom(e,u.utils.getPointer(9,this))}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(10,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(10,p,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(10,this))}_initTags(){return u.utils.initStructAt(10,p,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(10,this))}toString(){return`SerializedTypeClassType_`+super.toString()}},b=class e extends u.Struct{static _capnp={displayName:`SerializedTypeParameter`,id:`fcbaa08bb97b8b1a`,size:new u.ObjectSize(8,8)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}get name(){return u.utils.getText(4,this)}set name(e){u.utils.setText(4,e,this)}_adoptType(e){u.utils.adopt(e,u.utils.getPointer(5,this))}_disownType(){return u.utils.disown(this.type)}get type(){return u.utils.getStruct(5,g,this)}_hasType(){return!u.utils.isNull(u.utils.getPointer(5,this))}_initType(){return u.utils.initStructAt(5,g,this)}set type(e){u.utils.copyFrom(e,u.utils.getPointer(5,this))}get visibility(){return u.utils.getUint16(2,this)}set visibility(e){u.utils.setUint16(2,e,this)}get readonly(){return u.utils.getBit(32,this)}set readonly(e){u.utils.setBit(32,e,this)}get optional(){return u.utils.getBit(33,this)}set optional(e){u.utils.setBit(33,e,this)}_adoptDefault(e){u.utils.adopt(e,u.utils.getPointer(6,this))}_disownDefault(){return u.utils.disown(this.default)}get default(){return u.utils.getStruct(6,h,this)}_hasDefault(){return!u.utils.isNull(u.utils.getPointer(6,this))}_initDefault(){return u.utils.initStructAt(6,h,this)}set default(e){u.utils.copyFrom(e,u.utils.getPointer(6,this))}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(7,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(7,p,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(7,this))}_initTags(){return u.utils.initStructAt(7,p,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(7,this))}toString(){return`SerializedTypeParameter_`+super.toString()}},x=class e extends u.Struct{static _capnp={displayName:`SerializedTypeMethod`,id:`8b5eff6d9ec2fb06`,size:new u.ObjectSize(8,8)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get visibility(){return u.utils.getUint16(0,this)}set visibility(e){u.utils.setUint16(0,e,this)}get abstract(){return u.utils.getBit(16,this)}set abstract(e){u.utils.setBit(16,e,this)}get optional(){return u.utils.getBit(17,this)}set optional(e){u.utils.setBit(17,e,this)}get readonly(){return u.utils.getBit(18,this)}set readonly(e){u.utils.setBit(18,e,this)}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(4,p,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initTags(){return u.utils.initStructAt(4,p,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}get kind(){return u.utils.getUint16(4,this)}set kind(e){u.utils.setUint16(4,e,this)}get name(){return u.utils.getText(5,this)}set name(e){u.utils.setText(5,e,this)}_adoptParameters(e){u.utils.adopt(e,u.utils.getPointer(6,this))}_disownParameters(){return u.utils.disown(this.parameters)}get parameters(){return u.utils.getList(6,e._Parameters,this)}_hasParameters(){return!u.utils.isNull(u.utils.getPointer(6,this))}_initParameters(t){return u.utils.initList(6,e._Parameters,t,this)}set parameters(e){u.utils.copyFrom(e,u.utils.getPointer(6,this))}_adoptReturn(e){u.utils.adopt(e,u.utils.getPointer(7,this))}_disownReturn(){return u.utils.disown(this.return)}get return(){return u.utils.getStruct(7,g,this)}_hasReturn(){return!u.utils.isNull(u.utils.getPointer(7,this))}_initReturn(){return u.utils.initStructAt(7,g,this)}set return(e){u.utils.copyFrom(e,u.utils.getPointer(7,this))}toString(){return`SerializedTypeMethod_`+super.toString()}},je=class e extends u.Struct{static _capnp={displayName:`SerializedTypeProperty`,id:`91d9dbea2037f78b`,size:new u.ObjectSize(8,9)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get visibility(){return u.utils.getUint16(0,this)}set visibility(e){u.utils.setUint16(0,e,this)}get abstract(){return u.utils.getBit(16,this)}set abstract(e){u.utils.setBit(16,e,this)}get optional(){return u.utils.getBit(17,this)}set optional(e){u.utils.setBit(17,e,this)}get readonly(){return u.utils.getBit(18,this)}set readonly(e){u.utils.setBit(18,e,this)}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(4,p,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initTags(){return u.utils.initStructAt(4,p,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}get kind(){return u.utils.getUint16(4,this)}set kind(e){u.utils.setUint16(4,e,this)}get name(){return u.utils.getText(5,this)}set name(e){u.utils.setText(5,e,this)}get description(){return u.utils.getText(6,this)}set description(e){u.utils.setText(6,e,this)}_adoptType(e){u.utils.adopt(e,u.utils.getPointer(7,this))}_disownType(){return u.utils.disown(this.type)}get type(){return u.utils.getStruct(7,g,this)}_hasType(){return!u.utils.isNull(u.utils.getPointer(7,this))}_initType(){return u.utils.initStructAt(7,g,this)}set type(e){u.utils.copyFrom(e,u.utils.getPointer(7,this))}_adoptDefault(e){u.utils.adopt(e,u.utils.getPointer(8,this))}_disownDefault(){return u.utils.disown(this.default)}get default(){return u.utils.getStruct(8,h,this)}_hasDefault(){return!u.utils.isNull(u.utils.getPointer(8,this))}_initDefault(){return u.utils.initStructAt(8,h,this)}set default(e){u.utils.copyFrom(e,u.utils.getPointer(8,this))}toString(){return`SerializedTypeProperty_`+super.toString()}},S=class e extends u.Struct{static _capnp={displayName:`SerializedTypeFunction`,id:`9130bccd82dfcfd4`,size:new u.ObjectSize(8,8)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get visibility(){return u.utils.getUint16(0,this)}set visibility(e){u.utils.setUint16(0,e,this)}get abstract(){return u.utils.getBit(16,this)}set abstract(e){u.utils.setBit(16,e,this)}get optional(){return u.utils.getBit(17,this)}set optional(e){u.utils.setBit(17,e,this)}get readonly(){return u.utils.getBit(18,this)}set readonly(e){u.utils.setBit(18,e,this)}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(4,p,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initTags(){return u.utils.initStructAt(4,p,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}get kind(){return u.utils.getUint16(4,this)}set kind(e){u.utils.setUint16(4,e,this)}get name(){return u.utils.getText(5,this)}set name(e){u.utils.setText(5,e,this)}_adoptParameters(e){u.utils.adopt(e,u.utils.getPointer(6,this))}_disownParameters(){return u.utils.disown(this.parameters)}get parameters(){return u.utils.getList(6,e._Parameters,this)}_hasParameters(){return!u.utils.isNull(u.utils.getPointer(6,this))}_initParameters(t){return u.utils.initList(6,e._Parameters,t,this)}set parameters(e){u.utils.copyFrom(e,u.utils.getPointer(6,this))}_adoptReturn(e){u.utils.adopt(e,u.utils.getPointer(7,this))}_disownReturn(){return u.utils.disown(this.return)}get return(){return u.utils.getStruct(7,g,this)}_hasReturn(){return!u.utils.isNull(u.utils.getPointer(7,this))}_initReturn(){return u.utils.initStructAt(7,g,this)}set return(e){u.utils.copyFrom(e,u.utils.getPointer(7,this))}toString(){return`SerializedTypeFunction_`+super.toString()}},Me=class e extends u.Struct{static _capnp={displayName:`SerializedTypePromise`,id:`e9b0cbe936a42398`,size:new u.ObjectSize(8,4)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get visibility(){return u.utils.getUint16(0,this)}set visibility(e){u.utils.setUint16(0,e,this)}get abstract(){return u.utils.getBit(16,this)}set abstract(e){u.utils.setBit(16,e,this)}toString(){return`SerializedTypePromise_`+super.toString()}},Ne=class extends u.Struct{static _capnp={displayName:`SerializedTypeEnumEntry`,id:`d5bcb8b7c49ba556`,size:new u.ObjectSize(0,2)};get name(){return u.utils.getText(0,this)}set name(e){u.utils.setText(0,e,this)}get value(){return u.utils.getText(1,this)}set value(e){u.utils.setText(1,e,this)}toString(){return`SerializedTypeEnumEntry_`+super.toString()}},C=class e extends u.Struct{static _capnp={displayName:`SerializedTypeEnum`,id:`d7d36f0ae79e3841`,size:new u.ObjectSize(8,8)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptEnumEntries(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownEnumEntries(){return u.utils.disown(this.enumEntries)}get enumEntries(){return u.utils.getList(4,e._EnumEntries,this)}_hasEnumEntries(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initEnumEntries(t){return u.utils.initList(4,e._EnumEntries,t,this)}set enumEntries(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}_adoptValues(e){u.utils.adopt(e,u.utils.getPointer(5,this))}_disownValues(){return u.utils.disown(this.values)}get values(){return u.utils.getList(5,u.TextList,this)}_hasValues(){return!u.utils.isNull(u.utils.getPointer(5,this))}_initValues(e){return u.utils.initList(5,u.TextList,e,this)}set values(e){u.utils.copyFrom(e,u.utils.getPointer(5,this))}_adoptIndexType(e){u.utils.adopt(e,u.utils.getPointer(6,this))}_disownIndexType(){return u.utils.disown(this.indexType)}get indexType(){return u.utils.getStruct(6,g,this)}_hasIndexType(){return!u.utils.isNull(u.utils.getPointer(6,this))}_initIndexType(){return u.utils.initStructAt(6,g,this)}set indexType(e){u.utils.copyFrom(e,u.utils.getPointer(6,this))}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(7,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(7,p,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(7,this))}_initTags(){return u.utils.initStructAt(7,p,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(7,this))}toString(){return`SerializedTypeEnum_`+super.toString()}},Pe=class e extends u.Struct{static _capnp={displayName:`SerializedTypeUnion`,id:`a9ae4c95e41ff4ab`,size:new u.ObjectSize(8,5)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptTypes(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownTypes(){return u.utils.disown(this.types)}get types(){return u.utils.getList(4,e._Types,this)}_hasTypes(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initTypes(t){return u.utils.initList(4,e._Types,t,this)}set types(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}toString(){return`SerializedTypeUnion_`+super.toString()}},Fe=class e extends u.Struct{static _capnp={displayName:`SerializedTypeIntersection`,id:`9ae42bd17511c09b`,size:new u.ObjectSize(8,5)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptTypes(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownTypes(){return u.utils.disown(this.types)}get types(){return u.utils.getList(4,e._Types,this)}_hasTypes(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initTypes(t){return u.utils.initList(4,e._Types,t,this)}set types(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}toString(){return`SerializedTypeIntersection_`+super.toString()}},Ie=class e extends u.Struct{static _capnp={displayName:`SerializedTypeArray`,id:`97d1d75240151501`,size:new u.ObjectSize(8,6)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptType(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownType(){return u.utils.disown(this.type)}get type(){return u.utils.getStruct(4,g,this)}_hasType(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initType(){return u.utils.initStructAt(4,g,this)}set type(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(5,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(5,p,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(5,this))}_initTags(){return u.utils.initStructAt(5,p,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(5,this))}toString(){return`SerializedTypeArray_`+super.toString()}},Le=class e extends u.Struct{static _capnp={displayName:`SerializedTypeIndexSignature`,id:`93e335e2756821d8`,size:new u.ObjectSize(8,6)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptIndex(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownIndex(){return u.utils.disown(this.index)}get index(){return u.utils.getStruct(4,g,this)}_hasIndex(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initIndex(){return u.utils.initStructAt(4,g,this)}set index(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}_adoptType(e){u.utils.adopt(e,u.utils.getPointer(5,this))}_disownType(){return u.utils.disown(this.type)}get type(){return u.utils.getStruct(5,g,this)}_hasType(){return!u.utils.isNull(u.utils.getPointer(5,this))}_initType(){return u.utils.initStructAt(5,g,this)}set type(e){u.utils.copyFrom(e,u.utils.getPointer(5,this))}toString(){return`SerializedTypeIndexSignature_`+super.toString()}},Re=class e extends u.Struct{static _capnp={displayName:`SerializedTypePropertySignature`,id:`9bc1cebd2ca1569a`,size:new u.ObjectSize(8,9)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}get name(){return u.utils.getText(4,this)}set name(e){u.utils.setText(4,e,this)}get optional(){return u.utils.getBit(16,this)}set optional(e){u.utils.setBit(16,e,this)}get readonly(){return u.utils.getBit(17,this)}set readonly(e){u.utils.setBit(17,e,this)}get description(){return u.utils.getText(5,this)}set description(e){u.utils.setText(5,e,this)}_adoptDefault(e){u.utils.adopt(e,u.utils.getPointer(6,this))}_disownDefault(){return u.utils.disown(this.default)}get default(){return u.utils.getStruct(6,h,this)}_hasDefault(){return!u.utils.isNull(u.utils.getPointer(6,this))}_initDefault(){return u.utils.initStructAt(6,h,this)}set default(e){u.utils.copyFrom(e,u.utils.getPointer(6,this))}_adoptType(e){u.utils.adopt(e,u.utils.getPointer(7,this))}_disownType(){return u.utils.disown(this.type)}get type(){return u.utils.getStruct(7,g,this)}_hasType(){return!u.utils.isNull(u.utils.getPointer(7,this))}_initType(){return u.utils.initStructAt(7,g,this)}set type(e){u.utils.copyFrom(e,u.utils.getPointer(7,this))}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(8,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(8,p,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(8,this))}_initTags(){return u.utils.initStructAt(8,p,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(8,this))}toString(){return`SerializedTypePropertySignature_`+super.toString()}},w=class e extends u.Struct{static _capnp={displayName:`SerializedTypeMethodSignature`,id:`e25a2cc39d5930c8`,size:new u.ObjectSize(8,8)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}get name(){return u.utils.getText(4,this)}set name(e){u.utils.setText(4,e,this)}get optional(){return u.utils.getBit(16,this)}set optional(e){u.utils.setBit(16,e,this)}_adoptParameters(e){u.utils.adopt(e,u.utils.getPointer(5,this))}_disownParameters(){return u.utils.disown(this.parameters)}get parameters(){return u.utils.getList(5,e._Parameters,this)}_hasParameters(){return!u.utils.isNull(u.utils.getPointer(5,this))}_initParameters(t){return u.utils.initList(5,e._Parameters,t,this)}set parameters(e){u.utils.copyFrom(e,u.utils.getPointer(5,this))}_adoptReturn(e){u.utils.adopt(e,u.utils.getPointer(6,this))}_disownReturn(){return u.utils.disown(this.return)}get return(){return u.utils.getStruct(6,g,this)}_hasReturn(){return!u.utils.isNull(u.utils.getPointer(6,this))}_initReturn(){return u.utils.initStructAt(6,g,this)}set return(e){u.utils.copyFrom(e,u.utils.getPointer(6,this))}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(7,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(7,p,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(7,this))}_initTags(){return u.utils.initStructAt(7,p,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(7,this))}toString(){return`SerializedTypeMethodSignature_`+super.toString()}},ze=class e extends u.Struct{static _capnp={displayName:`SerializedTypeTypeParameter`,id:`81210361a54d5d71`,size:new u.ObjectSize(8,5)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}get name(){return u.utils.getText(4,this)}set name(e){u.utils.setText(4,e,this)}toString(){return`SerializedTypeTypeParameter_`+super.toString()}},Be=class e extends u.Struct{static _capnp={displayName:`SerializedTypeInfer`,id:`91c6dd1e13f2b14d`,size:new u.ObjectSize(8,4)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}toString(){return`SerializedTypeInfer_`+super.toString()}},T=class e extends u.Struct{static _capnp={displayName:`SerializedTypeTupleMember`,id:`e21c2a18d0d56fdf`,size:new u.ObjectSize(8,6)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptType(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownType(){return u.utils.disown(this.type)}get type(){return u.utils.getStruct(4,g,this)}_hasType(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initType(){return u.utils.initStructAt(4,g,this)}set type(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}get optional(){return u.utils.getBit(16,this)}set optional(e){u.utils.setBit(16,e,this)}get name(){return u.utils.getText(5,this)}set name(e){u.utils.setText(5,e,this)}toString(){return`SerializedTypeTupleMember_`+super.toString()}},E=class e extends u.Struct{static _capnp={displayName:`SerializedTypeTuple`,id:`eb7501eb1ee4fb6d`,size:new u.ObjectSize(8,5)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptTypes(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownTypes(){return u.utils.disown(this.types)}get types(){return u.utils.getList(4,e._Types,this)}_hasTypes(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initTypes(t){return u.utils.initList(4,e._Types,t,this)}set types(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}toString(){return`SerializedTypeTuple_`+super.toString()}},Ve=class e extends u.Struct{static _capnp={displayName:`SerializedTypeRest`,id:`f9e684a435cce5d1`,size:new u.ObjectSize(8,5)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptType(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownType(){return u.utils.disown(this.type)}get type(){return u.utils.getStruct(4,g,this)}_hasType(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initType(){return u.utils.initStructAt(4,g,this)}set type(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}toString(){return`SerializedTypeRest_`+super.toString()}},He=class e extends u.Struct{static _capnp={displayName:`SimpleSerializedType`,id:`80f983e4b811c3ca`,size:new u.ObjectSize(8,5)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptOrigin(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownOrigin(){return u.utils.disown(this.origin)}get origin(){return u.utils.getStruct(4,g,this)}_hasOrigin(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initOrigin(){return u.utils.initStructAt(4,g,this)}set origin(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}toString(){return`SimpleSerializedType_`+super.toString()}},Ue=class extends u.Struct{static _capnp={displayName:`SerializedTypeLiteralSymbol`,id:`f3dd6a3c6054bd55`,size:new u.ObjectSize(0,2)};get type(){return u.utils.getText(0,this)}set type(e){u.utils.setText(0,e,this)}get name(){return u.utils.getText(1,this)}set name(e){u.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralSymbol_`+super.toString()}},We=class extends u.Struct{static _capnp={displayName:`SerializedTypeLiteralBigInt`,id:`821a872d8be30bb2`,size:new u.ObjectSize(0,2)};get type(){return u.utils.getText(0,this)}set type(e){u.utils.setText(0,e,this)}get value(){return u.utils.getText(1,this)}set value(e){u.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralBigInt_`+super.toString()}},Ge=class extends u.Struct{static _capnp={displayName:`SerializedTypeLiteralRegex`,id:`cc89f97b47927d99`,size:new u.ObjectSize(0,2)};get type(){return u.utils.getText(0,this)}set type(e){u.utils.setText(0,e,this)}get regex(){return u.utils.getText(1,this)}set regex(e){u.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralRegex_`+super.toString()}};const D={SYMBOL:0,STRING:1,NUMBER:2,BOOLEAN:3,BIGINT:4,REGEX:5};var Ke=class extends u.Struct{static SYMBOL=D.SYMBOL;static STRING=D.STRING;static NUMBER=D.NUMBER;static BOOLEAN=D.BOOLEAN;static BIGINT=D.BIGINT;static REGEX=D.REGEX;static _capnp={displayName:`literal`,id:`e4f0538973f3909f`,size:new u.ObjectSize(16,5)};_adoptSymbol(e){u.utils.setUint16(2,0,this),u.utils.adopt(e,u.utils.getPointer(4,this))}_disownSymbol(){return u.utils.disown(this.symbol)}get symbol(){return u.utils.testWhich(`symbol`,u.utils.getUint16(2,this),0,this),u.utils.getStruct(4,Ue,this)}_hasSymbol(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initSymbol(){return u.utils.setUint16(2,0,this),u.utils.initStructAt(4,Ue,this)}get _isSymbol(){return u.utils.getUint16(2,this)===0}set symbol(e){u.utils.setUint16(2,0,this),u.utils.copyFrom(e,u.utils.getPointer(4,this))}get string(){return u.utils.testWhich(`string`,u.utils.getUint16(2,this),1,this),u.utils.getText(4,this)}get _isString(){return u.utils.getUint16(2,this)===1}set string(e){u.utils.setUint16(2,1,this),u.utils.setText(4,e,this)}get number(){return u.utils.testWhich(`number`,u.utils.getUint16(2,this),2,this),u.utils.getFloat64(8,this)}get _isNumber(){return u.utils.getUint16(2,this)===2}set number(e){u.utils.setUint16(2,2,this),u.utils.setFloat64(8,e,this)}get boolean(){return u.utils.testWhich(`boolean`,u.utils.getUint16(2,this),3,this),u.utils.getBit(64,this)}get _isBoolean(){return u.utils.getUint16(2,this)===3}set boolean(e){u.utils.setUint16(2,3,this),u.utils.setBit(64,e,this)}_adoptBigint(e){u.utils.setUint16(2,4,this),u.utils.adopt(e,u.utils.getPointer(4,this))}_disownBigint(){return u.utils.disown(this.bigint)}get bigint(){return u.utils.testWhich(`bigint`,u.utils.getUint16(2,this),4,this),u.utils.getStruct(4,We,this)}_hasBigint(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initBigint(){return u.utils.setUint16(2,4,this),u.utils.initStructAt(4,We,this)}get _isBigint(){return u.utils.getUint16(2,this)===4}set bigint(e){u.utils.setUint16(2,4,this),u.utils.copyFrom(e,u.utils.getPointer(4,this))}_adoptRegex(e){u.utils.setUint16(2,5,this),u.utils.adopt(e,u.utils.getPointer(4,this))}_disownRegex(){return u.utils.disown(this.regex)}get regex(){return u.utils.testWhich(`regex`,u.utils.getUint16(2,this),5,this),u.utils.getStruct(4,Ge,this)}_hasRegex(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initRegex(){return u.utils.setUint16(2,5,this),u.utils.initStructAt(4,Ge,this)}get _isRegex(){return u.utils.getUint16(2,this)===5}set regex(e){u.utils.setUint16(2,5,this),u.utils.copyFrom(e,u.utils.getPointer(4,this))}toString(){return`SerializedTypeLiteral_Literal_`+super.toString()}which(){return u.utils.getUint16(2,this)}},qe=class e extends u.Struct{static _capnp={displayName:`SerializedTypeLiteral`,id:`b876ba24d27d88c8`,size:new u.ObjectSize(16,5)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}get literal(){return u.utils.getAs(Ke,this)}_initLiteral(){return u.utils.getAs(Ke,this)}toString(){return`SerializedTypeLiteral_`+super.toString()}},O=class e extends u.Struct{static _capnp={displayName:`SerializedTypeTemplateLiteral`,id:`8dd6c284d46cc265`,size:new u.ObjectSize(8,5)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptTypes(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownTypes(){return u.utils.disown(this.types)}get types(){return u.utils.getList(4,e._Types,this)}_hasTypes(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initTypes(t){return u.utils.initList(4,e._Types,t,this)}set types(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}toString(){return`SerializedTypeTemplateLiteral_`+super.toString()}},Je=class extends u.Struct{static _capnp={displayName:`SerializedTypeOther`,id:`9e1048a692ff49ce`,size:new u.ObjectSize(8,1)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}toString(){return`SerializedTypeOther_`+super.toString()}};const k={SIMPLE:0,LITERAL:1,TEMPLATE_LITERAL:2,PARAMETER:3,FUNCTION:4,METHOD:5,PROPERTY:6,PROMISE:7,CLASS_TYPE:8,ENUM:9,UNION:10,INTERSECTION:11,ARRAY:12,OBJECT_LITERAL:13,INDEX_SIGNATURE:14,PROPERTY_SIGNATURE:15,METHOD_SIGNATURE:16,TYPE_PARAMETER:17,INFER:18,TUPLE:19,TUPLE_MEMBER:20,REST:21,OTHER:22};var Ye=class extends u.Struct{static SIMPLE=k.SIMPLE;static LITERAL=k.LITERAL;static TEMPLATE_LITERAL=k.TEMPLATE_LITERAL;static PARAMETER=k.PARAMETER;static FUNCTION=k.FUNCTION;static METHOD=k.METHOD;static PROPERTY=k.PROPERTY;static PROMISE=k.PROMISE;static CLASS_TYPE=k.CLASS_TYPE;static ENUM=k.ENUM;static UNION=k.UNION;static INTERSECTION=k.INTERSECTION;static ARRAY=k.ARRAY;static OBJECT_LITERAL=k.OBJECT_LITERAL;static INDEX_SIGNATURE=k.INDEX_SIGNATURE;static PROPERTY_SIGNATURE=k.PROPERTY_SIGNATURE;static METHOD_SIGNATURE=k.METHOD_SIGNATURE;static TYPE_PARAMETER=k.TYPE_PARAMETER;static INFER=k.INFER;static TUPLE=k.TUPLE;static TUPLE_MEMBER=k.TUPLE_MEMBER;static REST=k.REST;static OTHER=k.OTHER;static _capnp={displayName:`type`,id:`c677d7ed4a496eab`,size:new u.ObjectSize(8,1)};_adoptSimple(e){u.utils.setUint16(0,0,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownSimple(){return u.utils.disown(this.simple)}get simple(){return u.utils.testWhich(`simple`,u.utils.getUint16(0,this),0,this),u.utils.getStruct(0,He,this)}_hasSimple(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initSimple(){return u.utils.setUint16(0,0,this),u.utils.initStructAt(0,He,this)}get _isSimple(){return u.utils.getUint16(0,this)===0}set simple(e){u.utils.setUint16(0,0,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptLiteral(e){u.utils.setUint16(0,1,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownLiteral(){return u.utils.disown(this.literal)}get literal(){return u.utils.testWhich(`literal`,u.utils.getUint16(0,this),1,this),u.utils.getStruct(0,qe,this)}_hasLiteral(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initLiteral(){return u.utils.setUint16(0,1,this),u.utils.initStructAt(0,qe,this)}get _isLiteral(){return u.utils.getUint16(0,this)===1}set literal(e){u.utils.setUint16(0,1,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptTemplateLiteral(e){u.utils.setUint16(0,2,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownTemplateLiteral(){return u.utils.disown(this.templateLiteral)}get templateLiteral(){return u.utils.testWhich(`templateLiteral`,u.utils.getUint16(0,this),2,this),u.utils.getStruct(0,O,this)}_hasTemplateLiteral(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initTemplateLiteral(){return u.utils.setUint16(0,2,this),u.utils.initStructAt(0,O,this)}get _isTemplateLiteral(){return u.utils.getUint16(0,this)===2}set templateLiteral(e){u.utils.setUint16(0,2,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptParameter(e){u.utils.setUint16(0,3,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownParameter(){return u.utils.disown(this.parameter)}get parameter(){return u.utils.testWhich(`parameter`,u.utils.getUint16(0,this),3,this),u.utils.getStruct(0,b,this)}_hasParameter(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initParameter(){return u.utils.setUint16(0,3,this),u.utils.initStructAt(0,b,this)}get _isParameter(){return u.utils.getUint16(0,this)===3}set parameter(e){u.utils.setUint16(0,3,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptFunction(e){u.utils.setUint16(0,4,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownFunction(){return u.utils.disown(this.function)}get function(){return u.utils.testWhich(`function`,u.utils.getUint16(0,this),4,this),u.utils.getStruct(0,S,this)}_hasFunction(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initFunction(){return u.utils.setUint16(0,4,this),u.utils.initStructAt(0,S,this)}get _isFunction(){return u.utils.getUint16(0,this)===4}set function(e){u.utils.setUint16(0,4,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptMethod(e){u.utils.setUint16(0,5,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownMethod(){return u.utils.disown(this.method)}get method(){return u.utils.testWhich(`method`,u.utils.getUint16(0,this),5,this),u.utils.getStruct(0,x,this)}_hasMethod(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initMethod(){return u.utils.setUint16(0,5,this),u.utils.initStructAt(0,x,this)}get _isMethod(){return u.utils.getUint16(0,this)===5}set method(e){u.utils.setUint16(0,5,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptProperty(e){u.utils.setUint16(0,6,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownProperty(){return u.utils.disown(this.property)}get property(){return u.utils.testWhich(`property`,u.utils.getUint16(0,this),6,this),u.utils.getStruct(0,je,this)}_hasProperty(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initProperty(){return u.utils.setUint16(0,6,this),u.utils.initStructAt(0,je,this)}get _isProperty(){return u.utils.getUint16(0,this)===6}set property(e){u.utils.setUint16(0,6,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptPromise(e){u.utils.setUint16(0,7,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownPromise(){return u.utils.disown(this.promise)}get promise(){return u.utils.testWhich(`promise`,u.utils.getUint16(0,this),7,this),u.utils.getStruct(0,Me,this)}_hasPromise(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initPromise(){return u.utils.setUint16(0,7,this),u.utils.initStructAt(0,Me,this)}get _isPromise(){return u.utils.getUint16(0,this)===7}set promise(e){u.utils.setUint16(0,7,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptClassType(e){u.utils.setUint16(0,8,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownClassType(){return u.utils.disown(this.classType)}get classType(){return u.utils.testWhich(`classType`,u.utils.getUint16(0,this),8,this),u.utils.getStruct(0,y,this)}_hasClassType(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initClassType(){return u.utils.setUint16(0,8,this),u.utils.initStructAt(0,y,this)}get _isClassType(){return u.utils.getUint16(0,this)===8}set classType(e){u.utils.setUint16(0,8,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptEnum(e){u.utils.setUint16(0,9,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownEnum(){return u.utils.disown(this.enum)}get enum(){return u.utils.testWhich(`enum`,u.utils.getUint16(0,this),9,this),u.utils.getStruct(0,C,this)}_hasEnum(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initEnum(){return u.utils.setUint16(0,9,this),u.utils.initStructAt(0,C,this)}get _isEnum(){return u.utils.getUint16(0,this)===9}set enum(e){u.utils.setUint16(0,9,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptUnion(e){u.utils.setUint16(0,10,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownUnion(){return u.utils.disown(this.union)}get union(){return u.utils.testWhich(`union`,u.utils.getUint16(0,this),10,this),u.utils.getStruct(0,Pe,this)}_hasUnion(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initUnion(){return u.utils.setUint16(0,10,this),u.utils.initStructAt(0,Pe,this)}get _isUnion(){return u.utils.getUint16(0,this)===10}set union(e){u.utils.setUint16(0,10,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptIntersection(e){u.utils.setUint16(0,11,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownIntersection(){return u.utils.disown(this.intersection)}get intersection(){return u.utils.testWhich(`intersection`,u.utils.getUint16(0,this),11,this),u.utils.getStruct(0,Fe,this)}_hasIntersection(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initIntersection(){return u.utils.setUint16(0,11,this),u.utils.initStructAt(0,Fe,this)}get _isIntersection(){return u.utils.getUint16(0,this)===11}set intersection(e){u.utils.setUint16(0,11,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptArray(e){u.utils.setUint16(0,12,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownArray(){return u.utils.disown(this.array)}get array(){return u.utils.testWhich(`array`,u.utils.getUint16(0,this),12,this),u.utils.getStruct(0,Ie,this)}_hasArray(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initArray(){return u.utils.setUint16(0,12,this),u.utils.initStructAt(0,Ie,this)}get _isArray(){return u.utils.getUint16(0,this)===12}set array(e){u.utils.setUint16(0,12,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptObjectLiteral(e){u.utils.setUint16(0,13,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownObjectLiteral(){return u.utils.disown(this.objectLiteral)}get objectLiteral(){return u.utils.testWhich(`objectLiteral`,u.utils.getUint16(0,this),13,this),u.utils.getStruct(0,v,this)}_hasObjectLiteral(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initObjectLiteral(){return u.utils.setUint16(0,13,this),u.utils.initStructAt(0,v,this)}get _isObjectLiteral(){return u.utils.getUint16(0,this)===13}set objectLiteral(e){u.utils.setUint16(0,13,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptIndexSignature(e){u.utils.setUint16(0,14,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownIndexSignature(){return u.utils.disown(this.indexSignature)}get indexSignature(){return u.utils.testWhich(`indexSignature`,u.utils.getUint16(0,this),14,this),u.utils.getStruct(0,Le,this)}_hasIndexSignature(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initIndexSignature(){return u.utils.setUint16(0,14,this),u.utils.initStructAt(0,Le,this)}get _isIndexSignature(){return u.utils.getUint16(0,this)===14}set indexSignature(e){u.utils.setUint16(0,14,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptPropertySignature(e){u.utils.setUint16(0,15,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownPropertySignature(){return u.utils.disown(this.propertySignature)}get propertySignature(){return u.utils.testWhich(`propertySignature`,u.utils.getUint16(0,this),15,this),u.utils.getStruct(0,Re,this)}_hasPropertySignature(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initPropertySignature(){return u.utils.setUint16(0,15,this),u.utils.initStructAt(0,Re,this)}get _isPropertySignature(){return u.utils.getUint16(0,this)===15}set propertySignature(e){u.utils.setUint16(0,15,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptMethodSignature(e){u.utils.setUint16(0,16,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownMethodSignature(){return u.utils.disown(this.methodSignature)}get methodSignature(){return u.utils.testWhich(`methodSignature`,u.utils.getUint16(0,this),16,this),u.utils.getStruct(0,w,this)}_hasMethodSignature(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initMethodSignature(){return u.utils.setUint16(0,16,this),u.utils.initStructAt(0,w,this)}get _isMethodSignature(){return u.utils.getUint16(0,this)===16}set methodSignature(e){u.utils.setUint16(0,16,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptTypeParameter(e){u.utils.setUint16(0,17,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownTypeParameter(){return u.utils.disown(this.typeParameter)}get typeParameter(){return u.utils.testWhich(`typeParameter`,u.utils.getUint16(0,this),17,this),u.utils.getStruct(0,ze,this)}_hasTypeParameter(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initTypeParameter(){return u.utils.setUint16(0,17,this),u.utils.initStructAt(0,ze,this)}get _isTypeParameter(){return u.utils.getUint16(0,this)===17}set typeParameter(e){u.utils.setUint16(0,17,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptInfer(e){u.utils.setUint16(0,18,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownInfer(){return u.utils.disown(this.infer)}get infer(){return u.utils.testWhich(`infer`,u.utils.getUint16(0,this),18,this),u.utils.getStruct(0,Be,this)}_hasInfer(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initInfer(){return u.utils.setUint16(0,18,this),u.utils.initStructAt(0,Be,this)}get _isInfer(){return u.utils.getUint16(0,this)===18}set infer(e){u.utils.setUint16(0,18,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptTuple(e){u.utils.setUint16(0,19,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownTuple(){return u.utils.disown(this.tuple)}get tuple(){return u.utils.testWhich(`tuple`,u.utils.getUint16(0,this),19,this),u.utils.getStruct(0,E,this)}_hasTuple(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initTuple(){return u.utils.setUint16(0,19,this),u.utils.initStructAt(0,E,this)}get _isTuple(){return u.utils.getUint16(0,this)===19}set tuple(e){u.utils.setUint16(0,19,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptTupleMember(e){u.utils.setUint16(0,20,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownTupleMember(){return u.utils.disown(this.tupleMember)}get tupleMember(){return u.utils.testWhich(`tupleMember`,u.utils.getUint16(0,this),20,this),u.utils.getStruct(0,T,this)}_hasTupleMember(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initTupleMember(){return u.utils.setUint16(0,20,this),u.utils.initStructAt(0,T,this)}get _isTupleMember(){return u.utils.getUint16(0,this)===20}set tupleMember(e){u.utils.setUint16(0,20,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptRest(e){u.utils.setUint16(0,21,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownRest(){return u.utils.disown(this.rest)}get rest(){return u.utils.testWhich(`rest`,u.utils.getUint16(0,this),21,this),u.utils.getStruct(0,Ve,this)}_hasRest(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initRest(){return u.utils.setUint16(0,21,this),u.utils.initStructAt(0,Ve,this)}get _isRest(){return u.utils.getUint16(0,this)===21}set rest(e){u.utils.setUint16(0,21,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptOther(e){u.utils.setUint16(0,22,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownOther(){return u.utils.disown(this.other)}get other(){return u.utils.testWhich(`other`,u.utils.getUint16(0,this),22,this),u.utils.getStruct(0,Je,this)}_hasOther(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initOther(){return u.utils.setUint16(0,22,this),u.utils.initStructAt(0,Je,this)}get _isOther(){return u.utils.getUint16(0,this)===22}set other(e){u.utils.setUint16(0,22,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}toString(){return`SerializedType_Type_`+super.toString()}which(){return u.utils.getUint16(0,this)}},Xe=class extends u.Struct{static _capnp={displayName:`SerializedType`,id:`96856dcc2dd3d58f`,size:new u.ObjectSize(8,1)};get type(){return u.utils.getAs(Ye,this)}_initType(){return u.utils.getAs(Ye,this)}toString(){return`SerializedType_`+super.toString()}},Ze=class e extends u.Struct{static _capnp={displayName:`SerializedTypes`,id:`ac55398ab0ef4958`,size:new u.ObjectSize(0,1)};_adoptTypes(e){u.utils.adopt(e,u.utils.getPointer(0,this))}_disownTypes(){return u.utils.disown(this.types)}get types(){return u.utils.getList(0,e._Types,this)}_hasTypes(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initTypes(t){return u.utils.initList(0,e._Types,t,this)}set types(e){u.utils.copyFrom(e,u.utils.getPointer(0,this))}toString(){return`SerializedTypes_`+super.toString()}};Ae._Indexes=u.CompositeList(ke),v._TypeArguments=u.CompositeList(g),v._Decorators=u.CompositeList(g),v._Types=u.CompositeList(g),y._TypeArguments=u.CompositeList(g),y._Decorators=u.CompositeList(g),y._ExtendsArguments=u.CompositeList(g),y._Arguments=u.CompositeList(g),y._Types=u.CompositeList(g),b._TypeArguments=u.CompositeList(g),b._Decorators=u.CompositeList(g),x._TypeArguments=u.CompositeList(g),x._Decorators=u.CompositeList(g),x._Parameters=u.CompositeList(b),je._TypeArguments=u.CompositeList(g),je._Decorators=u.CompositeList(g),S._TypeArguments=u.CompositeList(g),S._Decorators=u.CompositeList(g),S._Parameters=u.CompositeList(b),Me._TypeArguments=u.CompositeList(g),Me._Decorators=u.CompositeList(g),C._TypeArguments=u.CompositeList(g),C._Decorators=u.CompositeList(g),C._EnumEntries=u.CompositeList(Ne),Pe._TypeArguments=u.CompositeList(g),Pe._Decorators=u.CompositeList(g),Pe._Types=u.CompositeList(g),Fe._TypeArguments=u.CompositeList(g),Fe._Decorators=u.CompositeList(g),Fe._Types=u.CompositeList(g),Ie._TypeArguments=u.CompositeList(g),Ie._Decorators=u.CompositeList(g),Le._TypeArguments=u.CompositeList(g),Le._Decorators=u.CompositeList(g),Re._TypeArguments=u.CompositeList(g),Re._Decorators=u.CompositeList(g),w._TypeArguments=u.CompositeList(g),w._Decorators=u.CompositeList(g),w._Parameters=u.CompositeList(b),ze._TypeArguments=u.CompositeList(g),ze._Decorators=u.CompositeList(g),Be._TypeArguments=u.CompositeList(g),Be._Decorators=u.CompositeList(g),T._TypeArguments=u.CompositeList(g),T._Decorators=u.CompositeList(g),E._TypeArguments=u.CompositeList(g),E._Decorators=u.CompositeList(g),E._Types=u.CompositeList(T),Ve._TypeArguments=u.CompositeList(g),Ve._Decorators=u.CompositeList(g),He._TypeArguments=u.CompositeList(g),He._Decorators=u.CompositeList(g),qe._TypeArguments=u.CompositeList(g),qe._Decorators=u.CompositeList(g),O._TypeArguments=u.CompositeList(g),O._Decorators=u.CompositeList(g),O._Types=u.CompositeList(g),Ze._Types=u.CompositeList(Xe);function Qe(e,t){if(!e||!Array.isArray(e)||e.length===0)throw Error(`Invalid serialized type provided for conversion.`);if(e.length!==t.length)throw Error(`Mismatch in length of serialized types: expected ${t.length}, got ${e.length}.`);return e.filter(e=>fe(e)&&!me(e.kind)).forEach((e,n)=>{et(e,t.get(n)._initType())}),t}function $e(e){if(!e)throw Error(`Invalid serialized type provided for conversion.`);let t=[];return e.forEach(e=>{let n=tt(e.type);t.push(n)}),t}function A(e,t){if(t?.alias?.length){let n=e._initAlias(t.alias.length);t.alias.forEach((e,t)=>{n.set(t,e)})}if(e.hidden=t?.hidden??!1,e.ignore=t?.ignore??!1,e.internal=t?.internal??!1,e.readonly=t?.readonly??!1,t?.title&&(e.title=t?.title),t?.domain&&(e.domain=t?.domain),t?.permission?.length){let n=e._initPermission(t.permission.length);t.permission?.forEach((e,t)=>{n.set(t,e)})}return e}function j(e){return e._hasTags()?{alias:e.tags?.alias?.length?e.tags?.alias.map(e=>e):void 0,hidden:e.tags?.hidden,domain:e.tags?.domain?e.tags.domain:void 0,title:e.tags?.title?e.tags.title:void 0,ignore:e.tags?.ignore,internal:e.tags?.internal,readonly:e.tags?.readonly,permission:e.tags?.permission?.length?e.tags?.permission?.map(e=>e):void 0}:void 0}function M(e,t){let n=e._initIndex();n.id=t?.index??0;let r=e._initContainer();return r.id=t?.container??0,e}function N(e){return e._hasIndexAccessOrigin()?{container:Number(e.indexAccessOrigin?.container.id),index:Number(e.indexAccessOrigin?.index.id)}:void 0}function et(e,t){return e.kind===d.ReflectionKind.objectLiteral?It(e,t._initObjectLiteral()):e.kind===d.ReflectionKind.class?Pt(e,t._initClassType()):e.kind===d.ReflectionKind.parameter?Rt(e,t._initParameter()):e.kind===d.ReflectionKind.function?At(e,t._initFunction()):e.kind===d.ReflectionKind.method?jt(e,t._initMethod()):e.kind===d.ReflectionKind.infer?Ot(e,t._initInfer()):e.kind===d.ReflectionKind.union?Et(e,t._initUnion()):e.kind===d.ReflectionKind.array?wt(e,t._initArray()):e.kind===d.ReflectionKind.intersection?St(e,t._initIntersection()):e.kind===d.ReflectionKind.enum?bt(e,t._initEnum()):e.kind===d.ReflectionKind.property?vt(e,t._initProperty()):e.kind===d.ReflectionKind.tuple?gt(e,t._initTuple()):e.kind===d.ReflectionKind.tupleMember?mt(e,t._initTupleMember()):e.kind===d.ReflectionKind.propertySignature?pt(e,t._initPropertySignature()):e.kind===d.ReflectionKind.methodSignature?lt(e,t._initMethodSignature()):e.kind===d.ReflectionKind.literal?st(e,t._initLiteral()):e.kind===d.ReflectionKind.never||e.kind===d.ReflectionKind.any||e.kind===d.ReflectionKind.unknown||e.kind===d.ReflectionKind.void||e.kind===d.ReflectionKind.object||e.kind===d.ReflectionKind.string||e.kind===d.ReflectionKind.number||e.kind===d.ReflectionKind.boolean||e.kind===d.ReflectionKind.symbol||e.kind===d.ReflectionKind.bigint||e.kind===d.ReflectionKind.null||e.kind===d.ReflectionKind.undefined||e.kind===d.ReflectionKind.regexp?at(e,t._initSimple()):it(e,t._initOther()),t}function tt(e){if(e._isObjectLiteral)return Lt(e.objectLiteral);if(e._isClassType)return Ft(e.classType);if(e._isParameter)return zt(e.parameter);if(e._isFunction)return Mt(e.function);if(e._isInfer)return kt(e.infer);if(e._isMethod)return Nt(e.method);if(e._isUnion)return Dt(e.union);if(e._isArray)return Tt(e.array);if(e._isIntersection)return Ct(e.intersection);if(e._isEnum)return xt(e.enum);if(e._isProperty)return yt(e.property);if(e._isTuple)return _t(e.tuple);if(e._isTupleMember)return ht(e.tupleMember);if(e._isPropertySignature)return ut(e.propertySignature);if(e._isMethodSignature)return ct(e.methodSignature);if(e._isLiteral)return ot(e.literal);if(e._isSimple)return rt(e.simple);if(e._isOther)return nt(e.other);throw Error(`Unsupported serialized type kind: ${e.toString()}`)}function nt(e){return{kind:e.kind,typeName:e.typeName||void 0}}function rt(e){let t={kind:e.kind,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:N(e)};return e._hasOrigin()&&(t.origin=Number(e.origin.id)),t}function it(e,t){return t.kind=e.kind,t.typeName=e.typeName||``,t}function at(e,t){if(t.kind=e.kind,t.typeName=e.typeName||``,e.origin&&(t._initOrigin(),t.origin.id=e.origin??0),e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&M(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function ot(e){return{kind:d.ReflectionKind.literal,literal:e.literal._isString?e.literal.string:e.literal._isNumber?e.literal.number:e.literal._isBoolean?e.literal.boolean:e.literal._isBigint?{type:`bigint`,value:e.literal.bigint.value}:e.literal._isSymbol?{type:`symbol`,name:e.literal.symbol.name}:{type:`regex`,regex:e.literal.regex.regex},typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:N(e)}}function st(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initLiteral();if(typeof e.literal==`boolean`)n.boolean=e.literal;else if(typeof e.literal==`number`)n.number=e.literal;else if(typeof e.literal==`string`)n.string=e.literal;else if(e.literal.type===`bigint`){let t=n._initBigint();t.type=`bigint`,t.value=e.literal.value}else if(e.literal.type===`symbol`){let t=n._initSymbol();t.type=`symbol`,t.name=e.literal.name.toString().slice(7,-1)}else if(e.literal.type===`regex`){let t=n._initRegex();t.type=`regex`,t.regex=e.literal.regex}if(e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&M(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function ct(e){return{kind:d.ReflectionKind.methodSignature,name:e.name,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,parameters:e._hasParameters()?e.parameters.map(e=>zt(e)):[],return:e.return.id,tags:j(e)}}function lt(e,t){if(t.kind=e.kind,t.name=String(e.name),t.typeName=e.typeName||``,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&M(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&A(t._initTags(),e.tags),t}function ut(e){return{kind:d.ReflectionKind.propertySignature,name:e.name,typeName:e.typeName||void 0,description:e.description,default:ft(e.default),optional:e.optional?!0:void 0,readonly:e.readonly?!0:void 0,type:e.type.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:N(e),tags:j(e)}}function dt(e,t){e!==void 0&&e!==``&&(t._initValue(),typeof e==`string`?t.value.string=e:typeof e==`number`?de(e)?t.value.integer=e:t.value.float=e:typeof e==`boolean`&&(t.value.boolean=e))}function ft(e){if(e.value!==void 0){if(e.value._isBoolean)return e.value.boolean;if(e.value._isInteger)return e.value.integer;if(e.value._isFloat)return e.value.float;if(e.value._isString)return e.value.string}}function pt(e,t){if(t.kind=e.kind,t.name=String(e.name)||``,t.typeName=e.typeName||``,t.description=e.description||``,t.optional=e.optional??!1,t.readonly=e.readonly??!1,e.default!==void 0){let n=t._initDefault();dt(e.default,n)}let n=t._initType();if(n.id=e.type,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&M(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&A(t._initTags(),e.tags),t}function mt(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initType();if(n.id=e.type,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&M(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function ht(e){return{kind:d.ReflectionKind.tupleMember,type:e.type.id,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:N(e)}}function gt(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initTypes(e.types.length);if(e.types.forEach((e,t)=>{mt(e,n.get(t))}),e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&M(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function _t(e){return{kind:d.ReflectionKind.tuple,typeName:e.typeName||void 0,types:e._hasTypes()?e.types.map(e=>ht(e)):[],decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:N(e)}}function vt(e,t){if(t.kind=e.kind,t.typeName=e.typeName||``,t.description=e.description||``,t.optional=e.optional??!1,t.readonly=e.readonly??!1,t.visibility=e.visibility===d.ReflectionVisibility.public?f.PUBLIC:e.visibility===d.ReflectionVisibility.protected?f.PROTECTED:f.PRIVATE,t.abstract=e.abstract??!1,t.name=String(e.name)||``,e.default!==void 0){let n=t._initDefault();dt(e.default,n)}let n=t._initType();if(n.id=e.type,e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&M(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&A(t._initTags(),e.tags),t}function yt(e){return{kind:d.ReflectionKind.property,typeName:e.typeName||void 0,description:e.description,default:ft(e.default),optional:e.optional?!0:void 0,readonly:e.readonly?!0:void 0,visibility:e.visibility===f.PUBLIC?d.ReflectionVisibility.public:e.visibility===f.PROTECTED?d.ReflectionVisibility.protected:d.ReflectionVisibility.private,abstract:e.abstract?!0:void 0,name:e.name,type:e.type.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:N(e),tags:j(e)}}function bt(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initIndexType();if(n.id=e.indexType,e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.indexAccessOrigin&&M(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.values?.length){let n=t._initValues(e.values?.length);e.values.forEach((e,t)=>{n.set(t,String(e))})}let r=t._initEnumEntries(Object.keys(e.enum).length??0);return Object.entries(e.enum).forEach(([e,t],n)=>{let i=r.get(n);i.name=e,i.value=String(t)}),e.tags&&A(t._initTags(),e.tags),t}function xt(e){return{kind:d.ReflectionKind.enum,typeName:e.typeName||void 0,indexType:e.indexType.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,values:e._hasValues()?e.values.map(e=>e):[],enum:e._hasEnumEntries()?Object.entries(e.enumEntries).reduce((e,[t,n])=>(e[t]=n.value,e),{}):{},indexAccessOrigin:N(e),tags:j(e)}}function St(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initTypes(e.types?.length??0);if(e.types?.forEach((e,t)=>{let r=n.get(t);r.id=e}),e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&M(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function Ct(e){return{kind:d.ReflectionKind.intersection,typeName:e.typeName||void 0,types:e._hasTypes()?e.types.map(e=>e.id):[],decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:N(e)}}function wt(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initType();if(n.id=e.type,e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&M(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&A(t._initTags(),e.tags),t}function Tt(e){return{kind:d.ReflectionKind.array,typeName:e.typeName||void 0,type:e.type.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:N(e),tags:j(e)}}function Et(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initTypes(e.types?.length??0);if(e.types?.forEach((e,t)=>{let r=n.get(t);r.id=e}),e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&M(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function Dt(e){return{kind:d.ReflectionKind.union,typeName:e.typeName||void 0,types:e._hasTypes()?e.types.map(e=>e.id):[],decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:N(e)}}function Ot(e,t){if(t.kind=e.kind,t.typeName=e.typeName||``,e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&M(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function kt(e){return{kind:d.ReflectionKind.infer,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:N(e)}}function At(e,t){if(t.name=String(e.name)||``,t.kind=e.kind,t.typeName=e.typeName||``,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.parameters?.length){let n=t._initParameters(e.parameters.length);e.parameters.forEach((e,t)=>{Rt(e,n.get(t))})}let n=t._initReturn();return n.id=e.return,e.indexAccessOrigin&&M(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&A(t._initTags(),e.tags),t}function jt(e,t){if(t.name=String(e.name)||``,t.kind=e.kind,t.typeName=e.typeName||``,t.abstract=e.abstract??!1,t.visibility=e.visibility===d.ReflectionVisibility.public?f.PUBLIC:e.visibility===d.ReflectionVisibility.protected?f.PROTECTED:f.PRIVATE,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.parameters?.length){let n=t._initParameters(e.parameters.length);e.parameters.forEach((e,t)=>{Rt(e,n.get(t))})}let n=t._initReturn();return n.id=e.return,e.indexAccessOrigin&&M(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&A(t._initTags(),e.tags),t}function Mt(e){return{kind:d.ReflectionKind.function,name:e.name,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,parameters:e._hasParameters()?e.parameters.map(e=>zt(e)):[],return:e.return.id,indexAccessOrigin:N(e),tags:j(e)}}function Nt(e){return{kind:d.ReflectionKind.method,name:e.name,typeName:e.typeName||void 0,abstract:e.abstract?!0:void 0,return:e.return.id,visibility:e.visibility===f.PUBLIC?d.ReflectionVisibility.public:e.visibility===f.PROTECTED?d.ReflectionVisibility.protected:d.ReflectionVisibility.private,parameters:e._hasParameters()?e.parameters.map(e=>zt(e)):[]}}function Pt(e,t){if(t.kind=e.kind,t.typeName=e.typeName||``,t.classType=e.classType||``,t.globalObject=e.globalObject??!1,e.arguments?.length){let n=t._initArguments(e.arguments.length);e.arguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.extendsArguments?.length){let n=t._initArguments(e.extendsArguments.length);e.extendsArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.superClass){let n=t._initSuperClass();n.id=e.superClass}return e.indexAccessOrigin&&M(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&A(t._initTags(),e.tags),t}function Ft(e){return{kind:d.ReflectionKind.class,typeName:e.typeName||void 0,classType:e.classType,globalObject:e.globalObject?!0:void 0,arguments:e._hasArguments()?e.arguments.map(e=>e.id):void 0,extendsArguments:e._hasExtendsArguments()?e.extendsArguments.map(e=>e.id):void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,types:e._hasTypes()?e.types.map(e=>e.id):[],typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,superClass:e._hasSuperClass()?e.superClass.id:void 0,indexAccessOrigin:N(e),tags:j(e)}}function It(e,t){if(e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.types?.length){let n=t._initTypes(e.types.length);e.types.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&M(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&A(t._initTags(),e.tags),t}function Lt(e){return{kind:d.ReflectionKind.objectLiteral,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,types:e._hasTypes()?e.types.map(e=>e.id):[],typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:N(e),tags:j(e)}}function Rt(e,t){if(t.kind=e.kind,t.typeName=e.typeName||``,t.name=e.name||``,t.optional=e.optional??!1,t.readonly=e.readonly??!1,t.visibility=e.visibility===d.ReflectionVisibility.public?f.PUBLIC:e.visibility===d.ReflectionVisibility.protected?f.PROTECTED:f.PRIVATE,e.default!==void 0){let n=t._initDefault();dt(e.default,n)}let n=t._initType();if(n.id=e.type,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&M(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&A(t._initTags(),e.tags),t}function zt(e){return{kind:d.ReflectionKind.parameter,typeName:e.typeName||void 0,name:e.name,default:ft(e.default),optional:e.optional?!0:void 0,readonly:e.readonly?!0:void 0,visibility:e.visibility===f.PUBLIC?d.ReflectionVisibility.public:e.visibility===f.PROTECTED?d.ReflectionVisibility.protected:d.ReflectionVisibility.private,type:e.type.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:N(e),tags:j(e)}}var Bt=Object.defineProperty,P=(e,t)=>Bt(e,`name`,{value:t,configurable:!0}),F=class extends u.Struct{static{P(this,`TagsReflection`)}static _capnp={displayName:`TagsReflection`,id:`ab7e31d6b834bbf8`,size:new u.ObjectSize(8,4)};_adoptAlias(e){u.utils.adopt(e,u.utils.getPointer(0,this))}_disownAlias(){return u.utils.disown(this.alias)}get alias(){return u.utils.getList(0,u.TextList,this)}_hasAlias(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initAlias(e){return u.utils.initList(0,u.TextList,e,this)}set alias(e){u.utils.copyFrom(e,u.utils.getPointer(0,this))}get title(){return u.utils.getText(1,this)}set title(e){u.utils.setText(1,e,this)}get hidden(){return u.utils.getBit(0,this)}set hidden(e){u.utils.setBit(0,e,this)}get readonly(){return u.utils.getBit(1,this)}set readonly(e){u.utils.setBit(1,e,this)}get ignore(){return u.utils.getBit(2,this)}set ignore(e){u.utils.setBit(2,e,this)}get internal(){return u.utils.getBit(3,this)}set internal(e){u.utils.setBit(3,e,this)}_adoptPermission(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownPermission(){return u.utils.disown(this.permission)}get permission(){return u.utils.getList(2,u.TextList,this)}_hasPermission(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initPermission(e){return u.utils.initList(2,u.TextList,e,this)}set permission(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}get domain(){return u.utils.getText(3,this)}set domain(e){u.utils.setText(3,e,this)}toString(){return`TagsReflection_`+super.toString()}},I={UNDEFINED:0,BOOLEAN:1,INTEGER:2,FLOAT:3,STRING:4},Vt=class extends u.Struct{static{P(this,`DefaultValueReflection_Value`)}static UNDEFINED=I.UNDEFINED;static BOOLEAN=I.BOOLEAN;static INTEGER=I.INTEGER;static FLOAT=I.FLOAT;static STRING=I.STRING;static _capnp={displayName:`value`,id:`8748135e0497fe81`,size:new u.ObjectSize(16,1)};get _isUndefined(){return u.utils.getUint16(0,this)===0}set undefined(e){u.utils.setUint16(0,0,this)}get boolean(){return u.utils.testWhich(`boolean`,u.utils.getUint16(0,this),1,this),u.utils.getBit(16,this)}get _isBoolean(){return u.utils.getUint16(0,this)===1}set boolean(e){u.utils.setUint16(0,1,this),u.utils.setBit(16,e,this)}get integer(){return u.utils.testWhich(`integer`,u.utils.getUint16(0,this),2,this),u.utils.getInt32(4,this)}get _isInteger(){return u.utils.getUint16(0,this)===2}set integer(e){u.utils.setUint16(0,2,this),u.utils.setInt32(4,e,this)}get float(){return u.utils.testWhich(`float`,u.utils.getUint16(0,this),3,this),u.utils.getFloat64(8,this)}get _isFloat(){return u.utils.getUint16(0,this)===3}set float(e){u.utils.setUint16(0,3,this),u.utils.setFloat64(8,e,this)}get string(){return u.utils.testWhich(`string`,u.utils.getUint16(0,this),4,this),u.utils.getText(0,this)}get _isString(){return u.utils.getUint16(0,this)===4}set string(e){u.utils.setUint16(0,4,this),u.utils.setText(0,e,this)}toString(){return`DefaultValueReflection_Value_`+super.toString()}which(){return u.utils.getUint16(0,this)}},L=class extends u.Struct{static{P(this,`DefaultValueReflection`)}static _capnp={displayName:`DefaultValueReflection`,id:`96fe6f07954197c9`,size:new u.ObjectSize(16,1)};get value(){return u.utils.getAs(Vt,this)}_initValue(){return u.utils.getAs(Vt,this)}toString(){return`DefaultValueReflection_`+super.toString()}},R=class extends u.Struct{static{P(this,`SerializedTypeReference`)}static _capnp={displayName:`SerializedTypeReference`,id:`a83d8a28b5e80f3a`,size:new u.ObjectSize(8,0)};get id(){return u.utils.getUint32(0,this)}set id(e){u.utils.setUint32(0,e,this)}toString(){return`SerializedTypeReference_`+super.toString()}},z=class extends u.Struct{static{P(this,`IndexAccessOrigin`)}static _capnp={displayName:`IndexAccessOrigin`,id:`ca50b18186c87afe`,size:new u.ObjectSize(0,2)};_adoptContainer(e){u.utils.adopt(e,u.utils.getPointer(0,this))}_disownContainer(){return u.utils.disown(this.container)}get container(){return u.utils.getStruct(0,R,this)}_hasContainer(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initContainer(){return u.utils.initStructAt(0,R,this)}set container(e){u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptIndex(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownIndex(){return u.utils.disown(this.index)}get index(){return u.utils.getStruct(1,R,this)}_hasIndex(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initIndex(){return u.utils.initStructAt(1,R,this)}set index(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}toString(){return`IndexAccessOrigin_`+super.toString()}},Ht=class extends u.Struct{static{P(this,`EntityOptions_EntityIndexOptions`)}static _capnp={displayName:`EntityIndexOptions`,id:`de584ad10b7c5004`,size:new u.ObjectSize(0,2)};_adoptNames(e){u.utils.adopt(e,u.utils.getPointer(0,this))}_disownNames(){return u.utils.disown(this.names)}get names(){return u.utils.getList(0,u.TextList,this)}_hasNames(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initNames(e){return u.utils.initList(0,u.TextList,e,this)}set names(e){u.utils.copyFrom(e,u.utils.getPointer(0,this))}get options(){return u.utils.getText(1,this)}set options(e){u.utils.setText(1,e,this)}toString(){return`EntityOptions_EntityIndexOptions_`+super.toString()}},Ut=class e extends u.Struct{static{P(this,`EntityOptions`)}static EntityIndexOptions=Ht;static _capnp={displayName:`EntityOptions`,id:`948d2d02cf676d60`,size:new u.ObjectSize(8,5)};static _Indexes;get name(){return u.utils.getText(0,this)}set name(e){u.utils.setText(0,e,this)}get description(){return u.utils.getText(1,this)}set description(e){u.utils.setText(1,e,this)}get collection(){return u.utils.getText(2,this)}set collection(e){u.utils.setText(2,e,this)}get database(){return u.utils.getText(3,this)}set database(e){u.utils.setText(3,e,this)}get singleTableInheritance(){return u.utils.getBit(0,this)}set singleTableInheritance(e){u.utils.setBit(0,e,this)}_adoptIndexes(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownIndexes(){return u.utils.disown(this.indexes)}get indexes(){return u.utils.getList(4,e._Indexes,this)}_hasIndexes(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initIndexes(t){return u.utils.initList(4,e._Indexes,t,this)}set indexes(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}toString(){return`EntityOptions_`+super.toString()}},B=class e extends u.Struct{static{P(this,`SerializedTypeObjectLiteral`)}static _capnp={displayName:`SerializedTypeObjectLiteral`,id:`8b56235ad9bcb2b1`,size:new u.ObjectSize(8,6)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptTypes(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownTypes(){return u.utils.disown(this.types)}get types(){return u.utils.getList(4,e._Types,this)}_hasTypes(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initTypes(t){return u.utils.initList(4,e._Types,t,this)}set types(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(5,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(5,F,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(5,this))}_initTags(){return u.utils.initStructAt(5,F,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(5,this))}toString(){return`SerializedTypeObjectLiteral_`+super.toString()}},V=class e extends u.Struct{static{P(this,`SerializedTypeClassType`)}static _capnp={displayName:`SerializedTypeClassType`,id:`9855392bf9c48b25`,size:new u.ObjectSize(8,11)};static _TypeArguments;static _Decorators;static _ExtendsArguments;static _Arguments;static _Types;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}get name(){return u.utils.getText(4,this)}set name(e){u.utils.setText(4,e,this)}get globalObject(){return u.utils.getBit(16,this)}set globalObject(e){u.utils.setBit(16,e,this)}get classType(){return u.utils.getText(5,this)}set classType(e){u.utils.setText(5,e,this)}_adoptExtendsArguments(e){u.utils.adopt(e,u.utils.getPointer(6,this))}_disownExtendsArguments(){return u.utils.disown(this.extendsArguments)}get extendsArguments(){return u.utils.getList(6,e._ExtendsArguments,this)}_hasExtendsArguments(){return!u.utils.isNull(u.utils.getPointer(6,this))}_initExtendsArguments(t){return u.utils.initList(6,e._ExtendsArguments,t,this)}set extendsArguments(e){u.utils.copyFrom(e,u.utils.getPointer(6,this))}_adoptArguments(e){u.utils.adopt(e,u.utils.getPointer(7,this))}_disownArguments(){return u.utils.disown(this.arguments)}get arguments(){return u.utils.getList(7,e._Arguments,this)}_hasArguments(){return!u.utils.isNull(u.utils.getPointer(7,this))}_initArguments(t){return u.utils.initList(7,e._Arguments,t,this)}set arguments(e){u.utils.copyFrom(e,u.utils.getPointer(7,this))}_adoptSuperClass(e){u.utils.adopt(e,u.utils.getPointer(8,this))}_disownSuperClass(){return u.utils.disown(this.superClass)}get superClass(){return u.utils.getStruct(8,R,this)}_hasSuperClass(){return!u.utils.isNull(u.utils.getPointer(8,this))}_initSuperClass(){return u.utils.initStructAt(8,R,this)}set superClass(e){u.utils.copyFrom(e,u.utils.getPointer(8,this))}_adoptTypes(e){u.utils.adopt(e,u.utils.getPointer(9,this))}_disownTypes(){return u.utils.disown(this.types)}get types(){return u.utils.getList(9,e._Types,this)}_hasTypes(){return!u.utils.isNull(u.utils.getPointer(9,this))}_initTypes(t){return u.utils.initList(9,e._Types,t,this)}set types(e){u.utils.copyFrom(e,u.utils.getPointer(9,this))}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(10,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(10,F,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(10,this))}_initTags(){return u.utils.initStructAt(10,F,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(10,this))}toString(){return`SerializedTypeClassType_`+super.toString()}},H=class e extends u.Struct{static{P(this,`SerializedTypeParameter`)}static _capnp={displayName:`SerializedTypeParameter`,id:`fcbaa08bb97b8b1a`,size:new u.ObjectSize(8,8)};static _TypeArguments;static _Decorators;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}get name(){return u.utils.getText(4,this)}set name(e){u.utils.setText(4,e,this)}_adoptType(e){u.utils.adopt(e,u.utils.getPointer(5,this))}_disownType(){return u.utils.disown(this.type)}get type(){return u.utils.getStruct(5,R,this)}_hasType(){return!u.utils.isNull(u.utils.getPointer(5,this))}_initType(){return u.utils.initStructAt(5,R,this)}set type(e){u.utils.copyFrom(e,u.utils.getPointer(5,this))}get visibility(){return u.utils.getUint16(2,this)}set visibility(e){u.utils.setUint16(2,e,this)}get readonly(){return u.utils.getBit(32,this)}set readonly(e){u.utils.setBit(32,e,this)}get optional(){return u.utils.getBit(33,this)}set optional(e){u.utils.setBit(33,e,this)}_adoptDefault(e){u.utils.adopt(e,u.utils.getPointer(6,this))}_disownDefault(){return u.utils.disown(this.default)}get default(){return u.utils.getStruct(6,L,this)}_hasDefault(){return!u.utils.isNull(u.utils.getPointer(6,this))}_initDefault(){return u.utils.initStructAt(6,L,this)}set default(e){u.utils.copyFrom(e,u.utils.getPointer(6,this))}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(7,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(7,F,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(7,this))}_initTags(){return u.utils.initStructAt(7,F,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(7,this))}toString(){return`SerializedTypeParameter_`+super.toString()}},U=class e extends u.Struct{static{P(this,`SerializedTypeMethod`)}static _capnp={displayName:`SerializedTypeMethod`,id:`8b5eff6d9ec2fb06`,size:new u.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _Parameters;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get visibility(){return u.utils.getUint16(0,this)}set visibility(e){u.utils.setUint16(0,e,this)}get abstract(){return u.utils.getBit(16,this)}set abstract(e){u.utils.setBit(16,e,this)}get optional(){return u.utils.getBit(17,this)}set optional(e){u.utils.setBit(17,e,this)}get readonly(){return u.utils.getBit(18,this)}set readonly(e){u.utils.setBit(18,e,this)}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(4,F,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initTags(){return u.utils.initStructAt(4,F,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}get kind(){return u.utils.getUint16(4,this)}set kind(e){u.utils.setUint16(4,e,this)}get name(){return u.utils.getText(5,this)}set name(e){u.utils.setText(5,e,this)}_adoptParameters(e){u.utils.adopt(e,u.utils.getPointer(6,this))}_disownParameters(){return u.utils.disown(this.parameters)}get parameters(){return u.utils.getList(6,e._Parameters,this)}_hasParameters(){return!u.utils.isNull(u.utils.getPointer(6,this))}_initParameters(t){return u.utils.initList(6,e._Parameters,t,this)}set parameters(e){u.utils.copyFrom(e,u.utils.getPointer(6,this))}_adoptReturn(e){u.utils.adopt(e,u.utils.getPointer(7,this))}_disownReturn(){return u.utils.disown(this.return)}get return(){return u.utils.getStruct(7,R,this)}_hasReturn(){return!u.utils.isNull(u.utils.getPointer(7,this))}_initReturn(){return u.utils.initStructAt(7,R,this)}set return(e){u.utils.copyFrom(e,u.utils.getPointer(7,this))}toString(){return`SerializedTypeMethod_`+super.toString()}},Wt=class e extends u.Struct{static{P(this,`SerializedTypeProperty`)}static _capnp={displayName:`SerializedTypeProperty`,id:`91d9dbea2037f78b`,size:new u.ObjectSize(8,9)};static _TypeArguments;static _Decorators;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get visibility(){return u.utils.getUint16(0,this)}set visibility(e){u.utils.setUint16(0,e,this)}get abstract(){return u.utils.getBit(16,this)}set abstract(e){u.utils.setBit(16,e,this)}get optional(){return u.utils.getBit(17,this)}set optional(e){u.utils.setBit(17,e,this)}get readonly(){return u.utils.getBit(18,this)}set readonly(e){u.utils.setBit(18,e,this)}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(4,F,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initTags(){return u.utils.initStructAt(4,F,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}get kind(){return u.utils.getUint16(4,this)}set kind(e){u.utils.setUint16(4,e,this)}get name(){return u.utils.getText(5,this)}set name(e){u.utils.setText(5,e,this)}get description(){return u.utils.getText(6,this)}set description(e){u.utils.setText(6,e,this)}_adoptType(e){u.utils.adopt(e,u.utils.getPointer(7,this))}_disownType(){return u.utils.disown(this.type)}get type(){return u.utils.getStruct(7,R,this)}_hasType(){return!u.utils.isNull(u.utils.getPointer(7,this))}_initType(){return u.utils.initStructAt(7,R,this)}set type(e){u.utils.copyFrom(e,u.utils.getPointer(7,this))}_adoptDefault(e){u.utils.adopt(e,u.utils.getPointer(8,this))}_disownDefault(){return u.utils.disown(this.default)}get default(){return u.utils.getStruct(8,L,this)}_hasDefault(){return!u.utils.isNull(u.utils.getPointer(8,this))}_initDefault(){return u.utils.initStructAt(8,L,this)}set default(e){u.utils.copyFrom(e,u.utils.getPointer(8,this))}toString(){return`SerializedTypeProperty_`+super.toString()}},W=class e extends u.Struct{static{P(this,`SerializedTypeFunction`)}static _capnp={displayName:`SerializedTypeFunction`,id:`9130bccd82dfcfd4`,size:new u.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _Parameters;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get visibility(){return u.utils.getUint16(0,this)}set visibility(e){u.utils.setUint16(0,e,this)}get abstract(){return u.utils.getBit(16,this)}set abstract(e){u.utils.setBit(16,e,this)}get optional(){return u.utils.getBit(17,this)}set optional(e){u.utils.setBit(17,e,this)}get readonly(){return u.utils.getBit(18,this)}set readonly(e){u.utils.setBit(18,e,this)}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(4,F,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initTags(){return u.utils.initStructAt(4,F,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}get kind(){return u.utils.getUint16(4,this)}set kind(e){u.utils.setUint16(4,e,this)}get name(){return u.utils.getText(5,this)}set name(e){u.utils.setText(5,e,this)}_adoptParameters(e){u.utils.adopt(e,u.utils.getPointer(6,this))}_disownParameters(){return u.utils.disown(this.parameters)}get parameters(){return u.utils.getList(6,e._Parameters,this)}_hasParameters(){return!u.utils.isNull(u.utils.getPointer(6,this))}_initParameters(t){return u.utils.initList(6,e._Parameters,t,this)}set parameters(e){u.utils.copyFrom(e,u.utils.getPointer(6,this))}_adoptReturn(e){u.utils.adopt(e,u.utils.getPointer(7,this))}_disownReturn(){return u.utils.disown(this.return)}get return(){return u.utils.getStruct(7,R,this)}_hasReturn(){return!u.utils.isNull(u.utils.getPointer(7,this))}_initReturn(){return u.utils.initStructAt(7,R,this)}set return(e){u.utils.copyFrom(e,u.utils.getPointer(7,this))}toString(){return`SerializedTypeFunction_`+super.toString()}},Gt=class e extends u.Struct{static{P(this,`SerializedTypePromise`)}static _capnp={displayName:`SerializedTypePromise`,id:`e9b0cbe936a42398`,size:new u.ObjectSize(8,4)};static _TypeArguments;static _Decorators;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get visibility(){return u.utils.getUint16(0,this)}set visibility(e){u.utils.setUint16(0,e,this)}get abstract(){return u.utils.getBit(16,this)}set abstract(e){u.utils.setBit(16,e,this)}toString(){return`SerializedTypePromise_`+super.toString()}},Kt=class extends u.Struct{static{P(this,`SerializedTypeEnumEntry`)}static _capnp={displayName:`SerializedTypeEnumEntry`,id:`d5bcb8b7c49ba556`,size:new u.ObjectSize(0,2)};get name(){return u.utils.getText(0,this)}set name(e){u.utils.setText(0,e,this)}get value(){return u.utils.getText(1,this)}set value(e){u.utils.setText(1,e,this)}toString(){return`SerializedTypeEnumEntry_`+super.toString()}},G=class e extends u.Struct{static{P(this,`SerializedTypeEnum`)}static _capnp={displayName:`SerializedTypeEnum`,id:`d7d36f0ae79e3841`,size:new u.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _EnumEntries;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptEnumEntries(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownEnumEntries(){return u.utils.disown(this.enumEntries)}get enumEntries(){return u.utils.getList(4,e._EnumEntries,this)}_hasEnumEntries(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initEnumEntries(t){return u.utils.initList(4,e._EnumEntries,t,this)}set enumEntries(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}_adoptValues(e){u.utils.adopt(e,u.utils.getPointer(5,this))}_disownValues(){return u.utils.disown(this.values)}get values(){return u.utils.getList(5,u.TextList,this)}_hasValues(){return!u.utils.isNull(u.utils.getPointer(5,this))}_initValues(e){return u.utils.initList(5,u.TextList,e,this)}set values(e){u.utils.copyFrom(e,u.utils.getPointer(5,this))}_adoptIndexType(e){u.utils.adopt(e,u.utils.getPointer(6,this))}_disownIndexType(){return u.utils.disown(this.indexType)}get indexType(){return u.utils.getStruct(6,R,this)}_hasIndexType(){return!u.utils.isNull(u.utils.getPointer(6,this))}_initIndexType(){return u.utils.initStructAt(6,R,this)}set indexType(e){u.utils.copyFrom(e,u.utils.getPointer(6,this))}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(7,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(7,F,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(7,this))}_initTags(){return u.utils.initStructAt(7,F,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(7,this))}toString(){return`SerializedTypeEnum_`+super.toString()}},K=class e extends u.Struct{static{P(this,`SerializedTypeUnion`)}static _capnp={displayName:`SerializedTypeUnion`,id:`a9ae4c95e41ff4ab`,size:new u.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptTypes(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownTypes(){return u.utils.disown(this.types)}get types(){return u.utils.getList(4,e._Types,this)}_hasTypes(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initTypes(t){return u.utils.initList(4,e._Types,t,this)}set types(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}toString(){return`SerializedTypeUnion_`+super.toString()}},q=class e extends u.Struct{static{P(this,`SerializedTypeIntersection`)}static _capnp={displayName:`SerializedTypeIntersection`,id:`9ae42bd17511c09b`,size:new u.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptTypes(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownTypes(){return u.utils.disown(this.types)}get types(){return u.utils.getList(4,e._Types,this)}_hasTypes(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initTypes(t){return u.utils.initList(4,e._Types,t,this)}set types(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}toString(){return`SerializedTypeIntersection_`+super.toString()}},qt=class e extends u.Struct{static{P(this,`SerializedTypeArray`)}static _capnp={displayName:`SerializedTypeArray`,id:`97d1d75240151501`,size:new u.ObjectSize(8,6)};static _TypeArguments;static _Decorators;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptType(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownType(){return u.utils.disown(this.type)}get type(){return u.utils.getStruct(4,R,this)}_hasType(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initType(){return u.utils.initStructAt(4,R,this)}set type(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(5,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(5,F,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(5,this))}_initTags(){return u.utils.initStructAt(5,F,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(5,this))}toString(){return`SerializedTypeArray_`+super.toString()}},Jt=class e extends u.Struct{static{P(this,`SerializedTypeIndexSignature`)}static _capnp={displayName:`SerializedTypeIndexSignature`,id:`93e335e2756821d8`,size:new u.ObjectSize(8,6)};static _TypeArguments;static _Decorators;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptIndex(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownIndex(){return u.utils.disown(this.index)}get index(){return u.utils.getStruct(4,R,this)}_hasIndex(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initIndex(){return u.utils.initStructAt(4,R,this)}set index(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}_adoptType(e){u.utils.adopt(e,u.utils.getPointer(5,this))}_disownType(){return u.utils.disown(this.type)}get type(){return u.utils.getStruct(5,R,this)}_hasType(){return!u.utils.isNull(u.utils.getPointer(5,this))}_initType(){return u.utils.initStructAt(5,R,this)}set type(e){u.utils.copyFrom(e,u.utils.getPointer(5,this))}toString(){return`SerializedTypeIndexSignature_`+super.toString()}},Yt=class e extends u.Struct{static{P(this,`SerializedTypePropertySignature`)}static _capnp={displayName:`SerializedTypePropertySignature`,id:`9bc1cebd2ca1569a`,size:new u.ObjectSize(8,9)};static _TypeArguments;static _Decorators;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}get name(){return u.utils.getText(4,this)}set name(e){u.utils.setText(4,e,this)}get optional(){return u.utils.getBit(16,this)}set optional(e){u.utils.setBit(16,e,this)}get readonly(){return u.utils.getBit(17,this)}set readonly(e){u.utils.setBit(17,e,this)}get description(){return u.utils.getText(5,this)}set description(e){u.utils.setText(5,e,this)}_adoptDefault(e){u.utils.adopt(e,u.utils.getPointer(6,this))}_disownDefault(){return u.utils.disown(this.default)}get default(){return u.utils.getStruct(6,L,this)}_hasDefault(){return!u.utils.isNull(u.utils.getPointer(6,this))}_initDefault(){return u.utils.initStructAt(6,L,this)}set default(e){u.utils.copyFrom(e,u.utils.getPointer(6,this))}_adoptType(e){u.utils.adopt(e,u.utils.getPointer(7,this))}_disownType(){return u.utils.disown(this.type)}get type(){return u.utils.getStruct(7,R,this)}_hasType(){return!u.utils.isNull(u.utils.getPointer(7,this))}_initType(){return u.utils.initStructAt(7,R,this)}set type(e){u.utils.copyFrom(e,u.utils.getPointer(7,this))}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(8,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(8,F,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(8,this))}_initTags(){return u.utils.initStructAt(8,F,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(8,this))}toString(){return`SerializedTypePropertySignature_`+super.toString()}},J=class e extends u.Struct{static{P(this,`SerializedTypeMethodSignature`)}static _capnp={displayName:`SerializedTypeMethodSignature`,id:`e25a2cc39d5930c8`,size:new u.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _Parameters;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}get name(){return u.utils.getText(4,this)}set name(e){u.utils.setText(4,e,this)}get optional(){return u.utils.getBit(16,this)}set optional(e){u.utils.setBit(16,e,this)}_adoptParameters(e){u.utils.adopt(e,u.utils.getPointer(5,this))}_disownParameters(){return u.utils.disown(this.parameters)}get parameters(){return u.utils.getList(5,e._Parameters,this)}_hasParameters(){return!u.utils.isNull(u.utils.getPointer(5,this))}_initParameters(t){return u.utils.initList(5,e._Parameters,t,this)}set parameters(e){u.utils.copyFrom(e,u.utils.getPointer(5,this))}_adoptReturn(e){u.utils.adopt(e,u.utils.getPointer(6,this))}_disownReturn(){return u.utils.disown(this.return)}get return(){return u.utils.getStruct(6,R,this)}_hasReturn(){return!u.utils.isNull(u.utils.getPointer(6,this))}_initReturn(){return u.utils.initStructAt(6,R,this)}set return(e){u.utils.copyFrom(e,u.utils.getPointer(6,this))}_adoptTags(e){u.utils.adopt(e,u.utils.getPointer(7,this))}_disownTags(){return u.utils.disown(this.tags)}get tags(){return u.utils.getStruct(7,F,this)}_hasTags(){return!u.utils.isNull(u.utils.getPointer(7,this))}_initTags(){return u.utils.initStructAt(7,F,this)}set tags(e){u.utils.copyFrom(e,u.utils.getPointer(7,this))}toString(){return`SerializedTypeMethodSignature_`+super.toString()}},Xt=class e extends u.Struct{static{P(this,`SerializedTypeTypeParameter`)}static _capnp={displayName:`SerializedTypeTypeParameter`,id:`81210361a54d5d71`,size:new u.ObjectSize(8,5)};static _TypeArguments;static _Decorators;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}get name(){return u.utils.getText(4,this)}set name(e){u.utils.setText(4,e,this)}toString(){return`SerializedTypeTypeParameter_`+super.toString()}},Zt=class e extends u.Struct{static{P(this,`SerializedTypeInfer`)}static _capnp={displayName:`SerializedTypeInfer`,id:`91c6dd1e13f2b14d`,size:new u.ObjectSize(8,4)};static _TypeArguments;static _Decorators;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}toString(){return`SerializedTypeInfer_`+super.toString()}},Y=class e extends u.Struct{static{P(this,`SerializedTypeTupleMember`)}static _capnp={displayName:`SerializedTypeTupleMember`,id:`e21c2a18d0d56fdf`,size:new u.ObjectSize(8,6)};static _TypeArguments;static _Decorators;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptType(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownType(){return u.utils.disown(this.type)}get type(){return u.utils.getStruct(4,R,this)}_hasType(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initType(){return u.utils.initStructAt(4,R,this)}set type(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}get optional(){return u.utils.getBit(16,this)}set optional(e){u.utils.setBit(16,e,this)}get name(){return u.utils.getText(5,this)}set name(e){u.utils.setText(5,e,this)}toString(){return`SerializedTypeTupleMember_`+super.toString()}},Qt=class e extends u.Struct{static{P(this,`SerializedTypeTuple`)}static _capnp={displayName:`SerializedTypeTuple`,id:`eb7501eb1ee4fb6d`,size:new u.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptTypes(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownTypes(){return u.utils.disown(this.types)}get types(){return u.utils.getList(4,e._Types,this)}_hasTypes(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initTypes(t){return u.utils.initList(4,e._Types,t,this)}set types(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}toString(){return`SerializedTypeTuple_`+super.toString()}},$t=class e extends u.Struct{static{P(this,`SerializedTypeRest`)}static _capnp={displayName:`SerializedTypeRest`,id:`f9e684a435cce5d1`,size:new u.ObjectSize(8,5)};static _TypeArguments;static _Decorators;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptType(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownType(){return u.utils.disown(this.type)}get type(){return u.utils.getStruct(4,R,this)}_hasType(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initType(){return u.utils.initStructAt(4,R,this)}set type(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}toString(){return`SerializedTypeRest_`+super.toString()}},en=class e extends u.Struct{static{P(this,`SimpleSerializedType`)}static _capnp={displayName:`SimpleSerializedType`,id:`80f983e4b811c3ca`,size:new u.ObjectSize(8,5)};static _TypeArguments;static _Decorators;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptOrigin(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownOrigin(){return u.utils.disown(this.origin)}get origin(){return u.utils.getStruct(4,R,this)}_hasOrigin(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initOrigin(){return u.utils.initStructAt(4,R,this)}set origin(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}toString(){return`SimpleSerializedType_`+super.toString()}},tn=class extends u.Struct{static{P(this,`SerializedTypeLiteralSymbol`)}static _capnp={displayName:`SerializedTypeLiteralSymbol`,id:`f3dd6a3c6054bd55`,size:new u.ObjectSize(0,2)};get type(){return u.utils.getText(0,this)}set type(e){u.utils.setText(0,e,this)}get name(){return u.utils.getText(1,this)}set name(e){u.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralSymbol_`+super.toString()}},nn=class extends u.Struct{static{P(this,`SerializedTypeLiteralBigInt`)}static _capnp={displayName:`SerializedTypeLiteralBigInt`,id:`821a872d8be30bb2`,size:new u.ObjectSize(0,2)};get type(){return u.utils.getText(0,this)}set type(e){u.utils.setText(0,e,this)}get value(){return u.utils.getText(1,this)}set value(e){u.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralBigInt_`+super.toString()}},rn=class extends u.Struct{static{P(this,`SerializedTypeLiteralRegex`)}static _capnp={displayName:`SerializedTypeLiteralRegex`,id:`cc89f97b47927d99`,size:new u.ObjectSize(0,2)};get type(){return u.utils.getText(0,this)}set type(e){u.utils.setText(0,e,this)}get regex(){return u.utils.getText(1,this)}set regex(e){u.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralRegex_`+super.toString()}},X={SYMBOL:0,STRING:1,NUMBER:2,BOOLEAN:3,BIGINT:4,REGEX:5},an=class extends u.Struct{static{P(this,`SerializedTypeLiteral_Literal`)}static SYMBOL=X.SYMBOL;static STRING=X.STRING;static NUMBER=X.NUMBER;static BOOLEAN=X.BOOLEAN;static BIGINT=X.BIGINT;static REGEX=X.REGEX;static _capnp={displayName:`literal`,id:`e4f0538973f3909f`,size:new u.ObjectSize(16,5)};_adoptSymbol(e){u.utils.setUint16(2,0,this),u.utils.adopt(e,u.utils.getPointer(4,this))}_disownSymbol(){return u.utils.disown(this.symbol)}get symbol(){return u.utils.testWhich(`symbol`,u.utils.getUint16(2,this),0,this),u.utils.getStruct(4,tn,this)}_hasSymbol(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initSymbol(){return u.utils.setUint16(2,0,this),u.utils.initStructAt(4,tn,this)}get _isSymbol(){return u.utils.getUint16(2,this)===0}set symbol(e){u.utils.setUint16(2,0,this),u.utils.copyFrom(e,u.utils.getPointer(4,this))}get string(){return u.utils.testWhich(`string`,u.utils.getUint16(2,this),1,this),u.utils.getText(4,this)}get _isString(){return u.utils.getUint16(2,this)===1}set string(e){u.utils.setUint16(2,1,this),u.utils.setText(4,e,this)}get number(){return u.utils.testWhich(`number`,u.utils.getUint16(2,this),2,this),u.utils.getFloat64(8,this)}get _isNumber(){return u.utils.getUint16(2,this)===2}set number(e){u.utils.setUint16(2,2,this),u.utils.setFloat64(8,e,this)}get boolean(){return u.utils.testWhich(`boolean`,u.utils.getUint16(2,this),3,this),u.utils.getBit(64,this)}get _isBoolean(){return u.utils.getUint16(2,this)===3}set boolean(e){u.utils.setUint16(2,3,this),u.utils.setBit(64,e,this)}_adoptBigint(e){u.utils.setUint16(2,4,this),u.utils.adopt(e,u.utils.getPointer(4,this))}_disownBigint(){return u.utils.disown(this.bigint)}get bigint(){return u.utils.testWhich(`bigint`,u.utils.getUint16(2,this),4,this),u.utils.getStruct(4,nn,this)}_hasBigint(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initBigint(){return u.utils.setUint16(2,4,this),u.utils.initStructAt(4,nn,this)}get _isBigint(){return u.utils.getUint16(2,this)===4}set bigint(e){u.utils.setUint16(2,4,this),u.utils.copyFrom(e,u.utils.getPointer(4,this))}_adoptRegex(e){u.utils.setUint16(2,5,this),u.utils.adopt(e,u.utils.getPointer(4,this))}_disownRegex(){return u.utils.disown(this.regex)}get regex(){return u.utils.testWhich(`regex`,u.utils.getUint16(2,this),5,this),u.utils.getStruct(4,rn,this)}_hasRegex(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initRegex(){return u.utils.setUint16(2,5,this),u.utils.initStructAt(4,rn,this)}get _isRegex(){return u.utils.getUint16(2,this)===5}set regex(e){u.utils.setUint16(2,5,this),u.utils.copyFrom(e,u.utils.getPointer(4,this))}toString(){return`SerializedTypeLiteral_Literal_`+super.toString()}which(){return u.utils.getUint16(2,this)}},on=class e extends u.Struct{static{P(this,`SerializedTypeLiteral`)}static _capnp={displayName:`SerializedTypeLiteral`,id:`b876ba24d27d88c8`,size:new u.ObjectSize(16,5)};static _TypeArguments;static _Decorators;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}get literal(){return u.utils.getAs(an,this)}_initLiteral(){return u.utils.getAs(an,this)}toString(){return`SerializedTypeLiteral_`+super.toString()}},sn=class e extends u.Struct{static{P(this,`SerializedTypeTemplateLiteral`)}static _capnp={displayName:`SerializedTypeTemplateLiteral`,id:`8dd6c284d46cc265`,size:new u.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}_adoptTypeArguments(e){u.utils.adopt(e,u.utils.getPointer(1,this))}_disownTypeArguments(){return u.utils.disown(this.typeArguments)}get typeArguments(){return u.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!u.utils.isNull(u.utils.getPointer(1,this))}_initTypeArguments(t){return u.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){u.utils.copyFrom(e,u.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){u.utils.adopt(e,u.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return u.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return u.utils.getStruct(2,z,this)}_hasIndexAccessOrigin(){return!u.utils.isNull(u.utils.getPointer(2,this))}_initIndexAccessOrigin(){return u.utils.initStructAt(2,z,this)}set indexAccessOrigin(e){u.utils.copyFrom(e,u.utils.getPointer(2,this))}_adoptDecorators(e){u.utils.adopt(e,u.utils.getPointer(3,this))}_disownDecorators(){return u.utils.disown(this.decorators)}get decorators(){return u.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!u.utils.isNull(u.utils.getPointer(3,this))}_initDecorators(t){return u.utils.initList(3,e._Decorators,t,this)}set decorators(e){u.utils.copyFrom(e,u.utils.getPointer(3,this))}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}_adoptTypes(e){u.utils.adopt(e,u.utils.getPointer(4,this))}_disownTypes(){return u.utils.disown(this.types)}get types(){return u.utils.getList(4,e._Types,this)}_hasTypes(){return!u.utils.isNull(u.utils.getPointer(4,this))}_initTypes(t){return u.utils.initList(4,e._Types,t,this)}set types(e){u.utils.copyFrom(e,u.utils.getPointer(4,this))}toString(){return`SerializedTypeTemplateLiteral_`+super.toString()}},cn=class extends u.Struct{static{P(this,`SerializedTypeOther`)}static _capnp={displayName:`SerializedTypeOther`,id:`9e1048a692ff49ce`,size:new u.ObjectSize(8,1)};get typeName(){return u.utils.getText(0,this)}set typeName(e){u.utils.setText(0,e,this)}get kind(){return u.utils.getUint16(0,this)}set kind(e){u.utils.setUint16(0,e,this)}toString(){return`SerializedTypeOther_`+super.toString()}},Z={SIMPLE:0,LITERAL:1,TEMPLATE_LITERAL:2,PARAMETER:3,FUNCTION:4,METHOD:5,PROPERTY:6,PROMISE:7,CLASS_TYPE:8,ENUM:9,UNION:10,INTERSECTION:11,ARRAY:12,OBJECT_LITERAL:13,INDEX_SIGNATURE:14,PROPERTY_SIGNATURE:15,METHOD_SIGNATURE:16,TYPE_PARAMETER:17,INFER:18,TUPLE:19,TUPLE_MEMBER:20,REST:21,OTHER:22},ln=class extends u.Struct{static{P(this,`SerializedType_Type`)}static SIMPLE=Z.SIMPLE;static LITERAL=Z.LITERAL;static TEMPLATE_LITERAL=Z.TEMPLATE_LITERAL;static PARAMETER=Z.PARAMETER;static FUNCTION=Z.FUNCTION;static METHOD=Z.METHOD;static PROPERTY=Z.PROPERTY;static PROMISE=Z.PROMISE;static CLASS_TYPE=Z.CLASS_TYPE;static ENUM=Z.ENUM;static UNION=Z.UNION;static INTERSECTION=Z.INTERSECTION;static ARRAY=Z.ARRAY;static OBJECT_LITERAL=Z.OBJECT_LITERAL;static INDEX_SIGNATURE=Z.INDEX_SIGNATURE;static PROPERTY_SIGNATURE=Z.PROPERTY_SIGNATURE;static METHOD_SIGNATURE=Z.METHOD_SIGNATURE;static TYPE_PARAMETER=Z.TYPE_PARAMETER;static INFER=Z.INFER;static TUPLE=Z.TUPLE;static TUPLE_MEMBER=Z.TUPLE_MEMBER;static REST=Z.REST;static OTHER=Z.OTHER;static _capnp={displayName:`type`,id:`c677d7ed4a496eab`,size:new u.ObjectSize(8,1)};_adoptSimple(e){u.utils.setUint16(0,0,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownSimple(){return u.utils.disown(this.simple)}get simple(){return u.utils.testWhich(`simple`,u.utils.getUint16(0,this),0,this),u.utils.getStruct(0,en,this)}_hasSimple(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initSimple(){return u.utils.setUint16(0,0,this),u.utils.initStructAt(0,en,this)}get _isSimple(){return u.utils.getUint16(0,this)===0}set simple(e){u.utils.setUint16(0,0,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptLiteral(e){u.utils.setUint16(0,1,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownLiteral(){return u.utils.disown(this.literal)}get literal(){return u.utils.testWhich(`literal`,u.utils.getUint16(0,this),1,this),u.utils.getStruct(0,on,this)}_hasLiteral(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initLiteral(){return u.utils.setUint16(0,1,this),u.utils.initStructAt(0,on,this)}get _isLiteral(){return u.utils.getUint16(0,this)===1}set literal(e){u.utils.setUint16(0,1,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptTemplateLiteral(e){u.utils.setUint16(0,2,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownTemplateLiteral(){return u.utils.disown(this.templateLiteral)}get templateLiteral(){return u.utils.testWhich(`templateLiteral`,u.utils.getUint16(0,this),2,this),u.utils.getStruct(0,sn,this)}_hasTemplateLiteral(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initTemplateLiteral(){return u.utils.setUint16(0,2,this),u.utils.initStructAt(0,sn,this)}get _isTemplateLiteral(){return u.utils.getUint16(0,this)===2}set templateLiteral(e){u.utils.setUint16(0,2,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptParameter(e){u.utils.setUint16(0,3,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownParameter(){return u.utils.disown(this.parameter)}get parameter(){return u.utils.testWhich(`parameter`,u.utils.getUint16(0,this),3,this),u.utils.getStruct(0,H,this)}_hasParameter(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initParameter(){return u.utils.setUint16(0,3,this),u.utils.initStructAt(0,H,this)}get _isParameter(){return u.utils.getUint16(0,this)===3}set parameter(e){u.utils.setUint16(0,3,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptFunction(e){u.utils.setUint16(0,4,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownFunction(){return u.utils.disown(this.function)}get function(){return u.utils.testWhich(`function`,u.utils.getUint16(0,this),4,this),u.utils.getStruct(0,W,this)}_hasFunction(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initFunction(){return u.utils.setUint16(0,4,this),u.utils.initStructAt(0,W,this)}get _isFunction(){return u.utils.getUint16(0,this)===4}set function(e){u.utils.setUint16(0,4,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptMethod(e){u.utils.setUint16(0,5,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownMethod(){return u.utils.disown(this.method)}get method(){return u.utils.testWhich(`method`,u.utils.getUint16(0,this),5,this),u.utils.getStruct(0,U,this)}_hasMethod(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initMethod(){return u.utils.setUint16(0,5,this),u.utils.initStructAt(0,U,this)}get _isMethod(){return u.utils.getUint16(0,this)===5}set method(e){u.utils.setUint16(0,5,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptProperty(e){u.utils.setUint16(0,6,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownProperty(){return u.utils.disown(this.property)}get property(){return u.utils.testWhich(`property`,u.utils.getUint16(0,this),6,this),u.utils.getStruct(0,Wt,this)}_hasProperty(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initProperty(){return u.utils.setUint16(0,6,this),u.utils.initStructAt(0,Wt,this)}get _isProperty(){return u.utils.getUint16(0,this)===6}set property(e){u.utils.setUint16(0,6,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptPromise(e){u.utils.setUint16(0,7,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownPromise(){return u.utils.disown(this.promise)}get promise(){return u.utils.testWhich(`promise`,u.utils.getUint16(0,this),7,this),u.utils.getStruct(0,Gt,this)}_hasPromise(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initPromise(){return u.utils.setUint16(0,7,this),u.utils.initStructAt(0,Gt,this)}get _isPromise(){return u.utils.getUint16(0,this)===7}set promise(e){u.utils.setUint16(0,7,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptClassType(e){u.utils.setUint16(0,8,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownClassType(){return u.utils.disown(this.classType)}get classType(){return u.utils.testWhich(`classType`,u.utils.getUint16(0,this),8,this),u.utils.getStruct(0,V,this)}_hasClassType(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initClassType(){return u.utils.setUint16(0,8,this),u.utils.initStructAt(0,V,this)}get _isClassType(){return u.utils.getUint16(0,this)===8}set classType(e){u.utils.setUint16(0,8,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptEnum(e){u.utils.setUint16(0,9,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownEnum(){return u.utils.disown(this.enum)}get enum(){return u.utils.testWhich(`enum`,u.utils.getUint16(0,this),9,this),u.utils.getStruct(0,G,this)}_hasEnum(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initEnum(){return u.utils.setUint16(0,9,this),u.utils.initStructAt(0,G,this)}get _isEnum(){return u.utils.getUint16(0,this)===9}set enum(e){u.utils.setUint16(0,9,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptUnion(e){u.utils.setUint16(0,10,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownUnion(){return u.utils.disown(this.union)}get union(){return u.utils.testWhich(`union`,u.utils.getUint16(0,this),10,this),u.utils.getStruct(0,K,this)}_hasUnion(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initUnion(){return u.utils.setUint16(0,10,this),u.utils.initStructAt(0,K,this)}get _isUnion(){return u.utils.getUint16(0,this)===10}set union(e){u.utils.setUint16(0,10,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptIntersection(e){u.utils.setUint16(0,11,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownIntersection(){return u.utils.disown(this.intersection)}get intersection(){return u.utils.testWhich(`intersection`,u.utils.getUint16(0,this),11,this),u.utils.getStruct(0,q,this)}_hasIntersection(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initIntersection(){return u.utils.setUint16(0,11,this),u.utils.initStructAt(0,q,this)}get _isIntersection(){return u.utils.getUint16(0,this)===11}set intersection(e){u.utils.setUint16(0,11,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptArray(e){u.utils.setUint16(0,12,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownArray(){return u.utils.disown(this.array)}get array(){return u.utils.testWhich(`array`,u.utils.getUint16(0,this),12,this),u.utils.getStruct(0,qt,this)}_hasArray(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initArray(){return u.utils.setUint16(0,12,this),u.utils.initStructAt(0,qt,this)}get _isArray(){return u.utils.getUint16(0,this)===12}set array(e){u.utils.setUint16(0,12,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptObjectLiteral(e){u.utils.setUint16(0,13,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownObjectLiteral(){return u.utils.disown(this.objectLiteral)}get objectLiteral(){return u.utils.testWhich(`objectLiteral`,u.utils.getUint16(0,this),13,this),u.utils.getStruct(0,B,this)}_hasObjectLiteral(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initObjectLiteral(){return u.utils.setUint16(0,13,this),u.utils.initStructAt(0,B,this)}get _isObjectLiteral(){return u.utils.getUint16(0,this)===13}set objectLiteral(e){u.utils.setUint16(0,13,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptIndexSignature(e){u.utils.setUint16(0,14,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownIndexSignature(){return u.utils.disown(this.indexSignature)}get indexSignature(){return u.utils.testWhich(`indexSignature`,u.utils.getUint16(0,this),14,this),u.utils.getStruct(0,Jt,this)}_hasIndexSignature(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initIndexSignature(){return u.utils.setUint16(0,14,this),u.utils.initStructAt(0,Jt,this)}get _isIndexSignature(){return u.utils.getUint16(0,this)===14}set indexSignature(e){u.utils.setUint16(0,14,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptPropertySignature(e){u.utils.setUint16(0,15,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownPropertySignature(){return u.utils.disown(this.propertySignature)}get propertySignature(){return u.utils.testWhich(`propertySignature`,u.utils.getUint16(0,this),15,this),u.utils.getStruct(0,Yt,this)}_hasPropertySignature(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initPropertySignature(){return u.utils.setUint16(0,15,this),u.utils.initStructAt(0,Yt,this)}get _isPropertySignature(){return u.utils.getUint16(0,this)===15}set propertySignature(e){u.utils.setUint16(0,15,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptMethodSignature(e){u.utils.setUint16(0,16,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownMethodSignature(){return u.utils.disown(this.methodSignature)}get methodSignature(){return u.utils.testWhich(`methodSignature`,u.utils.getUint16(0,this),16,this),u.utils.getStruct(0,J,this)}_hasMethodSignature(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initMethodSignature(){return u.utils.setUint16(0,16,this),u.utils.initStructAt(0,J,this)}get _isMethodSignature(){return u.utils.getUint16(0,this)===16}set methodSignature(e){u.utils.setUint16(0,16,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptTypeParameter(e){u.utils.setUint16(0,17,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownTypeParameter(){return u.utils.disown(this.typeParameter)}get typeParameter(){return u.utils.testWhich(`typeParameter`,u.utils.getUint16(0,this),17,this),u.utils.getStruct(0,Xt,this)}_hasTypeParameter(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initTypeParameter(){return u.utils.setUint16(0,17,this),u.utils.initStructAt(0,Xt,this)}get _isTypeParameter(){return u.utils.getUint16(0,this)===17}set typeParameter(e){u.utils.setUint16(0,17,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptInfer(e){u.utils.setUint16(0,18,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownInfer(){return u.utils.disown(this.infer)}get infer(){return u.utils.testWhich(`infer`,u.utils.getUint16(0,this),18,this),u.utils.getStruct(0,Zt,this)}_hasInfer(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initInfer(){return u.utils.setUint16(0,18,this),u.utils.initStructAt(0,Zt,this)}get _isInfer(){return u.utils.getUint16(0,this)===18}set infer(e){u.utils.setUint16(0,18,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptTuple(e){u.utils.setUint16(0,19,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownTuple(){return u.utils.disown(this.tuple)}get tuple(){return u.utils.testWhich(`tuple`,u.utils.getUint16(0,this),19,this),u.utils.getStruct(0,Qt,this)}_hasTuple(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initTuple(){return u.utils.setUint16(0,19,this),u.utils.initStructAt(0,Qt,this)}get _isTuple(){return u.utils.getUint16(0,this)===19}set tuple(e){u.utils.setUint16(0,19,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptTupleMember(e){u.utils.setUint16(0,20,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownTupleMember(){return u.utils.disown(this.tupleMember)}get tupleMember(){return u.utils.testWhich(`tupleMember`,u.utils.getUint16(0,this),20,this),u.utils.getStruct(0,Y,this)}_hasTupleMember(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initTupleMember(){return u.utils.setUint16(0,20,this),u.utils.initStructAt(0,Y,this)}get _isTupleMember(){return u.utils.getUint16(0,this)===20}set tupleMember(e){u.utils.setUint16(0,20,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptRest(e){u.utils.setUint16(0,21,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownRest(){return u.utils.disown(this.rest)}get rest(){return u.utils.testWhich(`rest`,u.utils.getUint16(0,this),21,this),u.utils.getStruct(0,$t,this)}_hasRest(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initRest(){return u.utils.setUint16(0,21,this),u.utils.initStructAt(0,$t,this)}get _isRest(){return u.utils.getUint16(0,this)===21}set rest(e){u.utils.setUint16(0,21,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}_adoptOther(e){u.utils.setUint16(0,22,this),u.utils.adopt(e,u.utils.getPointer(0,this))}_disownOther(){return u.utils.disown(this.other)}get other(){return u.utils.testWhich(`other`,u.utils.getUint16(0,this),22,this),u.utils.getStruct(0,cn,this)}_hasOther(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initOther(){return u.utils.setUint16(0,22,this),u.utils.initStructAt(0,cn,this)}get _isOther(){return u.utils.getUint16(0,this)===22}set other(e){u.utils.setUint16(0,22,this),u.utils.copyFrom(e,u.utils.getPointer(0,this))}toString(){return`SerializedType_Type_`+super.toString()}which(){return u.utils.getUint16(0,this)}},un=class extends u.Struct{static{P(this,`SerializedType`)}static _capnp={displayName:`SerializedType`,id:`96856dcc2dd3d58f`,size:new u.ObjectSize(8,1)};get type(){return u.utils.getAs(ln,this)}_initType(){return u.utils.getAs(ln,this)}toString(){return`SerializedType_`+super.toString()}},Q=class e extends u.Struct{static{P(this,`SerializedTypes`)}static _capnp={displayName:`SerializedTypes`,id:`ac55398ab0ef4958`,size:new u.ObjectSize(0,1)};static _Types;_adoptTypes(e){u.utils.adopt(e,u.utils.getPointer(0,this))}_disownTypes(){return u.utils.disown(this.types)}get types(){return u.utils.getList(0,e._Types,this)}_hasTypes(){return!u.utils.isNull(u.utils.getPointer(0,this))}_initTypes(t){return u.utils.initList(0,e._Types,t,this)}set types(e){u.utils.copyFrom(e,u.utils.getPointer(0,this))}toString(){return`SerializedTypes_`+super.toString()}};Ut._Indexes=u.CompositeList(Ht),B._TypeArguments=u.CompositeList(R),B._Decorators=u.CompositeList(R),B._Types=u.CompositeList(R),V._TypeArguments=u.CompositeList(R),V._Decorators=u.CompositeList(R),V._ExtendsArguments=u.CompositeList(R),V._Arguments=u.CompositeList(R),V._Types=u.CompositeList(R),H._TypeArguments=u.CompositeList(R),H._Decorators=u.CompositeList(R),U._TypeArguments=u.CompositeList(R),U._Decorators=u.CompositeList(R),U._Parameters=u.CompositeList(H),Wt._TypeArguments=u.CompositeList(R),Wt._Decorators=u.CompositeList(R),W._TypeArguments=u.CompositeList(R),W._Decorators=u.CompositeList(R),W._Parameters=u.CompositeList(H),Gt._TypeArguments=u.CompositeList(R),Gt._Decorators=u.CompositeList(R),G._TypeArguments=u.CompositeList(R),G._Decorators=u.CompositeList(R),G._EnumEntries=u.CompositeList(Kt),K._TypeArguments=u.CompositeList(R),K._Decorators=u.CompositeList(R),K._Types=u.CompositeList(R),q._TypeArguments=u.CompositeList(R),q._Decorators=u.CompositeList(R),q._Types=u.CompositeList(R),qt._TypeArguments=u.CompositeList(R),qt._Decorators=u.CompositeList(R),Jt._TypeArguments=u.CompositeList(R),Jt._Decorators=u.CompositeList(R),Yt._TypeArguments=u.CompositeList(R),Yt._Decorators=u.CompositeList(R),J._TypeArguments=u.CompositeList(R),J._Decorators=u.CompositeList(R),J._Parameters=u.CompositeList(H),Xt._TypeArguments=u.CompositeList(R),Xt._Decorators=u.CompositeList(R),Zt._TypeArguments=u.CompositeList(R),Zt._Decorators=u.CompositeList(R),Y._TypeArguments=u.CompositeList(R),Y._Decorators=u.CompositeList(R),Qt._TypeArguments=u.CompositeList(R),Qt._Decorators=u.CompositeList(R),Qt._Types=u.CompositeList(Y),$t._TypeArguments=u.CompositeList(R),$t._Decorators=u.CompositeList(R),en._TypeArguments=u.CompositeList(R),en._Decorators=u.CompositeList(R),on._TypeArguments=u.CompositeList(R),on._Decorators=u.CompositeList(R),sn._TypeArguments=u.CompositeList(R),sn._Decorators=u.CompositeList(R),sn._Types=u.CompositeList(R),Q._Types=u.CompositeList(un);function dn(e){return l(e.dataPath,`reflections`)}const fn={target:`esnext`,platform:`neutral`,format:`esm`,write:!0,minify:!0,sourcemap:!1,bundle:!0,treeShaking:!0,keepNames:!0,splitting:!0,logLevel:`silent`};function pn(e){let t=e.config.build.override.inject??e.config.build.inject;return t&&Object.keys(t).length>0&&e.fs.writeSync(l(e.workspaceConfig.workspaceRoot,e.config.projectRoot,e.artifactsPath,`inject-shim.js`),Object.entries(t).map(([e,t])=>{if(t)if(Array.isArray(t)){if(s(e)!==e){if(t.length===1)return`
|
|
2
|
+
import ${s(e)} from "${t[0]}";
|
|
3
|
+
export { ${s(e)} as "${e}" }`;if(t.length>1)return`
|
|
4
|
+
import ${t[1]===`*`?`* as ${s(e)}`:`{ ${t[1]} as ${s(e)} }`} from "${t[0]}";
|
|
5
|
+
export { ${s(e)} as "${e}" }`}else if(t.length===1)return`
|
|
6
|
+
import ${e} from "${t[0]}";
|
|
7
|
+
export { ${e} };`;else if(t.length>1)return`
|
|
8
|
+
import ${t[1]===`*`?`* as ${e}`:`{ ${t[1]} as ${e} }`} from "${t[0]}";
|
|
9
|
+
export { ${e} };`}else if(s(e)!==e)return`
|
|
10
|
+
import ${s(e)} from "${t[0]}";
|
|
11
|
+
export { ${s(e)} as "${e}" }`;else return`
|
|
12
|
+
import ${e} from "${t}";
|
|
13
|
+
export { ${e} };`;return``}).join(`
|
|
14
|
+
`)),o({alias:e.builtins.reduce((t,n)=>{if(!t[n]){let r=e.fs.ids[n];r&&(t[n]=r)}return t},e.config.build.alias?Array.isArray(e.config.build.alias)?e.config.build.alias.reduce((e,t)=>(e[t.find.toString()]||(e[t.find.toString()]=t.replacement),e),{}):e.config.build.alias:{}),inject:t&&Object.keys(t).length>0?[l(e.workspaceConfig.workspaceRoot,e.config.projectRoot,e.artifactsPath,`inject-shim.js`)]:void 0},e.config.build.variant===`esbuild`?Se(e.config.build.override,[`alias`,`inject`,`external`,`noExternal`,`skipNodeModulesBundle`,`extensions`]):{},e.config.build.variant===`esbuild`?Se(e.config.build,[`alias`,`inject`,`external`,`noExternal`,`skipNodeModulesBundle`,`extensions`,`variant`,`override`]):{},{mainFields:e.config.build.mainFields,conditions:e.config.build.conditions,define:e.config.build.define,resolveExtensions:e.config.build.extensions,packages:e.config.build.skipNodeModulesBundle?`external`:e.config.build.variant===`esbuild`?e.config.build.packages:void 0,format:Array.isArray(e.config.output.format)?e.config.output.format[0]:e.config.output.format,platform:e.config.build.platform,treeShaking:!!e.config.build?.treeshake||e.config.build?.treeShaking,outdir:e.config.output.buildPath,tsconfig:e.tsconfig.tsconfigFilePath,minify:e.config.mode!==`development`,metafile:e.config.mode===`development`,sourcemap:e.config.mode===`development`},fn)}async function mn(e,t,n={}){let i=await e.fs.resolve(t);if(!i||!e.fs.existsSync(i))throw Error(`Module not found: "${t}". Please check the path and try again.`);let a=await xe({...pn(e),entryPoints:[i],write:!1,sourcemap:!1,splitting:!1,treeShaking:!1,bundle:!0,...n});if(a.errors.length>0)throw Error(`Failed to transpile ${t}: ${a.errors.map(e=>e.text).join(`, `)}`);if(a.warnings.length>0&&e.log(r.WARN,`Warnings while transpiling ${t}: ${a.warnings.map(e=>e.text).join(`, `)}`),!a.outputFiles||a.outputFiles.filter(Boolean).length===0)throw Error(`No output files generated for ${t}. Please check the configuration and try again.`);return a.outputFiles.filter(Boolean)[0]}async function hn(e,t,n={}){let r;r=ee(t)?le(t):t;let i=await mn(e,r.file,n),a=await e.resolver.evalModule(i.text,{filename:i.path,forceTranspile:!0}),te=r.name;return te||=`default`,a[te]??a[`__Ω${te}`]}var $={};import*as gn from"@deepkit/type-compiler";e($,gn);import*as _n from"@deepkit/type-compiler/compiler";e($,_n);import*as vn from"@deepkit/type-compiler/config";e($,vn);let yn=!1;const bn=new $.Cache;function xn(e,t={}){return function(n){return yn||=!0,bn.tick(),new $.ReflectionTransformer(n,bn).withReflection(o(t,{reflection:e.tsconfig.tsconfigJson.compilerOptions?.reflection||e.tsconfig.tsconfigJson.reflection,reflectionLevel:e.tsconfig.tsconfigJson.compilerOptions?.reflectionLevel||e.tsconfig.tsconfigJson.reflectionLevel},{exclude:[],reflection:`default`,reflectionLevel:`minimal`}))}}function Sn(e,t={}){return function(n){return new $.DeclarationTransformer(n,bn).withReflection(o(t,{reflection:e.tsconfig.tsconfigJson.compilerOptions?.reflection||e.tsconfig.tsconfigJson.reflection,reflectionLevel:e.tsconfig.tsconfigJson.compilerOptions?.reflectionLevel||e.tsconfig.tsconfigJson.reflectionLevel},{exclude:[],reflection:`default`,reflectionLevel:`minimal`}))}}function Cn(e,t,n){let r=xn(e),i=Sn(e);return Ce.transpileModule(t,{compilerOptions:{...e.tsconfig.options},fileName:n,transformers:{before:[r],after:[i]}})}const wn=(e,t={})=>({name:`powerlines:deepkit`,setup(n){n.onLoad({filter:/\.(m|c)?tsx?$/,...t},async t=>{let n=await e.fs.read(t.path);if(!n)return null;if(t.pluginData?.isReflected)return{contents:n,loader:`ts`,pluginData:{isReflected:!0}};let r=Cn(e,n,t.path);if(r.diagnostics&&r.diagnostics.length>0)if(r.diagnostics.some(e=>e.category===we.Error)){let n=`Deepkit Type reflection transpilation errors: ${t.path} \n ${r.diagnostics.filter(e=>e.category===we.Error).map(e=>`-${e.file?`${e.file.fileName}:`:``} ${pe(e.messageText)?e.messageText:e.messageText.messageText} (at ${e.start}:${e.length})`).join(`
|
|
15
|
+
`)}`;throw e.error(n),Error(n)}else r.diagnostics.some(e=>e.category===we.Warning)?e.warn(`Deepkit Type reflection transpilation warnings: ${t.path} \n ${r.diagnostics.filter(e=>e.category===we.Warning).map(e=>`-${e.file?`${e.file.fileName}:`:``} ${pe(e.messageText)?e.messageText:e.messageText.messageText} (at ${e.start}:${e.length})`).join(`
|
|
16
|
+
`)}`):e.debug(`Deepkit Type reflection transpilation diagnostics: ${t.path} \n ${r.diagnostics.map(e=>`-${e.file?`${e.file.fileName}:`:``} ${pe(e.messageText)?e.messageText:e.messageText.messageText} (at ${e.start}:${e.length})`).join(`
|
|
17
|
+
`)}`);return{contents:r.outputText,loader:`ts`,pluginData:{isReflected:!0}}})}});async function Tn(e,t,n={}){return(0,d.reflect)(await hn(e,t,o(n,{plugins:[wn(e)]})))}function En(e,t){return An(e,{type:(0,d.merge)(t.map(e=>e.type))})}function Dn(e,t){return jn(e,{type:(0,d.merge)(t.map(e=>e.type))})}var On=class{PLATFORM=`neutral`;MODE=`production`;DEBUG=!1;TEST=!1;MINIMAL=!1;NO_COLOR=!1;FORCE_COLOR=!1;FORCE_HYPERLINK=!1;STACKTRACE=!1;INCLUDE_ERROR_DATA=!1;CI=!1},kn=class{};function An(e,t={}){let n=t.superReflection??new d.ReflectionClass({kind:d.ReflectionKind.class,description:`The base environment configuration definition for the ${c(e.config.name)} project.`,classType:On,types:[],implements:[{kind:d.ReflectionKind.objectLiteral,typeName:`EnvInterface`,description:`The environment configuration interface definition for the ${c(e.config.name)} project.`,types:[]}]});n.name=`Env`;let r=new d.ReflectionClass(t.type??{kind:d.ReflectionKind.objectLiteral,typeName:`Env`,description:`A schema describing the list of available environment variables that can be used by the ${e.config.name?`${c(e.config.name)} application`:`application`}.`,types:[]},n);return r.name=`Env`,r}function jn(e,t={}){let n=t.superReflection??new d.ReflectionClass({kind:d.ReflectionKind.class,description:`The base secrets configuration definition for the ${c(e.config.name)} project.`,classType:kn,types:[],implements:[{kind:d.ReflectionKind.objectLiteral,typeName:`SecretsInterface`,description:`The secrets configuration interface definition for the ${c(e.config.name)} project.`,types:[]}]});n.name=`Secrets`;let r=new d.ReflectionClass(t.type??{kind:d.ReflectionKind.objectLiteral,typeName:`Secrets`,description:`A schema describing the list of available environment secrets that can be used by the ${e.config.name?`${c(e.config.name)} application`:`application`}.`,types:[]},n);return r.name=`Secrets`,r}async function Mn(e,t,n){let r;t&&(r=(0,d.resolveClassType)(await Tn(e,{file:i(t,e.workspaceConfig.workspaceRoot)?t:l(e.workspaceConfig.workspaceRoot,t),name:n},{skipNodeModulesBundle:!0})));let a=await Tn(e,await Fn(e));return En(e,[await Rn(e,`env`),r,(0,d.resolveClassType)(a)].filter(Boolean))}async function Nn(e,t,n){let r;t&&(r=(0,d.resolveClassType)(await Tn(e,{file:i(t,e.workspaceConfig.workspaceRoot)?t:l(e.workspaceConfig.workspaceRoot,t),name:n},{skipNodeModulesBundle:!0})));let a=await Tn(e,await In(e));return Dn(e,[await Hn(e),r,(0,d.resolveClassType)(a)].filter(Boolean))}async function Pn(e){return ye(`@powerlines/plugin-env/types/runtime`,{paths:[e.workspaceConfig.workspaceRoot,l(e.workspaceConfig.workspaceRoot,e.config.projectRoot)]})}async function Fn(e){return{file:await Pn(e),name:`EnvInterface`}}async function In(e){return{file:await Pn(e),name:`SecretsInterface`}}function Ln(e,t=`env`){return l(dn(e),`env`,`${t}-types.bin`)}async function Rn(e,t=`env`){let n=Ln(e,t);if(!ve(n)){if(!e.env.types.env||be(e.env.types.env)){let n=An(e),r=new u.Message;n.messageRoot=r.initRoot(Q),n.dataBuffer=r.toArrayBuffer(),e.env.types.env=n,await zn(e,e.env.types.env,t)}return e.env.types.env}let r=await he(n),i=new u.Message(r,!1).getRoot(Q),a=(0,d.resolveClassType)((0,d.deserializeType)($e(i.types)));return e.env.types[t]=a,e.env.types[t].messageRoot=i,e.env.types[t].dataBuffer=r,a}async function zn(e,t,n=`env`){let r=t.serializeType(),i=new u.Message;Qe(r,i.initRoot(Q)._initTypes(r.length)),await ge(Ln(e,n),i.toArrayBuffer())}function Bn(e,t){return l(dn(e),`env`,`${t}.bin`)}async function Vn(e){let t=Bn(e,`env`);if(!ve(t)){if(e.env.types.env||(e.env.types.env=await Rn(e,`env`)),!e.env.used.env||be(e.env.used.env)){let t=An(e,{type:{kind:d.ReflectionKind.objectLiteral,typeName:`Env`,description:`An object containing the environment configuration parameters that are used (at least once) by the ${e.config.name?`${e.config.name} application`:`application`}.`,types:[]},superReflection:e.env.types.env});t.name=`Env`;let n=new u.Message;t.messageRoot=n.initRoot(Q),t.dataBuffer=n.toArrayBuffer(),e.env.used.env=t,await Un(e,e.env.used.env,`env`)}return e.env.used.env}let n=await he(t),r=new u.Message(n,!1).getRoot(Q),i=(0,d.resolveClassType)((0,d.deserializeType)($e(r.types)));return e.env.used.env=i,e.env.used.env.messageRoot=r,e.env.used.env.dataBuffer=n,i}async function Hn(e){let t=Bn(e,`secrets`);if(!ve(t)){if(e.env.types.secrets||(e.env.types.secrets=await Rn(e,`secrets`)),!e.env.used.secrets||be(e.env.used.secrets)){let t=An(e,{type:{kind:d.ReflectionKind.objectLiteral,typeName:`Secrets`,description:`An object containing the secret configuration parameters that are used (at least once) by the ${e.config.name?`${e.config.name} application`:`application`}.`,types:[]},superReflection:e.env.types.secrets});t.name=`Secrets`;let n=new u.Message;t.messageRoot=n.initRoot(Q),t.dataBuffer=n.toArrayBuffer(),e.env.used.secrets=t,await Un(e,e.env.used.secrets,`secrets`)}return e.env.used.secrets}let n=await he(t),r=new u.Message(n,!1).getRoot(Q),i=(0,d.resolveClassType)((0,d.deserializeType)($e(r.types)));return e.env.used.secrets=i,e.env.used.secrets.messageRoot=r,e.env.used.secrets.dataBuffer=n,i}async function Un(e,t,n=`env`){let r=t.serializeType(),i=new u.Message;Qe(r,i.initRoot(Q)._initTypes(r.length)),await ge(Bn(e,n),i.toArrayBuffer())}function Wn(e,t,n=`env`){let r=t.serializeType(),i=new u.Message;Qe(r,i.initRoot(Q)._initTypes(r.length)),_e(Bn(e,n),i.toArrayBuffer())}function Gn(e){if(re(e)){let t=ue.reduce((e,t)=>(e.startsWith(t)&&(e=e.slice(t.length)),e),e.toUpperCase());for(;t.startsWith(`_`);)t=t.slice(1);return t}return Object.keys(e).reduce((t,n)=>{let r=Gn(n);return r&&(t[r]=e[n]),t},{})}function Kn(e){return s(Gn(e))}async function qn(e,t,n){let r=await Te(n,t);if(e.additionalFiles&&e.additionalFiles?.length>0){let t=await Promise.all(e.additionalFiles.map(async e=>Ee(e,n)));for(let e of t)r=o(e,r)}return Gn(r)}async function Jn(e,t,n,r,i,a){let[ee,te]=await Promise.all([qn(e,n,t),oe({cwd:t,name:`storm`,envName:n,defaults:{NAME:i.name?.replace(`@${a.namespace}/`,``),MODE:n,ORG:a.organization},globalRc:!0,packageJson:!0,dotenv:!0,jitiOptions:{fsCache:l(r,`jiti`),moduleCache:!0}})]);return o(ee,te.config,a)}function Yn(e,t){return o({APP_NAME:ce(e.config.name||e.packageJson.name?.replace(`/${e.workspaceConfig.namespace}`,``)),APP_VERSION:e.packageJson.version,BUILD_ID:e.meta.buildId,BUILD_TIMESTAMP:new Date(e.meta.timestamp).toISOString(),BUILD_CHECKSUM:e.meta.checksum,RELEASE_ID:e.meta.releaseId,RELEASE_TAG:`${ce(e.config.name)}@${e.packageJson.version}`,DEFAULT_LOCALE:e.workspaceConfig.locale,DEFAULT_TIMEZONE:e.workspaceConfig.timezone,LOG_LEVEL:e.config.logLevel,ERROR_URL:e.workspaceConfig.error?.url,ORGANIZATION:ee(e.workspaceConfig.organization)?e.workspaceConfig.organization:e.workspaceConfig.organization?.name,PLATFORM:e.config.build.platform,MODE:e.workspaceConfig.mode,DEBUG:e.workspaceConfig.mode===`development`,STACKTRACE:e.workspaceConfig.mode===`development`,ENVIRONMENT:e.environment},se(e?.env?.types?.env)?e.env.types.env?.getProperties().reduce((e,n)=>(e[n.name]=t[n.name]??n.getDefaultValue(),e),{}):{})}async function Xn(e,t){let[n,r,i]=await Promise.all([Jn(t,e.config.projectRoot,e.config.mode,e.cachePath,e.packageJson,e.workspaceConfig),Jn(t,e.workspaceConfig.workspaceRoot,e.config.mode,e.cachePath,e.packageJson,e.workspaceConfig),Jn(t,e.envPaths.config,e.config.mode,e.cachePath,e.packageJson,e.workspaceConfig)]);return o(Yn(e,process.env),n,r,i)}function Zn(e){let r=t(()=>e&&Yn(e,process.env));return n(async()=>{if(!e)return new d.ReflectionClass({kind:d.ReflectionKind.objectLiteral,description:`The initial environment configuration state for the Powerlines project.`,types:[]});let t=await Rn(e,`env`);return t.getProperties().forEach(e=>{e.getAlias().filter(Boolean).forEach(n=>{t.addProperty({name:n,optional:e.isOptional()?!0:void 0,readonly:e.isReadonly()?!0:void 0,description:e.getDescription(),visibility:e.getVisibility(),type:e.getType(),default:e.getDefaultValue(),tags:{hidden:e.isHidden(),ignore:e.isIgnored(),internal:e.isInternal(),alias:e.getAlias().filter(e=>e!==n).concat(e.name),title:e.getTitle()||c(e.name),readonly:e.isReadonly(),permission:e.getPermission(),domain:e.getDomain()}})})}),t.getProperties().forEach(e=>{e.setDefaultValue(r.value?.[e.getNameAsString()]??e.getAlias().reduce((e,t)=>e??r.value?.[t],void 0)??e.getDefaultValue())}),t})}export{Mn as C,d as D,$e as E,Dn as S,Q as T,On as _,Gn as a,jn as b,Ln as c,Rn as d,Hn as f,zn as g,Wn as h,Kn as i,In as l,Un as m,Xn as n,Fn as o,Pn as p,Yn as r,Bn as s,Zn as t,Vn as u,kn as v,Nn as w,En as x,An as y};
|