@powerlines/plugin-env 0.14.8 → 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.
@@ -0,0 +1,17 @@
1
+ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,ee=c.length,u;l<ee;l++)u=c[l],!a.call(e,u)&&u!==o&&t(e,u,{get:(e=>i[e]).bind(null,u),enumerable:!(s=n(i,u))||s.enumerable});return e},s=(e,n,r,i)=>{i&&(t(e,Symbol.toStringTag,{value:`Module`}),r&&t(r,Symbol.toStringTag,{value:`Module`})),o(e,n,`default`),r&&o(r,n,`default`)},c=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let l=require(`@alloy-js/core`),ee=require(`@storm-software/config-tools/types`),u=require(`@stryke/path/is-parent-path`),te=require(`@stryke/path/replace`),ne=require(`@stryke/type-checks/is-set-string`),re=require(`@stryke/path/append`),d=require(`defu`);d=c(d);let ie=require(`@stryke/helpers/get-unique`),ae=require(`@stryke/type-checks/is-string`),oe=require(`@stryke/convert/to-array`),f=require(`@stryke/string-format/camel-case`),p=require(`@stryke/string-format/title-case`),m=require(`@stryke/path/join-paths`),se=require(`@stryke/fs/is-file`),ce=require(`@stryke/fs/list-files`),le=require(`c12`),ue=require(`@stryke/type-checks/is-set-object`),de=require(`@stryke/string-format/kebab-case`),fe=require(`@stryke/convert/parse-type-definition`),pe=require(`@stryke/env/types`),h=require(`@stryke/type-checks`),g=require(`@stryke/capnp`);g=c(g);let _=require(`@stryke/fs/buffer`),me=require(`node:fs`),he=require(`@stryke/fs/resolve`),ge=require(`@stryke/type-checks/is-empty-object`),_e=require(`esbuild`),ve=require(`@stryke/helpers/omit`);require(`@stryke/hash/murmurhash`);let v=require(`typescript`);v=c(v);let ye=require(`@stryke/env/load-env`);var y={};s(y,require(`@deepkit/type`));const b={PUBLIC:0,PROTECTED:1,PRIVATE:2};var x=class extends g.Struct{static _capnp={displayName:`TagsReflection`,id:`ab7e31d6b834bbf8`,size:new g.ObjectSize(8,4)};_adoptAlias(e){g.utils.adopt(e,g.utils.getPointer(0,this))}_disownAlias(){return g.utils.disown(this.alias)}get alias(){return g.utils.getList(0,g.TextList,this)}_hasAlias(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initAlias(e){return g.utils.initList(0,g.TextList,e,this)}set alias(e){g.utils.copyFrom(e,g.utils.getPointer(0,this))}get title(){return g.utils.getText(1,this)}set title(e){g.utils.setText(1,e,this)}get hidden(){return g.utils.getBit(0,this)}set hidden(e){g.utils.setBit(0,e,this)}get readonly(){return g.utils.getBit(1,this)}set readonly(e){g.utils.setBit(1,e,this)}get ignore(){return g.utils.getBit(2,this)}set ignore(e){g.utils.setBit(2,e,this)}get internal(){return g.utils.getBit(3,this)}set internal(e){g.utils.setBit(3,e,this)}_adoptPermission(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownPermission(){return g.utils.disown(this.permission)}get permission(){return g.utils.getList(2,g.TextList,this)}_hasPermission(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initPermission(e){return g.utils.initList(2,g.TextList,e,this)}set permission(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}get domain(){return g.utils.getText(3,this)}set domain(e){g.utils.setText(3,e,this)}toString(){return`TagsReflection_`+super.toString()}};const S={UNDEFINED:0,BOOLEAN:1,INTEGER:2,FLOAT:3,STRING:4};var be=class extends g.Struct{static UNDEFINED=S.UNDEFINED;static BOOLEAN=S.BOOLEAN;static INTEGER=S.INTEGER;static FLOAT=S.FLOAT;static STRING=S.STRING;static _capnp={displayName:`value`,id:`8748135e0497fe81`,size:new g.ObjectSize(16,1)};get _isUndefined(){return g.utils.getUint16(0,this)===0}set undefined(e){g.utils.setUint16(0,0,this)}get boolean(){return g.utils.testWhich(`boolean`,g.utils.getUint16(0,this),1,this),g.utils.getBit(16,this)}get _isBoolean(){return g.utils.getUint16(0,this)===1}set boolean(e){g.utils.setUint16(0,1,this),g.utils.setBit(16,e,this)}get integer(){return g.utils.testWhich(`integer`,g.utils.getUint16(0,this),2,this),g.utils.getInt32(4,this)}get _isInteger(){return g.utils.getUint16(0,this)===2}set integer(e){g.utils.setUint16(0,2,this),g.utils.setInt32(4,e,this)}get float(){return g.utils.testWhich(`float`,g.utils.getUint16(0,this),3,this),g.utils.getFloat64(8,this)}get _isFloat(){return g.utils.getUint16(0,this)===3}set float(e){g.utils.setUint16(0,3,this),g.utils.setFloat64(8,e,this)}get string(){return g.utils.testWhich(`string`,g.utils.getUint16(0,this),4,this),g.utils.getText(0,this)}get _isString(){return g.utils.getUint16(0,this)===4}set string(e){g.utils.setUint16(0,4,this),g.utils.setText(0,e,this)}toString(){return`DefaultValueReflection_Value_`+super.toString()}which(){return g.utils.getUint16(0,this)}},C=class extends g.Struct{static _capnp={displayName:`DefaultValueReflection`,id:`96fe6f07954197c9`,size:new g.ObjectSize(16,1)};get value(){return g.utils.getAs(be,this)}_initValue(){return g.utils.getAs(be,this)}toString(){return`DefaultValueReflection_`+super.toString()}},w=class extends g.Struct{static _capnp={displayName:`SerializedTypeReference`,id:`a83d8a28b5e80f3a`,size:new g.ObjectSize(8,0)};get id(){return g.utils.getUint32(0,this)}set id(e){g.utils.setUint32(0,e,this)}toString(){return`SerializedTypeReference_`+super.toString()}},T=class extends g.Struct{static _capnp={displayName:`IndexAccessOrigin`,id:`ca50b18186c87afe`,size:new g.ObjectSize(0,2)};_adoptContainer(e){g.utils.adopt(e,g.utils.getPointer(0,this))}_disownContainer(){return g.utils.disown(this.container)}get container(){return g.utils.getStruct(0,w,this)}_hasContainer(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initContainer(){return g.utils.initStructAt(0,w,this)}set container(e){g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptIndex(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownIndex(){return g.utils.disown(this.index)}get index(){return g.utils.getStruct(1,w,this)}_hasIndex(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initIndex(){return g.utils.initStructAt(1,w,this)}set index(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}toString(){return`IndexAccessOrigin_`+super.toString()}},xe=class extends g.Struct{static _capnp={displayName:`EntityIndexOptions`,id:`de584ad10b7c5004`,size:new g.ObjectSize(0,2)};_adoptNames(e){g.utils.adopt(e,g.utils.getPointer(0,this))}_disownNames(){return g.utils.disown(this.names)}get names(){return g.utils.getList(0,g.TextList,this)}_hasNames(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initNames(e){return g.utils.initList(0,g.TextList,e,this)}set names(e){g.utils.copyFrom(e,g.utils.getPointer(0,this))}get options(){return g.utils.getText(1,this)}set options(e){g.utils.setText(1,e,this)}toString(){return`EntityOptions_EntityIndexOptions_`+super.toString()}},Se=class e extends g.Struct{static EntityIndexOptions=xe;static _capnp={displayName:`EntityOptions`,id:`948d2d02cf676d60`,size:new g.ObjectSize(8,5)};get name(){return g.utils.getText(0,this)}set name(e){g.utils.setText(0,e,this)}get description(){return g.utils.getText(1,this)}set description(e){g.utils.setText(1,e,this)}get collection(){return g.utils.getText(2,this)}set collection(e){g.utils.setText(2,e,this)}get database(){return g.utils.getText(3,this)}set database(e){g.utils.setText(3,e,this)}get singleTableInheritance(){return g.utils.getBit(0,this)}set singleTableInheritance(e){g.utils.setBit(0,e,this)}_adoptIndexes(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownIndexes(){return g.utils.disown(this.indexes)}get indexes(){return g.utils.getList(4,e._Indexes,this)}_hasIndexes(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initIndexes(t){return g.utils.initList(4,e._Indexes,t,this)}set indexes(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}toString(){return`EntityOptions_`+super.toString()}},E=class e extends g.Struct{static _capnp={displayName:`SerializedTypeObjectLiteral`,id:`8b56235ad9bcb2b1`,size:new g.ObjectSize(8,6)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptTypes(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownTypes(){return g.utils.disown(this.types)}get types(){return g.utils.getList(4,e._Types,this)}_hasTypes(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initTypes(t){return g.utils.initList(4,e._Types,t,this)}set types(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(5,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(5,x,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(5,this))}_initTags(){return g.utils.initStructAt(5,x,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(5,this))}toString(){return`SerializedTypeObjectLiteral_`+super.toString()}},D=class e extends g.Struct{static _capnp={displayName:`SerializedTypeClassType`,id:`9855392bf9c48b25`,size:new g.ObjectSize(8,11)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}get name(){return g.utils.getText(4,this)}set name(e){g.utils.setText(4,e,this)}get globalObject(){return g.utils.getBit(16,this)}set globalObject(e){g.utils.setBit(16,e,this)}get classType(){return g.utils.getText(5,this)}set classType(e){g.utils.setText(5,e,this)}_adoptExtendsArguments(e){g.utils.adopt(e,g.utils.getPointer(6,this))}_disownExtendsArguments(){return g.utils.disown(this.extendsArguments)}get extendsArguments(){return g.utils.getList(6,e._ExtendsArguments,this)}_hasExtendsArguments(){return!g.utils.isNull(g.utils.getPointer(6,this))}_initExtendsArguments(t){return g.utils.initList(6,e._ExtendsArguments,t,this)}set extendsArguments(e){g.utils.copyFrom(e,g.utils.getPointer(6,this))}_adoptArguments(e){g.utils.adopt(e,g.utils.getPointer(7,this))}_disownArguments(){return g.utils.disown(this.arguments)}get arguments(){return g.utils.getList(7,e._Arguments,this)}_hasArguments(){return!g.utils.isNull(g.utils.getPointer(7,this))}_initArguments(t){return g.utils.initList(7,e._Arguments,t,this)}set arguments(e){g.utils.copyFrom(e,g.utils.getPointer(7,this))}_adoptSuperClass(e){g.utils.adopt(e,g.utils.getPointer(8,this))}_disownSuperClass(){return g.utils.disown(this.superClass)}get superClass(){return g.utils.getStruct(8,w,this)}_hasSuperClass(){return!g.utils.isNull(g.utils.getPointer(8,this))}_initSuperClass(){return g.utils.initStructAt(8,w,this)}set superClass(e){g.utils.copyFrom(e,g.utils.getPointer(8,this))}_adoptTypes(e){g.utils.adopt(e,g.utils.getPointer(9,this))}_disownTypes(){return g.utils.disown(this.types)}get types(){return g.utils.getList(9,e._Types,this)}_hasTypes(){return!g.utils.isNull(g.utils.getPointer(9,this))}_initTypes(t){return g.utils.initList(9,e._Types,t,this)}set types(e){g.utils.copyFrom(e,g.utils.getPointer(9,this))}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(10,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(10,x,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(10,this))}_initTags(){return g.utils.initStructAt(10,x,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(10,this))}toString(){return`SerializedTypeClassType_`+super.toString()}},O=class e extends g.Struct{static _capnp={displayName:`SerializedTypeParameter`,id:`fcbaa08bb97b8b1a`,size:new g.ObjectSize(8,8)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}get name(){return g.utils.getText(4,this)}set name(e){g.utils.setText(4,e,this)}_adoptType(e){g.utils.adopt(e,g.utils.getPointer(5,this))}_disownType(){return g.utils.disown(this.type)}get type(){return g.utils.getStruct(5,w,this)}_hasType(){return!g.utils.isNull(g.utils.getPointer(5,this))}_initType(){return g.utils.initStructAt(5,w,this)}set type(e){g.utils.copyFrom(e,g.utils.getPointer(5,this))}get visibility(){return g.utils.getUint16(2,this)}set visibility(e){g.utils.setUint16(2,e,this)}get readonly(){return g.utils.getBit(32,this)}set readonly(e){g.utils.setBit(32,e,this)}get optional(){return g.utils.getBit(33,this)}set optional(e){g.utils.setBit(33,e,this)}_adoptDefault(e){g.utils.adopt(e,g.utils.getPointer(6,this))}_disownDefault(){return g.utils.disown(this.default)}get default(){return g.utils.getStruct(6,C,this)}_hasDefault(){return!g.utils.isNull(g.utils.getPointer(6,this))}_initDefault(){return g.utils.initStructAt(6,C,this)}set default(e){g.utils.copyFrom(e,g.utils.getPointer(6,this))}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(7,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(7,x,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(7,this))}_initTags(){return g.utils.initStructAt(7,x,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(7,this))}toString(){return`SerializedTypeParameter_`+super.toString()}},k=class e extends g.Struct{static _capnp={displayName:`SerializedTypeMethod`,id:`8b5eff6d9ec2fb06`,size:new g.ObjectSize(8,8)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get visibility(){return g.utils.getUint16(0,this)}set visibility(e){g.utils.setUint16(0,e,this)}get abstract(){return g.utils.getBit(16,this)}set abstract(e){g.utils.setBit(16,e,this)}get optional(){return g.utils.getBit(17,this)}set optional(e){g.utils.setBit(17,e,this)}get readonly(){return g.utils.getBit(18,this)}set readonly(e){g.utils.setBit(18,e,this)}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(4,x,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initTags(){return g.utils.initStructAt(4,x,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}get kind(){return g.utils.getUint16(4,this)}set kind(e){g.utils.setUint16(4,e,this)}get name(){return g.utils.getText(5,this)}set name(e){g.utils.setText(5,e,this)}_adoptParameters(e){g.utils.adopt(e,g.utils.getPointer(6,this))}_disownParameters(){return g.utils.disown(this.parameters)}get parameters(){return g.utils.getList(6,e._Parameters,this)}_hasParameters(){return!g.utils.isNull(g.utils.getPointer(6,this))}_initParameters(t){return g.utils.initList(6,e._Parameters,t,this)}set parameters(e){g.utils.copyFrom(e,g.utils.getPointer(6,this))}_adoptReturn(e){g.utils.adopt(e,g.utils.getPointer(7,this))}_disownReturn(){return g.utils.disown(this.return)}get return(){return g.utils.getStruct(7,w,this)}_hasReturn(){return!g.utils.isNull(g.utils.getPointer(7,this))}_initReturn(){return g.utils.initStructAt(7,w,this)}set return(e){g.utils.copyFrom(e,g.utils.getPointer(7,this))}toString(){return`SerializedTypeMethod_`+super.toString()}},Ce=class e extends g.Struct{static _capnp={displayName:`SerializedTypeProperty`,id:`91d9dbea2037f78b`,size:new g.ObjectSize(8,9)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get visibility(){return g.utils.getUint16(0,this)}set visibility(e){g.utils.setUint16(0,e,this)}get abstract(){return g.utils.getBit(16,this)}set abstract(e){g.utils.setBit(16,e,this)}get optional(){return g.utils.getBit(17,this)}set optional(e){g.utils.setBit(17,e,this)}get readonly(){return g.utils.getBit(18,this)}set readonly(e){g.utils.setBit(18,e,this)}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(4,x,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initTags(){return g.utils.initStructAt(4,x,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}get kind(){return g.utils.getUint16(4,this)}set kind(e){g.utils.setUint16(4,e,this)}get name(){return g.utils.getText(5,this)}set name(e){g.utils.setText(5,e,this)}get description(){return g.utils.getText(6,this)}set description(e){g.utils.setText(6,e,this)}_adoptType(e){g.utils.adopt(e,g.utils.getPointer(7,this))}_disownType(){return g.utils.disown(this.type)}get type(){return g.utils.getStruct(7,w,this)}_hasType(){return!g.utils.isNull(g.utils.getPointer(7,this))}_initType(){return g.utils.initStructAt(7,w,this)}set type(e){g.utils.copyFrom(e,g.utils.getPointer(7,this))}_adoptDefault(e){g.utils.adopt(e,g.utils.getPointer(8,this))}_disownDefault(){return g.utils.disown(this.default)}get default(){return g.utils.getStruct(8,C,this)}_hasDefault(){return!g.utils.isNull(g.utils.getPointer(8,this))}_initDefault(){return g.utils.initStructAt(8,C,this)}set default(e){g.utils.copyFrom(e,g.utils.getPointer(8,this))}toString(){return`SerializedTypeProperty_`+super.toString()}},A=class e extends g.Struct{static _capnp={displayName:`SerializedTypeFunction`,id:`9130bccd82dfcfd4`,size:new g.ObjectSize(8,8)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get visibility(){return g.utils.getUint16(0,this)}set visibility(e){g.utils.setUint16(0,e,this)}get abstract(){return g.utils.getBit(16,this)}set abstract(e){g.utils.setBit(16,e,this)}get optional(){return g.utils.getBit(17,this)}set optional(e){g.utils.setBit(17,e,this)}get readonly(){return g.utils.getBit(18,this)}set readonly(e){g.utils.setBit(18,e,this)}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(4,x,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initTags(){return g.utils.initStructAt(4,x,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}get kind(){return g.utils.getUint16(4,this)}set kind(e){g.utils.setUint16(4,e,this)}get name(){return g.utils.getText(5,this)}set name(e){g.utils.setText(5,e,this)}_adoptParameters(e){g.utils.adopt(e,g.utils.getPointer(6,this))}_disownParameters(){return g.utils.disown(this.parameters)}get parameters(){return g.utils.getList(6,e._Parameters,this)}_hasParameters(){return!g.utils.isNull(g.utils.getPointer(6,this))}_initParameters(t){return g.utils.initList(6,e._Parameters,t,this)}set parameters(e){g.utils.copyFrom(e,g.utils.getPointer(6,this))}_adoptReturn(e){g.utils.adopt(e,g.utils.getPointer(7,this))}_disownReturn(){return g.utils.disown(this.return)}get return(){return g.utils.getStruct(7,w,this)}_hasReturn(){return!g.utils.isNull(g.utils.getPointer(7,this))}_initReturn(){return g.utils.initStructAt(7,w,this)}set return(e){g.utils.copyFrom(e,g.utils.getPointer(7,this))}toString(){return`SerializedTypeFunction_`+super.toString()}},we=class e extends g.Struct{static _capnp={displayName:`SerializedTypePromise`,id:`e9b0cbe936a42398`,size:new g.ObjectSize(8,4)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get visibility(){return g.utils.getUint16(0,this)}set visibility(e){g.utils.setUint16(0,e,this)}get abstract(){return g.utils.getBit(16,this)}set abstract(e){g.utils.setBit(16,e,this)}toString(){return`SerializedTypePromise_`+super.toString()}},Te=class extends g.Struct{static _capnp={displayName:`SerializedTypeEnumEntry`,id:`d5bcb8b7c49ba556`,size:new g.ObjectSize(0,2)};get name(){return g.utils.getText(0,this)}set name(e){g.utils.setText(0,e,this)}get value(){return g.utils.getText(1,this)}set value(e){g.utils.setText(1,e,this)}toString(){return`SerializedTypeEnumEntry_`+super.toString()}},j=class e extends g.Struct{static _capnp={displayName:`SerializedTypeEnum`,id:`d7d36f0ae79e3841`,size:new g.ObjectSize(8,8)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptEnumEntries(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownEnumEntries(){return g.utils.disown(this.enumEntries)}get enumEntries(){return g.utils.getList(4,e._EnumEntries,this)}_hasEnumEntries(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initEnumEntries(t){return g.utils.initList(4,e._EnumEntries,t,this)}set enumEntries(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}_adoptValues(e){g.utils.adopt(e,g.utils.getPointer(5,this))}_disownValues(){return g.utils.disown(this.values)}get values(){return g.utils.getList(5,g.TextList,this)}_hasValues(){return!g.utils.isNull(g.utils.getPointer(5,this))}_initValues(e){return g.utils.initList(5,g.TextList,e,this)}set values(e){g.utils.copyFrom(e,g.utils.getPointer(5,this))}_adoptIndexType(e){g.utils.adopt(e,g.utils.getPointer(6,this))}_disownIndexType(){return g.utils.disown(this.indexType)}get indexType(){return g.utils.getStruct(6,w,this)}_hasIndexType(){return!g.utils.isNull(g.utils.getPointer(6,this))}_initIndexType(){return g.utils.initStructAt(6,w,this)}set indexType(e){g.utils.copyFrom(e,g.utils.getPointer(6,this))}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(7,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(7,x,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(7,this))}_initTags(){return g.utils.initStructAt(7,x,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(7,this))}toString(){return`SerializedTypeEnum_`+super.toString()}},M=class e extends g.Struct{static _capnp={displayName:`SerializedTypeUnion`,id:`a9ae4c95e41ff4ab`,size:new g.ObjectSize(8,5)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptTypes(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownTypes(){return g.utils.disown(this.types)}get types(){return g.utils.getList(4,e._Types,this)}_hasTypes(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initTypes(t){return g.utils.initList(4,e._Types,t,this)}set types(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}toString(){return`SerializedTypeUnion_`+super.toString()}},Ee=class e extends g.Struct{static _capnp={displayName:`SerializedTypeIntersection`,id:`9ae42bd17511c09b`,size:new g.ObjectSize(8,5)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptTypes(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownTypes(){return g.utils.disown(this.types)}get types(){return g.utils.getList(4,e._Types,this)}_hasTypes(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initTypes(t){return g.utils.initList(4,e._Types,t,this)}set types(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}toString(){return`SerializedTypeIntersection_`+super.toString()}},De=class e extends g.Struct{static _capnp={displayName:`SerializedTypeArray`,id:`97d1d75240151501`,size:new g.ObjectSize(8,6)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptType(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownType(){return g.utils.disown(this.type)}get type(){return g.utils.getStruct(4,w,this)}_hasType(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initType(){return g.utils.initStructAt(4,w,this)}set type(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(5,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(5,x,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(5,this))}_initTags(){return g.utils.initStructAt(5,x,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(5,this))}toString(){return`SerializedTypeArray_`+super.toString()}},Oe=class e extends g.Struct{static _capnp={displayName:`SerializedTypeIndexSignature`,id:`93e335e2756821d8`,size:new g.ObjectSize(8,6)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptIndex(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownIndex(){return g.utils.disown(this.index)}get index(){return g.utils.getStruct(4,w,this)}_hasIndex(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initIndex(){return g.utils.initStructAt(4,w,this)}set index(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}_adoptType(e){g.utils.adopt(e,g.utils.getPointer(5,this))}_disownType(){return g.utils.disown(this.type)}get type(){return g.utils.getStruct(5,w,this)}_hasType(){return!g.utils.isNull(g.utils.getPointer(5,this))}_initType(){return g.utils.initStructAt(5,w,this)}set type(e){g.utils.copyFrom(e,g.utils.getPointer(5,this))}toString(){return`SerializedTypeIndexSignature_`+super.toString()}},ke=class e extends g.Struct{static _capnp={displayName:`SerializedTypePropertySignature`,id:`9bc1cebd2ca1569a`,size:new g.ObjectSize(8,9)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}get name(){return g.utils.getText(4,this)}set name(e){g.utils.setText(4,e,this)}get optional(){return g.utils.getBit(16,this)}set optional(e){g.utils.setBit(16,e,this)}get readonly(){return g.utils.getBit(17,this)}set readonly(e){g.utils.setBit(17,e,this)}get description(){return g.utils.getText(5,this)}set description(e){g.utils.setText(5,e,this)}_adoptDefault(e){g.utils.adopt(e,g.utils.getPointer(6,this))}_disownDefault(){return g.utils.disown(this.default)}get default(){return g.utils.getStruct(6,C,this)}_hasDefault(){return!g.utils.isNull(g.utils.getPointer(6,this))}_initDefault(){return g.utils.initStructAt(6,C,this)}set default(e){g.utils.copyFrom(e,g.utils.getPointer(6,this))}_adoptType(e){g.utils.adopt(e,g.utils.getPointer(7,this))}_disownType(){return g.utils.disown(this.type)}get type(){return g.utils.getStruct(7,w,this)}_hasType(){return!g.utils.isNull(g.utils.getPointer(7,this))}_initType(){return g.utils.initStructAt(7,w,this)}set type(e){g.utils.copyFrom(e,g.utils.getPointer(7,this))}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(8,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(8,x,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(8,this))}_initTags(){return g.utils.initStructAt(8,x,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(8,this))}toString(){return`SerializedTypePropertySignature_`+super.toString()}},Ae=class e extends g.Struct{static _capnp={displayName:`SerializedTypeMethodSignature`,id:`e25a2cc39d5930c8`,size:new g.ObjectSize(8,8)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}get name(){return g.utils.getText(4,this)}set name(e){g.utils.setText(4,e,this)}get optional(){return g.utils.getBit(16,this)}set optional(e){g.utils.setBit(16,e,this)}_adoptParameters(e){g.utils.adopt(e,g.utils.getPointer(5,this))}_disownParameters(){return g.utils.disown(this.parameters)}get parameters(){return g.utils.getList(5,e._Parameters,this)}_hasParameters(){return!g.utils.isNull(g.utils.getPointer(5,this))}_initParameters(t){return g.utils.initList(5,e._Parameters,t,this)}set parameters(e){g.utils.copyFrom(e,g.utils.getPointer(5,this))}_adoptReturn(e){g.utils.adopt(e,g.utils.getPointer(6,this))}_disownReturn(){return g.utils.disown(this.return)}get return(){return g.utils.getStruct(6,w,this)}_hasReturn(){return!g.utils.isNull(g.utils.getPointer(6,this))}_initReturn(){return g.utils.initStructAt(6,w,this)}set return(e){g.utils.copyFrom(e,g.utils.getPointer(6,this))}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(7,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(7,x,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(7,this))}_initTags(){return g.utils.initStructAt(7,x,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(7,this))}toString(){return`SerializedTypeMethodSignature_`+super.toString()}},je=class e extends g.Struct{static _capnp={displayName:`SerializedTypeTypeParameter`,id:`81210361a54d5d71`,size:new g.ObjectSize(8,5)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}get name(){return g.utils.getText(4,this)}set name(e){g.utils.setText(4,e,this)}toString(){return`SerializedTypeTypeParameter_`+super.toString()}},Me=class e extends g.Struct{static _capnp={displayName:`SerializedTypeInfer`,id:`91c6dd1e13f2b14d`,size:new g.ObjectSize(8,4)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}toString(){return`SerializedTypeInfer_`+super.toString()}},Ne=class e extends g.Struct{static _capnp={displayName:`SerializedTypeTupleMember`,id:`e21c2a18d0d56fdf`,size:new g.ObjectSize(8,6)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptType(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownType(){return g.utils.disown(this.type)}get type(){return g.utils.getStruct(4,w,this)}_hasType(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initType(){return g.utils.initStructAt(4,w,this)}set type(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}get optional(){return g.utils.getBit(16,this)}set optional(e){g.utils.setBit(16,e,this)}get name(){return g.utils.getText(5,this)}set name(e){g.utils.setText(5,e,this)}toString(){return`SerializedTypeTupleMember_`+super.toString()}},Pe=class e extends g.Struct{static _capnp={displayName:`SerializedTypeTuple`,id:`eb7501eb1ee4fb6d`,size:new g.ObjectSize(8,5)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptTypes(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownTypes(){return g.utils.disown(this.types)}get types(){return g.utils.getList(4,e._Types,this)}_hasTypes(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initTypes(t){return g.utils.initList(4,e._Types,t,this)}set types(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}toString(){return`SerializedTypeTuple_`+super.toString()}},Fe=class e extends g.Struct{static _capnp={displayName:`SerializedTypeRest`,id:`f9e684a435cce5d1`,size:new g.ObjectSize(8,5)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptType(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownType(){return g.utils.disown(this.type)}get type(){return g.utils.getStruct(4,w,this)}_hasType(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initType(){return g.utils.initStructAt(4,w,this)}set type(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}toString(){return`SerializedTypeRest_`+super.toString()}},Ie=class e extends g.Struct{static _capnp={displayName:`SimpleSerializedType`,id:`80f983e4b811c3ca`,size:new g.ObjectSize(8,5)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptOrigin(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownOrigin(){return g.utils.disown(this.origin)}get origin(){return g.utils.getStruct(4,w,this)}_hasOrigin(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initOrigin(){return g.utils.initStructAt(4,w,this)}set origin(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}toString(){return`SimpleSerializedType_`+super.toString()}},Le=class extends g.Struct{static _capnp={displayName:`SerializedTypeLiteralSymbol`,id:`f3dd6a3c6054bd55`,size:new g.ObjectSize(0,2)};get type(){return g.utils.getText(0,this)}set type(e){g.utils.setText(0,e,this)}get name(){return g.utils.getText(1,this)}set name(e){g.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralSymbol_`+super.toString()}},Re=class extends g.Struct{static _capnp={displayName:`SerializedTypeLiteralBigInt`,id:`821a872d8be30bb2`,size:new g.ObjectSize(0,2)};get type(){return g.utils.getText(0,this)}set type(e){g.utils.setText(0,e,this)}get value(){return g.utils.getText(1,this)}set value(e){g.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralBigInt_`+super.toString()}},ze=class extends g.Struct{static _capnp={displayName:`SerializedTypeLiteralRegex`,id:`cc89f97b47927d99`,size:new g.ObjectSize(0,2)};get type(){return g.utils.getText(0,this)}set type(e){g.utils.setText(0,e,this)}get regex(){return g.utils.getText(1,this)}set regex(e){g.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralRegex_`+super.toString()}};const N={SYMBOL:0,STRING:1,NUMBER:2,BOOLEAN:3,BIGINT:4,REGEX:5};var Be=class extends g.Struct{static SYMBOL=N.SYMBOL;static STRING=N.STRING;static NUMBER=N.NUMBER;static BOOLEAN=N.BOOLEAN;static BIGINT=N.BIGINT;static REGEX=N.REGEX;static _capnp={displayName:`literal`,id:`e4f0538973f3909f`,size:new g.ObjectSize(16,5)};_adoptSymbol(e){g.utils.setUint16(2,0,this),g.utils.adopt(e,g.utils.getPointer(4,this))}_disownSymbol(){return g.utils.disown(this.symbol)}get symbol(){return g.utils.testWhich(`symbol`,g.utils.getUint16(2,this),0,this),g.utils.getStruct(4,Le,this)}_hasSymbol(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initSymbol(){return g.utils.setUint16(2,0,this),g.utils.initStructAt(4,Le,this)}get _isSymbol(){return g.utils.getUint16(2,this)===0}set symbol(e){g.utils.setUint16(2,0,this),g.utils.copyFrom(e,g.utils.getPointer(4,this))}get string(){return g.utils.testWhich(`string`,g.utils.getUint16(2,this),1,this),g.utils.getText(4,this)}get _isString(){return g.utils.getUint16(2,this)===1}set string(e){g.utils.setUint16(2,1,this),g.utils.setText(4,e,this)}get number(){return g.utils.testWhich(`number`,g.utils.getUint16(2,this),2,this),g.utils.getFloat64(8,this)}get _isNumber(){return g.utils.getUint16(2,this)===2}set number(e){g.utils.setUint16(2,2,this),g.utils.setFloat64(8,e,this)}get boolean(){return g.utils.testWhich(`boolean`,g.utils.getUint16(2,this),3,this),g.utils.getBit(64,this)}get _isBoolean(){return g.utils.getUint16(2,this)===3}set boolean(e){g.utils.setUint16(2,3,this),g.utils.setBit(64,e,this)}_adoptBigint(e){g.utils.setUint16(2,4,this),g.utils.adopt(e,g.utils.getPointer(4,this))}_disownBigint(){return g.utils.disown(this.bigint)}get bigint(){return g.utils.testWhich(`bigint`,g.utils.getUint16(2,this),4,this),g.utils.getStruct(4,Re,this)}_hasBigint(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initBigint(){return g.utils.setUint16(2,4,this),g.utils.initStructAt(4,Re,this)}get _isBigint(){return g.utils.getUint16(2,this)===4}set bigint(e){g.utils.setUint16(2,4,this),g.utils.copyFrom(e,g.utils.getPointer(4,this))}_adoptRegex(e){g.utils.setUint16(2,5,this),g.utils.adopt(e,g.utils.getPointer(4,this))}_disownRegex(){return g.utils.disown(this.regex)}get regex(){return g.utils.testWhich(`regex`,g.utils.getUint16(2,this),5,this),g.utils.getStruct(4,ze,this)}_hasRegex(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initRegex(){return g.utils.setUint16(2,5,this),g.utils.initStructAt(4,ze,this)}get _isRegex(){return g.utils.getUint16(2,this)===5}set regex(e){g.utils.setUint16(2,5,this),g.utils.copyFrom(e,g.utils.getPointer(4,this))}toString(){return`SerializedTypeLiteral_Literal_`+super.toString()}which(){return g.utils.getUint16(2,this)}},Ve=class e extends g.Struct{static _capnp={displayName:`SerializedTypeLiteral`,id:`b876ba24d27d88c8`,size:new g.ObjectSize(16,5)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}get literal(){return g.utils.getAs(Be,this)}_initLiteral(){return g.utils.getAs(Be,this)}toString(){return`SerializedTypeLiteral_`+super.toString()}},P=class e extends g.Struct{static _capnp={displayName:`SerializedTypeTemplateLiteral`,id:`8dd6c284d46cc265`,size:new g.ObjectSize(8,5)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,T,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,T,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptTypes(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownTypes(){return g.utils.disown(this.types)}get types(){return g.utils.getList(4,e._Types,this)}_hasTypes(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initTypes(t){return g.utils.initList(4,e._Types,t,this)}set types(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}toString(){return`SerializedTypeTemplateLiteral_`+super.toString()}},He=class extends g.Struct{static _capnp={displayName:`SerializedTypeOther`,id:`9e1048a692ff49ce`,size:new g.ObjectSize(8,1)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}toString(){return`SerializedTypeOther_`+super.toString()}};const F={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 Ue=class extends g.Struct{static SIMPLE=F.SIMPLE;static LITERAL=F.LITERAL;static TEMPLATE_LITERAL=F.TEMPLATE_LITERAL;static PARAMETER=F.PARAMETER;static FUNCTION=F.FUNCTION;static METHOD=F.METHOD;static PROPERTY=F.PROPERTY;static PROMISE=F.PROMISE;static CLASS_TYPE=F.CLASS_TYPE;static ENUM=F.ENUM;static UNION=F.UNION;static INTERSECTION=F.INTERSECTION;static ARRAY=F.ARRAY;static OBJECT_LITERAL=F.OBJECT_LITERAL;static INDEX_SIGNATURE=F.INDEX_SIGNATURE;static PROPERTY_SIGNATURE=F.PROPERTY_SIGNATURE;static METHOD_SIGNATURE=F.METHOD_SIGNATURE;static TYPE_PARAMETER=F.TYPE_PARAMETER;static INFER=F.INFER;static TUPLE=F.TUPLE;static TUPLE_MEMBER=F.TUPLE_MEMBER;static REST=F.REST;static OTHER=F.OTHER;static _capnp={displayName:`type`,id:`c677d7ed4a496eab`,size:new g.ObjectSize(8,1)};_adoptSimple(e){g.utils.setUint16(0,0,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownSimple(){return g.utils.disown(this.simple)}get simple(){return g.utils.testWhich(`simple`,g.utils.getUint16(0,this),0,this),g.utils.getStruct(0,Ie,this)}_hasSimple(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initSimple(){return g.utils.setUint16(0,0,this),g.utils.initStructAt(0,Ie,this)}get _isSimple(){return g.utils.getUint16(0,this)===0}set simple(e){g.utils.setUint16(0,0,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptLiteral(e){g.utils.setUint16(0,1,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownLiteral(){return g.utils.disown(this.literal)}get literal(){return g.utils.testWhich(`literal`,g.utils.getUint16(0,this),1,this),g.utils.getStruct(0,Ve,this)}_hasLiteral(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initLiteral(){return g.utils.setUint16(0,1,this),g.utils.initStructAt(0,Ve,this)}get _isLiteral(){return g.utils.getUint16(0,this)===1}set literal(e){g.utils.setUint16(0,1,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptTemplateLiteral(e){g.utils.setUint16(0,2,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownTemplateLiteral(){return g.utils.disown(this.templateLiteral)}get templateLiteral(){return g.utils.testWhich(`templateLiteral`,g.utils.getUint16(0,this),2,this),g.utils.getStruct(0,P,this)}_hasTemplateLiteral(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initTemplateLiteral(){return g.utils.setUint16(0,2,this),g.utils.initStructAt(0,P,this)}get _isTemplateLiteral(){return g.utils.getUint16(0,this)===2}set templateLiteral(e){g.utils.setUint16(0,2,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptParameter(e){g.utils.setUint16(0,3,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownParameter(){return g.utils.disown(this.parameter)}get parameter(){return g.utils.testWhich(`parameter`,g.utils.getUint16(0,this),3,this),g.utils.getStruct(0,O,this)}_hasParameter(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initParameter(){return g.utils.setUint16(0,3,this),g.utils.initStructAt(0,O,this)}get _isParameter(){return g.utils.getUint16(0,this)===3}set parameter(e){g.utils.setUint16(0,3,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptFunction(e){g.utils.setUint16(0,4,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownFunction(){return g.utils.disown(this.function)}get function(){return g.utils.testWhich(`function`,g.utils.getUint16(0,this),4,this),g.utils.getStruct(0,A,this)}_hasFunction(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initFunction(){return g.utils.setUint16(0,4,this),g.utils.initStructAt(0,A,this)}get _isFunction(){return g.utils.getUint16(0,this)===4}set function(e){g.utils.setUint16(0,4,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptMethod(e){g.utils.setUint16(0,5,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownMethod(){return g.utils.disown(this.method)}get method(){return g.utils.testWhich(`method`,g.utils.getUint16(0,this),5,this),g.utils.getStruct(0,k,this)}_hasMethod(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initMethod(){return g.utils.setUint16(0,5,this),g.utils.initStructAt(0,k,this)}get _isMethod(){return g.utils.getUint16(0,this)===5}set method(e){g.utils.setUint16(0,5,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptProperty(e){g.utils.setUint16(0,6,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownProperty(){return g.utils.disown(this.property)}get property(){return g.utils.testWhich(`property`,g.utils.getUint16(0,this),6,this),g.utils.getStruct(0,Ce,this)}_hasProperty(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initProperty(){return g.utils.setUint16(0,6,this),g.utils.initStructAt(0,Ce,this)}get _isProperty(){return g.utils.getUint16(0,this)===6}set property(e){g.utils.setUint16(0,6,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptPromise(e){g.utils.setUint16(0,7,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownPromise(){return g.utils.disown(this.promise)}get promise(){return g.utils.testWhich(`promise`,g.utils.getUint16(0,this),7,this),g.utils.getStruct(0,we,this)}_hasPromise(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initPromise(){return g.utils.setUint16(0,7,this),g.utils.initStructAt(0,we,this)}get _isPromise(){return g.utils.getUint16(0,this)===7}set promise(e){g.utils.setUint16(0,7,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptClassType(e){g.utils.setUint16(0,8,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownClassType(){return g.utils.disown(this.classType)}get classType(){return g.utils.testWhich(`classType`,g.utils.getUint16(0,this),8,this),g.utils.getStruct(0,D,this)}_hasClassType(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initClassType(){return g.utils.setUint16(0,8,this),g.utils.initStructAt(0,D,this)}get _isClassType(){return g.utils.getUint16(0,this)===8}set classType(e){g.utils.setUint16(0,8,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptEnum(e){g.utils.setUint16(0,9,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownEnum(){return g.utils.disown(this.enum)}get enum(){return g.utils.testWhich(`enum`,g.utils.getUint16(0,this),9,this),g.utils.getStruct(0,j,this)}_hasEnum(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initEnum(){return g.utils.setUint16(0,9,this),g.utils.initStructAt(0,j,this)}get _isEnum(){return g.utils.getUint16(0,this)===9}set enum(e){g.utils.setUint16(0,9,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptUnion(e){g.utils.setUint16(0,10,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownUnion(){return g.utils.disown(this.union)}get union(){return g.utils.testWhich(`union`,g.utils.getUint16(0,this),10,this),g.utils.getStruct(0,M,this)}_hasUnion(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initUnion(){return g.utils.setUint16(0,10,this),g.utils.initStructAt(0,M,this)}get _isUnion(){return g.utils.getUint16(0,this)===10}set union(e){g.utils.setUint16(0,10,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptIntersection(e){g.utils.setUint16(0,11,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownIntersection(){return g.utils.disown(this.intersection)}get intersection(){return g.utils.testWhich(`intersection`,g.utils.getUint16(0,this),11,this),g.utils.getStruct(0,Ee,this)}_hasIntersection(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initIntersection(){return g.utils.setUint16(0,11,this),g.utils.initStructAt(0,Ee,this)}get _isIntersection(){return g.utils.getUint16(0,this)===11}set intersection(e){g.utils.setUint16(0,11,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptArray(e){g.utils.setUint16(0,12,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownArray(){return g.utils.disown(this.array)}get array(){return g.utils.testWhich(`array`,g.utils.getUint16(0,this),12,this),g.utils.getStruct(0,De,this)}_hasArray(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initArray(){return g.utils.setUint16(0,12,this),g.utils.initStructAt(0,De,this)}get _isArray(){return g.utils.getUint16(0,this)===12}set array(e){g.utils.setUint16(0,12,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptObjectLiteral(e){g.utils.setUint16(0,13,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownObjectLiteral(){return g.utils.disown(this.objectLiteral)}get objectLiteral(){return g.utils.testWhich(`objectLiteral`,g.utils.getUint16(0,this),13,this),g.utils.getStruct(0,E,this)}_hasObjectLiteral(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initObjectLiteral(){return g.utils.setUint16(0,13,this),g.utils.initStructAt(0,E,this)}get _isObjectLiteral(){return g.utils.getUint16(0,this)===13}set objectLiteral(e){g.utils.setUint16(0,13,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptIndexSignature(e){g.utils.setUint16(0,14,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownIndexSignature(){return g.utils.disown(this.indexSignature)}get indexSignature(){return g.utils.testWhich(`indexSignature`,g.utils.getUint16(0,this),14,this),g.utils.getStruct(0,Oe,this)}_hasIndexSignature(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initIndexSignature(){return g.utils.setUint16(0,14,this),g.utils.initStructAt(0,Oe,this)}get _isIndexSignature(){return g.utils.getUint16(0,this)===14}set indexSignature(e){g.utils.setUint16(0,14,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptPropertySignature(e){g.utils.setUint16(0,15,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownPropertySignature(){return g.utils.disown(this.propertySignature)}get propertySignature(){return g.utils.testWhich(`propertySignature`,g.utils.getUint16(0,this),15,this),g.utils.getStruct(0,ke,this)}_hasPropertySignature(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initPropertySignature(){return g.utils.setUint16(0,15,this),g.utils.initStructAt(0,ke,this)}get _isPropertySignature(){return g.utils.getUint16(0,this)===15}set propertySignature(e){g.utils.setUint16(0,15,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptMethodSignature(e){g.utils.setUint16(0,16,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownMethodSignature(){return g.utils.disown(this.methodSignature)}get methodSignature(){return g.utils.testWhich(`methodSignature`,g.utils.getUint16(0,this),16,this),g.utils.getStruct(0,Ae,this)}_hasMethodSignature(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initMethodSignature(){return g.utils.setUint16(0,16,this),g.utils.initStructAt(0,Ae,this)}get _isMethodSignature(){return g.utils.getUint16(0,this)===16}set methodSignature(e){g.utils.setUint16(0,16,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptTypeParameter(e){g.utils.setUint16(0,17,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownTypeParameter(){return g.utils.disown(this.typeParameter)}get typeParameter(){return g.utils.testWhich(`typeParameter`,g.utils.getUint16(0,this),17,this),g.utils.getStruct(0,je,this)}_hasTypeParameter(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initTypeParameter(){return g.utils.setUint16(0,17,this),g.utils.initStructAt(0,je,this)}get _isTypeParameter(){return g.utils.getUint16(0,this)===17}set typeParameter(e){g.utils.setUint16(0,17,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptInfer(e){g.utils.setUint16(0,18,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownInfer(){return g.utils.disown(this.infer)}get infer(){return g.utils.testWhich(`infer`,g.utils.getUint16(0,this),18,this),g.utils.getStruct(0,Me,this)}_hasInfer(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initInfer(){return g.utils.setUint16(0,18,this),g.utils.initStructAt(0,Me,this)}get _isInfer(){return g.utils.getUint16(0,this)===18}set infer(e){g.utils.setUint16(0,18,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptTuple(e){g.utils.setUint16(0,19,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownTuple(){return g.utils.disown(this.tuple)}get tuple(){return g.utils.testWhich(`tuple`,g.utils.getUint16(0,this),19,this),g.utils.getStruct(0,Pe,this)}_hasTuple(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initTuple(){return g.utils.setUint16(0,19,this),g.utils.initStructAt(0,Pe,this)}get _isTuple(){return g.utils.getUint16(0,this)===19}set tuple(e){g.utils.setUint16(0,19,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptTupleMember(e){g.utils.setUint16(0,20,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownTupleMember(){return g.utils.disown(this.tupleMember)}get tupleMember(){return g.utils.testWhich(`tupleMember`,g.utils.getUint16(0,this),20,this),g.utils.getStruct(0,Ne,this)}_hasTupleMember(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initTupleMember(){return g.utils.setUint16(0,20,this),g.utils.initStructAt(0,Ne,this)}get _isTupleMember(){return g.utils.getUint16(0,this)===20}set tupleMember(e){g.utils.setUint16(0,20,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptRest(e){g.utils.setUint16(0,21,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownRest(){return g.utils.disown(this.rest)}get rest(){return g.utils.testWhich(`rest`,g.utils.getUint16(0,this),21,this),g.utils.getStruct(0,Fe,this)}_hasRest(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initRest(){return g.utils.setUint16(0,21,this),g.utils.initStructAt(0,Fe,this)}get _isRest(){return g.utils.getUint16(0,this)===21}set rest(e){g.utils.setUint16(0,21,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptOther(e){g.utils.setUint16(0,22,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownOther(){return g.utils.disown(this.other)}get other(){return g.utils.testWhich(`other`,g.utils.getUint16(0,this),22,this),g.utils.getStruct(0,He,this)}_hasOther(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initOther(){return g.utils.setUint16(0,22,this),g.utils.initStructAt(0,He,this)}get _isOther(){return g.utils.getUint16(0,this)===22}set other(e){g.utils.setUint16(0,22,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}toString(){return`SerializedType_Type_`+super.toString()}which(){return g.utils.getUint16(0,this)}},We=class extends g.Struct{static _capnp={displayName:`SerializedType`,id:`96856dcc2dd3d58f`,size:new g.ObjectSize(8,1)};get type(){return g.utils.getAs(Ue,this)}_initType(){return g.utils.getAs(Ue,this)}toString(){return`SerializedType_`+super.toString()}},Ge=class e extends g.Struct{static _capnp={displayName:`SerializedTypes`,id:`ac55398ab0ef4958`,size:new g.ObjectSize(0,1)};_adoptTypes(e){g.utils.adopt(e,g.utils.getPointer(0,this))}_disownTypes(){return g.utils.disown(this.types)}get types(){return g.utils.getList(0,e._Types,this)}_hasTypes(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initTypes(t){return g.utils.initList(0,e._Types,t,this)}set types(e){g.utils.copyFrom(e,g.utils.getPointer(0,this))}toString(){return`SerializedTypes_`+super.toString()}};Se._Indexes=g.CompositeList(xe),E._TypeArguments=g.CompositeList(w),E._Decorators=g.CompositeList(w),E._Types=g.CompositeList(w),D._TypeArguments=g.CompositeList(w),D._Decorators=g.CompositeList(w),D._ExtendsArguments=g.CompositeList(w),D._Arguments=g.CompositeList(w),D._Types=g.CompositeList(w),O._TypeArguments=g.CompositeList(w),O._Decorators=g.CompositeList(w),k._TypeArguments=g.CompositeList(w),k._Decorators=g.CompositeList(w),k._Parameters=g.CompositeList(O),Ce._TypeArguments=g.CompositeList(w),Ce._Decorators=g.CompositeList(w),A._TypeArguments=g.CompositeList(w),A._Decorators=g.CompositeList(w),A._Parameters=g.CompositeList(O),we._TypeArguments=g.CompositeList(w),we._Decorators=g.CompositeList(w),j._TypeArguments=g.CompositeList(w),j._Decorators=g.CompositeList(w),j._EnumEntries=g.CompositeList(Te),M._TypeArguments=g.CompositeList(w),M._Decorators=g.CompositeList(w),M._Types=g.CompositeList(w),Ee._TypeArguments=g.CompositeList(w),Ee._Decorators=g.CompositeList(w),Ee._Types=g.CompositeList(w),De._TypeArguments=g.CompositeList(w),De._Decorators=g.CompositeList(w),Oe._TypeArguments=g.CompositeList(w),Oe._Decorators=g.CompositeList(w),ke._TypeArguments=g.CompositeList(w),ke._Decorators=g.CompositeList(w),Ae._TypeArguments=g.CompositeList(w),Ae._Decorators=g.CompositeList(w),Ae._Parameters=g.CompositeList(O),je._TypeArguments=g.CompositeList(w),je._Decorators=g.CompositeList(w),Me._TypeArguments=g.CompositeList(w),Me._Decorators=g.CompositeList(w),Ne._TypeArguments=g.CompositeList(w),Ne._Decorators=g.CompositeList(w),Pe._TypeArguments=g.CompositeList(w),Pe._Decorators=g.CompositeList(w),Pe._Types=g.CompositeList(Ne),Fe._TypeArguments=g.CompositeList(w),Fe._Decorators=g.CompositeList(w),Ie._TypeArguments=g.CompositeList(w),Ie._Decorators=g.CompositeList(w),Ve._TypeArguments=g.CompositeList(w),Ve._Decorators=g.CompositeList(w),P._TypeArguments=g.CompositeList(w),P._Decorators=g.CompositeList(w),P._Types=g.CompositeList(w),Ge._Types=g.CompositeList(We);function Ke(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=>(0,h.isSetObject)(e)&&!(0,h.isUndefined)(e.kind)).forEach((e,n)=>{Je(e,t.get(n)._initType())}),t}function qe(e){if(!e)throw Error(`Invalid serialized type provided for conversion.`);let t=[];return e.forEach(e=>{let n=Ye(e.type);t.push(n)}),t}function I(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 L(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 R(e,t){let n=e._initIndex();n.id=t?.index??0;let r=e._initContainer();return r.id=t?.container??0,e}function z(e){return e._hasIndexAccessOrigin()?{container:Number(e.indexAccessOrigin?.container.id),index:Number(e.indexAccessOrigin?.index.id)}:void 0}function Je(e,t){return e.kind===y.ReflectionKind.objectLiteral?At(e,t._initObjectLiteral()):e.kind===y.ReflectionKind.class?Ot(e,t._initClassType()):e.kind===y.ReflectionKind.parameter?Mt(e,t._initParameter()):e.kind===y.ReflectionKind.function?wt(e,t._initFunction()):e.kind===y.ReflectionKind.method?Tt(e,t._initMethod()):e.kind===y.ReflectionKind.infer?St(e,t._initInfer()):e.kind===y.ReflectionKind.union?bt(e,t._initUnion()):e.kind===y.ReflectionKind.array?vt(e,t._initArray()):e.kind===y.ReflectionKind.intersection?gt(e,t._initIntersection()):e.kind===y.ReflectionKind.enum?mt(e,t._initEnum()):e.kind===y.ReflectionKind.property?ft(e,t._initProperty()):e.kind===y.ReflectionKind.tuple?ut(e,t._initTuple()):e.kind===y.ReflectionKind.tupleMember?ct(e,t._initTupleMember()):e.kind===y.ReflectionKind.propertySignature?st(e,t._initPropertySignature()):e.kind===y.ReflectionKind.methodSignature?rt(e,t._initMethodSignature()):e.kind===y.ReflectionKind.literal?tt(e,t._initLiteral()):e.kind===y.ReflectionKind.never||e.kind===y.ReflectionKind.any||e.kind===y.ReflectionKind.unknown||e.kind===y.ReflectionKind.void||e.kind===y.ReflectionKind.object||e.kind===y.ReflectionKind.string||e.kind===y.ReflectionKind.number||e.kind===y.ReflectionKind.boolean||e.kind===y.ReflectionKind.symbol||e.kind===y.ReflectionKind.bigint||e.kind===y.ReflectionKind.null||e.kind===y.ReflectionKind.undefined||e.kind===y.ReflectionKind.regexp?$e(e,t._initSimple()):Qe(e,t._initOther()),t}function Ye(e){if(e._isObjectLiteral)return jt(e.objectLiteral);if(e._isClassType)return kt(e.classType);if(e._isParameter)return Nt(e.parameter);if(e._isFunction)return Et(e.function);if(e._isInfer)return Ct(e.infer);if(e._isMethod)return Dt(e.method);if(e._isUnion)return xt(e.union);if(e._isArray)return yt(e.array);if(e._isIntersection)return _t(e.intersection);if(e._isEnum)return ht(e.enum);if(e._isProperty)return pt(e.property);if(e._isTuple)return dt(e.tuple);if(e._isTupleMember)return lt(e.tupleMember);if(e._isPropertySignature)return it(e.propertySignature);if(e._isMethodSignature)return nt(e.methodSignature);if(e._isLiteral)return et(e.literal);if(e._isSimple)return Ze(e.simple);if(e._isOther)return Xe(e.other);throw Error(`Unsupported serialized type kind: ${e.toString()}`)}function Xe(e){return{kind:e.kind,typeName:e.typeName||void 0}}function Ze(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:z(e)};return e._hasOrigin()&&(t.origin=Number(e.origin.id)),t}function Qe(e,t){return t.kind=e.kind,t.typeName=e.typeName||``,t}function $e(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&&R(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function et(e){return{kind:y.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:z(e)}}function tt(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&&R(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function nt(e){return{kind:y.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=>Nt(e)):[],return:e.return.id,tags:L(e)}}function rt(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&&R(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&I(t._initTags(),e.tags),t}function it(e){return{kind:y.ReflectionKind.propertySignature,name:e.name,typeName:e.typeName||void 0,description:e.description,default:ot(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:z(e),tags:L(e)}}function at(e,t){e!==void 0&&e!==``&&(t._initValue(),typeof e==`string`?t.value.string=e:typeof e==`number`?(0,h.isInteger)(e)?t.value.integer=e:t.value.float=e:typeof e==`boolean`&&(t.value.boolean=e))}function ot(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 st(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();at(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&&R(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&I(t._initTags(),e.tags),t}function ct(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&&R(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function lt(e){return{kind:y.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:z(e)}}function ut(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initTypes(e.types.length);if(e.types.forEach((e,t)=>{ct(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&&R(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function dt(e){return{kind:y.ReflectionKind.tuple,typeName:e.typeName||void 0,types:e._hasTypes()?e.types.map(e=>lt(e)):[],decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:z(e)}}function ft(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===y.ReflectionVisibility.public?b.PUBLIC:e.visibility===y.ReflectionVisibility.protected?b.PROTECTED:b.PRIVATE,t.abstract=e.abstract??!1,t.name=String(e.name)||``,e.default!==void 0){let n=t._initDefault();at(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&&R(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&I(t._initTags(),e.tags),t}function pt(e){return{kind:y.ReflectionKind.property,typeName:e.typeName||void 0,description:e.description,default:ot(e.default),optional:e.optional?!0:void 0,readonly:e.readonly?!0:void 0,visibility:e.visibility===b.PUBLIC?y.ReflectionVisibility.public:e.visibility===b.PROTECTED?y.ReflectionVisibility.protected:y.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:z(e),tags:L(e)}}function mt(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&&R(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&&I(t._initTags(),e.tags),t}function ht(e){return{kind:y.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:z(e),tags:L(e)}}function gt(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&&R(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function _t(e){return{kind:y.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:z(e)}}function vt(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&&R(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&I(t._initTags(),e.tags),t}function yt(e){return{kind:y.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:z(e),tags:L(e)}}function bt(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&&R(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function xt(e){return{kind:y.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:z(e)}}function St(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&&R(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function Ct(e){return{kind:y.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:z(e)}}function wt(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)=>{Mt(e,n.get(t))})}let n=t._initReturn();return n.id=e.return,e.indexAccessOrigin&&R(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&I(t._initTags(),e.tags),t}function Tt(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===y.ReflectionVisibility.public?b.PUBLIC:e.visibility===y.ReflectionVisibility.protected?b.PROTECTED:b.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)=>{Mt(e,n.get(t))})}let n=t._initReturn();return n.id=e.return,e.indexAccessOrigin&&R(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&I(t._initTags(),e.tags),t}function Et(e){return{kind:y.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=>Nt(e)):[],return:e.return.id,indexAccessOrigin:z(e),tags:L(e)}}function Dt(e){return{kind:y.ReflectionKind.method,name:e.name,typeName:e.typeName||void 0,abstract:e.abstract?!0:void 0,return:e.return.id,visibility:e.visibility===b.PUBLIC?y.ReflectionVisibility.public:e.visibility===b.PROTECTED?y.ReflectionVisibility.protected:y.ReflectionVisibility.private,parameters:e._hasParameters()?e.parameters.map(e=>Nt(e)):[]}}function Ot(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&&R(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&I(t._initTags(),e.tags),t}function kt(e){return{kind:y.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:z(e),tags:L(e)}}function At(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&&R(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&I(t._initTags(),e.tags),t}function jt(e){return{kind:y.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:z(e),tags:L(e)}}function Mt(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===y.ReflectionVisibility.public?b.PUBLIC:e.visibility===y.ReflectionVisibility.protected?b.PROTECTED:b.PRIVATE,e.default!==void 0){let n=t._initDefault();at(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&&R(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&I(t._initTags(),e.tags),t}function Nt(e){return{kind:y.ReflectionKind.parameter,typeName:e.typeName||void 0,name:e.name,default:ot(e.default),optional:e.optional?!0:void 0,readonly:e.readonly?!0:void 0,visibility:e.visibility===b.PUBLIC?y.ReflectionVisibility.public:e.visibility===b.PROTECTED?y.ReflectionVisibility.protected:y.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:z(e),tags:L(e)}}var Pt=Object.defineProperty,B=(e,t)=>Pt(e,`name`,{value:t,configurable:!0}),V=class extends g.Struct{static{B(this,`TagsReflection`)}static _capnp={displayName:`TagsReflection`,id:`ab7e31d6b834bbf8`,size:new g.ObjectSize(8,4)};_adoptAlias(e){g.utils.adopt(e,g.utils.getPointer(0,this))}_disownAlias(){return g.utils.disown(this.alias)}get alias(){return g.utils.getList(0,g.TextList,this)}_hasAlias(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initAlias(e){return g.utils.initList(0,g.TextList,e,this)}set alias(e){g.utils.copyFrom(e,g.utils.getPointer(0,this))}get title(){return g.utils.getText(1,this)}set title(e){g.utils.setText(1,e,this)}get hidden(){return g.utils.getBit(0,this)}set hidden(e){g.utils.setBit(0,e,this)}get readonly(){return g.utils.getBit(1,this)}set readonly(e){g.utils.setBit(1,e,this)}get ignore(){return g.utils.getBit(2,this)}set ignore(e){g.utils.setBit(2,e,this)}get internal(){return g.utils.getBit(3,this)}set internal(e){g.utils.setBit(3,e,this)}_adoptPermission(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownPermission(){return g.utils.disown(this.permission)}get permission(){return g.utils.getList(2,g.TextList,this)}_hasPermission(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initPermission(e){return g.utils.initList(2,g.TextList,e,this)}set permission(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}get domain(){return g.utils.getText(3,this)}set domain(e){g.utils.setText(3,e,this)}toString(){return`TagsReflection_`+super.toString()}},H={UNDEFINED:0,BOOLEAN:1,INTEGER:2,FLOAT:3,STRING:4},Ft=class extends g.Struct{static{B(this,`DefaultValueReflection_Value`)}static UNDEFINED=H.UNDEFINED;static BOOLEAN=H.BOOLEAN;static INTEGER=H.INTEGER;static FLOAT=H.FLOAT;static STRING=H.STRING;static _capnp={displayName:`value`,id:`8748135e0497fe81`,size:new g.ObjectSize(16,1)};get _isUndefined(){return g.utils.getUint16(0,this)===0}set undefined(e){g.utils.setUint16(0,0,this)}get boolean(){return g.utils.testWhich(`boolean`,g.utils.getUint16(0,this),1,this),g.utils.getBit(16,this)}get _isBoolean(){return g.utils.getUint16(0,this)===1}set boolean(e){g.utils.setUint16(0,1,this),g.utils.setBit(16,e,this)}get integer(){return g.utils.testWhich(`integer`,g.utils.getUint16(0,this),2,this),g.utils.getInt32(4,this)}get _isInteger(){return g.utils.getUint16(0,this)===2}set integer(e){g.utils.setUint16(0,2,this),g.utils.setInt32(4,e,this)}get float(){return g.utils.testWhich(`float`,g.utils.getUint16(0,this),3,this),g.utils.getFloat64(8,this)}get _isFloat(){return g.utils.getUint16(0,this)===3}set float(e){g.utils.setUint16(0,3,this),g.utils.setFloat64(8,e,this)}get string(){return g.utils.testWhich(`string`,g.utils.getUint16(0,this),4,this),g.utils.getText(0,this)}get _isString(){return g.utils.getUint16(0,this)===4}set string(e){g.utils.setUint16(0,4,this),g.utils.setText(0,e,this)}toString(){return`DefaultValueReflection_Value_`+super.toString()}which(){return g.utils.getUint16(0,this)}},U=class extends g.Struct{static{B(this,`DefaultValueReflection`)}static _capnp={displayName:`DefaultValueReflection`,id:`96fe6f07954197c9`,size:new g.ObjectSize(16,1)};get value(){return g.utils.getAs(Ft,this)}_initValue(){return g.utils.getAs(Ft,this)}toString(){return`DefaultValueReflection_`+super.toString()}},W=class extends g.Struct{static{B(this,`SerializedTypeReference`)}static _capnp={displayName:`SerializedTypeReference`,id:`a83d8a28b5e80f3a`,size:new g.ObjectSize(8,0)};get id(){return g.utils.getUint32(0,this)}set id(e){g.utils.setUint32(0,e,this)}toString(){return`SerializedTypeReference_`+super.toString()}},G=class extends g.Struct{static{B(this,`IndexAccessOrigin`)}static _capnp={displayName:`IndexAccessOrigin`,id:`ca50b18186c87afe`,size:new g.ObjectSize(0,2)};_adoptContainer(e){g.utils.adopt(e,g.utils.getPointer(0,this))}_disownContainer(){return g.utils.disown(this.container)}get container(){return g.utils.getStruct(0,W,this)}_hasContainer(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initContainer(){return g.utils.initStructAt(0,W,this)}set container(e){g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptIndex(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownIndex(){return g.utils.disown(this.index)}get index(){return g.utils.getStruct(1,W,this)}_hasIndex(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initIndex(){return g.utils.initStructAt(1,W,this)}set index(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}toString(){return`IndexAccessOrigin_`+super.toString()}},It=class extends g.Struct{static{B(this,`EntityOptions_EntityIndexOptions`)}static _capnp={displayName:`EntityIndexOptions`,id:`de584ad10b7c5004`,size:new g.ObjectSize(0,2)};_adoptNames(e){g.utils.adopt(e,g.utils.getPointer(0,this))}_disownNames(){return g.utils.disown(this.names)}get names(){return g.utils.getList(0,g.TextList,this)}_hasNames(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initNames(e){return g.utils.initList(0,g.TextList,e,this)}set names(e){g.utils.copyFrom(e,g.utils.getPointer(0,this))}get options(){return g.utils.getText(1,this)}set options(e){g.utils.setText(1,e,this)}toString(){return`EntityOptions_EntityIndexOptions_`+super.toString()}},Lt=class e extends g.Struct{static{B(this,`EntityOptions`)}static EntityIndexOptions=It;static _capnp={displayName:`EntityOptions`,id:`948d2d02cf676d60`,size:new g.ObjectSize(8,5)};static _Indexes;get name(){return g.utils.getText(0,this)}set name(e){g.utils.setText(0,e,this)}get description(){return g.utils.getText(1,this)}set description(e){g.utils.setText(1,e,this)}get collection(){return g.utils.getText(2,this)}set collection(e){g.utils.setText(2,e,this)}get database(){return g.utils.getText(3,this)}set database(e){g.utils.setText(3,e,this)}get singleTableInheritance(){return g.utils.getBit(0,this)}set singleTableInheritance(e){g.utils.setBit(0,e,this)}_adoptIndexes(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownIndexes(){return g.utils.disown(this.indexes)}get indexes(){return g.utils.getList(4,e._Indexes,this)}_hasIndexes(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initIndexes(t){return g.utils.initList(4,e._Indexes,t,this)}set indexes(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}toString(){return`EntityOptions_`+super.toString()}},Rt=class e extends g.Struct{static{B(this,`SerializedTypeObjectLiteral`)}static _capnp={displayName:`SerializedTypeObjectLiteral`,id:`8b56235ad9bcb2b1`,size:new g.ObjectSize(8,6)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptTypes(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownTypes(){return g.utils.disown(this.types)}get types(){return g.utils.getList(4,e._Types,this)}_hasTypes(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initTypes(t){return g.utils.initList(4,e._Types,t,this)}set types(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(5,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(5,V,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(5,this))}_initTags(){return g.utils.initStructAt(5,V,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(5,this))}toString(){return`SerializedTypeObjectLiteral_`+super.toString()}},K=class e extends g.Struct{static{B(this,`SerializedTypeClassType`)}static _capnp={displayName:`SerializedTypeClassType`,id:`9855392bf9c48b25`,size:new g.ObjectSize(8,11)};static _TypeArguments;static _Decorators;static _ExtendsArguments;static _Arguments;static _Types;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}get name(){return g.utils.getText(4,this)}set name(e){g.utils.setText(4,e,this)}get globalObject(){return g.utils.getBit(16,this)}set globalObject(e){g.utils.setBit(16,e,this)}get classType(){return g.utils.getText(5,this)}set classType(e){g.utils.setText(5,e,this)}_adoptExtendsArguments(e){g.utils.adopt(e,g.utils.getPointer(6,this))}_disownExtendsArguments(){return g.utils.disown(this.extendsArguments)}get extendsArguments(){return g.utils.getList(6,e._ExtendsArguments,this)}_hasExtendsArguments(){return!g.utils.isNull(g.utils.getPointer(6,this))}_initExtendsArguments(t){return g.utils.initList(6,e._ExtendsArguments,t,this)}set extendsArguments(e){g.utils.copyFrom(e,g.utils.getPointer(6,this))}_adoptArguments(e){g.utils.adopt(e,g.utils.getPointer(7,this))}_disownArguments(){return g.utils.disown(this.arguments)}get arguments(){return g.utils.getList(7,e._Arguments,this)}_hasArguments(){return!g.utils.isNull(g.utils.getPointer(7,this))}_initArguments(t){return g.utils.initList(7,e._Arguments,t,this)}set arguments(e){g.utils.copyFrom(e,g.utils.getPointer(7,this))}_adoptSuperClass(e){g.utils.adopt(e,g.utils.getPointer(8,this))}_disownSuperClass(){return g.utils.disown(this.superClass)}get superClass(){return g.utils.getStruct(8,W,this)}_hasSuperClass(){return!g.utils.isNull(g.utils.getPointer(8,this))}_initSuperClass(){return g.utils.initStructAt(8,W,this)}set superClass(e){g.utils.copyFrom(e,g.utils.getPointer(8,this))}_adoptTypes(e){g.utils.adopt(e,g.utils.getPointer(9,this))}_disownTypes(){return g.utils.disown(this.types)}get types(){return g.utils.getList(9,e._Types,this)}_hasTypes(){return!g.utils.isNull(g.utils.getPointer(9,this))}_initTypes(t){return g.utils.initList(9,e._Types,t,this)}set types(e){g.utils.copyFrom(e,g.utils.getPointer(9,this))}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(10,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(10,V,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(10,this))}_initTags(){return g.utils.initStructAt(10,V,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(10,this))}toString(){return`SerializedTypeClassType_`+super.toString()}},q=class e extends g.Struct{static{B(this,`SerializedTypeParameter`)}static _capnp={displayName:`SerializedTypeParameter`,id:`fcbaa08bb97b8b1a`,size:new g.ObjectSize(8,8)};static _TypeArguments;static _Decorators;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}get name(){return g.utils.getText(4,this)}set name(e){g.utils.setText(4,e,this)}_adoptType(e){g.utils.adopt(e,g.utils.getPointer(5,this))}_disownType(){return g.utils.disown(this.type)}get type(){return g.utils.getStruct(5,W,this)}_hasType(){return!g.utils.isNull(g.utils.getPointer(5,this))}_initType(){return g.utils.initStructAt(5,W,this)}set type(e){g.utils.copyFrom(e,g.utils.getPointer(5,this))}get visibility(){return g.utils.getUint16(2,this)}set visibility(e){g.utils.setUint16(2,e,this)}get readonly(){return g.utils.getBit(32,this)}set readonly(e){g.utils.setBit(32,e,this)}get optional(){return g.utils.getBit(33,this)}set optional(e){g.utils.setBit(33,e,this)}_adoptDefault(e){g.utils.adopt(e,g.utils.getPointer(6,this))}_disownDefault(){return g.utils.disown(this.default)}get default(){return g.utils.getStruct(6,U,this)}_hasDefault(){return!g.utils.isNull(g.utils.getPointer(6,this))}_initDefault(){return g.utils.initStructAt(6,U,this)}set default(e){g.utils.copyFrom(e,g.utils.getPointer(6,this))}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(7,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(7,V,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(7,this))}_initTags(){return g.utils.initStructAt(7,V,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(7,this))}toString(){return`SerializedTypeParameter_`+super.toString()}},zt=class e extends g.Struct{static{B(this,`SerializedTypeMethod`)}static _capnp={displayName:`SerializedTypeMethod`,id:`8b5eff6d9ec2fb06`,size:new g.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _Parameters;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get visibility(){return g.utils.getUint16(0,this)}set visibility(e){g.utils.setUint16(0,e,this)}get abstract(){return g.utils.getBit(16,this)}set abstract(e){g.utils.setBit(16,e,this)}get optional(){return g.utils.getBit(17,this)}set optional(e){g.utils.setBit(17,e,this)}get readonly(){return g.utils.getBit(18,this)}set readonly(e){g.utils.setBit(18,e,this)}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(4,V,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initTags(){return g.utils.initStructAt(4,V,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}get kind(){return g.utils.getUint16(4,this)}set kind(e){g.utils.setUint16(4,e,this)}get name(){return g.utils.getText(5,this)}set name(e){g.utils.setText(5,e,this)}_adoptParameters(e){g.utils.adopt(e,g.utils.getPointer(6,this))}_disownParameters(){return g.utils.disown(this.parameters)}get parameters(){return g.utils.getList(6,e._Parameters,this)}_hasParameters(){return!g.utils.isNull(g.utils.getPointer(6,this))}_initParameters(t){return g.utils.initList(6,e._Parameters,t,this)}set parameters(e){g.utils.copyFrom(e,g.utils.getPointer(6,this))}_adoptReturn(e){g.utils.adopt(e,g.utils.getPointer(7,this))}_disownReturn(){return g.utils.disown(this.return)}get return(){return g.utils.getStruct(7,W,this)}_hasReturn(){return!g.utils.isNull(g.utils.getPointer(7,this))}_initReturn(){return g.utils.initStructAt(7,W,this)}set return(e){g.utils.copyFrom(e,g.utils.getPointer(7,this))}toString(){return`SerializedTypeMethod_`+super.toString()}},Bt=class e extends g.Struct{static{B(this,`SerializedTypeProperty`)}static _capnp={displayName:`SerializedTypeProperty`,id:`91d9dbea2037f78b`,size:new g.ObjectSize(8,9)};static _TypeArguments;static _Decorators;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get visibility(){return g.utils.getUint16(0,this)}set visibility(e){g.utils.setUint16(0,e,this)}get abstract(){return g.utils.getBit(16,this)}set abstract(e){g.utils.setBit(16,e,this)}get optional(){return g.utils.getBit(17,this)}set optional(e){g.utils.setBit(17,e,this)}get readonly(){return g.utils.getBit(18,this)}set readonly(e){g.utils.setBit(18,e,this)}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(4,V,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initTags(){return g.utils.initStructAt(4,V,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}get kind(){return g.utils.getUint16(4,this)}set kind(e){g.utils.setUint16(4,e,this)}get name(){return g.utils.getText(5,this)}set name(e){g.utils.setText(5,e,this)}get description(){return g.utils.getText(6,this)}set description(e){g.utils.setText(6,e,this)}_adoptType(e){g.utils.adopt(e,g.utils.getPointer(7,this))}_disownType(){return g.utils.disown(this.type)}get type(){return g.utils.getStruct(7,W,this)}_hasType(){return!g.utils.isNull(g.utils.getPointer(7,this))}_initType(){return g.utils.initStructAt(7,W,this)}set type(e){g.utils.copyFrom(e,g.utils.getPointer(7,this))}_adoptDefault(e){g.utils.adopt(e,g.utils.getPointer(8,this))}_disownDefault(){return g.utils.disown(this.default)}get default(){return g.utils.getStruct(8,U,this)}_hasDefault(){return!g.utils.isNull(g.utils.getPointer(8,this))}_initDefault(){return g.utils.initStructAt(8,U,this)}set default(e){g.utils.copyFrom(e,g.utils.getPointer(8,this))}toString(){return`SerializedTypeProperty_`+super.toString()}},Vt=class e extends g.Struct{static{B(this,`SerializedTypeFunction`)}static _capnp={displayName:`SerializedTypeFunction`,id:`9130bccd82dfcfd4`,size:new g.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _Parameters;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get visibility(){return g.utils.getUint16(0,this)}set visibility(e){g.utils.setUint16(0,e,this)}get abstract(){return g.utils.getBit(16,this)}set abstract(e){g.utils.setBit(16,e,this)}get optional(){return g.utils.getBit(17,this)}set optional(e){g.utils.setBit(17,e,this)}get readonly(){return g.utils.getBit(18,this)}set readonly(e){g.utils.setBit(18,e,this)}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(4,V,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initTags(){return g.utils.initStructAt(4,V,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}get kind(){return g.utils.getUint16(4,this)}set kind(e){g.utils.setUint16(4,e,this)}get name(){return g.utils.getText(5,this)}set name(e){g.utils.setText(5,e,this)}_adoptParameters(e){g.utils.adopt(e,g.utils.getPointer(6,this))}_disownParameters(){return g.utils.disown(this.parameters)}get parameters(){return g.utils.getList(6,e._Parameters,this)}_hasParameters(){return!g.utils.isNull(g.utils.getPointer(6,this))}_initParameters(t){return g.utils.initList(6,e._Parameters,t,this)}set parameters(e){g.utils.copyFrom(e,g.utils.getPointer(6,this))}_adoptReturn(e){g.utils.adopt(e,g.utils.getPointer(7,this))}_disownReturn(){return g.utils.disown(this.return)}get return(){return g.utils.getStruct(7,W,this)}_hasReturn(){return!g.utils.isNull(g.utils.getPointer(7,this))}_initReturn(){return g.utils.initStructAt(7,W,this)}set return(e){g.utils.copyFrom(e,g.utils.getPointer(7,this))}toString(){return`SerializedTypeFunction_`+super.toString()}},Ht=class e extends g.Struct{static{B(this,`SerializedTypePromise`)}static _capnp={displayName:`SerializedTypePromise`,id:`e9b0cbe936a42398`,size:new g.ObjectSize(8,4)};static _TypeArguments;static _Decorators;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get visibility(){return g.utils.getUint16(0,this)}set visibility(e){g.utils.setUint16(0,e,this)}get abstract(){return g.utils.getBit(16,this)}set abstract(e){g.utils.setBit(16,e,this)}toString(){return`SerializedTypePromise_`+super.toString()}},Ut=class extends g.Struct{static{B(this,`SerializedTypeEnumEntry`)}static _capnp={displayName:`SerializedTypeEnumEntry`,id:`d5bcb8b7c49ba556`,size:new g.ObjectSize(0,2)};get name(){return g.utils.getText(0,this)}set name(e){g.utils.setText(0,e,this)}get value(){return g.utils.getText(1,this)}set value(e){g.utils.setText(1,e,this)}toString(){return`SerializedTypeEnumEntry_`+super.toString()}},Wt=class e extends g.Struct{static{B(this,`SerializedTypeEnum`)}static _capnp={displayName:`SerializedTypeEnum`,id:`d7d36f0ae79e3841`,size:new g.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _EnumEntries;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptEnumEntries(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownEnumEntries(){return g.utils.disown(this.enumEntries)}get enumEntries(){return g.utils.getList(4,e._EnumEntries,this)}_hasEnumEntries(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initEnumEntries(t){return g.utils.initList(4,e._EnumEntries,t,this)}set enumEntries(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}_adoptValues(e){g.utils.adopt(e,g.utils.getPointer(5,this))}_disownValues(){return g.utils.disown(this.values)}get values(){return g.utils.getList(5,g.TextList,this)}_hasValues(){return!g.utils.isNull(g.utils.getPointer(5,this))}_initValues(e){return g.utils.initList(5,g.TextList,e,this)}set values(e){g.utils.copyFrom(e,g.utils.getPointer(5,this))}_adoptIndexType(e){g.utils.adopt(e,g.utils.getPointer(6,this))}_disownIndexType(){return g.utils.disown(this.indexType)}get indexType(){return g.utils.getStruct(6,W,this)}_hasIndexType(){return!g.utils.isNull(g.utils.getPointer(6,this))}_initIndexType(){return g.utils.initStructAt(6,W,this)}set indexType(e){g.utils.copyFrom(e,g.utils.getPointer(6,this))}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(7,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(7,V,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(7,this))}_initTags(){return g.utils.initStructAt(7,V,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(7,this))}toString(){return`SerializedTypeEnum_`+super.toString()}},Gt=class e extends g.Struct{static{B(this,`SerializedTypeUnion`)}static _capnp={displayName:`SerializedTypeUnion`,id:`a9ae4c95e41ff4ab`,size:new g.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptTypes(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownTypes(){return g.utils.disown(this.types)}get types(){return g.utils.getList(4,e._Types,this)}_hasTypes(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initTypes(t){return g.utils.initList(4,e._Types,t,this)}set types(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}toString(){return`SerializedTypeUnion_`+super.toString()}},Kt=class e extends g.Struct{static{B(this,`SerializedTypeIntersection`)}static _capnp={displayName:`SerializedTypeIntersection`,id:`9ae42bd17511c09b`,size:new g.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptTypes(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownTypes(){return g.utils.disown(this.types)}get types(){return g.utils.getList(4,e._Types,this)}_hasTypes(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initTypes(t){return g.utils.initList(4,e._Types,t,this)}set types(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}toString(){return`SerializedTypeIntersection_`+super.toString()}},qt=class e extends g.Struct{static{B(this,`SerializedTypeArray`)}static _capnp={displayName:`SerializedTypeArray`,id:`97d1d75240151501`,size:new g.ObjectSize(8,6)};static _TypeArguments;static _Decorators;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptType(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownType(){return g.utils.disown(this.type)}get type(){return g.utils.getStruct(4,W,this)}_hasType(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initType(){return g.utils.initStructAt(4,W,this)}set type(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(5,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(5,V,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(5,this))}_initTags(){return g.utils.initStructAt(5,V,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(5,this))}toString(){return`SerializedTypeArray_`+super.toString()}},Jt=class e extends g.Struct{static{B(this,`SerializedTypeIndexSignature`)}static _capnp={displayName:`SerializedTypeIndexSignature`,id:`93e335e2756821d8`,size:new g.ObjectSize(8,6)};static _TypeArguments;static _Decorators;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptIndex(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownIndex(){return g.utils.disown(this.index)}get index(){return g.utils.getStruct(4,W,this)}_hasIndex(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initIndex(){return g.utils.initStructAt(4,W,this)}set index(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}_adoptType(e){g.utils.adopt(e,g.utils.getPointer(5,this))}_disownType(){return g.utils.disown(this.type)}get type(){return g.utils.getStruct(5,W,this)}_hasType(){return!g.utils.isNull(g.utils.getPointer(5,this))}_initType(){return g.utils.initStructAt(5,W,this)}set type(e){g.utils.copyFrom(e,g.utils.getPointer(5,this))}toString(){return`SerializedTypeIndexSignature_`+super.toString()}},Yt=class e extends g.Struct{static{B(this,`SerializedTypePropertySignature`)}static _capnp={displayName:`SerializedTypePropertySignature`,id:`9bc1cebd2ca1569a`,size:new g.ObjectSize(8,9)};static _TypeArguments;static _Decorators;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}get name(){return g.utils.getText(4,this)}set name(e){g.utils.setText(4,e,this)}get optional(){return g.utils.getBit(16,this)}set optional(e){g.utils.setBit(16,e,this)}get readonly(){return g.utils.getBit(17,this)}set readonly(e){g.utils.setBit(17,e,this)}get description(){return g.utils.getText(5,this)}set description(e){g.utils.setText(5,e,this)}_adoptDefault(e){g.utils.adopt(e,g.utils.getPointer(6,this))}_disownDefault(){return g.utils.disown(this.default)}get default(){return g.utils.getStruct(6,U,this)}_hasDefault(){return!g.utils.isNull(g.utils.getPointer(6,this))}_initDefault(){return g.utils.initStructAt(6,U,this)}set default(e){g.utils.copyFrom(e,g.utils.getPointer(6,this))}_adoptType(e){g.utils.adopt(e,g.utils.getPointer(7,this))}_disownType(){return g.utils.disown(this.type)}get type(){return g.utils.getStruct(7,W,this)}_hasType(){return!g.utils.isNull(g.utils.getPointer(7,this))}_initType(){return g.utils.initStructAt(7,W,this)}set type(e){g.utils.copyFrom(e,g.utils.getPointer(7,this))}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(8,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(8,V,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(8,this))}_initTags(){return g.utils.initStructAt(8,V,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(8,this))}toString(){return`SerializedTypePropertySignature_`+super.toString()}},Xt=class e extends g.Struct{static{B(this,`SerializedTypeMethodSignature`)}static _capnp={displayName:`SerializedTypeMethodSignature`,id:`e25a2cc39d5930c8`,size:new g.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _Parameters;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}get name(){return g.utils.getText(4,this)}set name(e){g.utils.setText(4,e,this)}get optional(){return g.utils.getBit(16,this)}set optional(e){g.utils.setBit(16,e,this)}_adoptParameters(e){g.utils.adopt(e,g.utils.getPointer(5,this))}_disownParameters(){return g.utils.disown(this.parameters)}get parameters(){return g.utils.getList(5,e._Parameters,this)}_hasParameters(){return!g.utils.isNull(g.utils.getPointer(5,this))}_initParameters(t){return g.utils.initList(5,e._Parameters,t,this)}set parameters(e){g.utils.copyFrom(e,g.utils.getPointer(5,this))}_adoptReturn(e){g.utils.adopt(e,g.utils.getPointer(6,this))}_disownReturn(){return g.utils.disown(this.return)}get return(){return g.utils.getStruct(6,W,this)}_hasReturn(){return!g.utils.isNull(g.utils.getPointer(6,this))}_initReturn(){return g.utils.initStructAt(6,W,this)}set return(e){g.utils.copyFrom(e,g.utils.getPointer(6,this))}_adoptTags(e){g.utils.adopt(e,g.utils.getPointer(7,this))}_disownTags(){return g.utils.disown(this.tags)}get tags(){return g.utils.getStruct(7,V,this)}_hasTags(){return!g.utils.isNull(g.utils.getPointer(7,this))}_initTags(){return g.utils.initStructAt(7,V,this)}set tags(e){g.utils.copyFrom(e,g.utils.getPointer(7,this))}toString(){return`SerializedTypeMethodSignature_`+super.toString()}},Zt=class e extends g.Struct{static{B(this,`SerializedTypeTypeParameter`)}static _capnp={displayName:`SerializedTypeTypeParameter`,id:`81210361a54d5d71`,size:new g.ObjectSize(8,5)};static _TypeArguments;static _Decorators;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}get name(){return g.utils.getText(4,this)}set name(e){g.utils.setText(4,e,this)}toString(){return`SerializedTypeTypeParameter_`+super.toString()}},Qt=class e extends g.Struct{static{B(this,`SerializedTypeInfer`)}static _capnp={displayName:`SerializedTypeInfer`,id:`91c6dd1e13f2b14d`,size:new g.ObjectSize(8,4)};static _TypeArguments;static _Decorators;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}toString(){return`SerializedTypeInfer_`+super.toString()}},$t=class e extends g.Struct{static{B(this,`SerializedTypeTupleMember`)}static _capnp={displayName:`SerializedTypeTupleMember`,id:`e21c2a18d0d56fdf`,size:new g.ObjectSize(8,6)};static _TypeArguments;static _Decorators;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptType(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownType(){return g.utils.disown(this.type)}get type(){return g.utils.getStruct(4,W,this)}_hasType(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initType(){return g.utils.initStructAt(4,W,this)}set type(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}get optional(){return g.utils.getBit(16,this)}set optional(e){g.utils.setBit(16,e,this)}get name(){return g.utils.getText(5,this)}set name(e){g.utils.setText(5,e,this)}toString(){return`SerializedTypeTupleMember_`+super.toString()}},en=class e extends g.Struct{static{B(this,`SerializedTypeTuple`)}static _capnp={displayName:`SerializedTypeTuple`,id:`eb7501eb1ee4fb6d`,size:new g.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptTypes(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownTypes(){return g.utils.disown(this.types)}get types(){return g.utils.getList(4,e._Types,this)}_hasTypes(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initTypes(t){return g.utils.initList(4,e._Types,t,this)}set types(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}toString(){return`SerializedTypeTuple_`+super.toString()}},tn=class e extends g.Struct{static{B(this,`SerializedTypeRest`)}static _capnp={displayName:`SerializedTypeRest`,id:`f9e684a435cce5d1`,size:new g.ObjectSize(8,5)};static _TypeArguments;static _Decorators;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptType(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownType(){return g.utils.disown(this.type)}get type(){return g.utils.getStruct(4,W,this)}_hasType(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initType(){return g.utils.initStructAt(4,W,this)}set type(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}toString(){return`SerializedTypeRest_`+super.toString()}},nn=class e extends g.Struct{static{B(this,`SimpleSerializedType`)}static _capnp={displayName:`SimpleSerializedType`,id:`80f983e4b811c3ca`,size:new g.ObjectSize(8,5)};static _TypeArguments;static _Decorators;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptOrigin(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownOrigin(){return g.utils.disown(this.origin)}get origin(){return g.utils.getStruct(4,W,this)}_hasOrigin(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initOrigin(){return g.utils.initStructAt(4,W,this)}set origin(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}toString(){return`SimpleSerializedType_`+super.toString()}},rn=class extends g.Struct{static{B(this,`SerializedTypeLiteralSymbol`)}static _capnp={displayName:`SerializedTypeLiteralSymbol`,id:`f3dd6a3c6054bd55`,size:new g.ObjectSize(0,2)};get type(){return g.utils.getText(0,this)}set type(e){g.utils.setText(0,e,this)}get name(){return g.utils.getText(1,this)}set name(e){g.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralSymbol_`+super.toString()}},an=class extends g.Struct{static{B(this,`SerializedTypeLiteralBigInt`)}static _capnp={displayName:`SerializedTypeLiteralBigInt`,id:`821a872d8be30bb2`,size:new g.ObjectSize(0,2)};get type(){return g.utils.getText(0,this)}set type(e){g.utils.setText(0,e,this)}get value(){return g.utils.getText(1,this)}set value(e){g.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralBigInt_`+super.toString()}},on=class extends g.Struct{static{B(this,`SerializedTypeLiteralRegex`)}static _capnp={displayName:`SerializedTypeLiteralRegex`,id:`cc89f97b47927d99`,size:new g.ObjectSize(0,2)};get type(){return g.utils.getText(0,this)}set type(e){g.utils.setText(0,e,this)}get regex(){return g.utils.getText(1,this)}set regex(e){g.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralRegex_`+super.toString()}},J={SYMBOL:0,STRING:1,NUMBER:2,BOOLEAN:3,BIGINT:4,REGEX:5},sn=class extends g.Struct{static{B(this,`SerializedTypeLiteral_Literal`)}static SYMBOL=J.SYMBOL;static STRING=J.STRING;static NUMBER=J.NUMBER;static BOOLEAN=J.BOOLEAN;static BIGINT=J.BIGINT;static REGEX=J.REGEX;static _capnp={displayName:`literal`,id:`e4f0538973f3909f`,size:new g.ObjectSize(16,5)};_adoptSymbol(e){g.utils.setUint16(2,0,this),g.utils.adopt(e,g.utils.getPointer(4,this))}_disownSymbol(){return g.utils.disown(this.symbol)}get symbol(){return g.utils.testWhich(`symbol`,g.utils.getUint16(2,this),0,this),g.utils.getStruct(4,rn,this)}_hasSymbol(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initSymbol(){return g.utils.setUint16(2,0,this),g.utils.initStructAt(4,rn,this)}get _isSymbol(){return g.utils.getUint16(2,this)===0}set symbol(e){g.utils.setUint16(2,0,this),g.utils.copyFrom(e,g.utils.getPointer(4,this))}get string(){return g.utils.testWhich(`string`,g.utils.getUint16(2,this),1,this),g.utils.getText(4,this)}get _isString(){return g.utils.getUint16(2,this)===1}set string(e){g.utils.setUint16(2,1,this),g.utils.setText(4,e,this)}get number(){return g.utils.testWhich(`number`,g.utils.getUint16(2,this),2,this),g.utils.getFloat64(8,this)}get _isNumber(){return g.utils.getUint16(2,this)===2}set number(e){g.utils.setUint16(2,2,this),g.utils.setFloat64(8,e,this)}get boolean(){return g.utils.testWhich(`boolean`,g.utils.getUint16(2,this),3,this),g.utils.getBit(64,this)}get _isBoolean(){return g.utils.getUint16(2,this)===3}set boolean(e){g.utils.setUint16(2,3,this),g.utils.setBit(64,e,this)}_adoptBigint(e){g.utils.setUint16(2,4,this),g.utils.adopt(e,g.utils.getPointer(4,this))}_disownBigint(){return g.utils.disown(this.bigint)}get bigint(){return g.utils.testWhich(`bigint`,g.utils.getUint16(2,this),4,this),g.utils.getStruct(4,an,this)}_hasBigint(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initBigint(){return g.utils.setUint16(2,4,this),g.utils.initStructAt(4,an,this)}get _isBigint(){return g.utils.getUint16(2,this)===4}set bigint(e){g.utils.setUint16(2,4,this),g.utils.copyFrom(e,g.utils.getPointer(4,this))}_adoptRegex(e){g.utils.setUint16(2,5,this),g.utils.adopt(e,g.utils.getPointer(4,this))}_disownRegex(){return g.utils.disown(this.regex)}get regex(){return g.utils.testWhich(`regex`,g.utils.getUint16(2,this),5,this),g.utils.getStruct(4,on,this)}_hasRegex(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initRegex(){return g.utils.setUint16(2,5,this),g.utils.initStructAt(4,on,this)}get _isRegex(){return g.utils.getUint16(2,this)===5}set regex(e){g.utils.setUint16(2,5,this),g.utils.copyFrom(e,g.utils.getPointer(4,this))}toString(){return`SerializedTypeLiteral_Literal_`+super.toString()}which(){return g.utils.getUint16(2,this)}},cn=class e extends g.Struct{static{B(this,`SerializedTypeLiteral`)}static _capnp={displayName:`SerializedTypeLiteral`,id:`b876ba24d27d88c8`,size:new g.ObjectSize(16,5)};static _TypeArguments;static _Decorators;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}get literal(){return g.utils.getAs(sn,this)}_initLiteral(){return g.utils.getAs(sn,this)}toString(){return`SerializedTypeLiteral_`+super.toString()}},ln=class e extends g.Struct{static{B(this,`SerializedTypeTemplateLiteral`)}static _capnp={displayName:`SerializedTypeTemplateLiteral`,id:`8dd6c284d46cc265`,size:new g.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}_adoptTypeArguments(e){g.utils.adopt(e,g.utils.getPointer(1,this))}_disownTypeArguments(){return g.utils.disown(this.typeArguments)}get typeArguments(){return g.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!g.utils.isNull(g.utils.getPointer(1,this))}_initTypeArguments(t){return g.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){g.utils.copyFrom(e,g.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){g.utils.adopt(e,g.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return g.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return g.utils.getStruct(2,G,this)}_hasIndexAccessOrigin(){return!g.utils.isNull(g.utils.getPointer(2,this))}_initIndexAccessOrigin(){return g.utils.initStructAt(2,G,this)}set indexAccessOrigin(e){g.utils.copyFrom(e,g.utils.getPointer(2,this))}_adoptDecorators(e){g.utils.adopt(e,g.utils.getPointer(3,this))}_disownDecorators(){return g.utils.disown(this.decorators)}get decorators(){return g.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!g.utils.isNull(g.utils.getPointer(3,this))}_initDecorators(t){return g.utils.initList(3,e._Decorators,t,this)}set decorators(e){g.utils.copyFrom(e,g.utils.getPointer(3,this))}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}_adoptTypes(e){g.utils.adopt(e,g.utils.getPointer(4,this))}_disownTypes(){return g.utils.disown(this.types)}get types(){return g.utils.getList(4,e._Types,this)}_hasTypes(){return!g.utils.isNull(g.utils.getPointer(4,this))}_initTypes(t){return g.utils.initList(4,e._Types,t,this)}set types(e){g.utils.copyFrom(e,g.utils.getPointer(4,this))}toString(){return`SerializedTypeTemplateLiteral_`+super.toString()}},un=class extends g.Struct{static{B(this,`SerializedTypeOther`)}static _capnp={displayName:`SerializedTypeOther`,id:`9e1048a692ff49ce`,size:new g.ObjectSize(8,1)};get typeName(){return g.utils.getText(0,this)}set typeName(e){g.utils.setText(0,e,this)}get kind(){return g.utils.getUint16(0,this)}set kind(e){g.utils.setUint16(0,e,this)}toString(){return`SerializedTypeOther_`+super.toString()}},Y={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},dn=class extends g.Struct{static{B(this,`SerializedType_Type`)}static SIMPLE=Y.SIMPLE;static LITERAL=Y.LITERAL;static TEMPLATE_LITERAL=Y.TEMPLATE_LITERAL;static PARAMETER=Y.PARAMETER;static FUNCTION=Y.FUNCTION;static METHOD=Y.METHOD;static PROPERTY=Y.PROPERTY;static PROMISE=Y.PROMISE;static CLASS_TYPE=Y.CLASS_TYPE;static ENUM=Y.ENUM;static UNION=Y.UNION;static INTERSECTION=Y.INTERSECTION;static ARRAY=Y.ARRAY;static OBJECT_LITERAL=Y.OBJECT_LITERAL;static INDEX_SIGNATURE=Y.INDEX_SIGNATURE;static PROPERTY_SIGNATURE=Y.PROPERTY_SIGNATURE;static METHOD_SIGNATURE=Y.METHOD_SIGNATURE;static TYPE_PARAMETER=Y.TYPE_PARAMETER;static INFER=Y.INFER;static TUPLE=Y.TUPLE;static TUPLE_MEMBER=Y.TUPLE_MEMBER;static REST=Y.REST;static OTHER=Y.OTHER;static _capnp={displayName:`type`,id:`c677d7ed4a496eab`,size:new g.ObjectSize(8,1)};_adoptSimple(e){g.utils.setUint16(0,0,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownSimple(){return g.utils.disown(this.simple)}get simple(){return g.utils.testWhich(`simple`,g.utils.getUint16(0,this),0,this),g.utils.getStruct(0,nn,this)}_hasSimple(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initSimple(){return g.utils.setUint16(0,0,this),g.utils.initStructAt(0,nn,this)}get _isSimple(){return g.utils.getUint16(0,this)===0}set simple(e){g.utils.setUint16(0,0,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptLiteral(e){g.utils.setUint16(0,1,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownLiteral(){return g.utils.disown(this.literal)}get literal(){return g.utils.testWhich(`literal`,g.utils.getUint16(0,this),1,this),g.utils.getStruct(0,cn,this)}_hasLiteral(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initLiteral(){return g.utils.setUint16(0,1,this),g.utils.initStructAt(0,cn,this)}get _isLiteral(){return g.utils.getUint16(0,this)===1}set literal(e){g.utils.setUint16(0,1,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptTemplateLiteral(e){g.utils.setUint16(0,2,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownTemplateLiteral(){return g.utils.disown(this.templateLiteral)}get templateLiteral(){return g.utils.testWhich(`templateLiteral`,g.utils.getUint16(0,this),2,this),g.utils.getStruct(0,ln,this)}_hasTemplateLiteral(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initTemplateLiteral(){return g.utils.setUint16(0,2,this),g.utils.initStructAt(0,ln,this)}get _isTemplateLiteral(){return g.utils.getUint16(0,this)===2}set templateLiteral(e){g.utils.setUint16(0,2,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptParameter(e){g.utils.setUint16(0,3,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownParameter(){return g.utils.disown(this.parameter)}get parameter(){return g.utils.testWhich(`parameter`,g.utils.getUint16(0,this),3,this),g.utils.getStruct(0,q,this)}_hasParameter(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initParameter(){return g.utils.setUint16(0,3,this),g.utils.initStructAt(0,q,this)}get _isParameter(){return g.utils.getUint16(0,this)===3}set parameter(e){g.utils.setUint16(0,3,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptFunction(e){g.utils.setUint16(0,4,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownFunction(){return g.utils.disown(this.function)}get function(){return g.utils.testWhich(`function`,g.utils.getUint16(0,this),4,this),g.utils.getStruct(0,Vt,this)}_hasFunction(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initFunction(){return g.utils.setUint16(0,4,this),g.utils.initStructAt(0,Vt,this)}get _isFunction(){return g.utils.getUint16(0,this)===4}set function(e){g.utils.setUint16(0,4,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptMethod(e){g.utils.setUint16(0,5,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownMethod(){return g.utils.disown(this.method)}get method(){return g.utils.testWhich(`method`,g.utils.getUint16(0,this),5,this),g.utils.getStruct(0,zt,this)}_hasMethod(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initMethod(){return g.utils.setUint16(0,5,this),g.utils.initStructAt(0,zt,this)}get _isMethod(){return g.utils.getUint16(0,this)===5}set method(e){g.utils.setUint16(0,5,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptProperty(e){g.utils.setUint16(0,6,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownProperty(){return g.utils.disown(this.property)}get property(){return g.utils.testWhich(`property`,g.utils.getUint16(0,this),6,this),g.utils.getStruct(0,Bt,this)}_hasProperty(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initProperty(){return g.utils.setUint16(0,6,this),g.utils.initStructAt(0,Bt,this)}get _isProperty(){return g.utils.getUint16(0,this)===6}set property(e){g.utils.setUint16(0,6,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptPromise(e){g.utils.setUint16(0,7,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownPromise(){return g.utils.disown(this.promise)}get promise(){return g.utils.testWhich(`promise`,g.utils.getUint16(0,this),7,this),g.utils.getStruct(0,Ht,this)}_hasPromise(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initPromise(){return g.utils.setUint16(0,7,this),g.utils.initStructAt(0,Ht,this)}get _isPromise(){return g.utils.getUint16(0,this)===7}set promise(e){g.utils.setUint16(0,7,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptClassType(e){g.utils.setUint16(0,8,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownClassType(){return g.utils.disown(this.classType)}get classType(){return g.utils.testWhich(`classType`,g.utils.getUint16(0,this),8,this),g.utils.getStruct(0,K,this)}_hasClassType(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initClassType(){return g.utils.setUint16(0,8,this),g.utils.initStructAt(0,K,this)}get _isClassType(){return g.utils.getUint16(0,this)===8}set classType(e){g.utils.setUint16(0,8,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptEnum(e){g.utils.setUint16(0,9,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownEnum(){return g.utils.disown(this.enum)}get enum(){return g.utils.testWhich(`enum`,g.utils.getUint16(0,this),9,this),g.utils.getStruct(0,Wt,this)}_hasEnum(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initEnum(){return g.utils.setUint16(0,9,this),g.utils.initStructAt(0,Wt,this)}get _isEnum(){return g.utils.getUint16(0,this)===9}set enum(e){g.utils.setUint16(0,9,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptUnion(e){g.utils.setUint16(0,10,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownUnion(){return g.utils.disown(this.union)}get union(){return g.utils.testWhich(`union`,g.utils.getUint16(0,this),10,this),g.utils.getStruct(0,Gt,this)}_hasUnion(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initUnion(){return g.utils.setUint16(0,10,this),g.utils.initStructAt(0,Gt,this)}get _isUnion(){return g.utils.getUint16(0,this)===10}set union(e){g.utils.setUint16(0,10,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptIntersection(e){g.utils.setUint16(0,11,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownIntersection(){return g.utils.disown(this.intersection)}get intersection(){return g.utils.testWhich(`intersection`,g.utils.getUint16(0,this),11,this),g.utils.getStruct(0,Kt,this)}_hasIntersection(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initIntersection(){return g.utils.setUint16(0,11,this),g.utils.initStructAt(0,Kt,this)}get _isIntersection(){return g.utils.getUint16(0,this)===11}set intersection(e){g.utils.setUint16(0,11,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptArray(e){g.utils.setUint16(0,12,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownArray(){return g.utils.disown(this.array)}get array(){return g.utils.testWhich(`array`,g.utils.getUint16(0,this),12,this),g.utils.getStruct(0,qt,this)}_hasArray(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initArray(){return g.utils.setUint16(0,12,this),g.utils.initStructAt(0,qt,this)}get _isArray(){return g.utils.getUint16(0,this)===12}set array(e){g.utils.setUint16(0,12,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptObjectLiteral(e){g.utils.setUint16(0,13,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownObjectLiteral(){return g.utils.disown(this.objectLiteral)}get objectLiteral(){return g.utils.testWhich(`objectLiteral`,g.utils.getUint16(0,this),13,this),g.utils.getStruct(0,Rt,this)}_hasObjectLiteral(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initObjectLiteral(){return g.utils.setUint16(0,13,this),g.utils.initStructAt(0,Rt,this)}get _isObjectLiteral(){return g.utils.getUint16(0,this)===13}set objectLiteral(e){g.utils.setUint16(0,13,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptIndexSignature(e){g.utils.setUint16(0,14,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownIndexSignature(){return g.utils.disown(this.indexSignature)}get indexSignature(){return g.utils.testWhich(`indexSignature`,g.utils.getUint16(0,this),14,this),g.utils.getStruct(0,Jt,this)}_hasIndexSignature(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initIndexSignature(){return g.utils.setUint16(0,14,this),g.utils.initStructAt(0,Jt,this)}get _isIndexSignature(){return g.utils.getUint16(0,this)===14}set indexSignature(e){g.utils.setUint16(0,14,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptPropertySignature(e){g.utils.setUint16(0,15,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownPropertySignature(){return g.utils.disown(this.propertySignature)}get propertySignature(){return g.utils.testWhich(`propertySignature`,g.utils.getUint16(0,this),15,this),g.utils.getStruct(0,Yt,this)}_hasPropertySignature(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initPropertySignature(){return g.utils.setUint16(0,15,this),g.utils.initStructAt(0,Yt,this)}get _isPropertySignature(){return g.utils.getUint16(0,this)===15}set propertySignature(e){g.utils.setUint16(0,15,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptMethodSignature(e){g.utils.setUint16(0,16,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownMethodSignature(){return g.utils.disown(this.methodSignature)}get methodSignature(){return g.utils.testWhich(`methodSignature`,g.utils.getUint16(0,this),16,this),g.utils.getStruct(0,Xt,this)}_hasMethodSignature(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initMethodSignature(){return g.utils.setUint16(0,16,this),g.utils.initStructAt(0,Xt,this)}get _isMethodSignature(){return g.utils.getUint16(0,this)===16}set methodSignature(e){g.utils.setUint16(0,16,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptTypeParameter(e){g.utils.setUint16(0,17,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownTypeParameter(){return g.utils.disown(this.typeParameter)}get typeParameter(){return g.utils.testWhich(`typeParameter`,g.utils.getUint16(0,this),17,this),g.utils.getStruct(0,Zt,this)}_hasTypeParameter(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initTypeParameter(){return g.utils.setUint16(0,17,this),g.utils.initStructAt(0,Zt,this)}get _isTypeParameter(){return g.utils.getUint16(0,this)===17}set typeParameter(e){g.utils.setUint16(0,17,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptInfer(e){g.utils.setUint16(0,18,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownInfer(){return g.utils.disown(this.infer)}get infer(){return g.utils.testWhich(`infer`,g.utils.getUint16(0,this),18,this),g.utils.getStruct(0,Qt,this)}_hasInfer(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initInfer(){return g.utils.setUint16(0,18,this),g.utils.initStructAt(0,Qt,this)}get _isInfer(){return g.utils.getUint16(0,this)===18}set infer(e){g.utils.setUint16(0,18,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptTuple(e){g.utils.setUint16(0,19,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownTuple(){return g.utils.disown(this.tuple)}get tuple(){return g.utils.testWhich(`tuple`,g.utils.getUint16(0,this),19,this),g.utils.getStruct(0,en,this)}_hasTuple(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initTuple(){return g.utils.setUint16(0,19,this),g.utils.initStructAt(0,en,this)}get _isTuple(){return g.utils.getUint16(0,this)===19}set tuple(e){g.utils.setUint16(0,19,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptTupleMember(e){g.utils.setUint16(0,20,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownTupleMember(){return g.utils.disown(this.tupleMember)}get tupleMember(){return g.utils.testWhich(`tupleMember`,g.utils.getUint16(0,this),20,this),g.utils.getStruct(0,$t,this)}_hasTupleMember(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initTupleMember(){return g.utils.setUint16(0,20,this),g.utils.initStructAt(0,$t,this)}get _isTupleMember(){return g.utils.getUint16(0,this)===20}set tupleMember(e){g.utils.setUint16(0,20,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptRest(e){g.utils.setUint16(0,21,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownRest(){return g.utils.disown(this.rest)}get rest(){return g.utils.testWhich(`rest`,g.utils.getUint16(0,this),21,this),g.utils.getStruct(0,tn,this)}_hasRest(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initRest(){return g.utils.setUint16(0,21,this),g.utils.initStructAt(0,tn,this)}get _isRest(){return g.utils.getUint16(0,this)===21}set rest(e){g.utils.setUint16(0,21,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}_adoptOther(e){g.utils.setUint16(0,22,this),g.utils.adopt(e,g.utils.getPointer(0,this))}_disownOther(){return g.utils.disown(this.other)}get other(){return g.utils.testWhich(`other`,g.utils.getUint16(0,this),22,this),g.utils.getStruct(0,un,this)}_hasOther(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initOther(){return g.utils.setUint16(0,22,this),g.utils.initStructAt(0,un,this)}get _isOther(){return g.utils.getUint16(0,this)===22}set other(e){g.utils.setUint16(0,22,this),g.utils.copyFrom(e,g.utils.getPointer(0,this))}toString(){return`SerializedType_Type_`+super.toString()}which(){return g.utils.getUint16(0,this)}},fn=class extends g.Struct{static{B(this,`SerializedType`)}static _capnp={displayName:`SerializedType`,id:`96856dcc2dd3d58f`,size:new g.ObjectSize(8,1)};get type(){return g.utils.getAs(dn,this)}_initType(){return g.utils.getAs(dn,this)}toString(){return`SerializedType_`+super.toString()}},X=class e extends g.Struct{static{B(this,`SerializedTypes`)}static _capnp={displayName:`SerializedTypes`,id:`ac55398ab0ef4958`,size:new g.ObjectSize(0,1)};static _Types;_adoptTypes(e){g.utils.adopt(e,g.utils.getPointer(0,this))}_disownTypes(){return g.utils.disown(this.types)}get types(){return g.utils.getList(0,e._Types,this)}_hasTypes(){return!g.utils.isNull(g.utils.getPointer(0,this))}_initTypes(t){return g.utils.initList(0,e._Types,t,this)}set types(e){g.utils.copyFrom(e,g.utils.getPointer(0,this))}toString(){return`SerializedTypes_`+super.toString()}};Lt._Indexes=g.CompositeList(It),Rt._TypeArguments=g.CompositeList(W),Rt._Decorators=g.CompositeList(W),Rt._Types=g.CompositeList(W),K._TypeArguments=g.CompositeList(W),K._Decorators=g.CompositeList(W),K._ExtendsArguments=g.CompositeList(W),K._Arguments=g.CompositeList(W),K._Types=g.CompositeList(W),q._TypeArguments=g.CompositeList(W),q._Decorators=g.CompositeList(W),zt._TypeArguments=g.CompositeList(W),zt._Decorators=g.CompositeList(W),zt._Parameters=g.CompositeList(q),Bt._TypeArguments=g.CompositeList(W),Bt._Decorators=g.CompositeList(W),Vt._TypeArguments=g.CompositeList(W),Vt._Decorators=g.CompositeList(W),Vt._Parameters=g.CompositeList(q),Ht._TypeArguments=g.CompositeList(W),Ht._Decorators=g.CompositeList(W),Wt._TypeArguments=g.CompositeList(W),Wt._Decorators=g.CompositeList(W),Wt._EnumEntries=g.CompositeList(Ut),Gt._TypeArguments=g.CompositeList(W),Gt._Decorators=g.CompositeList(W),Gt._Types=g.CompositeList(W),Kt._TypeArguments=g.CompositeList(W),Kt._Decorators=g.CompositeList(W),Kt._Types=g.CompositeList(W),qt._TypeArguments=g.CompositeList(W),qt._Decorators=g.CompositeList(W),Jt._TypeArguments=g.CompositeList(W),Jt._Decorators=g.CompositeList(W),Yt._TypeArguments=g.CompositeList(W),Yt._Decorators=g.CompositeList(W),Xt._TypeArguments=g.CompositeList(W),Xt._Decorators=g.CompositeList(W),Xt._Parameters=g.CompositeList(q),Zt._TypeArguments=g.CompositeList(W),Zt._Decorators=g.CompositeList(W),Qt._TypeArguments=g.CompositeList(W),Qt._Decorators=g.CompositeList(W),$t._TypeArguments=g.CompositeList(W),$t._Decorators=g.CompositeList(W),en._TypeArguments=g.CompositeList(W),en._Decorators=g.CompositeList(W),en._Types=g.CompositeList($t),tn._TypeArguments=g.CompositeList(W),tn._Decorators=g.CompositeList(W),nn._TypeArguments=g.CompositeList(W),nn._Decorators=g.CompositeList(W),cn._TypeArguments=g.CompositeList(W),cn._Decorators=g.CompositeList(W),ln._TypeArguments=g.CompositeList(W),ln._Decorators=g.CompositeList(W),ln._Types=g.CompositeList(W),X._Types=g.CompositeList(fn);function pn(e){return(0,m.joinPaths)(e.dataPath,`reflections`)}const mn={target:`esnext`,platform:`neutral`,format:`esm`,write:!0,minify:!0,sourcemap:!1,bundle:!0,treeShaking:!0,keepNames:!0,splitting:!0,logLevel:`silent`};function hn(e){let t=e.config.build.override.inject??e.config.build.inject;return t&&Object.keys(t).length>0&&e.fs.writeSync((0,m.joinPaths)(e.workspaceConfig.workspaceRoot,e.config.projectRoot,e.artifactsPath,`inject-shim.js`),Object.entries(t).map(([e,t])=>{if(t)if(Array.isArray(t)){if((0,f.camelCase)(e)!==e){if(t.length===1)return`
2
+ import ${(0,f.camelCase)(e)} from "${t[0]}";
3
+ export { ${(0,f.camelCase)(e)} as "${e}" }`;if(t.length>1)return`
4
+ import ${t[1]===`*`?`* as ${(0,f.camelCase)(e)}`:`{ ${t[1]} as ${(0,f.camelCase)(e)} }`} from "${t[0]}";
5
+ export { ${(0,f.camelCase)(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((0,f.camelCase)(e)!==e)return`
10
+ import ${(0,f.camelCase)(e)} from "${t[0]}";
11
+ export { ${(0,f.camelCase)(e)} as "${e}" }`;else return`
12
+ import ${e} from "${t}";
13
+ export { ${e} };`;return``}).join(`
14
+ `)),(0,d.default)({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?[(0,m.joinPaths)(e.workspaceConfig.workspaceRoot,e.config.projectRoot,e.artifactsPath,`inject-shim.js`)]:void 0},e.config.build.variant===`esbuild`?(0,ve.omit)(e.config.build.override,[`alias`,`inject`,`external`,`noExternal`,`skipNodeModulesBundle`,`extensions`]):{},e.config.build.variant===`esbuild`?(0,ve.omit)(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`},mn)}async function gn(e,t,n={}){let r=await e.fs.resolve(t);if(!r||!e.fs.existsSync(r))throw Error(`Module not found: "${t}". Please check the path and try again.`);let i=await(0,_e.build)({...hn(e),entryPoints:[r],write:!1,sourcemap:!1,splitting:!1,treeShaking:!1,bundle:!0,...n});if(i.errors.length>0)throw Error(`Failed to transpile ${t}: ${i.errors.map(e=>e.text).join(`, `)}`);if(i.warnings.length>0&&e.log(ee.LogLevelLabel.WARN,`Warnings while transpiling ${t}: ${i.warnings.map(e=>e.text).join(`, `)}`),!i.outputFiles||i.outputFiles.filter(Boolean).length===0)throw Error(`No output files generated for ${t}. Please check the configuration and try again.`);return i.outputFiles.filter(Boolean)[0]}async function _n(e,t,n={}){let r;r=(0,ne.isSetString)(t)?(0,fe.parseTypeDefinition)(t):t;let i=await gn(e,r.file,n),a=await e.resolver.evalModule(i.text,{filename:i.path,forceTranspile:!0}),o=r.name;return o||=`default`,a[o]??a[`__Ω${o}`]}var Z={};s(Z,require(`@deepkit/type-compiler`)),s(Z,require(`@deepkit/type-compiler/compiler`)),s(Z,require(`@deepkit/type-compiler/config`));let vn=!1;const yn=new Z.Cache;function bn(e,t={}){return function(n){return vn||=!0,yn.tick(),new Z.ReflectionTransformer(n,yn).withReflection((0,d.default)(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 xn(e,t={}){return function(n){return new Z.DeclarationTransformer(n,yn).withReflection((0,d.default)(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,n){let r=bn(e),i=xn(e);return v.default.transpileModule(t,{compilerOptions:{...e.tsconfig.options},fileName:n,transformers:{before:[r],after:[i]}})}const Cn=(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=Sn(e,n,t.path);if(r.diagnostics&&r.diagnostics.length>0)if(r.diagnostics.some(e=>e.category===v.DiagnosticCategory.Error)){let n=`Deepkit Type reflection transpilation errors: ${t.path} \n ${r.diagnostics.filter(e=>e.category===v.DiagnosticCategory.Error).map(e=>`-${e.file?`${e.file.fileName}:`:``} ${(0,h.isString)(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===v.DiagnosticCategory.Warning)?e.warn(`Deepkit Type reflection transpilation warnings: ${t.path} \n ${r.diagnostics.filter(e=>e.category===v.DiagnosticCategory.Warning).map(e=>`-${e.file?`${e.file.fileName}:`:``} ${(0,h.isString)(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}:`:``} ${(0,h.isString)(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 wn(e,t,n={}){return(0,y.reflect)(await _n(e,t,(0,d.default)(n,{plugins:[Cn(e)]})))}function Tn(e,t){return Q(e,{type:(0,y.merge)(t.map(e=>e.type))})}function En(e,t){return kn(e,{type:(0,y.merge)(t.map(e=>e.type))})}var Dn=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},On=class{};function Q(e,t={}){let n=t.superReflection??new y.ReflectionClass({kind:y.ReflectionKind.class,description:`The base environment configuration definition for the ${(0,p.titleCase)(e.config.name)} project.`,classType:Dn,types:[],implements:[{kind:y.ReflectionKind.objectLiteral,typeName:`EnvInterface`,description:`The environment configuration interface definition for the ${(0,p.titleCase)(e.config.name)} project.`,types:[]}]});n.name=`Env`;let r=new y.ReflectionClass(t.type??{kind:y.ReflectionKind.objectLiteral,typeName:`Env`,description:`A schema describing the list of available environment variables that can be used by the ${e.config.name?`${(0,p.titleCase)(e.config.name)} application`:`application`}.`,types:[]},n);return r.name=`Env`,r}function kn(e,t={}){let n=t.superReflection??new y.ReflectionClass({kind:y.ReflectionKind.class,description:`The base secrets configuration definition for the ${(0,p.titleCase)(e.config.name)} project.`,classType:On,types:[],implements:[{kind:y.ReflectionKind.objectLiteral,typeName:`SecretsInterface`,description:`The secrets configuration interface definition for the ${(0,p.titleCase)(e.config.name)} project.`,types:[]}]});n.name=`Secrets`;let r=new y.ReflectionClass(t.type??{kind:y.ReflectionKind.objectLiteral,typeName:`Secrets`,description:`A schema describing the list of available environment secrets that can be used by the ${e.config.name?`${(0,p.titleCase)(e.config.name)} application`:`application`}.`,types:[]},n);return r.name=`Secrets`,r}async function An(e,t,n){let r;t&&(r=(0,y.resolveClassType)(await wn(e,{file:(0,u.isParentPath)(t,e.workspaceConfig.workspaceRoot)?t:(0,m.joinPaths)(e.workspaceConfig.workspaceRoot,t),name:n},{skipNodeModulesBundle:!0})));let i=await wn(e,await Nn(e));return Tn(e,[await In(e,`env`),r,(0,y.resolveClassType)(i)].filter(Boolean))}async function jn(e,t,n){let r;t&&(r=(0,y.resolveClassType)(await wn(e,{file:(0,u.isParentPath)(t,e.workspaceConfig.workspaceRoot)?t:(0,m.joinPaths)(e.workspaceConfig.workspaceRoot,t),name:n},{skipNodeModulesBundle:!0})));let i=await wn(e,await Pn(e));return En(e,[await zn(e),r,(0,y.resolveClassType)(i)].filter(Boolean))}async function Mn(e){return(0,he.resolvePackage)(`@powerlines/plugin-env/types/runtime`,{paths:[e.workspaceConfig.workspaceRoot,(0,m.joinPaths)(e.workspaceConfig.workspaceRoot,e.config.projectRoot)]})}async function Nn(e){return{file:await Mn(e),name:`EnvInterface`}}async function Pn(e){return{file:await Mn(e),name:`SecretsInterface`}}function Fn(e,t=`env`){return(0,m.joinPaths)(pn(e),`env`,`${t}-types.bin`)}async function In(e,t=`env`){let n=Fn(e,t);if(!(0,me.existsSync)(n)){if(!e.env.types.env||(0,ge.isEmptyObject)(e.env.types.env)){let n=Q(e),r=new g.Message;n.messageRoot=r.initRoot(X),n.dataBuffer=r.toArrayBuffer(),e.env.types.env=n,await Ln(e,e.env.types.env,t)}return e.env.types.env}let r=await(0,_.readFileBuffer)(n),i=new g.Message(r,!1).getRoot(X),a=(0,y.resolveClassType)((0,y.deserializeType)(qe(i.types)));return e.env.types[t]=a,e.env.types[t].messageRoot=i,e.env.types[t].dataBuffer=r,a}async function Ln(e,t,n=`env`){let r=t.serializeType(),i=new g.Message;Ke(r,i.initRoot(X)._initTypes(r.length)),await(0,_.writeFileBuffer)(Fn(e,n),i.toArrayBuffer())}function $(e,t){return(0,m.joinPaths)(pn(e),`env`,`${t}.bin`)}async function Rn(e){let t=$(e,`env`);if(!(0,me.existsSync)(t)){if(e.env.types.env||(e.env.types.env=await In(e,`env`)),!e.env.used.env||(0,ge.isEmptyObject)(e.env.used.env)){let t=Q(e,{type:{kind:y.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 g.Message;t.messageRoot=n.initRoot(X),t.dataBuffer=n.toArrayBuffer(),e.env.used.env=t,await Bn(e,e.env.used.env,`env`)}return e.env.used.env}let n=await(0,_.readFileBuffer)(t),r=new g.Message(n,!1).getRoot(X),i=(0,y.resolveClassType)((0,y.deserializeType)(qe(r.types)));return e.env.used.env=i,e.env.used.env.messageRoot=r,e.env.used.env.dataBuffer=n,i}async function zn(e){let t=$(e,`secrets`);if(!(0,me.existsSync)(t)){if(e.env.types.secrets||(e.env.types.secrets=await In(e,`secrets`)),!e.env.used.secrets||(0,ge.isEmptyObject)(e.env.used.secrets)){let t=Q(e,{type:{kind:y.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 g.Message;t.messageRoot=n.initRoot(X),t.dataBuffer=n.toArrayBuffer(),e.env.used.secrets=t,await Bn(e,e.env.used.secrets,`secrets`)}return e.env.used.secrets}let n=await(0,_.readFileBuffer)(t),r=new g.Message(n,!1).getRoot(X),i=(0,y.resolveClassType)((0,y.deserializeType)(qe(r.types)));return e.env.used.secrets=i,e.env.used.secrets.messageRoot=r,e.env.used.secrets.dataBuffer=n,i}async function Bn(e,t,n=`env`){let r=t.serializeType(),i=new g.Message;Ke(r,i.initRoot(X)._initTypes(r.length)),await(0,_.writeFileBuffer)($(e,n),i.toArrayBuffer())}function Vn(e,t,n=`env`){let r=t.serializeType(),i=new g.Message;Ke(r,i.initRoot(X)._initTypes(r.length)),(0,_.writeFileBufferSync)($(e,n),i.toArrayBuffer())}function Hn(e){if((0,ae.isString)(e)){let t=pe.ENV_PREFIXES.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=Hn(n);return r&&(t[r]=e[n]),t},{})}function Un(e){return(0,f.camelCase)(Hn(e))}async function Wn(e,t,n){let r=await(0,ye.loadEnv)(n,t);if(e.additionalFiles&&e.additionalFiles?.length>0){let t=await Promise.all(e.additionalFiles.map(async e=>(0,ye.loadEnvFile)(e,n)));for(let e of t)r=(0,d.default)(e,r)}return Hn(r)}async function Gn(e,t,n,r,i,a){let[o,s]=await Promise.all([Wn(e,n,t),(0,le.loadConfig)({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:(0,m.joinPaths)(r,`jiti`),moduleCache:!0}})]);return(0,d.default)(o,s.config,a)}function Kn(e,t){return(0,d.default)({APP_NAME:(0,de.kebabCase)(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:`${(0,de.kebabCase)(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:(0,ne.isSetString)(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},(0,ue.isSetObject)(e?.env?.types?.env)?e.env.types.env?.getProperties().reduce((e,n)=>(e[n.name]=t[n.name]??n.getDefaultValue(),e),{}):{})}async function qn(e,t){let[n,r,i]=await Promise.all([Gn(t,e.config.projectRoot,e.config.mode,e.cachePath,e.packageJson,e.workspaceConfig),Gn(t,e.workspaceConfig.workspaceRoot,e.config.mode,e.cachePath,e.packageJson,e.workspaceConfig),Gn(t,e.envPaths.config,e.config.mode,e.cachePath,e.packageJson,e.workspaceConfig)]);return(0,d.default)(Kn(e,process.env),n,r,i)}function Jn(e){let t=(0,l.computed)(()=>e&&Kn(e,process.env));return(0,l.createResource)(async()=>{if(!e)return new y.ReflectionClass({kind:y.ReflectionKind.objectLiteral,description:`The initial environment configuration state for the Powerlines project.`,types:[]});let n=await In(e,`env`);return n.getProperties().forEach(e=>{e.getAlias().filter(Boolean).forEach(t=>{n.addProperty({name:t,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!==t).concat(e.name),title:e.getTitle()||(0,p.titleCase)(e.name),readonly:e.isReadonly(),permission:e.getPermission(),domain:e.getDomain()}})})}),n.getProperties().forEach(e=>{e.setDefaultValue(t.value?.[e.getNameAsString()]??e.getAlias().reduce((e,n)=>e??t.value?.[n],void 0)??e.getDefaultValue())}),n})}Object.defineProperty(exports,`C`,{enumerable:!0,get:function(){return An}}),Object.defineProperty(exports,`D`,{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,`E`,{enumerable:!0,get:function(){return qe}}),Object.defineProperty(exports,`O`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`S`,{enumerable:!0,get:function(){return En}}),Object.defineProperty(exports,`T`,{enumerable:!0,get:function(){return X}}),Object.defineProperty(exports,`_`,{enumerable:!0,get:function(){return Dn}}),Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return Hn}}),Object.defineProperty(exports,`b`,{enumerable:!0,get:function(){return kn}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return Fn}}),Object.defineProperty(exports,`d`,{enumerable:!0,get:function(){return In}}),Object.defineProperty(exports,`f`,{enumerable:!0,get:function(){return zn}}),Object.defineProperty(exports,`g`,{enumerable:!0,get:function(){return Ln}}),Object.defineProperty(exports,`h`,{enumerable:!0,get:function(){return Vn}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return Un}}),Object.defineProperty(exports,`l`,{enumerable:!0,get:function(){return Pn}}),Object.defineProperty(exports,`m`,{enumerable:!0,get:function(){return Bn}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return qn}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return Nn}}),Object.defineProperty(exports,`p`,{enumerable:!0,get:function(){return Mn}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return Kn}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return $}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return Jn}}),Object.defineProperty(exports,`u`,{enumerable:!0,get:function(){return Rn}}),Object.defineProperty(exports,`v`,{enumerable:!0,get:function(){return On}}),Object.defineProperty(exports,`w`,{enumerable:!0,get:function(){return jn}}),Object.defineProperty(exports,`x`,{enumerable:!0,get:function(){return Tn}}),Object.defineProperty(exports,`y`,{enumerable:!0,get:function(){return Q}});
@@ -1 +1 @@
1
- import{D as e,t}from"./create-reflection-resource-B9d8LEWF.mjs";import{createComponent as n,createIntrinsic as r}from"@alloy-js/core/jsx-runtime";import{joinPaths as i}from"@stryke/path/join";import{Show as a,code as o}from"@alloy-js/core";import{usePowerlines as s}from"@powerlines/alloy/core/contexts/context";import{Heading as c,Link as l}from"@alloy-js/markdown";import{MarkdownFile as u}from"@powerlines/alloy/markdown/components/markdown-file";import{MarkdownTable as d}from"@powerlines/alloy/markdown/components/markdown-table";function f(){let f=s();if(!f)return null;let p=t(f);return n(u,{get path(){return i(f.config.projectRoot,`docs`,`generated`,`env.md`)},get children(){return[n(c,{level:1,children:`Environment Configuration`}),o`Below is a list of environment variables used by the`,n(a,{get when(){return!!f?.packageJson.name},get children(){return n(l,{get href(){return`https://www.npmjs.com/package/${f?.packageJson.name}`},get title(){return f.packageJson.name}})}}),o`package. These values can be updated in the \`.env\` file in the root of the project.`,r(`hbr`,{}),n(c,{level:2,children:`Environment Variables`}),o`The below list of environment variables are used as configuration parameters to drive the processing of the application. The data contained in these variables are **not** considered sensitive or confidential. Any values provided in these variables will be available in plain text to the public.`,r(`hbr`,{}),n(d,{get data(){return p.data?.getProperties().filter(e=>e.getNameAsString()!==`__STORM_INJECTED__`).sort((e,t)=>e.getNameAsString().localeCompare(t.getNameAsString())).map(t=>({name:t.getNameAsString().trim(),description:(t.getDescription()??``).trim(),type:(0,e.stringifyType)(t.getType()).trim().replaceAll(` | `,`, or `),defaultValue:t.hasDefault()?String(t.getDefaultValue())?.includes(`"`)?t.getDefaultValue():`\`${t.getDefaultValue()}\``:``,required:t.isValueRequired()?``:`✔`}))??[]}})]}})}export{f as t};
1
+ import{D as e,t}from"./create-reflection-resource-B1734Oqz.mjs";import{createComponent as n,createIntrinsic as r}from"@alloy-js/core/jsx-runtime";import{Show as i,code as a}from"@alloy-js/core";import{joinPaths as o}from"@stryke/path/join";import{Heading as s,Link as c}from"@alloy-js/markdown";import{usePowerlines as l}from"@powerlines/alloy/core/contexts/context";import{MarkdownFile as u}from"@powerlines/alloy/markdown/components/markdown-file";import{MarkdownTable as d}from"@powerlines/alloy/markdown/components/markdown-table";function f(){let f=l();if(!f)return null;let p=t(f);return n(u,{get path(){return o(f.config.projectRoot,`docs`,`generated`,`env.md`)},get children(){return[n(s,{level:1,children:`Environment Configuration`}),a`Below is a list of environment variables used by the`,n(i,{get when(){return!!f?.packageJson.name},get children(){return n(c,{get href(){return`https://www.npmjs.com/package/${f?.packageJson.name}`},get title(){return f.packageJson.name}})}}),a`package. These values can be updated in the \`.env\` file in the root of the project.`,r(`hbr`,{}),n(s,{level:2,children:`Environment Variables`}),a`The below list of environment variables are used as configuration parameters to drive the processing of the application. The data contained in these variables are **not** considered sensitive or confidential. Any values provided in these variables will be available in plain text to the public.`,r(`hbr`,{}),n(d,{get data(){return p.data?.getProperties().filter(e=>e.getNameAsString()!==`__STORM_INJECTED__`).sort((e,t)=>e.getNameAsString().localeCompare(t.getNameAsString())).map(t=>({name:t.getNameAsString().trim(),description:(t.getDescription()??``).trim(),type:(0,e.stringifyType)(t.getType()).trim().replaceAll(` | `,`, or `),defaultValue:t.hasDefault()?String(t.getDefaultValue())?.includes(`"`)?t.getDefaultValue():`\`${t.getDefaultValue()}\``:``,required:t.isValueRequired()?``:`✔`}))??[]}})]}})}export{f as t};
@@ -1 +1 @@
1
- const e=require(`./create-reflection-resource-BEDScc6f.cjs`);let t=require(`@alloy-js/core/jsx-runtime`),n=require(`@stryke/path/join`),r=require(`@alloy-js/core`),i=require(`@powerlines/alloy/core/contexts/context`),a=require(`@alloy-js/markdown`),o=require(`@powerlines/alloy/markdown/components/markdown-file`),s=require(`@powerlines/alloy/markdown/components/markdown-table`);function c(){let c=(0,i.usePowerlines)();if(!c)return null;let l=e.t(c);return(0,t.createComponent)(o.MarkdownFile,{get path(){return(0,n.joinPaths)(c.config.projectRoot,`docs`,`generated`,`env.md`)},get children(){return[(0,t.createComponent)(a.Heading,{level:1,children:`Environment Configuration`}),r.code`Below is a list of environment variables used by the`,(0,t.createComponent)(r.Show,{get when(){return!!c?.packageJson.name},get children(){return(0,t.createComponent)(a.Link,{get href(){return`https://www.npmjs.com/package/${c?.packageJson.name}`},get title(){return c.packageJson.name}})}}),r.code`package. These values can be updated in the \`.env\` file in the root of the project.`,(0,t.createIntrinsic)(`hbr`,{}),(0,t.createComponent)(a.Heading,{level:2,children:`Environment Variables`}),r.code`The below list of environment variables are used as configuration parameters to drive the processing of the application. The data contained in these variables are **not** considered sensitive or confidential. Any values provided in these variables will be available in plain text to the public.`,(0,t.createIntrinsic)(`hbr`,{}),(0,t.createComponent)(s.MarkdownTable,{get data(){return l.data?.getProperties().filter(e=>e.getNameAsString()!==`__STORM_INJECTED__`).sort((e,t)=>e.getNameAsString().localeCompare(t.getNameAsString())).map(t=>({name:t.getNameAsString().trim(),description:(t.getDescription()??``).trim(),type:(0,e.D.stringifyType)(t.getType()).trim().replaceAll(` | `,`, or `),defaultValue:t.hasDefault()?String(t.getDefaultValue())?.includes(`"`)?t.getDefaultValue():`\`${t.getDefaultValue()}\``:``,required:t.isValueRequired()?``:`✔`}))??[]}})]}})}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
1
+ const e=require(`./create-reflection-resource-JGnGa1lq.cjs`);let t=require(`@alloy-js/core/jsx-runtime`),n=require(`@alloy-js/core`),r=require(`@stryke/path/join`),i=require(`@alloy-js/markdown`),a=require(`@powerlines/alloy/core/contexts/context`),o=require(`@powerlines/alloy/markdown/components/markdown-file`),s=require(`@powerlines/alloy/markdown/components/markdown-table`);function c(){let c=(0,a.usePowerlines)();if(!c)return null;let l=e.t(c);return(0,t.createComponent)(o.MarkdownFile,{get path(){return(0,r.joinPaths)(c.config.projectRoot,`docs`,`generated`,`env.md`)},get children(){return[(0,t.createComponent)(i.Heading,{level:1,children:`Environment Configuration`}),n.code`Below is a list of environment variables used by the`,(0,t.createComponent)(n.Show,{get when(){return!!c?.packageJson.name},get children(){return(0,t.createComponent)(i.Link,{get href(){return`https://www.npmjs.com/package/${c?.packageJson.name}`},get title(){return c.packageJson.name}})}}),n.code`package. These values can be updated in the \`.env\` file in the root of the project.`,(0,t.createIntrinsic)(`hbr`,{}),(0,t.createComponent)(i.Heading,{level:2,children:`Environment Variables`}),n.code`The below list of environment variables are used as configuration parameters to drive the processing of the application. The data contained in these variables are **not** considered sensitive or confidential. Any values provided in these variables will be available in plain text to the public.`,(0,t.createIntrinsic)(`hbr`,{}),(0,t.createComponent)(s.MarkdownTable,{get data(){return l.data?.getProperties().filter(e=>e.getNameAsString()!==`__STORM_INJECTED__`).sort((e,t)=>e.getNameAsString().localeCompare(t.getNameAsString())).map(t=>({name:t.getNameAsString().trim(),description:(t.getDescription()??``).trim(),type:(0,e.D.stringifyType)(t.getType()).trim().replaceAll(` | `,`, or `),defaultValue:t.hasDefault()?String(t.getDefaultValue())?.includes(`"`)?t.getDefaultValue():`\`${t.getDefaultValue()}\``:``,required:t.isValueRequired()?``:`✔`}))??[]}})]}})}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
@@ -1,10 +1,10 @@
1
- import{D as e,r as t,t as n}from"./create-reflection-resource-B9d8LEWF.mjs";import{createComponent as r,createIntrinsic as i,memo as a,mergeProps as o}from"@alloy-js/core/jsx-runtime";import s from"defu";import{titleCase as c}from"@stryke/string-format/title-case";import{isNull as l}from"@stryke/type-checks/is-null";import{For as u,Show as d,code as f,computed as p,splitProps as m}from"@alloy-js/core";import{ClassDeclaration as h,ClassMethod as g,ElseIfClause as _,FunctionDeclaration as v,IfStatement as y,NewExpression as b,TypeDeclaration as x,VarDeclaration as S}from"@alloy-js/typescript";import{usePowerlines as C}from"@powerlines/alloy/core/contexts/context";import{refkey as w}from"@powerlines/alloy/helpers/refkey";import{BuiltinFile as T}from"@powerlines/alloy/typescript/components/builtin-file";import{TSDoc as E,TSDocExample as D,TSDocLink as O,TSDocParam as k,TSDocRemarks as A,TSDocReturns as j,TSDocThrows as M}from"@powerlines/alloy/typescript/components/tsdoc";import{TypeScriptInterface as N}from"@powerlines/alloy/typescript/components/typescript-interface";import{TypescriptObject as P}from"@powerlines/alloy/typescript/components/typescript-object";function F(e){let[{defaultValue:t,reflection:n}]=m(e,[`defaultValue`,`reflection`]),a=C();return[r(N,{name:` EnvBase`,extends:[`EnvInterface`],defaultValue:t,reflection:n,export:!0}),i(`hbr`,{}),i(`hbr`,{}),r(x,{name:`Env`,export:!0,get children(){return f` {
1
+ import{D as e,r as t,t as n}from"./create-reflection-resource-B1734Oqz.mjs";import{createComponent as r,createIntrinsic as i,memo as a,mergeProps as o}from"@alloy-js/core/jsx-runtime";import{For as s,Show as c,code as l,computed as u,splitProps as d}from"@alloy-js/core";import f from"defu";import{isNull as p}from"@stryke/type-checks/is-null";import{titleCase as m}from"@stryke/string-format/title-case";import{ClassDeclaration as h,ClassMethod as g,ElseIfClause as _,FunctionDeclaration as v,IfStatement as y,NewExpression as b,TypeDeclaration as x,VarDeclaration as S}from"@alloy-js/typescript";import{usePowerlines as C}from"@powerlines/alloy/core/contexts/context";import{refkey as w}from"@powerlines/alloy/helpers/refkey";import{BuiltinFile as T}from"@powerlines/alloy/typescript/components/builtin-file";import{TSDoc as E,TSDocExample as D,TSDocLink as O,TSDocParam as k,TSDocRemarks as A,TSDocReturns as j,TSDocThrows as M}from"@powerlines/alloy/typescript/components/tsdoc";import{TypeScriptInterface as N}from"@powerlines/alloy/typescript/components/typescript-interface";import{TypescriptObject as P}from"@powerlines/alloy/typescript/components/typescript-object";function F(e){let[{defaultValue:t,reflection:n}]=d(e,[`defaultValue`,`reflection`]),a=C();return[r(N,{name:` EnvBase`,extends:[`EnvInterface`],defaultValue:t,reflection:n,export:!0}),i(`hbr`,{}),i(`hbr`,{}),r(x,{name:`Env`,export:!0,get children(){return l` {
2
2
  [Key in keyof EnvBase as Key ${a?.config.env.prefix.map(e=>`| \`${e.replace(/_$/g,``)}_\${Key}\``).join(` `)}]: EnvBase[Key];
3
3
  }
4
- `}})]}function I(e){let[{context:t,name:n}]=m(e,[`context`,`name`]);return t?f`propertyName === "${n}" || propertyName.replace(/^(${t.config.env.prefix.sort((e,t)=>e.startsWith(t)?-1:t.startsWith(e)?1:e.localeCompare(t)).map(e=>`${e.replace(/_$/,``)}_`).join(`|`)})/g, "").toLowerCase().replace(/[\\s\\-_]+/g, "") === "${n.toLowerCase().replace(/[\s\-_]+/g,``)}"`:null}function L(e){let[{context:t,property:n,index:i}]=m(e,[`context`,`property`,`index`]);return t?[r(i===0?y:_,{get condition(){return[r(I,{get name(){return n.getNameAsString()},context:t}),r(d,{get when(){return a(()=>!!n.getAlias())()&&n.getAlias().length>0},get children(){return[f` || `,r(u,{get each(){return n.getAlias()},joiner:f` || `,children:e=>r(I,{name:e,context:t})})]}})]},get children(){return f`return target["${n.getNameAsString()}"];`}})]:null}function R(e){let[{context:t,property:n,index:i}]=m(e,[`context`,`property`,`index`]);return t?[r(i===0?y:_,{get condition(){return[r(I,{get name(){return n.getNameAsString()},context:t}),r(d,{get when(){return a(()=>!!n.getAlias())()&&n.getAlias().length>0},get children(){return[f` || `,r(u,{get each(){return n.getAlias()},joiner:f` || `,children:e=>r(I,{name:e,context:t})})]}})]},get children(){return f`
4
+ `}})]}function I(e){let[{context:t,name:n}]=d(e,[`context`,`name`]);return t?l`propertyName === "${n}" || propertyName.replace(/^(${t.config.env.prefix.sort((e,t)=>e.startsWith(t)?-1:t.startsWith(e)?1:e.localeCompare(t)).map(e=>`${e.replace(/_$/,``)}_`).join(`|`)})/g, "").toLowerCase().replace(/[\\s\\-_]+/g, "") === "${n.toLowerCase().replace(/[\s\-_]+/g,``)}"`:null}function L(e){let[{context:t,property:n,index:i}]=d(e,[`context`,`property`,`index`]);return t?[r(i===0?y:_,{get condition(){return[r(I,{get name(){return n.getNameAsString()},context:t}),r(c,{get when(){return a(()=>!!n.getAlias())()&&n.getAlias().length>0},get children(){return[l` || `,r(s,{get each(){return n.getAlias()},joiner:l` || `,children:e=>r(I,{name:e,context:t})})]}})]},get children(){return l`return target["${n.getNameAsString()}"];`}})]:null}function R(e){let[{context:t,property:n,index:i}]=d(e,[`context`,`property`,`index`]);return t?[r(i===0?y:_,{get condition(){return[r(I,{get name(){return n.getNameAsString()},context:t}),r(c,{get when(){return a(()=>!!n.getAlias())()&&n.getAlias().length>0},get children(){return[l` || `,r(s,{get each(){return n.getAlias()},joiner:l` || `,children:e=>r(I,{name:e,context:t})})]}})]},get children(){return l`
5
5
  target["${n.getNameAsString()}"] = newValue;
6
6
  return true;
7
- `}})]:null}const z=w(`createEnv`),B=w(`env`),V=w(`EnvSerializer`);function H(a){let[{defaultConfig:_},y]=m(a,[`defaultConfig`]),x=C(),w=p(()=>x&&t(x,process.env)),N=n(x),I=p(()=>new e.ReflectionClass({kind:e.ReflectionKind.objectLiteral,description:`The initial environment configuration state for the ${c(x?.config?.name)} project.`,types:[]},N.data??void 0)),H=p(()=>N.data?.getProperties().filter(e=>!e.isIgnored()).sort((e,t)=>e.getNameAsString().localeCompare(t.getNameAsString()))??[]),U=p(()=>N.data?.getProperties().filter(e=>!e.isIgnored()&&!e.isReadonly()).sort((e,t)=>e.getNameAsString().localeCompare(t.getNameAsString()))??[]);return r(T,o(y,{id:`env`,description:`The Powerlines environment configuration module provides an interface to define environment configuration parameters.`,get imports(){return s({"@powerlines/deepkit/vendor/type":[`Type`,`stringify`,`serializer`,`serializeFunction`,`deserializeFunction`,`ReflectionKind`,`TemplateState`,`Serializer`,`TypeProperty`,`TypePropertySignature`],"@powerlines/plugin-env/types/runtime":[{name:`EnvInterface`}]},y.imports??{})},get children(){return[r(d,{get when(){return!l(N.data)},get children(){return[r(F,{get defaultValue(){return w.value},get reflection(){return N.data}}),i(`hbr`,{}),i(`hbr`,{})]}}),r(P,{name:`initialEnv`,type:`Partial<EnvBase>`,defaultValue:w,reflection:I,export:!0,const:!0}),i(`hbr`,{}),i(`hbr`,{}),r(E,{heading:`The environment configuration serializer for the Powerlines application.`,get children(){return[r(O,{children:`https://deepkit.io/docs/serialization/serializers`}),r(O,{children:`https://github.com/marcj/untitled-code/blob/master/packages/type/src/serializer.ts#L1918`}),r(A,{children:`This serializer is used to serialize and deserialize the Powerlines environment configuration.`})]}}),r(h,{refkey:V,name:`EnvSerializer`,extends:`Serializer`,export:!0,get children(){return r(g,{name:`constructor`,public:!0,children:f`
7
+ `}})]:null}const z=w(`createEnv`),B=w(`env`),V=w(`EnvSerializer`);function H(a){let[{defaultConfig:_},y]=d(a,[`defaultConfig`]),x=C(),w=u(()=>x&&t(x,process.env)),N=n(x),I=u(()=>new e.ReflectionClass({kind:e.ReflectionKind.objectLiteral,description:`The initial environment configuration state for the ${m(x?.config?.name)} project.`,types:[]},N.data??void 0)),H=u(()=>N.data?.getProperties().filter(e=>!e.isIgnored()).sort((e,t)=>e.getNameAsString().localeCompare(t.getNameAsString()))??[]),U=u(()=>N.data?.getProperties().filter(e=>!e.isIgnored()&&!e.isReadonly()).sort((e,t)=>e.getNameAsString().localeCompare(t.getNameAsString()))??[]);return r(T,o(y,{id:`env`,description:`The Powerlines environment configuration module provides an interface to define environment configuration parameters.`,get imports(){return f({"@powerlines/deepkit/vendor/type":[`Type`,`stringify`,`serializer`,`serializeFunction`,`deserializeFunction`,`ReflectionKind`,`TemplateState`,`Serializer`,`TypeProperty`,`TypePropertySignature`],"@powerlines/plugin-env/types/runtime":[{name:`EnvInterface`}]},y.imports??{})},get children(){return[r(c,{get when(){return!p(N.data)},get children(){return[r(F,{get defaultValue(){return w.value},get reflection(){return N.data}}),i(`hbr`,{}),i(`hbr`,{})]}}),r(P,{name:`initialEnv`,type:`Partial<EnvBase>`,defaultValue:w,reflection:I,export:!0,const:!0}),i(`hbr`,{}),i(`hbr`,{}),r(E,{heading:`The environment configuration serializer for the Powerlines application.`,get children(){return[r(O,{children:`https://deepkit.io/docs/serialization/serializers`}),r(O,{children:`https://github.com/marcj/untitled-code/blob/master/packages/type/src/serializer.ts#L1918`}),r(A,{children:`This serializer is used to serialize and deserialize the Powerlines environment configuration.`})]}}),r(h,{refkey:V,name:`EnvSerializer`,extends:`Serializer`,export:!0,get children(){return r(g,{name:`constructor`,public:!0,children:l`
8
8
  super("env");
9
9
 
10
10
  this.deserializeRegistry.register(
@@ -15,17 +15,17 @@ import{D as e,r as t,t as n}from"./create-reflection-resource-B9d8LEWF.mjs";impo
15
15
  );
16
16
  }
17
17
  );
18
- `})}}),i(`hbr`,{}),i(`hbr`,{}),r(E,{heading:`A {@link EnvSerializer | environment configuration serializer} instance for the Powerlines application.`,get children(){return[r(O,{children:`https://deepkit.io/docs/serialization/serializers`}),r(O,{children:`https://github.com/marcj/untitled-code/blob/master/packages/type/src/serializer.ts#L1918`}),r(A,{children:`This serializer is used to serialize and deserialize the Powerlines environment configuration.`})]}}),r(S,{name:`envSerializer`,export:!1,const:!0,get initializer(){return r(b,{args:[],target:`EnvSerializer`})}}),i(`hbr`,{}),i(`hbr`,{}),r(E,{heading:`Serialize a environment configuration object to JSON data objects (not a JSON string).`,get children(){return[r(A,{children:`The resulting JSON object can be stringified using JSON.stringify().`}),r(D,{children:`const json = serializeEnv(env);`}),r(M,{children:`ValidationError when serialization or validation fails.`})]}}),r(S,{name:`serializeEnv`,export:!0,const:!0,initializer:`serializeFunction<EnvBase>(envSerializer)`}),i(`hbr`,{}),i(`hbr`,{}),r(E,{heading:`Deserialize a environment configuration object from JSON data objects to JavaScript objects, without running any validators.`,get children(){return[r(A,{children:`Types that are already correct will be used as-is.`}),r(D,{children:`const env = deserializeEnv(json);`}),r(M,{children:`ValidationError when deserialization fails.`})]}}),r(S,{name:`deserializeEnv`,export:!0,const:!0,initializer:`deserializeFunction<EnvBase>(envSerializer)`}),i(`hbr`,{}),i(`hbr`,{}),r(E,{heading:`Initializes the Powerlines environment configuration module.`,get children(){return[r(A,{children:`This function initializes the Powerlines environment configuration object.`}),r(k,{name:`environmentConfig`,children:`The dynamic/runtime configuration - this could include the current environment variables or any other environment-specific settings provided by the runtime.`}),r(j,{children:`The initialized Powerlines configuration object.`})]}}),r(d,{get when(){return!!x?.entryPath},get children(){return r(v,{refkey:z,async:!1,export:!0,name:`createEnv`,parameters:[{name:`environmentConfig`,type:`Partial<Env>`,optional:!1,default:`{}`}],returnType:`Env`,get children(){return[f`
18
+ `})}}),i(`hbr`,{}),i(`hbr`,{}),r(E,{heading:`A {@link EnvSerializer | environment configuration serializer} instance for the Powerlines application.`,get children(){return[r(O,{children:`https://deepkit.io/docs/serialization/serializers`}),r(O,{children:`https://github.com/marcj/untitled-code/blob/master/packages/type/src/serializer.ts#L1918`}),r(A,{children:`This serializer is used to serialize and deserialize the Powerlines environment configuration.`})]}}),r(S,{name:`envSerializer`,export:!1,const:!0,get initializer(){return r(b,{args:[],target:`EnvSerializer`})}}),i(`hbr`,{}),i(`hbr`,{}),r(E,{heading:`Serialize a environment configuration object to JSON data objects (not a JSON string).`,get children(){return[r(A,{children:`The resulting JSON object can be stringified using JSON.stringify().`}),r(D,{children:`const json = serializeEnv(env);`}),r(M,{children:`ValidationError when serialization or validation fails.`})]}}),r(S,{name:`serializeEnv`,export:!0,const:!0,initializer:`serializeFunction<EnvBase>(envSerializer)`}),i(`hbr`,{}),i(`hbr`,{}),r(E,{heading:`Deserialize a environment configuration object from JSON data objects to JavaScript objects, without running any validators.`,get children(){return[r(A,{children:`Types that are already correct will be used as-is.`}),r(D,{children:`const env = deserializeEnv(json);`}),r(M,{children:`ValidationError when deserialization fails.`})]}}),r(S,{name:`deserializeEnv`,export:!0,const:!0,initializer:`deserializeFunction<EnvBase>(envSerializer)`}),i(`hbr`,{}),i(`hbr`,{}),r(E,{heading:`Initializes the Powerlines environment configuration module.`,get children(){return[r(A,{children:`This function initializes the Powerlines environment configuration object.`}),r(k,{name:`environmentConfig`,children:`The dynamic/runtime configuration - this could include the current environment variables or any other environment-specific settings provided by the runtime.`}),r(j,{children:`The initialized Powerlines configuration object.`})]}}),r(c,{get when(){return!!x?.entryPath},get children(){return r(v,{refkey:z,async:!1,export:!0,name:`createEnv`,parameters:[{name:`environmentConfig`,type:`Partial<Env>`,optional:!1,default:`{}`}],returnType:`Env`,get children(){return[l`
19
19
  return new Proxy<Env>(
20
20
  deserializeEnv({
21
21
  ...initialEnv,
22
22
  ...environmentConfig
23
23
  }) as Env,
24
24
  {
25
- get: (target: EnvBase, propertyName: string) => { `,i(`hbr`,{}),r(u,{each:H,children:(e,t)=>r(L,{index:t,context:x,property:e})}),f`
25
+ get: (target: EnvBase, propertyName: string) => { `,i(`hbr`,{}),r(s,{each:H,children:(e,t)=>r(L,{index:t,context:x,property:e})}),l`
26
26
  return undefined;
27
- }, `,i(`hbr`,{}),i(`hbr`,{}),f` set: (target: EnvBase, propertyName: string, newValue: any) => { `,i(`hbr`,{}),r(u,{each:U,ender:f` else `,children:(e,t)=>r(R,{index:t,context:x,property:e})}),i(`hbr`,{}),f`return false;
27
+ }, `,i(`hbr`,{}),i(`hbr`,{}),l` set: (target: EnvBase, propertyName: string, newValue: any) => { `,i(`hbr`,{}),r(s,{each:U,ender:l` else `,children:(e,t)=>r(R,{index:t,context:x,property:e})}),i(`hbr`,{}),l`return false;
28
28
  }
29
29
  }
30
30
  );
31
- `]}})}}),i(`hbr`,{}),i(`hbr`,{}),i(`hbr`,{}),r(S,{refkey:B,name:`env`,type:`Env`,export:!0,const:!0,get initializer(){return[f`createEnv(`,_||`{}`,f` as Partial<Env>)`]}})]}}))}export{F as n,H as t};
31
+ `]}})}}),i(`hbr`,{}),i(`hbr`,{}),i(`hbr`,{}),r(S,{refkey:B,name:`env`,type:`Env`,export:!0,const:!0,get initializer(){return[l`createEnv(`,_||`{}`,l` as Partial<Env>)`]}})]}}))}export{F as n,H as t};