@powerlines/plugin-env 0.13.64 → 0.13.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-DT2f8AgL.cjs → _virtual/rolldown_runtime.cjs} +1 -1
- package/dist/{chunk-CbqXBSoN.mjs → _virtual/rolldown_runtime.mjs} +1 -1
- package/dist/alloy/src/core/components/output.cjs +1 -0
- package/dist/alloy/src/core/components/output.mjs +1 -0
- package/dist/alloy/src/core/components/single-line-comment.cjs +1 -0
- package/dist/alloy/src/core/components/single-line-comment.mjs +1 -0
- package/dist/alloy/src/core/components/source-file.cjs +1 -0
- package/dist/alloy/src/core/components/source-file.d.cts +22 -0
- package/dist/alloy/src/core/components/source-file.d.mts +22 -0
- package/dist/alloy/src/core/components/source-file.mjs +1 -0
- package/dist/alloy/src/core/contexts/context.cjs +1 -0
- package/dist/alloy/src/core/contexts/context.mjs +1 -0
- package/dist/alloy/src/core/contexts/reflection.cjs +1 -0
- package/dist/alloy/src/core/contexts/reflection.mjs +1 -0
- package/dist/alloy/src/create-plugin.cjs +2 -0
- package/dist/alloy/src/create-plugin.mjs +2 -0
- package/dist/alloy/src/helpers/refkey.cjs +1 -0
- package/dist/alloy/src/helpers/refkey.mjs +1 -0
- package/dist/alloy/src/markdown/components/markdown-file.cjs +1 -0
- package/dist/alloy/src/markdown/components/markdown-file.mjs +1 -0
- package/dist/alloy/src/markdown/components/markdown-table.cjs +1 -0
- package/dist/alloy/src/markdown/components/markdown-table.mjs +1 -0
- package/dist/alloy/src/markdown/contexts/markdown-table.cjs +1 -0
- package/dist/alloy/src/markdown/contexts/markdown-table.mjs +1 -0
- package/dist/alloy/src/types/components.d.cts +19 -0
- package/dist/alloy/src/types/components.d.mts +23 -0
- package/dist/alloy/src/types/plugin.d.cts +15 -0
- package/dist/alloy/src/types/plugin.d.mts +15 -0
- package/dist/alloy/src/typescript/components/builtin-file.cjs +1 -0
- package/dist/alloy/src/typescript/components/builtin-file.d.cts +25 -0
- package/dist/alloy/src/typescript/components/builtin-file.d.mts +26 -0
- package/dist/alloy/src/typescript/components/builtin-file.mjs +1 -0
- package/dist/alloy/src/typescript/components/tsdoc-reflection.cjs +1 -0
- package/dist/alloy/src/typescript/components/tsdoc-reflection.mjs +1 -0
- package/dist/alloy/src/typescript/components/tsdoc.cjs +1 -0
- package/dist/alloy/src/typescript/components/tsdoc.d.cts +27 -0
- package/dist/alloy/src/typescript/components/tsdoc.d.mts +28 -0
- package/dist/alloy/src/typescript/components/tsdoc.mjs +1 -0
- package/dist/alloy/src/typescript/components/typescript-file.cjs +1 -0
- package/dist/alloy/src/typescript/components/typescript-file.d.cts +13 -0
- package/dist/alloy/src/typescript/components/typescript-file.d.mts +14 -0
- package/dist/alloy/src/typescript/components/typescript-file.mjs +1 -0
- package/dist/alloy/src/typescript/components/typescript-interface.cjs +1 -0
- package/dist/alloy/src/typescript/components/typescript-interface.d.cts +11 -0
- package/dist/alloy/src/typescript/components/typescript-interface.d.mts +12 -0
- package/dist/alloy/src/typescript/components/typescript-interface.mjs +1 -0
- package/dist/alloy/src/typescript/components/typescript-object.cjs +1 -0
- package/dist/alloy/src/typescript/components/typescript-object.mjs +1 -0
- package/dist/babel/index.cjs +1 -1
- package/dist/babel/index.d.cts +1 -16
- package/dist/babel/index.d.mts +1 -16
- package/dist/babel/index.mjs +1 -1
- package/dist/babel/plugin.cjs +5 -1
- package/dist/babel/plugin.d.cts +6 -16
- package/dist/babel/plugin.d.mts +8 -16
- package/dist/babel/plugin.mjs +5 -1
- package/dist/components/docs.cjs +1 -1
- package/dist/components/docs.d.cts +8 -1
- package/dist/components/docs.d.mts +8 -1
- package/dist/components/docs.mjs +1 -1
- package/dist/components/env.cjs +34 -1
- package/dist/components/env.d.cts +19 -3
- package/dist/components/env.d.mts +19 -3
- package/dist/components/env.mjs +31 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.d.cts +2 -5
- package/dist/components/index.d.mts +2 -5
- package/dist/components/index.mjs +1 -1
- package/dist/deepkit/schemas/reflection.cjs +1 -0
- package/dist/{plugin-BC31CJSb.d.mts → deepkit/schemas/reflection.d.cts} +1 -156
- package/dist/{plugin-Ds60xmj5.d.cts → deepkit/schemas/reflection.d.mts} +1 -156
- package/dist/deepkit/schemas/reflection.mjs +1 -0
- package/dist/deepkit/schemas/reflection2.cjs +1 -0
- package/dist/deepkit/schemas/reflection2.mjs +1 -0
- package/dist/deepkit/src/capnp.cjs +1 -0
- package/dist/deepkit/src/capnp.mjs +1 -0
- package/dist/deepkit/src/reflect-type.cjs +1 -0
- package/dist/deepkit/src/reflect-type.mjs +1 -0
- package/dist/deepkit/src/resolve-reflections.cjs +1 -0
- package/dist/deepkit/src/resolve-reflections.mjs +1 -0
- package/dist/deepkit/src/types.d.cts +10 -0
- package/dist/deepkit/src/types.d.mts +10 -0
- package/dist/deepkit/src/utilities.cjs +1 -0
- package/dist/deepkit/src/utilities.mjs +1 -0
- package/dist/deepkit/src/vendor/type.cjs +1 -0
- package/dist/deepkit/src/vendor/type.d.cts +7 -0
- package/dist/deepkit/src/vendor/type.d.mts +7 -0
- package/dist/deepkit/src/vendor/type.mjs +1 -0
- package/dist/helpers/create-reflection-resource.cjs +1 -1
- package/dist/helpers/create-reflection-resource.d.cts +14 -5
- package/dist/helpers/create-reflection-resource.d.mts +14 -5
- package/dist/helpers/create-reflection-resource.mjs +1 -1
- package/dist/helpers/index.cjs +1 -1
- package/dist/helpers/index.d.cts +6 -11
- package/dist/helpers/index.d.mts +6 -11
- package/dist/helpers/index.mjs +1 -1
- package/dist/helpers/load.cjs +1 -1
- package/dist/helpers/load.d.cts +34 -5
- package/dist/helpers/load.d.mts +35 -5
- package/dist/helpers/load.mjs +1 -1
- package/dist/helpers/persistence.cjs +1 -1
- package/dist/helpers/persistence.d.cts +83 -5
- package/dist/helpers/persistence.d.mts +83 -5
- package/dist/helpers/persistence.mjs +1 -1
- package/dist/helpers/reflect.cjs +1 -1
- package/dist/helpers/reflect.d.cts +45 -5
- package/dist/helpers/reflect.d.mts +45 -5
- package/dist/helpers/reflect.mjs +1 -1
- package/dist/helpers/source-file-env.cjs +1 -1
- package/dist/helpers/source-file-env.d.cts +7 -1
- package/dist/helpers/source-file-env.d.mts +7 -1
- package/dist/helpers/source-file-env.mjs +1 -1
- package/dist/helpers/template-helpers.cjs +1 -1
- package/dist/helpers/template-helpers.d.cts +14 -5
- package/dist/helpers/template-helpers.d.mts +14 -5
- package/dist/helpers/template-helpers.mjs +1 -1
- package/dist/index.cjs +3 -4
- package/dist/index.d.cts +20 -16
- package/dist/index.d.mts +25 -16
- package/dist/index.mjs +2 -3
- package/dist/plugin-babel/src/helpers/ast-utils.cjs +1 -0
- package/dist/plugin-babel/src/helpers/ast-utils.mjs +1 -0
- package/dist/plugin-babel/src/helpers/create-plugin.cjs +1 -0
- package/dist/plugin-babel/src/helpers/create-plugin.mjs +1 -0
- package/dist/plugin-babel/src/helpers/filters.cjs +1 -0
- package/dist/plugin-babel/src/helpers/filters.mjs +1 -0
- package/dist/plugin-babel/src/helpers/index.cjs +1 -0
- package/dist/plugin-babel/src/helpers/index.mjs +1 -0
- package/dist/plugin-babel/src/helpers/module-helpers.cjs +1 -0
- package/dist/plugin-babel/src/helpers/module-helpers.mjs +1 -0
- package/dist/plugin-babel/src/helpers/options.cjs +1 -0
- package/dist/plugin-babel/src/helpers/options.mjs +1 -0
- package/dist/plugin-babel/src/index.cjs +1 -0
- package/dist/plugin-babel/src/index.mjs +1 -0
- package/dist/plugin-babel/src/types/index.d.mts +1 -0
- package/dist/plugin-babel/src/types/plugin.d.cts +15 -0
- package/dist/plugin-babel/src/types/plugin.d.mts +15 -0
- package/dist/plugin-plugin/src/types/plugin.d.cts +21 -0
- package/dist/plugin-plugin/src/types/plugin.d.mts +24 -0
- package/dist/powerlines/src/internal/helpers/hooks.d.mts +5 -0
- package/dist/powerlines/src/lib/build/esbuild.cjs +14 -0
- package/dist/powerlines/src/lib/build/esbuild.mjs +14 -0
- package/dist/powerlines/src/lib/entry.cjs +1 -0
- package/dist/powerlines/src/lib/entry.mjs +1 -0
- package/dist/powerlines/src/lib/logger.cjs +1 -0
- package/dist/powerlines/src/lib/logger.mjs +1 -0
- package/dist/powerlines/src/lib/utilities/bundle.cjs +1 -0
- package/dist/powerlines/src/lib/utilities/bundle.mjs +1 -0
- package/dist/powerlines/src/lib/utilities/resolve.cjs +1 -0
- package/dist/powerlines/src/lib/utilities/resolve.mjs +1 -0
- package/dist/powerlines/src/plugin-utils/helpers.cjs +1 -0
- package/dist/powerlines/src/plugin-utils/helpers.mjs +1 -0
- package/dist/powerlines/src/plugin-utils/paths.cjs +1 -0
- package/dist/powerlines/src/plugin-utils/paths.mjs +1 -0
- package/dist/powerlines/src/types/api.d.mts +5 -0
- package/dist/powerlines/src/types/babel.d.cts +23 -0
- package/dist/powerlines/src/types/babel.d.mts +23 -0
- package/dist/powerlines/src/types/build.d.cts +139 -0
- package/dist/powerlines/src/types/build.d.mts +141 -0
- package/dist/powerlines/src/types/commands.d.cts +8 -0
- package/dist/powerlines/src/types/commands.d.mts +9 -0
- package/dist/powerlines/src/types/config.d.cts +356 -0
- package/dist/powerlines/src/types/config.d.mts +357 -0
- package/dist/powerlines/src/types/context.d.cts +358 -0
- package/dist/powerlines/src/types/context.d.mts +360 -0
- package/dist/powerlines/src/types/fs.d.cts +458 -0
- package/dist/powerlines/src/types/fs.d.mts +458 -0
- package/dist/powerlines/src/types/hooks.d.mts +2 -0
- package/dist/powerlines/src/types/index.d.mts +12 -0
- package/dist/powerlines/src/types/plugin.d.cts +232 -0
- package/dist/powerlines/src/types/plugin.d.mts +232 -0
- package/dist/powerlines/src/types/resolved.d.cts +82 -0
- package/dist/powerlines/src/types/resolved.d.mts +83 -0
- package/dist/powerlines/src/types/tsconfig.d.cts +69 -0
- package/dist/powerlines/src/types/tsconfig.d.mts +69 -0
- package/dist/powerlines/src/types/unplugin.d.mts +7 -0
- package/dist/types/index.cjs +0 -1
- package/dist/types/index.d.cts +2 -5
- package/dist/types/index.d.mts +2 -5
- package/dist/types/index.mjs +1 -1
- package/dist/types/plugin.cjs +0 -1
- package/dist/types/plugin.d.cts +140 -4
- package/dist/types/plugin.d.mts +141 -4
- package/dist/types/plugin.mjs +1 -1
- package/dist/types/runtime.cjs +0 -1
- package/dist/types/runtime.d.cts +793 -2
- package/dist/types/runtime.d.mts +793 -2
- package/dist/types/runtime.mjs +1 -1
- package/package.json +16 -16
- package/dist/babel-Bmzkjy1p.cjs +0 -0
- package/dist/babel-CE47sTzg.mjs +0 -1
- package/dist/components-BWruXLSx.cjs +0 -0
- package/dist/components-LyHNrcZE.mjs +0 -1
- package/dist/config-CYnsaVbs.d.mts +0 -1678
- package/dist/config-CxGVaXL4.d.cts +0 -1676
- package/dist/create-reflection-resource-CQHJrkQi.cjs +0 -1
- package/dist/create-reflection-resource-Cut236Kb.d.mts +0 -15
- package/dist/create-reflection-resource-DT6PRnl4.d.cts +0 -15
- package/dist/create-reflection-resource-UtOwX4Ml.mjs +0 -1
- package/dist/docs-BDiEhcDa.mjs +0 -1
- package/dist/docs-Bhi9smBO.cjs +0 -1
- package/dist/docs-BoZkRBO4.d.cts +0 -9
- package/dist/docs-BwK6pC_c.d.mts +0 -9
- package/dist/env-0C9Vc_CF.cjs +0 -34
- package/dist/env-BuKnYxut.d.mts +0 -112
- package/dist/env-CXBFOUFJ.d.cts +0 -112
- package/dist/env-D4MK9BWK.mjs +0 -31
- package/dist/helpers-DfMThUgD.mjs +0 -1
- package/dist/helpers-YGhXHw5G.cjs +0 -0
- package/dist/index-BBNpKJsx.d.mts +0 -41
- package/dist/index-BRBK9zG-.d.cts +0 -1
- package/dist/index-Bt4QNofW.d.mts +0 -1
- package/dist/index-CRo77wc3.d.mts +0 -1
- package/dist/index-CspKFJM1.d.cts +0 -1
- package/dist/index-Czm5wPhI.d.cts +0 -41
- package/dist/index-Dpmi5zcN.d.cts +0 -1
- package/dist/index-Wc1llEvP.d.mts +0 -1
- package/dist/load-BZTlThWg.mjs +0 -1
- package/dist/load-DLNNRhI9.d.cts +0 -35
- package/dist/load-DdYSs4J5.d.mts +0 -38
- package/dist/load-nUlit5lR.cjs +0 -1
- package/dist/persistence-BU921sV3.d.mts +0 -84
- package/dist/persistence-Br-YMVb1.mjs +0 -14
- package/dist/persistence-D0xYMSMI.d.cts +0 -84
- package/dist/persistence-KaP3-ka1.cjs +0 -14
- package/dist/plugin-CRYQ682C.cjs +0 -0
- package/dist/plugin-Cx61c9gw.mjs +0 -5
- package/dist/plugin-DrnPbdzR.mjs +0 -1
- package/dist/plugin-v-FJGggy.cjs +0 -5
- package/dist/reflect-DQjKw7jE.d.cts +0 -46
- package/dist/reflect-DzAiYF2u.d.mts +0 -46
- package/dist/runtime-BaZivi6m.cjs +0 -0
- package/dist/runtime-BxuH9yuK.d.cts +0 -794
- package/dist/runtime-DqCYc37d.mjs +0 -1
- package/dist/runtime-qQN60UNu.d.mts +0 -794
- package/dist/source-file-CLCTB4C7.cjs +0 -1
- package/dist/source-file-CjFSCK1w.mjs +0 -1
- package/dist/source-file-env-BDFTs5WJ.mjs +0 -1
- package/dist/source-file-env-C6uYyxww.cjs +0 -1
- package/dist/source-file-env-DonDJDV1.d.cts +0 -8
- package/dist/source-file-env-DzpWKluw.d.mts +0 -8
- package/dist/template-helpers-BNFy_Wbj.d.mts +0 -15
- package/dist/template-helpers-BSbamu0U.cjs +0 -1
- package/dist/template-helpers-C-NOO5ex.d.cts +0 -15
- package/dist/template-helpers-CLrM_TtO.mjs +0 -1
- package/dist/type-CnPIyotQ.d.mts +0 -3
- package/dist/type-D6dRgWJT.d.cts +0 -3
- package/dist/types-BCto_Rzj.mjs +0 -1
- package/dist/types-DS7T32tb.cjs +0 -0
- package/dist/utilities-4S--uN0L.mjs +0 -1
- package/dist/utilities-CxyT2chk.cjs +0 -1
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { t as type_d_exports } from "./type-D6dRgWJT.cjs";
|
|
2
|
-
import { a as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "./plugin-Ds60xmj5.cjs";
|
|
3
|
-
import { i as Context, s as UnresolvedContext } from "./config-CxGVaXL4.cjs";
|
|
4
|
-
import { TypeDefinition } from "@stryke/types/configuration";
|
|
5
|
-
|
|
6
|
-
//#region src/helpers/persistence.d.ts
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Resolves the runtime type definition file for the environment variables.
|
|
10
|
-
*
|
|
11
|
-
* @param context - The plugin context.
|
|
12
|
-
* @returns The runtime type definition file for the environment variables.
|
|
13
|
-
*/
|
|
14
|
-
declare function resolveRuntimeTypeFile(context: UnresolvedContext<EnvPluginResolvedConfig>): Promise<string>;
|
|
15
|
-
/**
|
|
16
|
-
* Gets the default type definition for the environment variables.
|
|
17
|
-
*
|
|
18
|
-
* @param context - The plugin context.
|
|
19
|
-
* @returns The default type definition for the environment variables.
|
|
20
|
-
*/
|
|
21
|
-
declare function getEnvDefaultTypeDefinition(context: UnresolvedContext<EnvPluginResolvedConfig>): Promise<TypeDefinition>;
|
|
22
|
-
/** Gets the default type definition for the environment secrets.
|
|
23
|
-
*
|
|
24
|
-
* @param context - The plugin context.
|
|
25
|
-
* @returns The default type definition for the environment secrets.
|
|
26
|
-
*/
|
|
27
|
-
declare function getSecretsDefaultTypeDefinition(context: UnresolvedContext<EnvPluginResolvedConfig>): Promise<TypeDefinition>;
|
|
28
|
-
/**
|
|
29
|
-
* Gets the path to the environment type reflections.
|
|
30
|
-
*
|
|
31
|
-
* @param context - The plugin context.
|
|
32
|
-
* @param name - The name of the type reflections.
|
|
33
|
-
* @returns The path to the environment type reflections.
|
|
34
|
-
*/
|
|
35
|
-
declare function getEnvTypeReflectionsPath(context: Context<EnvPluginResolvedConfig>, name?: EnvType): string;
|
|
36
|
-
/**
|
|
37
|
-
* Reads the environment type reflection from the file system.
|
|
38
|
-
*
|
|
39
|
-
* @param context - The plugin context.
|
|
40
|
-
* @param name - The name of the type reflections.
|
|
41
|
-
* @returns The environment type reflection.
|
|
42
|
-
*/
|
|
43
|
-
declare function readEnvTypeReflection(context: EnvPluginContext, name?: EnvType): Promise<type_d_exports.ReflectionClass<any>>;
|
|
44
|
-
/**
|
|
45
|
-
* Writes the environment type reflection to the file system.
|
|
46
|
-
*
|
|
47
|
-
* @param context - The plugin context.
|
|
48
|
-
* @param reflection - The environment type reflection to write.
|
|
49
|
-
* @param name - The name of the type reflections.
|
|
50
|
-
*/
|
|
51
|
-
declare function writeEnvTypeReflection(context: EnvPluginContext, reflection: type_d_exports.ReflectionClass<any>, name?: EnvType): Promise<void>;
|
|
52
|
-
declare function getEnvReflectionsPath(context: EnvPluginContext, name: EnvType): string;
|
|
53
|
-
/**
|
|
54
|
-
* Reads the environment reflection data from the file system.
|
|
55
|
-
*
|
|
56
|
-
* @param context - The plugin context.
|
|
57
|
-
* @returns The environment reflection data.
|
|
58
|
-
*/
|
|
59
|
-
declare function readEnvReflection(context: EnvPluginContext): Promise<type_d_exports.ReflectionClass<any>>;
|
|
60
|
-
/**
|
|
61
|
-
* Reads the secret environment reflection data from the file system.
|
|
62
|
-
*
|
|
63
|
-
* @param context - The plugin context.
|
|
64
|
-
* @returns The environment reflection data.
|
|
65
|
-
*/
|
|
66
|
-
declare function readSecretsReflection(context: EnvPluginContext): Promise<type_d_exports.ReflectionClass<any>>;
|
|
67
|
-
/**
|
|
68
|
-
* Writes the environment reflection data to the file system.
|
|
69
|
-
*
|
|
70
|
-
* @param context - The plugin context.
|
|
71
|
-
* @param reflection - The reflection data to write.
|
|
72
|
-
* @param name - The name of the reflection (either "env" or "secrets").
|
|
73
|
-
*/
|
|
74
|
-
declare function writeEnvReflection(context: EnvPluginContext, reflection: type_d_exports.ReflectionClass<any>, name?: EnvType): Promise<void>;
|
|
75
|
-
/**
|
|
76
|
-
* Writes the environment reflection data to the file system.
|
|
77
|
-
*
|
|
78
|
-
* @param context - The plugin context.
|
|
79
|
-
* @param reflection - The reflection data to write.
|
|
80
|
-
* @param name - The name of the reflection (either "env" or "secrets").
|
|
81
|
-
*/
|
|
82
|
-
declare function writeEnvReflectionSync(context: EnvPluginContext, reflection: type_d_exports.ReflectionClass<any>, name?: EnvType): void;
|
|
83
|
-
//#endregion
|
|
84
|
-
export { readEnvReflection as a, resolveRuntimeTypeFile as c, writeEnvTypeReflection as d, getSecretsDefaultTypeDefinition as i, writeEnvReflection as l, getEnvReflectionsPath as n, readEnvTypeReflection as o, getEnvTypeReflectionsPath as r, readSecretsReflection as s, getEnvDefaultTypeDefinition as t, writeEnvReflectionSync as u };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-DT2f8AgL.cjs`);let t=require(`@storm-software/config-tools/types`),n=require(`@stryke/path/is-parent-path`),r=require(`@stryke/path/replace`),i=require(`@stryke/type-checks/is-set-string`),a=require(`defu`);a=e.n(a);let o=require(`@stryke/string-format/title-case`),ee=require(`@stryke/type-checks/is-string`),te=require(`@stryke/convert/parse-type-definition`),ne=require(`@stryke/convert/to-array`),re=require(`@stryke/type-checks`),s=require(`@stryke/capnp`);s=e.n(s);let ie=require(`@stryke/helpers/get-unique`),c=require(`@stryke/fs/buffer`),ae=require(`node:fs`),l=require(`@stryke/path/join-paths`),oe=require(`@stryke/fs/resolve`),se=require(`@stryke/type-checks/is-empty-object`),ce=require(`esbuild`),le=require(`@stryke/helpers/omit`),u=require(`@stryke/string-format/camel-case`);require(`@stryke/fs/is-file`),require(`@stryke/fs/list-files`),require(`@stryke/hash/murmurhash`);let ue=require(`@stryke/path/append`);var d={};e.t(d,require(`@deepkit/type`));const f={PUBLIC:0,PROTECTED:1,PRIVATE:2};var p=class extends s.Struct{static _capnp={displayName:`TagsReflection`,id:`ab7e31d6b834bbf8`,size:new s.ObjectSize(8,4)};_adoptAlias(e){s.utils.adopt(e,s.utils.getPointer(0,this))}_disownAlias(){return s.utils.disown(this.alias)}get alias(){return s.utils.getList(0,s.TextList,this)}_hasAlias(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initAlias(e){return s.utils.initList(0,s.TextList,e,this)}set alias(e){s.utils.copyFrom(e,s.utils.getPointer(0,this))}get title(){return s.utils.getText(1,this)}set title(e){s.utils.setText(1,e,this)}get hidden(){return s.utils.getBit(0,this)}set hidden(e){s.utils.setBit(0,e,this)}get readonly(){return s.utils.getBit(1,this)}set readonly(e){s.utils.setBit(1,e,this)}get ignore(){return s.utils.getBit(2,this)}set ignore(e){s.utils.setBit(2,e,this)}get internal(){return s.utils.getBit(3,this)}set internal(e){s.utils.setBit(3,e,this)}_adoptPermission(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownPermission(){return s.utils.disown(this.permission)}get permission(){return s.utils.getList(2,s.TextList,this)}_hasPermission(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initPermission(e){return s.utils.initList(2,s.TextList,e,this)}set permission(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}get domain(){return s.utils.getText(3,this)}set domain(e){s.utils.setText(3,e,this)}toString(){return`TagsReflection_`+super.toString()}};const m={UNDEFINED:0,BOOLEAN:1,INTEGER:2,FLOAT:3,STRING:4};var de=class extends s.Struct{static UNDEFINED=m.UNDEFINED;static BOOLEAN=m.BOOLEAN;static INTEGER=m.INTEGER;static FLOAT=m.FLOAT;static STRING=m.STRING;static _capnp={displayName:`value`,id:`8748135e0497fe81`,size:new s.ObjectSize(16,1)};get _isUndefined(){return s.utils.getUint16(0,this)===0}set undefined(e){s.utils.setUint16(0,0,this)}get boolean(){return s.utils.testWhich(`boolean`,s.utils.getUint16(0,this),1,this),s.utils.getBit(16,this)}get _isBoolean(){return s.utils.getUint16(0,this)===1}set boolean(e){s.utils.setUint16(0,1,this),s.utils.setBit(16,e,this)}get integer(){return s.utils.testWhich(`integer`,s.utils.getUint16(0,this),2,this),s.utils.getInt32(4,this)}get _isInteger(){return s.utils.getUint16(0,this)===2}set integer(e){s.utils.setUint16(0,2,this),s.utils.setInt32(4,e,this)}get float(){return s.utils.testWhich(`float`,s.utils.getUint16(0,this),3,this),s.utils.getFloat64(8,this)}get _isFloat(){return s.utils.getUint16(0,this)===3}set float(e){s.utils.setUint16(0,3,this),s.utils.setFloat64(8,e,this)}get string(){return s.utils.testWhich(`string`,s.utils.getUint16(0,this),4,this),s.utils.getText(0,this)}get _isString(){return s.utils.getUint16(0,this)===4}set string(e){s.utils.setUint16(0,4,this),s.utils.setText(0,e,this)}toString(){return`DefaultValueReflection_Value_`+super.toString()}which(){return s.utils.getUint16(0,this)}},h=class extends s.Struct{static _capnp={displayName:`DefaultValueReflection`,id:`96fe6f07954197c9`,size:new s.ObjectSize(16,1)};get value(){return s.utils.getAs(de,this)}_initValue(){return s.utils.getAs(de,this)}toString(){return`DefaultValueReflection_`+super.toString()}},g=class extends s.Struct{static _capnp={displayName:`SerializedTypeReference`,id:`a83d8a28b5e80f3a`,size:new s.ObjectSize(8,0)};get id(){return s.utils.getUint32(0,this)}set id(e){s.utils.setUint32(0,e,this)}toString(){return`SerializedTypeReference_`+super.toString()}},_=class extends s.Struct{static _capnp={displayName:`IndexAccessOrigin`,id:`ca50b18186c87afe`,size:new s.ObjectSize(0,2)};_adoptContainer(e){s.utils.adopt(e,s.utils.getPointer(0,this))}_disownContainer(){return s.utils.disown(this.container)}get container(){return s.utils.getStruct(0,g,this)}_hasContainer(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initContainer(){return s.utils.initStructAt(0,g,this)}set container(e){s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptIndex(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownIndex(){return s.utils.disown(this.index)}get index(){return s.utils.getStruct(1,g,this)}_hasIndex(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initIndex(){return s.utils.initStructAt(1,g,this)}set index(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}toString(){return`IndexAccessOrigin_`+super.toString()}},fe=class extends s.Struct{static _capnp={displayName:`EntityIndexOptions`,id:`de584ad10b7c5004`,size:new s.ObjectSize(0,2)};_adoptNames(e){s.utils.adopt(e,s.utils.getPointer(0,this))}_disownNames(){return s.utils.disown(this.names)}get names(){return s.utils.getList(0,s.TextList,this)}_hasNames(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initNames(e){return s.utils.initList(0,s.TextList,e,this)}set names(e){s.utils.copyFrom(e,s.utils.getPointer(0,this))}get options(){return s.utils.getText(1,this)}set options(e){s.utils.setText(1,e,this)}toString(){return`EntityOptions_EntityIndexOptions_`+super.toString()}},pe=class e extends s.Struct{static EntityIndexOptions=fe;static _capnp={displayName:`EntityOptions`,id:`948d2d02cf676d60`,size:new s.ObjectSize(8,5)};get name(){return s.utils.getText(0,this)}set name(e){s.utils.setText(0,e,this)}get description(){return s.utils.getText(1,this)}set description(e){s.utils.setText(1,e,this)}get collection(){return s.utils.getText(2,this)}set collection(e){s.utils.setText(2,e,this)}get database(){return s.utils.getText(3,this)}set database(e){s.utils.setText(3,e,this)}get singleTableInheritance(){return s.utils.getBit(0,this)}set singleTableInheritance(e){s.utils.setBit(0,e,this)}_adoptIndexes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownIndexes(){return s.utils.disown(this.indexes)}get indexes(){return s.utils.getList(4,e._Indexes,this)}_hasIndexes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initIndexes(t){return s.utils.initList(4,e._Indexes,t,this)}set indexes(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`EntityOptions_`+super.toString()}},me=class e extends s.Struct{static _capnp={displayName:`SerializedTypeObjectLiteral`,id:`8b56235ad9bcb2b1`,size:new s.ObjectSize(8,6)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(5,p,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initTags(){return s.utils.initStructAt(5,p,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}toString(){return`SerializedTypeObjectLiteral_`+super.toString()}},v=class e extends s.Struct{static _capnp={displayName:`SerializedTypeClassType`,id:`9855392bf9c48b25`,size:new s.ObjectSize(8,11)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}get globalObject(){return s.utils.getBit(16,this)}set globalObject(e){s.utils.setBit(16,e,this)}get classType(){return s.utils.getText(5,this)}set classType(e){s.utils.setText(5,e,this)}_adoptExtendsArguments(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownExtendsArguments(){return s.utils.disown(this.extendsArguments)}get extendsArguments(){return s.utils.getList(6,e._ExtendsArguments,this)}_hasExtendsArguments(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initExtendsArguments(t){return s.utils.initList(6,e._ExtendsArguments,t,this)}set extendsArguments(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptArguments(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownArguments(){return s.utils.disown(this.arguments)}get arguments(){return s.utils.getList(7,e._Arguments,this)}_hasArguments(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initArguments(t){return s.utils.initList(7,e._Arguments,t,this)}set arguments(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}_adoptSuperClass(e){s.utils.adopt(e,s.utils.getPointer(8,this))}_disownSuperClass(){return s.utils.disown(this.superClass)}get superClass(){return s.utils.getStruct(8,g,this)}_hasSuperClass(){return!s.utils.isNull(s.utils.getPointer(8,this))}_initSuperClass(){return s.utils.initStructAt(8,g,this)}set superClass(e){s.utils.copyFrom(e,s.utils.getPointer(8,this))}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(9,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(9,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(9,this))}_initTypes(t){return s.utils.initList(9,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(9,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(10,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(10,p,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(10,this))}_initTags(){return s.utils.initStructAt(10,p,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(10,this))}toString(){return`SerializedTypeClassType_`+super.toString()}},y=class e extends s.Struct{static _capnp={displayName:`SerializedTypeParameter`,id:`fcbaa08bb97b8b1a`,size:new s.ObjectSize(8,8)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(5,g,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initType(){return s.utils.initStructAt(5,g,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}get visibility(){return s.utils.getUint16(2,this)}set visibility(e){s.utils.setUint16(2,e,this)}get readonly(){return s.utils.getBit(32,this)}set readonly(e){s.utils.setBit(32,e,this)}get optional(){return s.utils.getBit(33,this)}set optional(e){s.utils.setBit(33,e,this)}_adoptDefault(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownDefault(){return s.utils.disown(this.default)}get default(){return s.utils.getStruct(6,h,this)}_hasDefault(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initDefault(){return s.utils.initStructAt(6,h,this)}set default(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(7,p,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initTags(){return s.utils.initStructAt(7,p,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeParameter_`+super.toString()}},b=class e extends s.Struct{static _capnp={displayName:`SerializedTypeMethod`,id:`8b5eff6d9ec2fb06`,size:new s.ObjectSize(8,8)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get visibility(){return s.utils.getUint16(0,this)}set visibility(e){s.utils.setUint16(0,e,this)}get abstract(){return s.utils.getBit(16,this)}set abstract(e){s.utils.setBit(16,e,this)}get optional(){return s.utils.getBit(17,this)}set optional(e){s.utils.setBit(17,e,this)}get readonly(){return s.utils.getBit(18,this)}set readonly(e){s.utils.setBit(18,e,this)}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(4,p,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTags(){return s.utils.initStructAt(4,p,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}get kind(){return s.utils.getUint16(4,this)}set kind(e){s.utils.setUint16(4,e,this)}get name(){return s.utils.getText(5,this)}set name(e){s.utils.setText(5,e,this)}_adoptParameters(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownParameters(){return s.utils.disown(this.parameters)}get parameters(){return s.utils.getList(6,e._Parameters,this)}_hasParameters(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initParameters(t){return s.utils.initList(6,e._Parameters,t,this)}set parameters(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptReturn(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownReturn(){return s.utils.disown(this.return)}get return(){return s.utils.getStruct(7,g,this)}_hasReturn(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initReturn(){return s.utils.initStructAt(7,g,this)}set return(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeMethod_`+super.toString()}},he=class e extends s.Struct{static _capnp={displayName:`SerializedTypeProperty`,id:`91d9dbea2037f78b`,size:new s.ObjectSize(8,9)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get visibility(){return s.utils.getUint16(0,this)}set visibility(e){s.utils.setUint16(0,e,this)}get abstract(){return s.utils.getBit(16,this)}set abstract(e){s.utils.setBit(16,e,this)}get optional(){return s.utils.getBit(17,this)}set optional(e){s.utils.setBit(17,e,this)}get readonly(){return s.utils.getBit(18,this)}set readonly(e){s.utils.setBit(18,e,this)}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(4,p,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTags(){return s.utils.initStructAt(4,p,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}get kind(){return s.utils.getUint16(4,this)}set kind(e){s.utils.setUint16(4,e,this)}get name(){return s.utils.getText(5,this)}set name(e){s.utils.setText(5,e,this)}get description(){return s.utils.getText(6,this)}set description(e){s.utils.setText(6,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(7,g,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initType(){return s.utils.initStructAt(7,g,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}_adoptDefault(e){s.utils.adopt(e,s.utils.getPointer(8,this))}_disownDefault(){return s.utils.disown(this.default)}get default(){return s.utils.getStruct(8,h,this)}_hasDefault(){return!s.utils.isNull(s.utils.getPointer(8,this))}_initDefault(){return s.utils.initStructAt(8,h,this)}set default(e){s.utils.copyFrom(e,s.utils.getPointer(8,this))}toString(){return`SerializedTypeProperty_`+super.toString()}},x=class e extends s.Struct{static _capnp={displayName:`SerializedTypeFunction`,id:`9130bccd82dfcfd4`,size:new s.ObjectSize(8,8)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get visibility(){return s.utils.getUint16(0,this)}set visibility(e){s.utils.setUint16(0,e,this)}get abstract(){return s.utils.getBit(16,this)}set abstract(e){s.utils.setBit(16,e,this)}get optional(){return s.utils.getBit(17,this)}set optional(e){s.utils.setBit(17,e,this)}get readonly(){return s.utils.getBit(18,this)}set readonly(e){s.utils.setBit(18,e,this)}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(4,p,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTags(){return s.utils.initStructAt(4,p,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}get kind(){return s.utils.getUint16(4,this)}set kind(e){s.utils.setUint16(4,e,this)}get name(){return s.utils.getText(5,this)}set name(e){s.utils.setText(5,e,this)}_adoptParameters(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownParameters(){return s.utils.disown(this.parameters)}get parameters(){return s.utils.getList(6,e._Parameters,this)}_hasParameters(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initParameters(t){return s.utils.initList(6,e._Parameters,t,this)}set parameters(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptReturn(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownReturn(){return s.utils.disown(this.return)}get return(){return s.utils.getStruct(7,g,this)}_hasReturn(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initReturn(){return s.utils.initStructAt(7,g,this)}set return(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeFunction_`+super.toString()}},ge=class e extends s.Struct{static _capnp={displayName:`SerializedTypePromise`,id:`e9b0cbe936a42398`,size:new s.ObjectSize(8,4)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get visibility(){return s.utils.getUint16(0,this)}set visibility(e){s.utils.setUint16(0,e,this)}get abstract(){return s.utils.getBit(16,this)}set abstract(e){s.utils.setBit(16,e,this)}toString(){return`SerializedTypePromise_`+super.toString()}},_e=class extends s.Struct{static _capnp={displayName:`SerializedTypeEnumEntry`,id:`d5bcb8b7c49ba556`,size:new s.ObjectSize(0,2)};get name(){return s.utils.getText(0,this)}set name(e){s.utils.setText(0,e,this)}get value(){return s.utils.getText(1,this)}set value(e){s.utils.setText(1,e,this)}toString(){return`SerializedTypeEnumEntry_`+super.toString()}},S=class e extends s.Struct{static _capnp={displayName:`SerializedTypeEnum`,id:`d7d36f0ae79e3841`,size:new s.ObjectSize(8,8)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptEnumEntries(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownEnumEntries(){return s.utils.disown(this.enumEntries)}get enumEntries(){return s.utils.getList(4,e._EnumEntries,this)}_hasEnumEntries(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initEnumEntries(t){return s.utils.initList(4,e._EnumEntries,t,this)}set enumEntries(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptValues(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownValues(){return s.utils.disown(this.values)}get values(){return s.utils.getList(5,s.TextList,this)}_hasValues(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initValues(e){return s.utils.initList(5,s.TextList,e,this)}set values(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}_adoptIndexType(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownIndexType(){return s.utils.disown(this.indexType)}get indexType(){return s.utils.getStruct(6,g,this)}_hasIndexType(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initIndexType(){return s.utils.initStructAt(6,g,this)}set indexType(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(7,p,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initTags(){return s.utils.initStructAt(7,p,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeEnum_`+super.toString()}},C=class e extends s.Struct{static _capnp={displayName:`SerializedTypeUnion`,id:`a9ae4c95e41ff4ab`,size:new s.ObjectSize(8,5)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeUnion_`+super.toString()}},w=class e extends s.Struct{static _capnp={displayName:`SerializedTypeIntersection`,id:`9ae42bd17511c09b`,size:new s.ObjectSize(8,5)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeIntersection_`+super.toString()}},ve=class e extends s.Struct{static _capnp={displayName:`SerializedTypeArray`,id:`97d1d75240151501`,size:new s.ObjectSize(8,6)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(4,g,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initType(){return s.utils.initStructAt(4,g,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(5,p,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initTags(){return s.utils.initStructAt(5,p,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}toString(){return`SerializedTypeArray_`+super.toString()}},ye=class e extends s.Struct{static _capnp={displayName:`SerializedTypeIndexSignature`,id:`93e335e2756821d8`,size:new s.ObjectSize(8,6)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptIndex(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownIndex(){return s.utils.disown(this.index)}get index(){return s.utils.getStruct(4,g,this)}_hasIndex(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initIndex(){return s.utils.initStructAt(4,g,this)}set index(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(5,g,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initType(){return s.utils.initStructAt(5,g,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}toString(){return`SerializedTypeIndexSignature_`+super.toString()}},be=class e extends s.Struct{static _capnp={displayName:`SerializedTypePropertySignature`,id:`9bc1cebd2ca1569a`,size:new s.ObjectSize(8,9)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}get optional(){return s.utils.getBit(16,this)}set optional(e){s.utils.setBit(16,e,this)}get readonly(){return s.utils.getBit(17,this)}set readonly(e){s.utils.setBit(17,e,this)}get description(){return s.utils.getText(5,this)}set description(e){s.utils.setText(5,e,this)}_adoptDefault(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownDefault(){return s.utils.disown(this.default)}get default(){return s.utils.getStruct(6,h,this)}_hasDefault(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initDefault(){return s.utils.initStructAt(6,h,this)}set default(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(7,g,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initType(){return s.utils.initStructAt(7,g,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(8,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(8,p,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(8,this))}_initTags(){return s.utils.initStructAt(8,p,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(8,this))}toString(){return`SerializedTypePropertySignature_`+super.toString()}},T=class e extends s.Struct{static _capnp={displayName:`SerializedTypeMethodSignature`,id:`e25a2cc39d5930c8`,size:new s.ObjectSize(8,8)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}get optional(){return s.utils.getBit(16,this)}set optional(e){s.utils.setBit(16,e,this)}_adoptParameters(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownParameters(){return s.utils.disown(this.parameters)}get parameters(){return s.utils.getList(5,e._Parameters,this)}_hasParameters(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initParameters(t){return s.utils.initList(5,e._Parameters,t,this)}set parameters(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}_adoptReturn(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownReturn(){return s.utils.disown(this.return)}get return(){return s.utils.getStruct(6,g,this)}_hasReturn(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initReturn(){return s.utils.initStructAt(6,g,this)}set return(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(7,p,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initTags(){return s.utils.initStructAt(7,p,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeMethodSignature_`+super.toString()}},xe=class e extends s.Struct{static _capnp={displayName:`SerializedTypeTypeParameter`,id:`81210361a54d5d71`,size:new s.ObjectSize(8,5)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}toString(){return`SerializedTypeTypeParameter_`+super.toString()}},Se=class e extends s.Struct{static _capnp={displayName:`SerializedTypeInfer`,id:`91c6dd1e13f2b14d`,size:new s.ObjectSize(8,4)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}toString(){return`SerializedTypeInfer_`+super.toString()}},E=class e extends s.Struct{static _capnp={displayName:`SerializedTypeTupleMember`,id:`e21c2a18d0d56fdf`,size:new s.ObjectSize(8,6)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(4,g,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initType(){return s.utils.initStructAt(4,g,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}get optional(){return s.utils.getBit(16,this)}set optional(e){s.utils.setBit(16,e,this)}get name(){return s.utils.getText(5,this)}set name(e){s.utils.setText(5,e,this)}toString(){return`SerializedTypeTupleMember_`+super.toString()}},D=class e extends s.Struct{static _capnp={displayName:`SerializedTypeTuple`,id:`eb7501eb1ee4fb6d`,size:new s.ObjectSize(8,5)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeTuple_`+super.toString()}},Ce=class e extends s.Struct{static _capnp={displayName:`SerializedTypeRest`,id:`f9e684a435cce5d1`,size:new s.ObjectSize(8,5)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(4,g,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initType(){return s.utils.initStructAt(4,g,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeRest_`+super.toString()}},we=class e extends s.Struct{static _capnp={displayName:`SimpleSerializedType`,id:`80f983e4b811c3ca`,size:new s.ObjectSize(8,5)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptOrigin(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownOrigin(){return s.utils.disown(this.origin)}get origin(){return s.utils.getStruct(4,g,this)}_hasOrigin(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initOrigin(){return s.utils.initStructAt(4,g,this)}set origin(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SimpleSerializedType_`+super.toString()}},Te=class extends s.Struct{static _capnp={displayName:`SerializedTypeLiteralSymbol`,id:`f3dd6a3c6054bd55`,size:new s.ObjectSize(0,2)};get type(){return s.utils.getText(0,this)}set type(e){s.utils.setText(0,e,this)}get name(){return s.utils.getText(1,this)}set name(e){s.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralSymbol_`+super.toString()}},Ee=class extends s.Struct{static _capnp={displayName:`SerializedTypeLiteralBigInt`,id:`821a872d8be30bb2`,size:new s.ObjectSize(0,2)};get type(){return s.utils.getText(0,this)}set type(e){s.utils.setText(0,e,this)}get value(){return s.utils.getText(1,this)}set value(e){s.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralBigInt_`+super.toString()}},De=class extends s.Struct{static _capnp={displayName:`SerializedTypeLiteralRegex`,id:`cc89f97b47927d99`,size:new s.ObjectSize(0,2)};get type(){return s.utils.getText(0,this)}set type(e){s.utils.setText(0,e,this)}get regex(){return s.utils.getText(1,this)}set regex(e){s.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralRegex_`+super.toString()}};const O={SYMBOL:0,STRING:1,NUMBER:2,BOOLEAN:3,BIGINT:4,REGEX:5};var Oe=class extends s.Struct{static SYMBOL=O.SYMBOL;static STRING=O.STRING;static NUMBER=O.NUMBER;static BOOLEAN=O.BOOLEAN;static BIGINT=O.BIGINT;static REGEX=O.REGEX;static _capnp={displayName:`literal`,id:`e4f0538973f3909f`,size:new s.ObjectSize(16,5)};_adoptSymbol(e){s.utils.setUint16(2,0,this),s.utils.adopt(e,s.utils.getPointer(4,this))}_disownSymbol(){return s.utils.disown(this.symbol)}get symbol(){return s.utils.testWhich(`symbol`,s.utils.getUint16(2,this),0,this),s.utils.getStruct(4,Te,this)}_hasSymbol(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initSymbol(){return s.utils.setUint16(2,0,this),s.utils.initStructAt(4,Te,this)}get _isSymbol(){return s.utils.getUint16(2,this)===0}set symbol(e){s.utils.setUint16(2,0,this),s.utils.copyFrom(e,s.utils.getPointer(4,this))}get string(){return s.utils.testWhich(`string`,s.utils.getUint16(2,this),1,this),s.utils.getText(4,this)}get _isString(){return s.utils.getUint16(2,this)===1}set string(e){s.utils.setUint16(2,1,this),s.utils.setText(4,e,this)}get number(){return s.utils.testWhich(`number`,s.utils.getUint16(2,this),2,this),s.utils.getFloat64(8,this)}get _isNumber(){return s.utils.getUint16(2,this)===2}set number(e){s.utils.setUint16(2,2,this),s.utils.setFloat64(8,e,this)}get boolean(){return s.utils.testWhich(`boolean`,s.utils.getUint16(2,this),3,this),s.utils.getBit(64,this)}get _isBoolean(){return s.utils.getUint16(2,this)===3}set boolean(e){s.utils.setUint16(2,3,this),s.utils.setBit(64,e,this)}_adoptBigint(e){s.utils.setUint16(2,4,this),s.utils.adopt(e,s.utils.getPointer(4,this))}_disownBigint(){return s.utils.disown(this.bigint)}get bigint(){return s.utils.testWhich(`bigint`,s.utils.getUint16(2,this),4,this),s.utils.getStruct(4,Ee,this)}_hasBigint(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initBigint(){return s.utils.setUint16(2,4,this),s.utils.initStructAt(4,Ee,this)}get _isBigint(){return s.utils.getUint16(2,this)===4}set bigint(e){s.utils.setUint16(2,4,this),s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptRegex(e){s.utils.setUint16(2,5,this),s.utils.adopt(e,s.utils.getPointer(4,this))}_disownRegex(){return s.utils.disown(this.regex)}get regex(){return s.utils.testWhich(`regex`,s.utils.getUint16(2,this),5,this),s.utils.getStruct(4,De,this)}_hasRegex(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initRegex(){return s.utils.setUint16(2,5,this),s.utils.initStructAt(4,De,this)}get _isRegex(){return s.utils.getUint16(2,this)===5}set regex(e){s.utils.setUint16(2,5,this),s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeLiteral_Literal_`+super.toString()}which(){return s.utils.getUint16(2,this)}},ke=class e extends s.Struct{static _capnp={displayName:`SerializedTypeLiteral`,id:`b876ba24d27d88c8`,size:new s.ObjectSize(16,5)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get literal(){return s.utils.getAs(Oe,this)}_initLiteral(){return s.utils.getAs(Oe,this)}toString(){return`SerializedTypeLiteral_`+super.toString()}},k=class e extends s.Struct{static _capnp={displayName:`SerializedTypeTemplateLiteral`,id:`8dd6c284d46cc265`,size:new s.ObjectSize(8,5)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,_,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,_,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeTemplateLiteral_`+super.toString()}},Ae=class extends s.Struct{static _capnp={displayName:`SerializedTypeOther`,id:`9e1048a692ff49ce`,size:new s.ObjectSize(8,1)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}toString(){return`SerializedTypeOther_`+super.toString()}};const A={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 je=class extends s.Struct{static SIMPLE=A.SIMPLE;static LITERAL=A.LITERAL;static TEMPLATE_LITERAL=A.TEMPLATE_LITERAL;static PARAMETER=A.PARAMETER;static FUNCTION=A.FUNCTION;static METHOD=A.METHOD;static PROPERTY=A.PROPERTY;static PROMISE=A.PROMISE;static CLASS_TYPE=A.CLASS_TYPE;static ENUM=A.ENUM;static UNION=A.UNION;static INTERSECTION=A.INTERSECTION;static ARRAY=A.ARRAY;static OBJECT_LITERAL=A.OBJECT_LITERAL;static INDEX_SIGNATURE=A.INDEX_SIGNATURE;static PROPERTY_SIGNATURE=A.PROPERTY_SIGNATURE;static METHOD_SIGNATURE=A.METHOD_SIGNATURE;static TYPE_PARAMETER=A.TYPE_PARAMETER;static INFER=A.INFER;static TUPLE=A.TUPLE;static TUPLE_MEMBER=A.TUPLE_MEMBER;static REST=A.REST;static OTHER=A.OTHER;static _capnp={displayName:`type`,id:`c677d7ed4a496eab`,size:new s.ObjectSize(8,1)};_adoptSimple(e){s.utils.setUint16(0,0,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownSimple(){return s.utils.disown(this.simple)}get simple(){return s.utils.testWhich(`simple`,s.utils.getUint16(0,this),0,this),s.utils.getStruct(0,we,this)}_hasSimple(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initSimple(){return s.utils.setUint16(0,0,this),s.utils.initStructAt(0,we,this)}get _isSimple(){return s.utils.getUint16(0,this)===0}set simple(e){s.utils.setUint16(0,0,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptLiteral(e){s.utils.setUint16(0,1,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownLiteral(){return s.utils.disown(this.literal)}get literal(){return s.utils.testWhich(`literal`,s.utils.getUint16(0,this),1,this),s.utils.getStruct(0,ke,this)}_hasLiteral(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initLiteral(){return s.utils.setUint16(0,1,this),s.utils.initStructAt(0,ke,this)}get _isLiteral(){return s.utils.getUint16(0,this)===1}set literal(e){s.utils.setUint16(0,1,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptTemplateLiteral(e){s.utils.setUint16(0,2,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTemplateLiteral(){return s.utils.disown(this.templateLiteral)}get templateLiteral(){return s.utils.testWhich(`templateLiteral`,s.utils.getUint16(0,this),2,this),s.utils.getStruct(0,k,this)}_hasTemplateLiteral(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTemplateLiteral(){return s.utils.setUint16(0,2,this),s.utils.initStructAt(0,k,this)}get _isTemplateLiteral(){return s.utils.getUint16(0,this)===2}set templateLiteral(e){s.utils.setUint16(0,2,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptParameter(e){s.utils.setUint16(0,3,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownParameter(){return s.utils.disown(this.parameter)}get parameter(){return s.utils.testWhich(`parameter`,s.utils.getUint16(0,this),3,this),s.utils.getStruct(0,y,this)}_hasParameter(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initParameter(){return s.utils.setUint16(0,3,this),s.utils.initStructAt(0,y,this)}get _isParameter(){return s.utils.getUint16(0,this)===3}set parameter(e){s.utils.setUint16(0,3,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptFunction(e){s.utils.setUint16(0,4,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownFunction(){return s.utils.disown(this.function)}get function(){return s.utils.testWhich(`function`,s.utils.getUint16(0,this),4,this),s.utils.getStruct(0,x,this)}_hasFunction(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initFunction(){return s.utils.setUint16(0,4,this),s.utils.initStructAt(0,x,this)}get _isFunction(){return s.utils.getUint16(0,this)===4}set function(e){s.utils.setUint16(0,4,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptMethod(e){s.utils.setUint16(0,5,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownMethod(){return s.utils.disown(this.method)}get method(){return s.utils.testWhich(`method`,s.utils.getUint16(0,this),5,this),s.utils.getStruct(0,b,this)}_hasMethod(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initMethod(){return s.utils.setUint16(0,5,this),s.utils.initStructAt(0,b,this)}get _isMethod(){return s.utils.getUint16(0,this)===5}set method(e){s.utils.setUint16(0,5,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptProperty(e){s.utils.setUint16(0,6,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownProperty(){return s.utils.disown(this.property)}get property(){return s.utils.testWhich(`property`,s.utils.getUint16(0,this),6,this),s.utils.getStruct(0,he,this)}_hasProperty(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initProperty(){return s.utils.setUint16(0,6,this),s.utils.initStructAt(0,he,this)}get _isProperty(){return s.utils.getUint16(0,this)===6}set property(e){s.utils.setUint16(0,6,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptPromise(e){s.utils.setUint16(0,7,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownPromise(){return s.utils.disown(this.promise)}get promise(){return s.utils.testWhich(`promise`,s.utils.getUint16(0,this),7,this),s.utils.getStruct(0,ge,this)}_hasPromise(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initPromise(){return s.utils.setUint16(0,7,this),s.utils.initStructAt(0,ge,this)}get _isPromise(){return s.utils.getUint16(0,this)===7}set promise(e){s.utils.setUint16(0,7,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptClassType(e){s.utils.setUint16(0,8,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownClassType(){return s.utils.disown(this.classType)}get classType(){return s.utils.testWhich(`classType`,s.utils.getUint16(0,this),8,this),s.utils.getStruct(0,v,this)}_hasClassType(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initClassType(){return s.utils.setUint16(0,8,this),s.utils.initStructAt(0,v,this)}get _isClassType(){return s.utils.getUint16(0,this)===8}set classType(e){s.utils.setUint16(0,8,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptEnum(e){s.utils.setUint16(0,9,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownEnum(){return s.utils.disown(this.enum)}get enum(){return s.utils.testWhich(`enum`,s.utils.getUint16(0,this),9,this),s.utils.getStruct(0,S,this)}_hasEnum(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initEnum(){return s.utils.setUint16(0,9,this),s.utils.initStructAt(0,S,this)}get _isEnum(){return s.utils.getUint16(0,this)===9}set enum(e){s.utils.setUint16(0,9,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptUnion(e){s.utils.setUint16(0,10,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownUnion(){return s.utils.disown(this.union)}get union(){return s.utils.testWhich(`union`,s.utils.getUint16(0,this),10,this),s.utils.getStruct(0,C,this)}_hasUnion(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initUnion(){return s.utils.setUint16(0,10,this),s.utils.initStructAt(0,C,this)}get _isUnion(){return s.utils.getUint16(0,this)===10}set union(e){s.utils.setUint16(0,10,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptIntersection(e){s.utils.setUint16(0,11,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownIntersection(){return s.utils.disown(this.intersection)}get intersection(){return s.utils.testWhich(`intersection`,s.utils.getUint16(0,this),11,this),s.utils.getStruct(0,w,this)}_hasIntersection(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initIntersection(){return s.utils.setUint16(0,11,this),s.utils.initStructAt(0,w,this)}get _isIntersection(){return s.utils.getUint16(0,this)===11}set intersection(e){s.utils.setUint16(0,11,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptArray(e){s.utils.setUint16(0,12,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownArray(){return s.utils.disown(this.array)}get array(){return s.utils.testWhich(`array`,s.utils.getUint16(0,this),12,this),s.utils.getStruct(0,ve,this)}_hasArray(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initArray(){return s.utils.setUint16(0,12,this),s.utils.initStructAt(0,ve,this)}get _isArray(){return s.utils.getUint16(0,this)===12}set array(e){s.utils.setUint16(0,12,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptObjectLiteral(e){s.utils.setUint16(0,13,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownObjectLiteral(){return s.utils.disown(this.objectLiteral)}get objectLiteral(){return s.utils.testWhich(`objectLiteral`,s.utils.getUint16(0,this),13,this),s.utils.getStruct(0,me,this)}_hasObjectLiteral(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initObjectLiteral(){return s.utils.setUint16(0,13,this),s.utils.initStructAt(0,me,this)}get _isObjectLiteral(){return s.utils.getUint16(0,this)===13}set objectLiteral(e){s.utils.setUint16(0,13,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptIndexSignature(e){s.utils.setUint16(0,14,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownIndexSignature(){return s.utils.disown(this.indexSignature)}get indexSignature(){return s.utils.testWhich(`indexSignature`,s.utils.getUint16(0,this),14,this),s.utils.getStruct(0,ye,this)}_hasIndexSignature(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initIndexSignature(){return s.utils.setUint16(0,14,this),s.utils.initStructAt(0,ye,this)}get _isIndexSignature(){return s.utils.getUint16(0,this)===14}set indexSignature(e){s.utils.setUint16(0,14,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptPropertySignature(e){s.utils.setUint16(0,15,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownPropertySignature(){return s.utils.disown(this.propertySignature)}get propertySignature(){return s.utils.testWhich(`propertySignature`,s.utils.getUint16(0,this),15,this),s.utils.getStruct(0,be,this)}_hasPropertySignature(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initPropertySignature(){return s.utils.setUint16(0,15,this),s.utils.initStructAt(0,be,this)}get _isPropertySignature(){return s.utils.getUint16(0,this)===15}set propertySignature(e){s.utils.setUint16(0,15,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptMethodSignature(e){s.utils.setUint16(0,16,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownMethodSignature(){return s.utils.disown(this.methodSignature)}get methodSignature(){return s.utils.testWhich(`methodSignature`,s.utils.getUint16(0,this),16,this),s.utils.getStruct(0,T,this)}_hasMethodSignature(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initMethodSignature(){return s.utils.setUint16(0,16,this),s.utils.initStructAt(0,T,this)}get _isMethodSignature(){return s.utils.getUint16(0,this)===16}set methodSignature(e){s.utils.setUint16(0,16,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptTypeParameter(e){s.utils.setUint16(0,17,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTypeParameter(){return s.utils.disown(this.typeParameter)}get typeParameter(){return s.utils.testWhich(`typeParameter`,s.utils.getUint16(0,this),17,this),s.utils.getStruct(0,xe,this)}_hasTypeParameter(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTypeParameter(){return s.utils.setUint16(0,17,this),s.utils.initStructAt(0,xe,this)}get _isTypeParameter(){return s.utils.getUint16(0,this)===17}set typeParameter(e){s.utils.setUint16(0,17,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptInfer(e){s.utils.setUint16(0,18,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownInfer(){return s.utils.disown(this.infer)}get infer(){return s.utils.testWhich(`infer`,s.utils.getUint16(0,this),18,this),s.utils.getStruct(0,Se,this)}_hasInfer(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initInfer(){return s.utils.setUint16(0,18,this),s.utils.initStructAt(0,Se,this)}get _isInfer(){return s.utils.getUint16(0,this)===18}set infer(e){s.utils.setUint16(0,18,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptTuple(e){s.utils.setUint16(0,19,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTuple(){return s.utils.disown(this.tuple)}get tuple(){return s.utils.testWhich(`tuple`,s.utils.getUint16(0,this),19,this),s.utils.getStruct(0,D,this)}_hasTuple(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTuple(){return s.utils.setUint16(0,19,this),s.utils.initStructAt(0,D,this)}get _isTuple(){return s.utils.getUint16(0,this)===19}set tuple(e){s.utils.setUint16(0,19,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptTupleMember(e){s.utils.setUint16(0,20,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTupleMember(){return s.utils.disown(this.tupleMember)}get tupleMember(){return s.utils.testWhich(`tupleMember`,s.utils.getUint16(0,this),20,this),s.utils.getStruct(0,E,this)}_hasTupleMember(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTupleMember(){return s.utils.setUint16(0,20,this),s.utils.initStructAt(0,E,this)}get _isTupleMember(){return s.utils.getUint16(0,this)===20}set tupleMember(e){s.utils.setUint16(0,20,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptRest(e){s.utils.setUint16(0,21,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownRest(){return s.utils.disown(this.rest)}get rest(){return s.utils.testWhich(`rest`,s.utils.getUint16(0,this),21,this),s.utils.getStruct(0,Ce,this)}_hasRest(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initRest(){return s.utils.setUint16(0,21,this),s.utils.initStructAt(0,Ce,this)}get _isRest(){return s.utils.getUint16(0,this)===21}set rest(e){s.utils.setUint16(0,21,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptOther(e){s.utils.setUint16(0,22,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownOther(){return s.utils.disown(this.other)}get other(){return s.utils.testWhich(`other`,s.utils.getUint16(0,this),22,this),s.utils.getStruct(0,Ae,this)}_hasOther(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initOther(){return s.utils.setUint16(0,22,this),s.utils.initStructAt(0,Ae,this)}get _isOther(){return s.utils.getUint16(0,this)===22}set other(e){s.utils.setUint16(0,22,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}toString(){return`SerializedType_Type_`+super.toString()}which(){return s.utils.getUint16(0,this)}},Me=class extends s.Struct{static _capnp={displayName:`SerializedType`,id:`96856dcc2dd3d58f`,size:new s.ObjectSize(8,1)};get type(){return s.utils.getAs(je,this)}_initType(){return s.utils.getAs(je,this)}toString(){return`SerializedType_`+super.toString()}},Ne=class e extends s.Struct{static _capnp={displayName:`SerializedTypes`,id:`ac55398ab0ef4958`,size:new s.ObjectSize(0,1)};_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(0,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTypes(t){return s.utils.initList(0,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(0,this))}toString(){return`SerializedTypes_`+super.toString()}};pe._Indexes=s.CompositeList(fe),me._TypeArguments=s.CompositeList(g),me._Decorators=s.CompositeList(g),me._Types=s.CompositeList(g),v._TypeArguments=s.CompositeList(g),v._Decorators=s.CompositeList(g),v._ExtendsArguments=s.CompositeList(g),v._Arguments=s.CompositeList(g),v._Types=s.CompositeList(g),y._TypeArguments=s.CompositeList(g),y._Decorators=s.CompositeList(g),b._TypeArguments=s.CompositeList(g),b._Decorators=s.CompositeList(g),b._Parameters=s.CompositeList(y),he._TypeArguments=s.CompositeList(g),he._Decorators=s.CompositeList(g),x._TypeArguments=s.CompositeList(g),x._Decorators=s.CompositeList(g),x._Parameters=s.CompositeList(y),ge._TypeArguments=s.CompositeList(g),ge._Decorators=s.CompositeList(g),S._TypeArguments=s.CompositeList(g),S._Decorators=s.CompositeList(g),S._EnumEntries=s.CompositeList(_e),C._TypeArguments=s.CompositeList(g),C._Decorators=s.CompositeList(g),C._Types=s.CompositeList(g),w._TypeArguments=s.CompositeList(g),w._Decorators=s.CompositeList(g),w._Types=s.CompositeList(g),ve._TypeArguments=s.CompositeList(g),ve._Decorators=s.CompositeList(g),ye._TypeArguments=s.CompositeList(g),ye._Decorators=s.CompositeList(g),be._TypeArguments=s.CompositeList(g),be._Decorators=s.CompositeList(g),T._TypeArguments=s.CompositeList(g),T._Decorators=s.CompositeList(g),T._Parameters=s.CompositeList(y),xe._TypeArguments=s.CompositeList(g),xe._Decorators=s.CompositeList(g),Se._TypeArguments=s.CompositeList(g),Se._Decorators=s.CompositeList(g),E._TypeArguments=s.CompositeList(g),E._Decorators=s.CompositeList(g),D._TypeArguments=s.CompositeList(g),D._Decorators=s.CompositeList(g),D._Types=s.CompositeList(E),Ce._TypeArguments=s.CompositeList(g),Ce._Decorators=s.CompositeList(g),we._TypeArguments=s.CompositeList(g),we._Decorators=s.CompositeList(g),ke._TypeArguments=s.CompositeList(g),ke._Decorators=s.CompositeList(g),k._TypeArguments=s.CompositeList(g),k._Decorators=s.CompositeList(g),k._Types=s.CompositeList(g),Ne._Types=s.CompositeList(Me);function Pe(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,re.isSetObject)(e)&&!(0,re.isUndefined)(e.kind)).forEach((e,n)=>{Ie(e,t.get(n)._initType())}),t}function Fe(e){if(!e)throw Error(`Invalid serialized type provided for conversion.`);let t=[];return e.forEach(e=>{let n=Le(e.type);t.push(n)}),t}function j(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 M(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 N(e,t){let n=e._initIndex();n.id=t?.index??0;let r=e._initContainer();return r.id=t?.container??0,e}function P(e){return e._hasIndexAccessOrigin()?{container:Number(e.indexAccessOrigin?.container.id),index:Number(e.indexAccessOrigin?.index.id)}:void 0}function Ie(e,t){return e.kind===d.ReflectionKind.objectLiteral?vt(e,t._initObjectLiteral()):e.kind===d.ReflectionKind.class?gt(e,t._initClassType()):e.kind===d.ReflectionKind.parameter?bt(e,t._initParameter()):e.kind===d.ReflectionKind.function?ft(e,t._initFunction()):e.kind===d.ReflectionKind.method?pt(e,t._initMethod()):e.kind===d.ReflectionKind.infer?ut(e,t._initInfer()):e.kind===d.ReflectionKind.union?ct(e,t._initUnion()):e.kind===d.ReflectionKind.array?ot(e,t._initArray()):e.kind===d.ReflectionKind.intersection?it(e,t._initIntersection()):e.kind===d.ReflectionKind.enum?nt(e,t._initEnum()):e.kind===d.ReflectionKind.property?et(e,t._initProperty()):e.kind===d.ReflectionKind.tuple?Qe(e,t._initTuple()):e.kind===d.ReflectionKind.tupleMember?Xe(e,t._initTupleMember()):e.kind===d.ReflectionKind.propertySignature?Ye(e,t._initPropertySignature()):e.kind===d.ReflectionKind.methodSignature?Ge(e,t._initMethodSignature()):e.kind===d.ReflectionKind.literal?Ue(e,t._initLiteral()):e.kind===d.ReflectionKind.never||e.kind===d.ReflectionKind.any||e.kind===d.ReflectionKind.unknown||e.kind===d.ReflectionKind.void||e.kind===d.ReflectionKind.object||e.kind===d.ReflectionKind.string||e.kind===d.ReflectionKind.number||e.kind===d.ReflectionKind.boolean||e.kind===d.ReflectionKind.symbol||e.kind===d.ReflectionKind.bigint||e.kind===d.ReflectionKind.null||e.kind===d.ReflectionKind.undefined||e.kind===d.ReflectionKind.regexp?Ve(e,t._initSimple()):Be(e,t._initOther()),t}function Le(e){if(e._isObjectLiteral)return yt(e.objectLiteral);if(e._isClassType)return _t(e.classType);if(e._isParameter)return xt(e.parameter);if(e._isFunction)return mt(e.function);if(e._isInfer)return dt(e.infer);if(e._isMethod)return ht(e.method);if(e._isUnion)return lt(e.union);if(e._isArray)return st(e.array);if(e._isIntersection)return at(e.intersection);if(e._isEnum)return rt(e.enum);if(e._isProperty)return tt(e.property);if(e._isTuple)return $e(e.tuple);if(e._isTupleMember)return Ze(e.tupleMember);if(e._isPropertySignature)return Ke(e.propertySignature);if(e._isMethodSignature)return We(e.methodSignature);if(e._isLiteral)return He(e.literal);if(e._isSimple)return ze(e.simple);if(e._isOther)return Re(e.other);throw Error(`Unsupported serialized type kind: ${e.toString()}`)}function Re(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:P(e)};return e._hasOrigin()&&(t.origin=Number(e.origin.id)),t}function Be(e,t){return t.kind=e.kind,t.typeName=e.typeName||``,t}function Ve(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&&N(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function He(e){return{kind:d.ReflectionKind.literal,literal:e.literal._isString?e.literal.string:e.literal._isNumber?e.literal.number:e.literal._isBoolean?e.literal.boolean:e.literal._isBigint?{type:`bigint`,value:e.literal.bigint.value}:e.literal._isSymbol?{type:`symbol`,name:e.literal.symbol.name}:{type:`regex`,regex:e.literal.regex.regex},typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:P(e)}}function Ue(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&&N(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function We(e){return{kind:d.ReflectionKind.methodSignature,name:e.name,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,parameters:e._hasParameters()?e.parameters.map(e=>xt(e)):[],return:e.return.id,tags:M(e)}}function Ge(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&&N(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&j(t._initTags(),e.tags),t}function Ke(e){return{kind:d.ReflectionKind.propertySignature,name:e.name,typeName:e.typeName||void 0,description:e.description,default:Je(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:P(e),tags:M(e)}}function qe(e,t){e!==void 0&&e!==``&&(t._initValue(),typeof e==`string`?t.value.string=e:typeof e==`number`?(0,re.isInteger)(e)?t.value.integer=e:t.value.float=e:typeof e==`boolean`&&(t.value.boolean=e))}function Je(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 Ye(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();qe(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&&N(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&j(t._initTags(),e.tags),t}function Xe(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&&N(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function Ze(e){return{kind:d.ReflectionKind.tupleMember,type:e.type.id,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:P(e)}}function Qe(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initTypes(e.types.length);if(e.types.forEach((e,t)=>{Xe(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&&N(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function $e(e){return{kind:d.ReflectionKind.tuple,typeName:e.typeName||void 0,types:e._hasTypes()?e.types.map(e=>Ze(e)):[],decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:P(e)}}function et(e,t){if(t.kind=e.kind,t.typeName=e.typeName||``,t.description=e.description||``,t.optional=e.optional??!1,t.readonly=e.readonly??!1,t.visibility=e.visibility===d.ReflectionVisibility.public?f.PUBLIC:e.visibility===d.ReflectionVisibility.protected?f.PROTECTED:f.PRIVATE,t.abstract=e.abstract??!1,t.name=String(e.name)||``,e.default!==void 0){let n=t._initDefault();qe(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&&N(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&j(t._initTags(),e.tags),t}function tt(e){return{kind:d.ReflectionKind.property,typeName:e.typeName||void 0,description:e.description,default:Je(e.default),optional:e.optional?!0:void 0,readonly:e.readonly?!0:void 0,visibility:e.visibility===f.PUBLIC?d.ReflectionVisibility.public:e.visibility===f.PROTECTED?d.ReflectionVisibility.protected:d.ReflectionVisibility.private,abstract:e.abstract?!0:void 0,name:e.name,type:e.type.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:P(e),tags:M(e)}}function nt(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&&N(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&&j(t._initTags(),e.tags),t}function rt(e){return{kind:d.ReflectionKind.enum,typeName:e.typeName||void 0,indexType:e.indexType.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,values:e._hasValues()?e.values.map(e=>e):[],enum:e._hasEnumEntries()?Object.entries(e.enumEntries).reduce((e,[t,n])=>(e[t]=n.value,e),{}):{},indexAccessOrigin:P(e),tags:M(e)}}function it(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&&N(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function at(e){return{kind:d.ReflectionKind.intersection,typeName:e.typeName||void 0,types:e._hasTypes()?e.types.map(e=>e.id):[],decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:P(e)}}function ot(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&&N(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&j(t._initTags(),e.tags),t}function st(e){return{kind:d.ReflectionKind.array,typeName:e.typeName||void 0,type:e.type.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:P(e),tags:M(e)}}function ct(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&&N(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function lt(e){return{kind:d.ReflectionKind.union,typeName:e.typeName||void 0,types:e._hasTypes()?e.types.map(e=>e.id):[],decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:P(e)}}function ut(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&&N(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function dt(e){return{kind:d.ReflectionKind.infer,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:P(e)}}function ft(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)=>{bt(e,n.get(t))})}let n=t._initReturn();return n.id=e.return,e.indexAccessOrigin&&N(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&j(t._initTags(),e.tags),t}function pt(e,t){if(t.name=String(e.name)||``,t.kind=e.kind,t.typeName=e.typeName||``,t.abstract=e.abstract??!1,t.visibility=e.visibility===d.ReflectionVisibility.public?f.PUBLIC:e.visibility===d.ReflectionVisibility.protected?f.PROTECTED:f.PRIVATE,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.parameters?.length){let n=t._initParameters(e.parameters.length);e.parameters.forEach((e,t)=>{bt(e,n.get(t))})}let n=t._initReturn();return n.id=e.return,e.indexAccessOrigin&&N(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&j(t._initTags(),e.tags),t}function mt(e){return{kind:d.ReflectionKind.function,name:e.name,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,parameters:e._hasParameters()?e.parameters.map(e=>xt(e)):[],return:e.return.id,indexAccessOrigin:P(e),tags:M(e)}}function ht(e){return{kind:d.ReflectionKind.method,name:e.name,typeName:e.typeName||void 0,abstract:e.abstract?!0:void 0,return:e.return.id,visibility:e.visibility===f.PUBLIC?d.ReflectionVisibility.public:e.visibility===f.PROTECTED?d.ReflectionVisibility.protected:d.ReflectionVisibility.private,parameters:e._hasParameters()?e.parameters.map(e=>xt(e)):[]}}function gt(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&&N(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&j(t._initTags(),e.tags),t}function _t(e){return{kind:d.ReflectionKind.class,typeName:e.typeName||void 0,classType:e.classType,globalObject:e.globalObject?!0:void 0,arguments:e._hasArguments()?e.arguments.map(e=>e.id):void 0,extendsArguments:e._hasExtendsArguments()?e.extendsArguments.map(e=>e.id):void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,types:e._hasTypes()?e.types.map(e=>e.id):[],typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,superClass:e._hasSuperClass()?e.superClass.id:void 0,indexAccessOrigin:P(e),tags:M(e)}}function vt(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&&N(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&j(t._initTags(),e.tags),t}function yt(e){return{kind:d.ReflectionKind.objectLiteral,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,types:e._hasTypes()?e.types.map(e=>e.id):[],typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:P(e),tags:M(e)}}function bt(e,t){if(t.kind=e.kind,t.typeName=e.typeName||``,t.name=e.name||``,t.optional=e.optional??!1,t.readonly=e.readonly??!1,t.visibility=e.visibility===d.ReflectionVisibility.public?f.PUBLIC:e.visibility===d.ReflectionVisibility.protected?f.PROTECTED:f.PRIVATE,e.default!==void 0){let n=t._initDefault();qe(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&&N(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&j(t._initTags(),e.tags),t}function xt(e){return{kind:d.ReflectionKind.parameter,typeName:e.typeName||void 0,name:e.name,default:Je(e.default),optional:e.optional?!0:void 0,readonly:e.readonly?!0:void 0,visibility:e.visibility===f.PUBLIC?d.ReflectionVisibility.public:e.visibility===f.PROTECTED?d.ReflectionVisibility.protected:d.ReflectionVisibility.private,type:e.type.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:P(e),tags:M(e)}}var St=Object.defineProperty,F=(e,t)=>St(e,`name`,{value:t,configurable:!0}),I=class extends s.Struct{static{F(this,`TagsReflection`)}static _capnp={displayName:`TagsReflection`,id:`ab7e31d6b834bbf8`,size:new s.ObjectSize(8,4)};_adoptAlias(e){s.utils.adopt(e,s.utils.getPointer(0,this))}_disownAlias(){return s.utils.disown(this.alias)}get alias(){return s.utils.getList(0,s.TextList,this)}_hasAlias(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initAlias(e){return s.utils.initList(0,s.TextList,e,this)}set alias(e){s.utils.copyFrom(e,s.utils.getPointer(0,this))}get title(){return s.utils.getText(1,this)}set title(e){s.utils.setText(1,e,this)}get hidden(){return s.utils.getBit(0,this)}set hidden(e){s.utils.setBit(0,e,this)}get readonly(){return s.utils.getBit(1,this)}set readonly(e){s.utils.setBit(1,e,this)}get ignore(){return s.utils.getBit(2,this)}set ignore(e){s.utils.setBit(2,e,this)}get internal(){return s.utils.getBit(3,this)}set internal(e){s.utils.setBit(3,e,this)}_adoptPermission(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownPermission(){return s.utils.disown(this.permission)}get permission(){return s.utils.getList(2,s.TextList,this)}_hasPermission(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initPermission(e){return s.utils.initList(2,s.TextList,e,this)}set permission(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}get domain(){return s.utils.getText(3,this)}set domain(e){s.utils.setText(3,e,this)}toString(){return`TagsReflection_`+super.toString()}},L={UNDEFINED:0,BOOLEAN:1,INTEGER:2,FLOAT:3,STRING:4},Ct=class extends s.Struct{static{F(this,`DefaultValueReflection_Value`)}static UNDEFINED=L.UNDEFINED;static BOOLEAN=L.BOOLEAN;static INTEGER=L.INTEGER;static FLOAT=L.FLOAT;static STRING=L.STRING;static _capnp={displayName:`value`,id:`8748135e0497fe81`,size:new s.ObjectSize(16,1)};get _isUndefined(){return s.utils.getUint16(0,this)===0}set undefined(e){s.utils.setUint16(0,0,this)}get boolean(){return s.utils.testWhich(`boolean`,s.utils.getUint16(0,this),1,this),s.utils.getBit(16,this)}get _isBoolean(){return s.utils.getUint16(0,this)===1}set boolean(e){s.utils.setUint16(0,1,this),s.utils.setBit(16,e,this)}get integer(){return s.utils.testWhich(`integer`,s.utils.getUint16(0,this),2,this),s.utils.getInt32(4,this)}get _isInteger(){return s.utils.getUint16(0,this)===2}set integer(e){s.utils.setUint16(0,2,this),s.utils.setInt32(4,e,this)}get float(){return s.utils.testWhich(`float`,s.utils.getUint16(0,this),3,this),s.utils.getFloat64(8,this)}get _isFloat(){return s.utils.getUint16(0,this)===3}set float(e){s.utils.setUint16(0,3,this),s.utils.setFloat64(8,e,this)}get string(){return s.utils.testWhich(`string`,s.utils.getUint16(0,this),4,this),s.utils.getText(0,this)}get _isString(){return s.utils.getUint16(0,this)===4}set string(e){s.utils.setUint16(0,4,this),s.utils.setText(0,e,this)}toString(){return`DefaultValueReflection_Value_`+super.toString()}which(){return s.utils.getUint16(0,this)}},R=class extends s.Struct{static{F(this,`DefaultValueReflection`)}static _capnp={displayName:`DefaultValueReflection`,id:`96fe6f07954197c9`,size:new s.ObjectSize(16,1)};get value(){return s.utils.getAs(Ct,this)}_initValue(){return s.utils.getAs(Ct,this)}toString(){return`DefaultValueReflection_`+super.toString()}},z=class extends s.Struct{static{F(this,`SerializedTypeReference`)}static _capnp={displayName:`SerializedTypeReference`,id:`a83d8a28b5e80f3a`,size:new s.ObjectSize(8,0)};get id(){return s.utils.getUint32(0,this)}set id(e){s.utils.setUint32(0,e,this)}toString(){return`SerializedTypeReference_`+super.toString()}},B=class extends s.Struct{static{F(this,`IndexAccessOrigin`)}static _capnp={displayName:`IndexAccessOrigin`,id:`ca50b18186c87afe`,size:new s.ObjectSize(0,2)};_adoptContainer(e){s.utils.adopt(e,s.utils.getPointer(0,this))}_disownContainer(){return s.utils.disown(this.container)}get container(){return s.utils.getStruct(0,z,this)}_hasContainer(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initContainer(){return s.utils.initStructAt(0,z,this)}set container(e){s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptIndex(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownIndex(){return s.utils.disown(this.index)}get index(){return s.utils.getStruct(1,z,this)}_hasIndex(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initIndex(){return s.utils.initStructAt(1,z,this)}set index(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}toString(){return`IndexAccessOrigin_`+super.toString()}},wt=class extends s.Struct{static{F(this,`EntityOptions_EntityIndexOptions`)}static _capnp={displayName:`EntityIndexOptions`,id:`de584ad10b7c5004`,size:new s.ObjectSize(0,2)};_adoptNames(e){s.utils.adopt(e,s.utils.getPointer(0,this))}_disownNames(){return s.utils.disown(this.names)}get names(){return s.utils.getList(0,s.TextList,this)}_hasNames(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initNames(e){return s.utils.initList(0,s.TextList,e,this)}set names(e){s.utils.copyFrom(e,s.utils.getPointer(0,this))}get options(){return s.utils.getText(1,this)}set options(e){s.utils.setText(1,e,this)}toString(){return`EntityOptions_EntityIndexOptions_`+super.toString()}},Tt=class e extends s.Struct{static{F(this,`EntityOptions`)}static EntityIndexOptions=wt;static _capnp={displayName:`EntityOptions`,id:`948d2d02cf676d60`,size:new s.ObjectSize(8,5)};static _Indexes;get name(){return s.utils.getText(0,this)}set name(e){s.utils.setText(0,e,this)}get description(){return s.utils.getText(1,this)}set description(e){s.utils.setText(1,e,this)}get collection(){return s.utils.getText(2,this)}set collection(e){s.utils.setText(2,e,this)}get database(){return s.utils.getText(3,this)}set database(e){s.utils.setText(3,e,this)}get singleTableInheritance(){return s.utils.getBit(0,this)}set singleTableInheritance(e){s.utils.setBit(0,e,this)}_adoptIndexes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownIndexes(){return s.utils.disown(this.indexes)}get indexes(){return s.utils.getList(4,e._Indexes,this)}_hasIndexes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initIndexes(t){return s.utils.initList(4,e._Indexes,t,this)}set indexes(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`EntityOptions_`+super.toString()}},V=class e extends s.Struct{static{F(this,`SerializedTypeObjectLiteral`)}static _capnp={displayName:`SerializedTypeObjectLiteral`,id:`8b56235ad9bcb2b1`,size:new s.ObjectSize(8,6)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(5,I,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initTags(){return s.utils.initStructAt(5,I,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}toString(){return`SerializedTypeObjectLiteral_`+super.toString()}},H=class e extends s.Struct{static{F(this,`SerializedTypeClassType`)}static _capnp={displayName:`SerializedTypeClassType`,id:`9855392bf9c48b25`,size:new s.ObjectSize(8,11)};static _TypeArguments;static _Decorators;static _ExtendsArguments;static _Arguments;static _Types;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}get globalObject(){return s.utils.getBit(16,this)}set globalObject(e){s.utils.setBit(16,e,this)}get classType(){return s.utils.getText(5,this)}set classType(e){s.utils.setText(5,e,this)}_adoptExtendsArguments(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownExtendsArguments(){return s.utils.disown(this.extendsArguments)}get extendsArguments(){return s.utils.getList(6,e._ExtendsArguments,this)}_hasExtendsArguments(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initExtendsArguments(t){return s.utils.initList(6,e._ExtendsArguments,t,this)}set extendsArguments(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptArguments(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownArguments(){return s.utils.disown(this.arguments)}get arguments(){return s.utils.getList(7,e._Arguments,this)}_hasArguments(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initArguments(t){return s.utils.initList(7,e._Arguments,t,this)}set arguments(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}_adoptSuperClass(e){s.utils.adopt(e,s.utils.getPointer(8,this))}_disownSuperClass(){return s.utils.disown(this.superClass)}get superClass(){return s.utils.getStruct(8,z,this)}_hasSuperClass(){return!s.utils.isNull(s.utils.getPointer(8,this))}_initSuperClass(){return s.utils.initStructAt(8,z,this)}set superClass(e){s.utils.copyFrom(e,s.utils.getPointer(8,this))}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(9,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(9,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(9,this))}_initTypes(t){return s.utils.initList(9,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(9,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(10,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(10,I,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(10,this))}_initTags(){return s.utils.initStructAt(10,I,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(10,this))}toString(){return`SerializedTypeClassType_`+super.toString()}},U=class e extends s.Struct{static{F(this,`SerializedTypeParameter`)}static _capnp={displayName:`SerializedTypeParameter`,id:`fcbaa08bb97b8b1a`,size:new s.ObjectSize(8,8)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(5,z,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initType(){return s.utils.initStructAt(5,z,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}get visibility(){return s.utils.getUint16(2,this)}set visibility(e){s.utils.setUint16(2,e,this)}get readonly(){return s.utils.getBit(32,this)}set readonly(e){s.utils.setBit(32,e,this)}get optional(){return s.utils.getBit(33,this)}set optional(e){s.utils.setBit(33,e,this)}_adoptDefault(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownDefault(){return s.utils.disown(this.default)}get default(){return s.utils.getStruct(6,R,this)}_hasDefault(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initDefault(){return s.utils.initStructAt(6,R,this)}set default(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(7,I,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initTags(){return s.utils.initStructAt(7,I,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeParameter_`+super.toString()}},Et=class e extends s.Struct{static{F(this,`SerializedTypeMethod`)}static _capnp={displayName:`SerializedTypeMethod`,id:`8b5eff6d9ec2fb06`,size:new s.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _Parameters;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get visibility(){return s.utils.getUint16(0,this)}set visibility(e){s.utils.setUint16(0,e,this)}get abstract(){return s.utils.getBit(16,this)}set abstract(e){s.utils.setBit(16,e,this)}get optional(){return s.utils.getBit(17,this)}set optional(e){s.utils.setBit(17,e,this)}get readonly(){return s.utils.getBit(18,this)}set readonly(e){s.utils.setBit(18,e,this)}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(4,I,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTags(){return s.utils.initStructAt(4,I,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}get kind(){return s.utils.getUint16(4,this)}set kind(e){s.utils.setUint16(4,e,this)}get name(){return s.utils.getText(5,this)}set name(e){s.utils.setText(5,e,this)}_adoptParameters(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownParameters(){return s.utils.disown(this.parameters)}get parameters(){return s.utils.getList(6,e._Parameters,this)}_hasParameters(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initParameters(t){return s.utils.initList(6,e._Parameters,t,this)}set parameters(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptReturn(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownReturn(){return s.utils.disown(this.return)}get return(){return s.utils.getStruct(7,z,this)}_hasReturn(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initReturn(){return s.utils.initStructAt(7,z,this)}set return(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeMethod_`+super.toString()}},Dt=class e extends s.Struct{static{F(this,`SerializedTypeProperty`)}static _capnp={displayName:`SerializedTypeProperty`,id:`91d9dbea2037f78b`,size:new s.ObjectSize(8,9)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get visibility(){return s.utils.getUint16(0,this)}set visibility(e){s.utils.setUint16(0,e,this)}get abstract(){return s.utils.getBit(16,this)}set abstract(e){s.utils.setBit(16,e,this)}get optional(){return s.utils.getBit(17,this)}set optional(e){s.utils.setBit(17,e,this)}get readonly(){return s.utils.getBit(18,this)}set readonly(e){s.utils.setBit(18,e,this)}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(4,I,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTags(){return s.utils.initStructAt(4,I,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}get kind(){return s.utils.getUint16(4,this)}set kind(e){s.utils.setUint16(4,e,this)}get name(){return s.utils.getText(5,this)}set name(e){s.utils.setText(5,e,this)}get description(){return s.utils.getText(6,this)}set description(e){s.utils.setText(6,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(7,z,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initType(){return s.utils.initStructAt(7,z,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}_adoptDefault(e){s.utils.adopt(e,s.utils.getPointer(8,this))}_disownDefault(){return s.utils.disown(this.default)}get default(){return s.utils.getStruct(8,R,this)}_hasDefault(){return!s.utils.isNull(s.utils.getPointer(8,this))}_initDefault(){return s.utils.initStructAt(8,R,this)}set default(e){s.utils.copyFrom(e,s.utils.getPointer(8,this))}toString(){return`SerializedTypeProperty_`+super.toString()}},W=class e extends s.Struct{static{F(this,`SerializedTypeFunction`)}static _capnp={displayName:`SerializedTypeFunction`,id:`9130bccd82dfcfd4`,size:new s.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _Parameters;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get visibility(){return s.utils.getUint16(0,this)}set visibility(e){s.utils.setUint16(0,e,this)}get abstract(){return s.utils.getBit(16,this)}set abstract(e){s.utils.setBit(16,e,this)}get optional(){return s.utils.getBit(17,this)}set optional(e){s.utils.setBit(17,e,this)}get readonly(){return s.utils.getBit(18,this)}set readonly(e){s.utils.setBit(18,e,this)}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(4,I,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTags(){return s.utils.initStructAt(4,I,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}get kind(){return s.utils.getUint16(4,this)}set kind(e){s.utils.setUint16(4,e,this)}get name(){return s.utils.getText(5,this)}set name(e){s.utils.setText(5,e,this)}_adoptParameters(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownParameters(){return s.utils.disown(this.parameters)}get parameters(){return s.utils.getList(6,e._Parameters,this)}_hasParameters(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initParameters(t){return s.utils.initList(6,e._Parameters,t,this)}set parameters(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptReturn(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownReturn(){return s.utils.disown(this.return)}get return(){return s.utils.getStruct(7,z,this)}_hasReturn(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initReturn(){return s.utils.initStructAt(7,z,this)}set return(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeFunction_`+super.toString()}},Ot=class e extends s.Struct{static{F(this,`SerializedTypePromise`)}static _capnp={displayName:`SerializedTypePromise`,id:`e9b0cbe936a42398`,size:new s.ObjectSize(8,4)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get visibility(){return s.utils.getUint16(0,this)}set visibility(e){s.utils.setUint16(0,e,this)}get abstract(){return s.utils.getBit(16,this)}set abstract(e){s.utils.setBit(16,e,this)}toString(){return`SerializedTypePromise_`+super.toString()}},kt=class extends s.Struct{static{F(this,`SerializedTypeEnumEntry`)}static _capnp={displayName:`SerializedTypeEnumEntry`,id:`d5bcb8b7c49ba556`,size:new s.ObjectSize(0,2)};get name(){return s.utils.getText(0,this)}set name(e){s.utils.setText(0,e,this)}get value(){return s.utils.getText(1,this)}set value(e){s.utils.setText(1,e,this)}toString(){return`SerializedTypeEnumEntry_`+super.toString()}},G=class e extends s.Struct{static{F(this,`SerializedTypeEnum`)}static _capnp={displayName:`SerializedTypeEnum`,id:`d7d36f0ae79e3841`,size:new s.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _EnumEntries;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptEnumEntries(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownEnumEntries(){return s.utils.disown(this.enumEntries)}get enumEntries(){return s.utils.getList(4,e._EnumEntries,this)}_hasEnumEntries(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initEnumEntries(t){return s.utils.initList(4,e._EnumEntries,t,this)}set enumEntries(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptValues(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownValues(){return s.utils.disown(this.values)}get values(){return s.utils.getList(5,s.TextList,this)}_hasValues(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initValues(e){return s.utils.initList(5,s.TextList,e,this)}set values(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}_adoptIndexType(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownIndexType(){return s.utils.disown(this.indexType)}get indexType(){return s.utils.getStruct(6,z,this)}_hasIndexType(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initIndexType(){return s.utils.initStructAt(6,z,this)}set indexType(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(7,I,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initTags(){return s.utils.initStructAt(7,I,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeEnum_`+super.toString()}},K=class e extends s.Struct{static{F(this,`SerializedTypeUnion`)}static _capnp={displayName:`SerializedTypeUnion`,id:`a9ae4c95e41ff4ab`,size:new s.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeUnion_`+super.toString()}},q=class e extends s.Struct{static{F(this,`SerializedTypeIntersection`)}static _capnp={displayName:`SerializedTypeIntersection`,id:`9ae42bd17511c09b`,size:new s.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeIntersection_`+super.toString()}},At=class e extends s.Struct{static{F(this,`SerializedTypeArray`)}static _capnp={displayName:`SerializedTypeArray`,id:`97d1d75240151501`,size:new s.ObjectSize(8,6)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(4,z,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initType(){return s.utils.initStructAt(4,z,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(5,I,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initTags(){return s.utils.initStructAt(5,I,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}toString(){return`SerializedTypeArray_`+super.toString()}},jt=class e extends s.Struct{static{F(this,`SerializedTypeIndexSignature`)}static _capnp={displayName:`SerializedTypeIndexSignature`,id:`93e335e2756821d8`,size:new s.ObjectSize(8,6)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptIndex(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownIndex(){return s.utils.disown(this.index)}get index(){return s.utils.getStruct(4,z,this)}_hasIndex(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initIndex(){return s.utils.initStructAt(4,z,this)}set index(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(5,z,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initType(){return s.utils.initStructAt(5,z,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}toString(){return`SerializedTypeIndexSignature_`+super.toString()}},Mt=class e extends s.Struct{static{F(this,`SerializedTypePropertySignature`)}static _capnp={displayName:`SerializedTypePropertySignature`,id:`9bc1cebd2ca1569a`,size:new s.ObjectSize(8,9)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}get optional(){return s.utils.getBit(16,this)}set optional(e){s.utils.setBit(16,e,this)}get readonly(){return s.utils.getBit(17,this)}set readonly(e){s.utils.setBit(17,e,this)}get description(){return s.utils.getText(5,this)}set description(e){s.utils.setText(5,e,this)}_adoptDefault(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownDefault(){return s.utils.disown(this.default)}get default(){return s.utils.getStruct(6,R,this)}_hasDefault(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initDefault(){return s.utils.initStructAt(6,R,this)}set default(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(7,z,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initType(){return s.utils.initStructAt(7,z,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(8,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(8,I,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(8,this))}_initTags(){return s.utils.initStructAt(8,I,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(8,this))}toString(){return`SerializedTypePropertySignature_`+super.toString()}},J=class e extends s.Struct{static{F(this,`SerializedTypeMethodSignature`)}static _capnp={displayName:`SerializedTypeMethodSignature`,id:`e25a2cc39d5930c8`,size:new s.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _Parameters;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}get optional(){return s.utils.getBit(16,this)}set optional(e){s.utils.setBit(16,e,this)}_adoptParameters(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownParameters(){return s.utils.disown(this.parameters)}get parameters(){return s.utils.getList(5,e._Parameters,this)}_hasParameters(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initParameters(t){return s.utils.initList(5,e._Parameters,t,this)}set parameters(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}_adoptReturn(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownReturn(){return s.utils.disown(this.return)}get return(){return s.utils.getStruct(6,z,this)}_hasReturn(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initReturn(){return s.utils.initStructAt(6,z,this)}set return(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(7,I,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initTags(){return s.utils.initStructAt(7,I,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeMethodSignature_`+super.toString()}},Nt=class e extends s.Struct{static{F(this,`SerializedTypeTypeParameter`)}static _capnp={displayName:`SerializedTypeTypeParameter`,id:`81210361a54d5d71`,size:new s.ObjectSize(8,5)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}toString(){return`SerializedTypeTypeParameter_`+super.toString()}},Pt=class e extends s.Struct{static{F(this,`SerializedTypeInfer`)}static _capnp={displayName:`SerializedTypeInfer`,id:`91c6dd1e13f2b14d`,size:new s.ObjectSize(8,4)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}toString(){return`SerializedTypeInfer_`+super.toString()}},Y=class e extends s.Struct{static{F(this,`SerializedTypeTupleMember`)}static _capnp={displayName:`SerializedTypeTupleMember`,id:`e21c2a18d0d56fdf`,size:new s.ObjectSize(8,6)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(4,z,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initType(){return s.utils.initStructAt(4,z,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}get optional(){return s.utils.getBit(16,this)}set optional(e){s.utils.setBit(16,e,this)}get name(){return s.utils.getText(5,this)}set name(e){s.utils.setText(5,e,this)}toString(){return`SerializedTypeTupleMember_`+super.toString()}},X=class e extends s.Struct{static{F(this,`SerializedTypeTuple`)}static _capnp={displayName:`SerializedTypeTuple`,id:`eb7501eb1ee4fb6d`,size:new s.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeTuple_`+super.toString()}},Ft=class e extends s.Struct{static{F(this,`SerializedTypeRest`)}static _capnp={displayName:`SerializedTypeRest`,id:`f9e684a435cce5d1`,size:new s.ObjectSize(8,5)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(4,z,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initType(){return s.utils.initStructAt(4,z,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeRest_`+super.toString()}},It=class e extends s.Struct{static{F(this,`SimpleSerializedType`)}static _capnp={displayName:`SimpleSerializedType`,id:`80f983e4b811c3ca`,size:new s.ObjectSize(8,5)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptOrigin(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownOrigin(){return s.utils.disown(this.origin)}get origin(){return s.utils.getStruct(4,z,this)}_hasOrigin(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initOrigin(){return s.utils.initStructAt(4,z,this)}set origin(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SimpleSerializedType_`+super.toString()}},Lt=class extends s.Struct{static{F(this,`SerializedTypeLiteralSymbol`)}static _capnp={displayName:`SerializedTypeLiteralSymbol`,id:`f3dd6a3c6054bd55`,size:new s.ObjectSize(0,2)};get type(){return s.utils.getText(0,this)}set type(e){s.utils.setText(0,e,this)}get name(){return s.utils.getText(1,this)}set name(e){s.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralSymbol_`+super.toString()}},Rt=class extends s.Struct{static{F(this,`SerializedTypeLiteralBigInt`)}static _capnp={displayName:`SerializedTypeLiteralBigInt`,id:`821a872d8be30bb2`,size:new s.ObjectSize(0,2)};get type(){return s.utils.getText(0,this)}set type(e){s.utils.setText(0,e,this)}get value(){return s.utils.getText(1,this)}set value(e){s.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralBigInt_`+super.toString()}},zt=class extends s.Struct{static{F(this,`SerializedTypeLiteralRegex`)}static _capnp={displayName:`SerializedTypeLiteralRegex`,id:`cc89f97b47927d99`,size:new s.ObjectSize(0,2)};get type(){return s.utils.getText(0,this)}set type(e){s.utils.setText(0,e,this)}get regex(){return s.utils.getText(1,this)}set regex(e){s.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralRegex_`+super.toString()}},Z={SYMBOL:0,STRING:1,NUMBER:2,BOOLEAN:3,BIGINT:4,REGEX:5},Bt=class extends s.Struct{static{F(this,`SerializedTypeLiteral_Literal`)}static SYMBOL=Z.SYMBOL;static STRING=Z.STRING;static NUMBER=Z.NUMBER;static BOOLEAN=Z.BOOLEAN;static BIGINT=Z.BIGINT;static REGEX=Z.REGEX;static _capnp={displayName:`literal`,id:`e4f0538973f3909f`,size:new s.ObjectSize(16,5)};_adoptSymbol(e){s.utils.setUint16(2,0,this),s.utils.adopt(e,s.utils.getPointer(4,this))}_disownSymbol(){return s.utils.disown(this.symbol)}get symbol(){return s.utils.testWhich(`symbol`,s.utils.getUint16(2,this),0,this),s.utils.getStruct(4,Lt,this)}_hasSymbol(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initSymbol(){return s.utils.setUint16(2,0,this),s.utils.initStructAt(4,Lt,this)}get _isSymbol(){return s.utils.getUint16(2,this)===0}set symbol(e){s.utils.setUint16(2,0,this),s.utils.copyFrom(e,s.utils.getPointer(4,this))}get string(){return s.utils.testWhich(`string`,s.utils.getUint16(2,this),1,this),s.utils.getText(4,this)}get _isString(){return s.utils.getUint16(2,this)===1}set string(e){s.utils.setUint16(2,1,this),s.utils.setText(4,e,this)}get number(){return s.utils.testWhich(`number`,s.utils.getUint16(2,this),2,this),s.utils.getFloat64(8,this)}get _isNumber(){return s.utils.getUint16(2,this)===2}set number(e){s.utils.setUint16(2,2,this),s.utils.setFloat64(8,e,this)}get boolean(){return s.utils.testWhich(`boolean`,s.utils.getUint16(2,this),3,this),s.utils.getBit(64,this)}get _isBoolean(){return s.utils.getUint16(2,this)===3}set boolean(e){s.utils.setUint16(2,3,this),s.utils.setBit(64,e,this)}_adoptBigint(e){s.utils.setUint16(2,4,this),s.utils.adopt(e,s.utils.getPointer(4,this))}_disownBigint(){return s.utils.disown(this.bigint)}get bigint(){return s.utils.testWhich(`bigint`,s.utils.getUint16(2,this),4,this),s.utils.getStruct(4,Rt,this)}_hasBigint(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initBigint(){return s.utils.setUint16(2,4,this),s.utils.initStructAt(4,Rt,this)}get _isBigint(){return s.utils.getUint16(2,this)===4}set bigint(e){s.utils.setUint16(2,4,this),s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptRegex(e){s.utils.setUint16(2,5,this),s.utils.adopt(e,s.utils.getPointer(4,this))}_disownRegex(){return s.utils.disown(this.regex)}get regex(){return s.utils.testWhich(`regex`,s.utils.getUint16(2,this),5,this),s.utils.getStruct(4,zt,this)}_hasRegex(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initRegex(){return s.utils.setUint16(2,5,this),s.utils.initStructAt(4,zt,this)}get _isRegex(){return s.utils.getUint16(2,this)===5}set regex(e){s.utils.setUint16(2,5,this),s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeLiteral_Literal_`+super.toString()}which(){return s.utils.getUint16(2,this)}},Vt=class e extends s.Struct{static{F(this,`SerializedTypeLiteral`)}static _capnp={displayName:`SerializedTypeLiteral`,id:`b876ba24d27d88c8`,size:new s.ObjectSize(16,5)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get literal(){return s.utils.getAs(Bt,this)}_initLiteral(){return s.utils.getAs(Bt,this)}toString(){return`SerializedTypeLiteral_`+super.toString()}},Ht=class e extends s.Struct{static{F(this,`SerializedTypeTemplateLiteral`)}static _capnp={displayName:`SerializedTypeTemplateLiteral`,id:`8dd6c284d46cc265`,size:new s.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,B,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,B,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeTemplateLiteral_`+super.toString()}},Ut=class extends s.Struct{static{F(this,`SerializedTypeOther`)}static _capnp={displayName:`SerializedTypeOther`,id:`9e1048a692ff49ce`,size:new s.ObjectSize(8,1)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}toString(){return`SerializedTypeOther_`+super.toString()}},Q={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},Wt=class extends s.Struct{static{F(this,`SerializedType_Type`)}static SIMPLE=Q.SIMPLE;static LITERAL=Q.LITERAL;static TEMPLATE_LITERAL=Q.TEMPLATE_LITERAL;static PARAMETER=Q.PARAMETER;static FUNCTION=Q.FUNCTION;static METHOD=Q.METHOD;static PROPERTY=Q.PROPERTY;static PROMISE=Q.PROMISE;static CLASS_TYPE=Q.CLASS_TYPE;static ENUM=Q.ENUM;static UNION=Q.UNION;static INTERSECTION=Q.INTERSECTION;static ARRAY=Q.ARRAY;static OBJECT_LITERAL=Q.OBJECT_LITERAL;static INDEX_SIGNATURE=Q.INDEX_SIGNATURE;static PROPERTY_SIGNATURE=Q.PROPERTY_SIGNATURE;static METHOD_SIGNATURE=Q.METHOD_SIGNATURE;static TYPE_PARAMETER=Q.TYPE_PARAMETER;static INFER=Q.INFER;static TUPLE=Q.TUPLE;static TUPLE_MEMBER=Q.TUPLE_MEMBER;static REST=Q.REST;static OTHER=Q.OTHER;static _capnp={displayName:`type`,id:`c677d7ed4a496eab`,size:new s.ObjectSize(8,1)};_adoptSimple(e){s.utils.setUint16(0,0,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownSimple(){return s.utils.disown(this.simple)}get simple(){return s.utils.testWhich(`simple`,s.utils.getUint16(0,this),0,this),s.utils.getStruct(0,It,this)}_hasSimple(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initSimple(){return s.utils.setUint16(0,0,this),s.utils.initStructAt(0,It,this)}get _isSimple(){return s.utils.getUint16(0,this)===0}set simple(e){s.utils.setUint16(0,0,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptLiteral(e){s.utils.setUint16(0,1,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownLiteral(){return s.utils.disown(this.literal)}get literal(){return s.utils.testWhich(`literal`,s.utils.getUint16(0,this),1,this),s.utils.getStruct(0,Vt,this)}_hasLiteral(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initLiteral(){return s.utils.setUint16(0,1,this),s.utils.initStructAt(0,Vt,this)}get _isLiteral(){return s.utils.getUint16(0,this)===1}set literal(e){s.utils.setUint16(0,1,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptTemplateLiteral(e){s.utils.setUint16(0,2,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTemplateLiteral(){return s.utils.disown(this.templateLiteral)}get templateLiteral(){return s.utils.testWhich(`templateLiteral`,s.utils.getUint16(0,this),2,this),s.utils.getStruct(0,Ht,this)}_hasTemplateLiteral(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTemplateLiteral(){return s.utils.setUint16(0,2,this),s.utils.initStructAt(0,Ht,this)}get _isTemplateLiteral(){return s.utils.getUint16(0,this)===2}set templateLiteral(e){s.utils.setUint16(0,2,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptParameter(e){s.utils.setUint16(0,3,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownParameter(){return s.utils.disown(this.parameter)}get parameter(){return s.utils.testWhich(`parameter`,s.utils.getUint16(0,this),3,this),s.utils.getStruct(0,U,this)}_hasParameter(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initParameter(){return s.utils.setUint16(0,3,this),s.utils.initStructAt(0,U,this)}get _isParameter(){return s.utils.getUint16(0,this)===3}set parameter(e){s.utils.setUint16(0,3,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptFunction(e){s.utils.setUint16(0,4,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownFunction(){return s.utils.disown(this.function)}get function(){return s.utils.testWhich(`function`,s.utils.getUint16(0,this),4,this),s.utils.getStruct(0,W,this)}_hasFunction(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initFunction(){return s.utils.setUint16(0,4,this),s.utils.initStructAt(0,W,this)}get _isFunction(){return s.utils.getUint16(0,this)===4}set function(e){s.utils.setUint16(0,4,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptMethod(e){s.utils.setUint16(0,5,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownMethod(){return s.utils.disown(this.method)}get method(){return s.utils.testWhich(`method`,s.utils.getUint16(0,this),5,this),s.utils.getStruct(0,Et,this)}_hasMethod(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initMethod(){return s.utils.setUint16(0,5,this),s.utils.initStructAt(0,Et,this)}get _isMethod(){return s.utils.getUint16(0,this)===5}set method(e){s.utils.setUint16(0,5,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptProperty(e){s.utils.setUint16(0,6,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownProperty(){return s.utils.disown(this.property)}get property(){return s.utils.testWhich(`property`,s.utils.getUint16(0,this),6,this),s.utils.getStruct(0,Dt,this)}_hasProperty(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initProperty(){return s.utils.setUint16(0,6,this),s.utils.initStructAt(0,Dt,this)}get _isProperty(){return s.utils.getUint16(0,this)===6}set property(e){s.utils.setUint16(0,6,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptPromise(e){s.utils.setUint16(0,7,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownPromise(){return s.utils.disown(this.promise)}get promise(){return s.utils.testWhich(`promise`,s.utils.getUint16(0,this),7,this),s.utils.getStruct(0,Ot,this)}_hasPromise(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initPromise(){return s.utils.setUint16(0,7,this),s.utils.initStructAt(0,Ot,this)}get _isPromise(){return s.utils.getUint16(0,this)===7}set promise(e){s.utils.setUint16(0,7,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptClassType(e){s.utils.setUint16(0,8,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownClassType(){return s.utils.disown(this.classType)}get classType(){return s.utils.testWhich(`classType`,s.utils.getUint16(0,this),8,this),s.utils.getStruct(0,H,this)}_hasClassType(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initClassType(){return s.utils.setUint16(0,8,this),s.utils.initStructAt(0,H,this)}get _isClassType(){return s.utils.getUint16(0,this)===8}set classType(e){s.utils.setUint16(0,8,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptEnum(e){s.utils.setUint16(0,9,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownEnum(){return s.utils.disown(this.enum)}get enum(){return s.utils.testWhich(`enum`,s.utils.getUint16(0,this),9,this),s.utils.getStruct(0,G,this)}_hasEnum(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initEnum(){return s.utils.setUint16(0,9,this),s.utils.initStructAt(0,G,this)}get _isEnum(){return s.utils.getUint16(0,this)===9}set enum(e){s.utils.setUint16(0,9,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptUnion(e){s.utils.setUint16(0,10,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownUnion(){return s.utils.disown(this.union)}get union(){return s.utils.testWhich(`union`,s.utils.getUint16(0,this),10,this),s.utils.getStruct(0,K,this)}_hasUnion(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initUnion(){return s.utils.setUint16(0,10,this),s.utils.initStructAt(0,K,this)}get _isUnion(){return s.utils.getUint16(0,this)===10}set union(e){s.utils.setUint16(0,10,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptIntersection(e){s.utils.setUint16(0,11,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownIntersection(){return s.utils.disown(this.intersection)}get intersection(){return s.utils.testWhich(`intersection`,s.utils.getUint16(0,this),11,this),s.utils.getStruct(0,q,this)}_hasIntersection(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initIntersection(){return s.utils.setUint16(0,11,this),s.utils.initStructAt(0,q,this)}get _isIntersection(){return s.utils.getUint16(0,this)===11}set intersection(e){s.utils.setUint16(0,11,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptArray(e){s.utils.setUint16(0,12,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownArray(){return s.utils.disown(this.array)}get array(){return s.utils.testWhich(`array`,s.utils.getUint16(0,this),12,this),s.utils.getStruct(0,At,this)}_hasArray(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initArray(){return s.utils.setUint16(0,12,this),s.utils.initStructAt(0,At,this)}get _isArray(){return s.utils.getUint16(0,this)===12}set array(e){s.utils.setUint16(0,12,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptObjectLiteral(e){s.utils.setUint16(0,13,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownObjectLiteral(){return s.utils.disown(this.objectLiteral)}get objectLiteral(){return s.utils.testWhich(`objectLiteral`,s.utils.getUint16(0,this),13,this),s.utils.getStruct(0,V,this)}_hasObjectLiteral(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initObjectLiteral(){return s.utils.setUint16(0,13,this),s.utils.initStructAt(0,V,this)}get _isObjectLiteral(){return s.utils.getUint16(0,this)===13}set objectLiteral(e){s.utils.setUint16(0,13,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptIndexSignature(e){s.utils.setUint16(0,14,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownIndexSignature(){return s.utils.disown(this.indexSignature)}get indexSignature(){return s.utils.testWhich(`indexSignature`,s.utils.getUint16(0,this),14,this),s.utils.getStruct(0,jt,this)}_hasIndexSignature(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initIndexSignature(){return s.utils.setUint16(0,14,this),s.utils.initStructAt(0,jt,this)}get _isIndexSignature(){return s.utils.getUint16(0,this)===14}set indexSignature(e){s.utils.setUint16(0,14,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptPropertySignature(e){s.utils.setUint16(0,15,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownPropertySignature(){return s.utils.disown(this.propertySignature)}get propertySignature(){return s.utils.testWhich(`propertySignature`,s.utils.getUint16(0,this),15,this),s.utils.getStruct(0,Mt,this)}_hasPropertySignature(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initPropertySignature(){return s.utils.setUint16(0,15,this),s.utils.initStructAt(0,Mt,this)}get _isPropertySignature(){return s.utils.getUint16(0,this)===15}set propertySignature(e){s.utils.setUint16(0,15,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptMethodSignature(e){s.utils.setUint16(0,16,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownMethodSignature(){return s.utils.disown(this.methodSignature)}get methodSignature(){return s.utils.testWhich(`methodSignature`,s.utils.getUint16(0,this),16,this),s.utils.getStruct(0,J,this)}_hasMethodSignature(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initMethodSignature(){return s.utils.setUint16(0,16,this),s.utils.initStructAt(0,J,this)}get _isMethodSignature(){return s.utils.getUint16(0,this)===16}set methodSignature(e){s.utils.setUint16(0,16,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptTypeParameter(e){s.utils.setUint16(0,17,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTypeParameter(){return s.utils.disown(this.typeParameter)}get typeParameter(){return s.utils.testWhich(`typeParameter`,s.utils.getUint16(0,this),17,this),s.utils.getStruct(0,Nt,this)}_hasTypeParameter(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTypeParameter(){return s.utils.setUint16(0,17,this),s.utils.initStructAt(0,Nt,this)}get _isTypeParameter(){return s.utils.getUint16(0,this)===17}set typeParameter(e){s.utils.setUint16(0,17,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptInfer(e){s.utils.setUint16(0,18,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownInfer(){return s.utils.disown(this.infer)}get infer(){return s.utils.testWhich(`infer`,s.utils.getUint16(0,this),18,this),s.utils.getStruct(0,Pt,this)}_hasInfer(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initInfer(){return s.utils.setUint16(0,18,this),s.utils.initStructAt(0,Pt,this)}get _isInfer(){return s.utils.getUint16(0,this)===18}set infer(e){s.utils.setUint16(0,18,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptTuple(e){s.utils.setUint16(0,19,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTuple(){return s.utils.disown(this.tuple)}get tuple(){return s.utils.testWhich(`tuple`,s.utils.getUint16(0,this),19,this),s.utils.getStruct(0,X,this)}_hasTuple(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTuple(){return s.utils.setUint16(0,19,this),s.utils.initStructAt(0,X,this)}get _isTuple(){return s.utils.getUint16(0,this)===19}set tuple(e){s.utils.setUint16(0,19,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptTupleMember(e){s.utils.setUint16(0,20,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTupleMember(){return s.utils.disown(this.tupleMember)}get tupleMember(){return s.utils.testWhich(`tupleMember`,s.utils.getUint16(0,this),20,this),s.utils.getStruct(0,Y,this)}_hasTupleMember(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTupleMember(){return s.utils.setUint16(0,20,this),s.utils.initStructAt(0,Y,this)}get _isTupleMember(){return s.utils.getUint16(0,this)===20}set tupleMember(e){s.utils.setUint16(0,20,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptRest(e){s.utils.setUint16(0,21,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownRest(){return s.utils.disown(this.rest)}get rest(){return s.utils.testWhich(`rest`,s.utils.getUint16(0,this),21,this),s.utils.getStruct(0,Ft,this)}_hasRest(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initRest(){return s.utils.setUint16(0,21,this),s.utils.initStructAt(0,Ft,this)}get _isRest(){return s.utils.getUint16(0,this)===21}set rest(e){s.utils.setUint16(0,21,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptOther(e){s.utils.setUint16(0,22,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownOther(){return s.utils.disown(this.other)}get other(){return s.utils.testWhich(`other`,s.utils.getUint16(0,this),22,this),s.utils.getStruct(0,Ut,this)}_hasOther(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initOther(){return s.utils.setUint16(0,22,this),s.utils.initStructAt(0,Ut,this)}get _isOther(){return s.utils.getUint16(0,this)===22}set other(e){s.utils.setUint16(0,22,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}toString(){return`SerializedType_Type_`+super.toString()}which(){return s.utils.getUint16(0,this)}},Gt=class extends s.Struct{static{F(this,`SerializedType`)}static _capnp={displayName:`SerializedType`,id:`96856dcc2dd3d58f`,size:new s.ObjectSize(8,1)};get type(){return s.utils.getAs(Wt,this)}_initType(){return s.utils.getAs(Wt,this)}toString(){return`SerializedType_`+super.toString()}},$=class e extends s.Struct{static{F(this,`SerializedTypes`)}static _capnp={displayName:`SerializedTypes`,id:`ac55398ab0ef4958`,size:new s.ObjectSize(0,1)};static _Types;_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(0,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTypes(t){return s.utils.initList(0,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(0,this))}toString(){return`SerializedTypes_`+super.toString()}};Tt._Indexes=s.CompositeList(wt),V._TypeArguments=s.CompositeList(z),V._Decorators=s.CompositeList(z),V._Types=s.CompositeList(z),H._TypeArguments=s.CompositeList(z),H._Decorators=s.CompositeList(z),H._ExtendsArguments=s.CompositeList(z),H._Arguments=s.CompositeList(z),H._Types=s.CompositeList(z),U._TypeArguments=s.CompositeList(z),U._Decorators=s.CompositeList(z),Et._TypeArguments=s.CompositeList(z),Et._Decorators=s.CompositeList(z),Et._Parameters=s.CompositeList(U),Dt._TypeArguments=s.CompositeList(z),Dt._Decorators=s.CompositeList(z),W._TypeArguments=s.CompositeList(z),W._Decorators=s.CompositeList(z),W._Parameters=s.CompositeList(U),Ot._TypeArguments=s.CompositeList(z),Ot._Decorators=s.CompositeList(z),G._TypeArguments=s.CompositeList(z),G._Decorators=s.CompositeList(z),G._EnumEntries=s.CompositeList(kt),K._TypeArguments=s.CompositeList(z),K._Decorators=s.CompositeList(z),K._Types=s.CompositeList(z),q._TypeArguments=s.CompositeList(z),q._Decorators=s.CompositeList(z),q._Types=s.CompositeList(z),At._TypeArguments=s.CompositeList(z),At._Decorators=s.CompositeList(z),jt._TypeArguments=s.CompositeList(z),jt._Decorators=s.CompositeList(z),Mt._TypeArguments=s.CompositeList(z),Mt._Decorators=s.CompositeList(z),J._TypeArguments=s.CompositeList(z),J._Decorators=s.CompositeList(z),J._Parameters=s.CompositeList(U),Nt._TypeArguments=s.CompositeList(z),Nt._Decorators=s.CompositeList(z),Pt._TypeArguments=s.CompositeList(z),Pt._Decorators=s.CompositeList(z),Y._TypeArguments=s.CompositeList(z),Y._Decorators=s.CompositeList(z),X._TypeArguments=s.CompositeList(z),X._Decorators=s.CompositeList(z),X._Types=s.CompositeList(Y),Ft._TypeArguments=s.CompositeList(z),Ft._Decorators=s.CompositeList(z),It._TypeArguments=s.CompositeList(z),It._Decorators=s.CompositeList(z),Vt._TypeArguments=s.CompositeList(z),Vt._Decorators=s.CompositeList(z),Ht._TypeArguments=s.CompositeList(z),Ht._Decorators=s.CompositeList(z),Ht._Types=s.CompositeList(z),$._Types=s.CompositeList(Gt);function Kt(e){return(0,l.joinPaths)(e.dataPath,`reflections`)}const qt={target:`esnext`,platform:`neutral`,format:`esm`,write:!0,minify:!0,sourcemap:!1,bundle:!0,treeShaking:!0,keepNames:!0,splitting:!0,logLevel:`silent`};function Jt(e){let t=e.config.build.override.inject??e.config.build.inject;return t&&Object.keys(t).length>0&&e.fs.writeSync((0,l.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,u.camelCase)(e)!==e){if(t.length===1)return`
|
|
2
|
-
import ${(0,u.camelCase)(e)} from "${t[0]}";
|
|
3
|
-
export { ${(0,u.camelCase)(e)} as "${e}" }`;if(t.length>1)return`
|
|
4
|
-
import ${t[1]===`*`?`* as ${(0,u.camelCase)(e)}`:`{ ${t[1]} as ${(0,u.camelCase)(e)} }`} from "${t[0]}";
|
|
5
|
-
export { ${(0,u.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,u.camelCase)(e)!==e)return`
|
|
10
|
-
import ${(0,u.camelCase)(e)} from "${t[0]}";
|
|
11
|
-
export { ${(0,u.camelCase)(e)} as "${e}" }`;else return`
|
|
12
|
-
import ${e} from "${t}";
|
|
13
|
-
export { ${e} };`;return``}).join(`
|
|
14
|
-
`)),(0,a.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,l.joinPaths)(e.workspaceConfig.workspaceRoot,e.config.projectRoot,e.artifactsPath,`inject-shim.js`)]:void 0},e.config.build.variant===`esbuild`?(0,le.omit)(e.config.build.override,[`alias`,`inject`,`external`,`noExternal`,`skipNodeModulesBundle`,`extensions`]):{},e.config.build.variant===`esbuild`?(0,le.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,tsconfigRaw:e.tsconfig.tsconfigJson,minify:e.config.mode!==`development`,metafile:e.config.mode===`development`,sourcemap:e.config.mode===`development`},qt)}async function Yt(e,n,r={}){let i=await e.fs.resolve(n);if(!i||!e.fs.existsSync(i))throw Error(`Module not found: "${n}". Please check the path and try again.`);let a=await(0,ce.build)({...Jt(e),entry:[i],write:!1,sourcemap:!1,splitting:!1,treeShaking:!1,bundle:!0,...r});if(a.errors.length>0)throw Error(`Failed to transpile ${n}: ${a.errors.map(e=>e.text).join(`, `)}`);if(a.warnings.length>0&&e.log(t.LogLevelLabel.WARN,`Warnings while transpiling ${n}: ${a.warnings.map(e=>e.text).join(`, `)}`),!a.outputFiles||a.outputFiles.filter(Boolean).length===0)throw Error(`No output files generated for ${n}. Please check the configuration and try again.`);return a.outputFiles.filter(Boolean)[0]}async function Xt(e,t,n={}){let r;r=(0,i.isSetString)(t)?(0,te.parseTypeDefinition)(t):t;let a=await Yt(e,r.file,n),o=await e.resolver.evalModule(a.text,{filename:a.path,forceTranspile:!0}),ee=r.name;return ee||=`default`,o[ee]??o[`__Ω${ee}`]}async function Zt(e,t,n){return(0,d.reflect)(await Xt(e,t,n))}function Qt(e,t){return nn(e,{type:(0,d.merge)(t.map(e=>e.type))})}function $t(e,t){return rn(e,{type:(0,d.merge)(t.map(e=>e.type))})}var en=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},tn=class{};function nn(e,t={}){let n=t.superReflection??new d.ReflectionClass({kind:d.ReflectionKind.class,description:`The base environment configuration definition for the ${(0,o.titleCase)(e.config.name)} project.`,classType:en,types:[],implements:[{kind:d.ReflectionKind.objectLiteral,typeName:`EnvInterface`,description:`The environment configuration interface definition for the ${(0,o.titleCase)(e.config.name)} project.`,types:[]}]});n.name=`Env`;let r=new d.ReflectionClass(t.type??{kind:d.ReflectionKind.objectLiteral,typeName:`Env`,description:`A schema describing the list of available environment variables that can be used by the ${e.config.name?`${(0,o.titleCase)(e.config.name)} application`:`application`}.`,types:[]},n);return r.name=`Env`,r}function rn(e,t={}){let n=t.superReflection??new d.ReflectionClass({kind:d.ReflectionKind.class,description:`The base secrets configuration definition for the ${(0,o.titleCase)(e.config.name)} project.`,classType:tn,types:[],implements:[{kind:d.ReflectionKind.objectLiteral,typeName:`SecretsInterface`,description:`The secrets configuration interface definition for the ${(0,o.titleCase)(e.config.name)} project.`,types:[]}]});n.name=`Secrets`;let r=new d.ReflectionClass(t.type??{kind:d.ReflectionKind.objectLiteral,typeName:`Secrets`,description:`A schema describing the list of available environment secrets that can be used by the ${e.config.name?`${(0,o.titleCase)(e.config.name)} application`:`application`}.`,types:[]},n);return r.name=`Secrets`,r}async function an(e,t,r){let i;t&&(i=(0,d.resolveClassType)(await Zt(e,{file:(0,n.isParentPath)(t,e.workspaceConfig.workspaceRoot)?t:(0,l.joinPaths)(e.workspaceConfig.workspaceRoot,t),name:r},{skipNodeModulesBundle:!0})));let a=await Zt(e,await cn(e));return Qt(e,[await dn(e,`env`),i,(0,d.resolveClassType)(a)].filter(Boolean))}async function on(e,t,r){let i;t&&(i=(0,d.resolveClassType)(await Zt(e,{file:(0,n.isParentPath)(t,e.workspaceConfig.workspaceRoot)?t:(0,l.joinPaths)(e.workspaceConfig.workspaceRoot,t),name:r},{skipNodeModulesBundle:!0})));let a=await Zt(e,await ln(e));return $t(e,[await hn(e),i,(0,d.resolveClassType)(a)].filter(Boolean))}async function sn(e){return(0,oe.resolvePackage)(`@powerlines/plugin-env/types/runtime`,{paths:[e.workspaceConfig.workspaceRoot,(0,l.joinPaths)(e.workspaceConfig.workspaceRoot,e.config.projectRoot)]})}async function cn(e){return{file:await sn(e),name:`EnvInterface`}}async function ln(e){return{file:await sn(e),name:`SecretsInterface`}}function un(e,t=`env`){return(0,l.joinPaths)(Kt(e),`env`,`${t}-types.bin`)}async function dn(e,t=`env`){let n=un(e,t);if(!(0,ae.existsSync)(n)){if(!e.env.types.env||(0,se.isEmptyObject)(e.env.types.env)){let n=nn(e),r=new s.Message;n.messageRoot=r.initRoot($),n.dataBuffer=r.toArrayBuffer(),e.env.types.env=n,await fn(e,e.env.types.env,t)}return e.env.types.env}let r=await(0,c.readFileBuffer)(n),i=new s.Message(r,!1).getRoot($),a=(0,d.resolveClassType)((0,d.deserializeType)(Fe(i.types)));return e.env.types[t]=a,e.env.types[t].messageRoot=i,e.env.types[t].dataBuffer=r,a}async function fn(e,t,n=`env`){let r=t.serializeType(),i=new s.Message;Pe(r,i.initRoot($)._initTypes(r.length)),await(0,c.writeFileBuffer)(un(e,n),i.toArrayBuffer())}function pn(e,t){return(0,l.joinPaths)(Kt(e),`env`,`${t}.bin`)}async function mn(e){let t=pn(e,`env`);if(!(0,ae.existsSync)(t)){if(e.env.types.env||(e.env.types.env=await dn(e,`env`)),!e.env.used.env||(0,se.isEmptyObject)(e.env.used.env)){let t=nn(e,{type:{kind:d.ReflectionKind.objectLiteral,typeName:`Env`,description:`An object containing the environment configuration parameters that are used (at least once) by the ${e.config.name?`${e.config.name} application`:`application`}.`,types:[]},superReflection:e.env.types.env});t.name=`Env`;let n=new s.Message;t.messageRoot=n.initRoot($),t.dataBuffer=n.toArrayBuffer(),e.env.used.env=t,await gn(e,e.env.used.env,`env`)}return e.env.used.env}let n=await(0,c.readFileBuffer)(t),r=new s.Message(n,!1).getRoot($),i=(0,d.resolveClassType)((0,d.deserializeType)(Fe(r.types)));return e.env.used.env=i,e.env.used.env.messageRoot=r,e.env.used.env.dataBuffer=n,i}async function hn(e){let t=pn(e,`secrets`);if(!(0,ae.existsSync)(t)){if(e.env.types.secrets||(e.env.types.secrets=await dn(e,`secrets`)),!e.env.used.secrets||(0,se.isEmptyObject)(e.env.used.secrets)){let t=nn(e,{type:{kind:d.ReflectionKind.objectLiteral,typeName:`Secrets`,description:`An object containing the secret configuration parameters that are used (at least once) by the ${e.config.name?`${e.config.name} application`:`application`}.`,types:[]},superReflection:e.env.types.secrets});t.name=`Secrets`;let n=new s.Message;t.messageRoot=n.initRoot($),t.dataBuffer=n.toArrayBuffer(),e.env.used.secrets=t,await gn(e,e.env.used.secrets,`secrets`)}return e.env.used.secrets}let n=await(0,c.readFileBuffer)(t),r=new s.Message(n,!1).getRoot($),i=(0,d.resolveClassType)((0,d.deserializeType)(Fe(r.types)));return e.env.used.secrets=i,e.env.used.secrets.messageRoot=r,e.env.used.secrets.dataBuffer=n,i}async function gn(e,t,n=`env`){let r=t.serializeType(),i=new s.Message;Pe(r,i.initRoot($)._initTypes(r.length)),await(0,c.writeFileBuffer)(pn(e,n),i.toArrayBuffer())}function _n(e,t,n=`env`){let r=t.serializeType(),i=new s.Message;Pe(r,i.initRoot($)._initTypes(r.length)),(0,c.writeFileBufferSync)(pn(e,n),i.toArrayBuffer())}Object.defineProperty(exports,`S`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`_`,{enumerable:!0,get:function(){return $t}}),Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return mn}}),Object.defineProperty(exports,`b`,{enumerable:!0,get:function(){return $}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return sn}}),Object.defineProperty(exports,`d`,{enumerable:!0,get:function(){return fn}}),Object.defineProperty(exports,`f`,{enumerable:!0,get:function(){return en}}),Object.defineProperty(exports,`g`,{enumerable:!0,get:function(){return Qt}}),Object.defineProperty(exports,`h`,{enumerable:!0,get:function(){return rn}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return ln}}),Object.defineProperty(exports,`l`,{enumerable:!0,get:function(){return gn}}),Object.defineProperty(exports,`m`,{enumerable:!0,get:function(){return nn}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return pn}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return dn}}),Object.defineProperty(exports,`p`,{enumerable:!0,get:function(){return tn}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return un}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return hn}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return cn}}),Object.defineProperty(exports,`u`,{enumerable:!0,get:function(){return _n}}),Object.defineProperty(exports,`v`,{enumerable:!0,get:function(){return an}}),Object.defineProperty(exports,`x`,{enumerable:!0,get:function(){return Fe}}),Object.defineProperty(exports,`y`,{enumerable:!0,get:function(){return on}});
|
package/dist/plugin-CRYQ682C.cjs
DELETED
|
File without changes
|
package/dist/plugin-Cx61c9gw.mjs
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{S as e,b as t,n,x as r}from"./persistence-Br-YMVb1.mjs";import{t as i}from"./utilities-4S--uN0L.mjs";import{LogLevelLabel as a}from"@storm-software/config-tools/types";import o from"chalk";import s from"@babel/generator";import"@babel/parser";import{declare as c}from"@babel/helper-plugin-utils";import"@storm-software/config-tools/logger";import"@storm-software/config-tools/utilities/colors";import"@stryke/helpers/noop";import{titleCase as l}from"@stryke/string-format/title-case";import*as u from"@babel/types";import{isString as d}from"@stryke/type-checks/is-string";import*as f from"@stryke/capnp";import{readFileBufferSync as p}from"@stryke/fs/buffer";import{existsSync as m}from"node:fs";let h=s;`default`in h&&(h=h.default);const g=[`#00A0DD`,`#6FCE4E`,`#FBBF24`,`#F43F5E`,`#3B82F6`,`#A855F7`,`#469592`,`#288EDF`,`#10B981`,`#EF4444`,`#F0EC56`,`#F472B6`,`#22D3EE`,`#EAB308`,`#84CC16`,`#F87171`,`#0EA5E9`,`#D946EF`,`#FACC15`,`#34D399`],_=(e,t)=>(n,...r)=>e(n,` ${o.inverse.hex(g[t.split(``).map(e=>e.charCodeAt(0)).reduce((e,t)=>e+t,0)%g.length]||g[0])(` ${l(t)} `)} ${r.join(` `)} `);function v(e,t){let n=n=>c((r,i,s)=>{r.cache.using(()=>n.meta.checksum),r.assertVersion(`^7.0.0-0`);let c=_(n.log,e);c(a.TRACE,`Initializing the ${o.bold.cyanBright(e)} Babel plugin`);let l=t({log:c,name:e,api:r,options:i,context:n,dirname:s});return l.name=e,c(a.TRACE,`Completed initialization of the ${o.bold.cyanBright(e)} Babel plugin`),l});return n.$$name=e,n}function y(e,t){S(e.scope.getProgramParent().path,t)}function b(e){return e.get(`specifiers`).filter(Boolean).every(e=>e?.isImportSpecifier())&&e.node.importKind!==`type`&&e.node.importKind!==`typeof`}function x(e){let t=new Map;return e.traverse({ImportDeclaration(e){b(e)&&t.set(e.node.source.value,e)}}),t}function S(e,t){x(e).get(t.module)||e.unshiftContainer(`body`,u.importDeclaration([u.importSpecifier(u.identifier(t.name||t.imported),u.identifier(t.imported))],u.stringLiteral(t.module)))}const C=v(`env`,({log:o,context:s})=>{function c(e,t,n=!1){let r=s.env.types.env?.getProperties().filter(e=>e.getAlias().length>0);if(e.name){let c=s.config.env.prefix.find(t=>e.name&&e.name.startsWith(t)&&(s.env.types.env?.hasProperty(e.name.replace(`${t}_`,``))||r.some(n=>n.getAlias().includes(e.name.replace(`${t}_`,``))))),l=e.name;if(c&&(l=e.name.replace(`${c}_`,``)),o(a.TRACE,`Environment variable ${l} found in ${t.filename||`unknown file`}.`),s.env.types.env?.hasProperty(l)||r.some(e=>e.getAlias().includes(l))){let e=s.env.types.env.hasProperty(l)?s.env.types.env.getProperty(l):r.find(e=>e.getAlias().includes(l));if(!e||e.isIgnored())return;if(s.env.used.env.hasProperty(l)||s.env.used.env.addProperty(e.property),s.config.env.inject&&n){let t=s.env.parsed?.[l];if(t===void 0){let e=s.config.env.prefix.find(e=>s.env.parsed[`${e.replace(/_$/g,``)}_${l}`]);e&&(t=s.env.parsed[`${e.replace(/_$/g,``)}_${l}`])}if(t??=e.getDefaultValue(),e.isValueRequired()&&t===void 0)throw Error(`Environment variable \`${l}\` is not defined in the .env configuration files`);return i(e,t)}}else throw Error(`The "${l}" environment variable is not defined in the \`env\` type definition, but is used in the source code file ${t.filename?t.filename:`unknown`}.
|
|
2
|
-
|
|
3
|
-
The following environment configuration names are defined in the \`env\` type definition: \n${s.env.types.env?.getPropertyNames().sort((e,t)=>String(e).localeCompare(String(t))).map(e=>` - ${String(e)} ${r.some(t=>t.getNameAsString()===String(e)&&t.getAlias().length>0)?`(Alias: ${r?.find(t=>t.getNameAsString()===String(e))?.getAlias().join(`, `)})`:``}`).join(`
|
|
4
|
-
`)} \n\nUsing the following env prefix: \n${s.config.env.prefix.map(e=>` - ${e}`).join(`
|
|
5
|
-
`)} \n\nPlease check your \`env\` configuration option. If you are using a custom dotenv type definition, please make sure that the configuration names match the ones in the code. \n\n`)}}return{visitor:{MemberExpression(e,t){if(e.get(`object`)?.get(`property`)?.isIdentifier({name:`env`})&&e.get(`object`)?.get(`object`)?.isIdentifier({name:`$storm`})&&e.get(`property`)?.isIdentifier()){let n=e.get(`property`)?.node;c(n,t,!1),e.replaceWithSourceString(`env.${n.name}`),y(e,{module:`storm:env`,name:`env`,imported:`env`})}else if(e.get(`object`)?.get(`property`)?.isIdentifier({name:`env`})&&e.get(`object`)?.get(`object`)?.isCallExpression({callee:{name:`useStorm`,type:`Identifier`}})&&e.get(`property`)?.isIdentifier()){let n=e.get(`property`)?.node;c(n,t,!1),e.replaceWithSourceString(`env.${n.name}`),y(e,{module:`storm:env`,name:`env`,imported:`env`})}else if(e.get(`object`)?.get(`property`)?.isIdentifier({name:`env`})&&e.get(`object`)?.get(`object`)?.isIdentifier({name:`process`})&&e.get(`property`)?.isIdentifier()){let n=e.get(`property`)?.node;if(!n.name)return;c(n,t,!1),e.replaceWithSourceString(`env.${n.name}`),y(e,{module:`storm:env`,name:`env`,imported:`env`})}else if(e.get(`object`)?.get(`property`)?.isIdentifier({name:`env`})&&e.get(`object`)?.get(`object`)?.isMetaProperty()&&e.get(`property`)?.isIdentifier()){let n=e.get(`property`)?.node;if(!n.name)return;c(n,t,!1),e.replaceWithSourceString(`env.${n.name}`),y(e,{module:`storm:env`,name:`env`,imported:`env`})}}},post(){o(a.TRACE,`Adding environment variables from ${this.filename||`unknown file`} to env.json.`);let i=e.ReflectionClass.from({kind:e.ReflectionKind.objectLiteral,description:`An object containing the environment variables used by the application.`,types:[]}),c=n(s,`env`);c&&m(c)&&(o(a.TRACE,`Environment reflection file found at ${c}, reading existing reflection.`),i=(0,e.resolveClassType)((0,e.deserializeType)(r(new f.Message(p(c),!1).getRoot(t).types)))),o(a.TRACE,`Adding new variables to env reflection at ${c}.`),i.getProperties().filter(e=>e.getNameAsString()&&!s.env.used.env.hasProperty(e.getNameAsString())).forEach(e=>{s.env.used.env.addProperty({...e,name:e.getNameAsString(),description:e.getDescription()??`The ${e.getNameAsString()} variable.`,default:e.getDefaultValue(),optional:e.isOptional()?!0:void 0,readonly:e.isReadonly()?!0:void 0,visibility:e.getVisibility(),type:e.getType(),tags:e.getTags()})})}}});export{C as t};
|
package/dist/plugin-DrnPbdzR.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{};
|
package/dist/plugin-v-FJGggy.cjs
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-DT2f8AgL.cjs`),t=require(`./persistence-KaP3-ka1.cjs`),n=require(`./utilities-CxyT2chk.cjs`);let r=require(`@storm-software/config-tools/types`),i=require(`chalk`);i=e.n(i);let a=require(`@babel/generator`);a=e.n(a),require(`@babel/parser`);let o=require(`@babel/helper-plugin-utils`);require(`@storm-software/config-tools/logger`),require(`@storm-software/config-tools/utilities/colors`),require(`@stryke/helpers/noop`);let s=require(`@stryke/string-format/title-case`),c=require(`@babel/types`);c=e.n(c);let l=require(`@stryke/type-checks/is-string`),u=require(`@stryke/capnp`);u=e.n(u);let d=require(`@stryke/fs/buffer`),f=require(`node:fs`),p=a.default;`default`in p&&(p=p.default);const m=[`#00A0DD`,`#6FCE4E`,`#FBBF24`,`#F43F5E`,`#3B82F6`,`#A855F7`,`#469592`,`#288EDF`,`#10B981`,`#EF4444`,`#F0EC56`,`#F472B6`,`#22D3EE`,`#EAB308`,`#84CC16`,`#F87171`,`#0EA5E9`,`#D946EF`,`#FACC15`,`#34D399`],h=(e,t)=>(n,...r)=>e(n,` ${i.default.inverse.hex(m[t.split(``).map(e=>e.charCodeAt(0)).reduce((e,t)=>e+t,0)%m.length]||m[0])(` ${(0,s.titleCase)(t)} `)} ${r.join(` `)} `);function g(e,t){let n=n=>(0,o.declare)((a,o,s)=>{a.cache.using(()=>n.meta.checksum),a.assertVersion(`^7.0.0-0`);let c=h(n.log,e);c(r.LogLevelLabel.TRACE,`Initializing the ${i.default.bold.cyanBright(e)} Babel plugin`);let l=t({log:c,name:e,api:a,options:o,context:n,dirname:s});return l.name=e,c(r.LogLevelLabel.TRACE,`Completed initialization of the ${i.default.bold.cyanBright(e)} Babel plugin`),l});return n.$$name=e,n}function _(e,t){b(e.scope.getProgramParent().path,t)}function v(e){return e.get(`specifiers`).filter(Boolean).every(e=>e?.isImportSpecifier())&&e.node.importKind!==`type`&&e.node.importKind!==`typeof`}function y(e){let t=new Map;return e.traverse({ImportDeclaration(e){v(e)&&t.set(e.node.source.value,e)}}),t}function b(e,t){y(e).get(t.module)||e.unshiftContainer(`body`,c.importDeclaration([c.importSpecifier(c.identifier(t.name||t.imported),c.identifier(t.imported))],c.stringLiteral(t.module)))}const x=g(`env`,({log:e,context:i})=>{function a(t,a,o=!1){let s=i.env.types.env?.getProperties().filter(e=>e.getAlias().length>0);if(t.name){let c=i.config.env.prefix.find(e=>t.name&&t.name.startsWith(e)&&(i.env.types.env?.hasProperty(t.name.replace(`${e}_`,``))||s.some(n=>n.getAlias().includes(t.name.replace(`${e}_`,``))))),l=t.name;if(c&&(l=t.name.replace(`${c}_`,``)),e(r.LogLevelLabel.TRACE,`Environment variable ${l} found in ${a.filename||`unknown file`}.`),i.env.types.env?.hasProperty(l)||s.some(e=>e.getAlias().includes(l))){let e=i.env.types.env.hasProperty(l)?i.env.types.env.getProperty(l):s.find(e=>e.getAlias().includes(l));if(!e||e.isIgnored())return;if(i.env.used.env.hasProperty(l)||i.env.used.env.addProperty(e.property),i.config.env.inject&&o){let t=i.env.parsed?.[l];if(t===void 0){let e=i.config.env.prefix.find(e=>i.env.parsed[`${e.replace(/_$/g,``)}_${l}`]);e&&(t=i.env.parsed[`${e.replace(/_$/g,``)}_${l}`])}if(t??=e.getDefaultValue(),e.isValueRequired()&&t===void 0)throw Error(`Environment variable \`${l}\` is not defined in the .env configuration files`);return n.t(e,t)}}else throw Error(`The "${l}" environment variable is not defined in the \`env\` type definition, but is used in the source code file ${a.filename?a.filename:`unknown`}.
|
|
2
|
-
|
|
3
|
-
The following environment configuration names are defined in the \`env\` type definition: \n${i.env.types.env?.getPropertyNames().sort((e,t)=>String(e).localeCompare(String(t))).map(e=>` - ${String(e)} ${s.some(t=>t.getNameAsString()===String(e)&&t.getAlias().length>0)?`(Alias: ${s?.find(t=>t.getNameAsString()===String(e))?.getAlias().join(`, `)})`:``}`).join(`
|
|
4
|
-
`)} \n\nUsing the following env prefix: \n${i.config.env.prefix.map(e=>` - ${e}`).join(`
|
|
5
|
-
`)} \n\nPlease check your \`env\` configuration option. If you are using a custom dotenv type definition, please make sure that the configuration names match the ones in the code. \n\n`)}}return{visitor:{MemberExpression(e,t){if(e.get(`object`)?.get(`property`)?.isIdentifier({name:`env`})&&e.get(`object`)?.get(`object`)?.isIdentifier({name:`$storm`})&&e.get(`property`)?.isIdentifier()){let n=e.get(`property`)?.node;a(n,t,!1),e.replaceWithSourceString(`env.${n.name}`),_(e,{module:`storm:env`,name:`env`,imported:`env`})}else if(e.get(`object`)?.get(`property`)?.isIdentifier({name:`env`})&&e.get(`object`)?.get(`object`)?.isCallExpression({callee:{name:`useStorm`,type:`Identifier`}})&&e.get(`property`)?.isIdentifier()){let n=e.get(`property`)?.node;a(n,t,!1),e.replaceWithSourceString(`env.${n.name}`),_(e,{module:`storm:env`,name:`env`,imported:`env`})}else if(e.get(`object`)?.get(`property`)?.isIdentifier({name:`env`})&&e.get(`object`)?.get(`object`)?.isIdentifier({name:`process`})&&e.get(`property`)?.isIdentifier()){let n=e.get(`property`)?.node;if(!n.name)return;a(n,t,!1),e.replaceWithSourceString(`env.${n.name}`),_(e,{module:`storm:env`,name:`env`,imported:`env`})}else if(e.get(`object`)?.get(`property`)?.isIdentifier({name:`env`})&&e.get(`object`)?.get(`object`)?.isMetaProperty()&&e.get(`property`)?.isIdentifier()){let n=e.get(`property`)?.node;if(!n.name)return;a(n,t,!1),e.replaceWithSourceString(`env.${n.name}`),_(e,{module:`storm:env`,name:`env`,imported:`env`})}}},post(){e(r.LogLevelLabel.TRACE,`Adding environment variables from ${this.filename||`unknown file`} to env.json.`);let n=t.S.ReflectionClass.from({kind:t.S.ReflectionKind.objectLiteral,description:`An object containing the environment variables used by the application.`,types:[]}),a=t.n(i,`env`);a&&(0,f.existsSync)(a)&&(e(r.LogLevelLabel.TRACE,`Environment reflection file found at ${a}, reading existing reflection.`),n=(0,t.S.resolveClassType)((0,t.S.deserializeType)(t.x(new u.Message((0,d.readFileBufferSync)(a),!1).getRoot(t.b).types)))),e(r.LogLevelLabel.TRACE,`Adding new variables to env reflection at ${a}.`),n.getProperties().filter(e=>e.getNameAsString()&&!i.env.used.env.hasProperty(e.getNameAsString())).forEach(e=>{i.env.used.env.addProperty({...e,name:e.getNameAsString(),description:e.getDescription()??`The ${e.getNameAsString()} variable.`,default:e.getDefaultValue(),optional:e.isOptional()?!0:void 0,readonly:e.isReadonly()?!0:void 0,visibility:e.getVisibility(),type:e.getType(),tags:e.getTags()})})}}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return x}});
|