@powerlines/plugin-env 0.15.4 → 0.15.6
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/_virtual/rolldown_runtime.cjs +29 -0
- package/dist/babel/index.cjs +1 -0
- package/dist/babel/index.d.cts +1 -0
- package/dist/babel/index.d.mts +1 -0
- package/dist/babel/index.mjs +3 -0
- package/dist/babel/plugin.cjs +200 -0
- package/dist/babel/plugin.d.cts +8 -0
- package/dist/babel/plugin.d.mts +9 -0
- package/dist/babel/plugin.mjs +198 -0
- package/dist/components/docs.cjs +70 -3
- package/dist/components/docs.d.cts +8 -1
- package/dist/components/docs.d.mts +8 -1
- package/dist/components/docs.mjs +68 -2
- package/dist/components/env.cjs +574 -4
- package/dist/components/env.d.cts +19 -2
- package/dist/components/env.d.mts +19 -3
- package/dist/components/env.mjs +570 -2
- package/dist/components/index.cjs +5 -7
- package/dist/components/index.d.cts +2 -4
- package/dist/components/index.d.mts +2 -5
- package/dist/components/index.mjs +2 -4
- package/dist/deepkit/schemas/reflection.cjs +5368 -0
- package/dist/{plugin-BwuEBScL.d.cts → deepkit/schemas/reflection.d.cts} +1 -268
- package/dist/{plugin-BaInAuAh.d.mts → deepkit/schemas/reflection.d.mts} +59 -326
- package/dist/deepkit/schemas/reflection.mjs +5365 -0
- package/dist/deepkit/schemas/reflection2.cjs +4112 -0
- package/dist/deepkit/schemas/reflection2.mjs +4110 -0
- package/dist/deepkit/src/capnp.cjs +1692 -0
- package/dist/deepkit/src/capnp.mjs +1690 -0
- package/dist/deepkit/src/esbuild-plugin.cjs +99 -0
- package/dist/deepkit/src/esbuild-plugin.mjs +98 -0
- package/dist/deepkit/src/reflect-type.cjs +40 -0
- package/dist/deepkit/src/reflect-type.mjs +38 -0
- package/dist/deepkit/src/resolve-reflections.cjs +23 -0
- package/dist/deepkit/src/resolve-reflections.mjs +22 -0
- package/dist/deepkit/src/transformer.cjs +92 -0
- package/dist/deepkit/src/transformer.mjs +89 -0
- package/dist/deepkit/src/transpile.cjs +39 -0
- package/dist/deepkit/src/transpile.mjs +37 -0
- package/dist/deepkit/src/types.cjs +22 -0
- package/dist/deepkit/src/types.d.cts +10 -0
- package/dist/deepkit/src/types.d.mts +10 -0
- package/dist/deepkit/src/types.mjs +21 -0
- package/dist/deepkit/src/utilities.cjs +182 -0
- package/dist/deepkit/src/utilities.mjs +181 -0
- package/dist/helpers/automd-generator.cjs +32 -0
- package/dist/helpers/automd-generator.mjs +31 -0
- package/dist/helpers/create-reflection-resource.cjs +98 -0
- package/dist/helpers/create-reflection-resource.d.cts +15 -0
- package/dist/helpers/create-reflection-resource.d.mts +15 -0
- package/dist/helpers/create-reflection-resource.mjs +97 -0
- package/dist/helpers/index.cjs +6 -0
- package/dist/helpers/index.d.cts +6 -0
- package/dist/helpers/index.d.mts +6 -0
- package/dist/helpers/index.mjs +8 -0
- package/dist/helpers/load.cjs +134 -0
- package/dist/helpers/load.d.cts +35 -0
- package/dist/helpers/load.d.mts +36 -0
- package/dist/helpers/load.mjs +131 -0
- package/dist/helpers/persistence.cjs +320 -0
- package/dist/helpers/persistence.d.cts +84 -0
- package/dist/helpers/persistence.d.mts +84 -0
- package/dist/helpers/persistence.mjs +308 -0
- package/dist/helpers/reflect.cjs +263 -0
- package/dist/helpers/reflect.d.cts +46 -0
- package/dist/helpers/reflect.d.mts +46 -0
- package/dist/helpers/reflect.mjs +254 -0
- package/dist/helpers/source-file-env.cjs +58 -0
- package/dist/helpers/source-file-env.d.cts +8 -0
- package/dist/helpers/source-file-env.d.mts +8 -0
- package/dist/helpers/source-file-env.mjs +56 -0
- package/dist/helpers/template-helpers.cjs +70 -0
- package/dist/helpers/template-helpers.d.cts +15 -0
- package/dist/helpers/template-helpers.d.mts +15 -0
- package/dist/helpers/template-helpers.mjs +69 -0
- package/dist/index.cjs +82 -696
- package/dist/index.d.cts +16 -185
- package/dist/index.d.mts +17 -190
- package/dist/index.mjs +31 -648
- package/dist/plugin-alloy/src/core/components/output.cjs +45 -0
- package/dist/plugin-alloy/src/core/components/output.mjs +44 -0
- package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +22 -0
- package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +21 -0
- package/dist/plugin-alloy/src/core/components/source-file.cjs +64 -0
- package/dist/plugin-alloy/src/core/components/source-file.d.cts +23 -0
- package/dist/plugin-alloy/src/core/components/source-file.d.mts +23 -0
- package/dist/plugin-alloy/src/core/components/source-file.mjs +62 -0
- package/dist/plugin-alloy/src/core/contexts/context.cjs +136 -0
- package/dist/plugin-alloy/src/core/contexts/context.mjs +128 -0
- package/dist/plugin-alloy/src/core/contexts/index.cjs +2 -0
- package/dist/plugin-alloy/src/core/contexts/index.mjs +4 -0
- package/dist/plugin-alloy/src/core/contexts/reflection.cjs +110 -0
- package/dist/plugin-alloy/src/core/contexts/reflection.mjs +101 -0
- package/dist/plugin-alloy/src/helpers/refkey.cjs +23 -0
- package/dist/plugin-alloy/src/helpers/refkey.mjs +22 -0
- package/dist/plugin-alloy/src/index.cjs +93 -0
- package/dist/plugin-alloy/src/index.mjs +91 -0
- package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +115 -0
- package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +114 -0
- package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +39 -0
- package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +38 -0
- package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +72 -0
- package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +71 -0
- package/dist/plugin-alloy/src/types/components.cjs +22 -0
- package/dist/plugin-alloy/src/types/components.d.cts +22 -0
- package/dist/{components-8W0Zgj0y.d.mts → plugin-alloy/src/types/components.d.mts} +2 -1
- package/dist/plugin-alloy/src/types/components.mjs +21 -0
- package/dist/plugin-alloy/src/types/index.d.mts +2 -0
- package/dist/plugin-alloy/src/types/plugin.cjs +55 -0
- package/dist/plugin-alloy/src/types/plugin.d.cts +37 -0
- package/dist/plugin-alloy/src/types/plugin.d.mts +37 -0
- package/dist/plugin-alloy/src/types/plugin.mjs +52 -0
- package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +57 -0
- package/dist/plugin-alloy/src/typescript/components/builtin-file.d.cts +25 -0
- package/dist/plugin-alloy/src/typescript/components/builtin-file.d.mts +26 -0
- package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +56 -0
- package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +126 -0
- package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +124 -0
- package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +442 -0
- package/dist/plugin-alloy/src/typescript/components/tsdoc.d.cts +27 -0
- package/dist/plugin-alloy/src/typescript/components/tsdoc.d.mts +28 -0
- package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +433 -0
- package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +194 -0
- package/dist/plugin-alloy/src/typescript/components/typescript-file.d.cts +14 -0
- package/dist/plugin-alloy/src/typescript/components/typescript-file.d.mts +15 -0
- package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +191 -0
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +68 -0
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.cts +11 -0
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.mts +12 -0
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +67 -0
- package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +124 -0
- package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +123 -0
- package/dist/plugin-automd/src/index.cjs +127 -0
- package/dist/plugin-automd/src/index.mjs +124 -0
- package/dist/plugin-automd/src/types/plugin.cjs +47 -0
- package/dist/plugin-automd/src/types/plugin.d.cts +38 -0
- package/dist/plugin-automd/src/types/plugin.d.mts +40 -0
- package/dist/plugin-automd/src/types/plugin.mjs +47 -0
- package/dist/plugin-automd/src/types/toc.cjs +26 -0
- package/dist/plugin-automd/src/types/toc.d.cts +33 -0
- package/dist/plugin-automd/src/types/toc.d.mts +33 -0
- package/dist/plugin-automd/src/types/toc.mjs +25 -0
- package/dist/plugin-babel/src/helpers/ast-utils.cjs +74 -0
- package/dist/plugin-babel/src/helpers/ast-utils.mjs +70 -0
- package/dist/plugin-babel/src/helpers/create-plugin.cjs +71 -0
- package/dist/plugin-babel/src/helpers/create-plugin.mjs +69 -0
- package/dist/plugin-babel/src/helpers/filters.cjs +158 -0
- package/dist/plugin-babel/src/helpers/filters.mjs +154 -0
- package/dist/plugin-babel/src/helpers/index.cjs +5 -0
- package/dist/plugin-babel/src/helpers/index.mjs +7 -0
- package/dist/plugin-babel/src/helpers/module-helpers.cjs +200 -0
- package/dist/plugin-babel/src/helpers/module-helpers.mjs +192 -0
- package/dist/plugin-babel/src/helpers/options.cjs +74 -0
- package/dist/plugin-babel/src/helpers/options.mjs +71 -0
- package/dist/plugin-babel/src/index.cjs +134 -0
- package/dist/plugin-babel/src/index.mjs +132 -0
- package/dist/plugin-babel/src/types/index.d.mts +1 -0
- package/dist/plugin-babel/src/types/plugin.cjs +42 -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-babel/src/types/plugin.mjs +39 -0
- package/dist/powerlines/schemas/fs.d.mts +1 -0
- package/dist/powerlines/src/api.d.mts +7 -0
- package/dist/powerlines/src/index.d.mts +12 -0
- package/dist/powerlines/src/internal/helpers/hooks.cjs +119 -0
- package/dist/powerlines/src/internal/helpers/hooks.d.mts +5 -0
- package/dist/powerlines/src/internal/helpers/hooks.mjs +118 -0
- package/dist/powerlines/src/lib/build/esbuild.cjs +161 -0
- package/dist/powerlines/src/lib/build/esbuild.mjs +159 -0
- package/dist/powerlines/src/lib/entry.cjs +203 -0
- package/dist/powerlines/src/lib/entry.mjs +201 -0
- package/dist/powerlines/src/lib/logger.cjs +108 -0
- package/dist/powerlines/src/lib/logger.mjs +106 -0
- package/dist/powerlines/src/lib/utilities/bundle.cjs +67 -0
- package/dist/powerlines/src/lib/utilities/bundle.mjs +66 -0
- package/dist/powerlines/src/lib/utilities/resolve.cjs +49 -0
- package/dist/powerlines/src/lib/utilities/resolve.mjs +48 -0
- package/dist/powerlines/src/plugin-utils/paths.cjs +46 -0
- package/dist/powerlines/src/plugin-utils/paths.mjs +45 -0
- package/dist/powerlines/src/types/api.cjs +1 -0
- package/dist/powerlines/src/types/api.d.mts +5 -0
- package/dist/powerlines/src/types/api.mjs +3 -0
- package/dist/powerlines/src/types/babel.cjs +156 -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/babel.mjs +147 -0
- package/dist/powerlines/src/types/build.cjs +105 -0
- package/dist/powerlines/src/types/build.d.cts +145 -0
- package/dist/powerlines/src/types/build.d.mts +147 -0
- package/dist/powerlines/src/types/build.mjs +101 -0
- package/dist/powerlines/src/types/commands.cjs +16 -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/commands.mjs +15 -0
- package/dist/powerlines/src/types/config.cjs +306 -0
- package/dist/powerlines/src/types/config.d.cts +387 -0
- package/dist/powerlines/src/types/config.d.mts +388 -0
- package/dist/powerlines/src/types/config.mjs +293 -0
- package/dist/powerlines/src/types/context.cjs +324 -0
- package/dist/powerlines/src/types/context.d.cts +414 -0
- package/dist/powerlines/src/types/context.d.mts +416 -0
- package/dist/powerlines/src/types/context.mjs +311 -0
- package/dist/powerlines/src/types/fs.cjs +78 -0
- package/dist/powerlines/src/types/fs.d.cts +486 -0
- package/dist/powerlines/src/types/fs.d.mts +486 -0
- package/dist/powerlines/src/types/fs.mjs +75 -0
- package/dist/powerlines/src/types/hooks.cjs +52 -0
- package/dist/powerlines/src/types/hooks.d.mts +2 -0
- package/dist/powerlines/src/types/hooks.mjs +48 -0
- package/dist/powerlines/src/types/index.cjs +11 -0
- package/dist/powerlines/src/types/index.d.mts +12 -0
- package/dist/powerlines/src/types/index.mjs +13 -0
- package/dist/powerlines/src/types/plugin.cjs +249 -0
- package/dist/powerlines/src/types/plugin.d.cts +231 -0
- package/dist/powerlines/src/types/plugin.d.mts +231 -0
- package/dist/powerlines/src/types/plugin.mjs +240 -0
- package/dist/powerlines/src/types/resolved.cjs +153 -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/resolved.mjs +148 -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.cjs +1 -0
- package/dist/powerlines/src/types/unplugin.d.mts +7 -0
- package/dist/powerlines/src/types/unplugin.mjs +3 -0
- package/dist/types/index.cjs +10 -3
- package/dist/types/index.d.cts +2 -4
- package/dist/types/index.d.mts +2 -5
- package/dist/types/index.mjs +3 -4
- package/dist/types/plugin.cjs +133 -1
- package/dist/types/plugin.d.cts +156 -3
- package/dist/types/plugin.d.mts +158 -4
- package/dist/types/plugin.mjs +128 -2
- package/dist/types/runtime.cjs +242 -1
- package/dist/types/runtime.d.cts +793 -2
- package/dist/types/runtime.d.mts +793 -2
- package/dist/types/runtime.mjs +240 -2
- package/package.json +13 -9
- package/dist/components-C9bYrQVK.cjs +0 -0
- package/dist/components-CNIQFfeK.mjs +0 -1
- package/dist/create-reflection-resource-BNYxBgW2.mjs +0 -9846
- package/dist/create-reflection-resource-BWYhmX7O.cjs +0 -10085
- package/dist/docs-5r844zC1.d.mts +0 -9
- package/dist/docs-B66b9li3.mjs +0 -219
- package/dist/docs-_MmTNBQX.d.cts +0 -9
- package/dist/docs-hBlKCRWK.cjs +0 -224
- package/dist/env-BPodCdD1.d.cts +0 -116
- package/dist/env-IQvgnabX.mjs +0 -1578
- package/dist/env-cO4BUDn1.cjs +0 -1596
- package/dist/env-zhzvpUI5.d.mts +0 -98
- package/dist/index-BXxhKmeA.d.mts +0 -1
- package/dist/index-Cc7fCJU9.d.mts +0 -1
- package/dist/index-CqdNToYT.d.cts +0 -1
- package/dist/index-DWPDThxu.d.cts +0 -1
- package/dist/plugin-D3B5E_Hg.mjs +0 -1
- package/dist/plugin-D5qyQPqC.cjs +0 -0
- package/dist/resolved-BZG2cwRG.d.cts +0 -1789
- package/dist/resolved-V5COsfDu.d.mts +0 -1791
- package/dist/runtime-Bisl_1Ja.cjs +0 -0
- package/dist/runtime-Q8Ni8SeN.d.cts +0 -794
- package/dist/runtime-azNoeKr-.mjs +0 -1
- package/dist/runtime-qZ0Z2kEd.d.mts +0 -794
- package/dist/types-DwElXV6q.mjs +0 -1
- package/dist/types-MYBaygjr.cjs +0 -0
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
import { a as UserConfig, i as BabelUserConfig, l as PluginContext, r as ResolvedConfig, t as BabelResolvedConfig } from "./resolved-V5COsfDu.mjs";
|
|
2
|
-
import { n as SecretsInterface, t as EnvInterface } from "./runtime-qZ0Z2kEd.mjs";
|
|
3
|
-
import { Children } from "@alloy-js/core/jsx-runtime";
|
|
4
|
-
import { ReflectionClass } from "@powerlines/deepkit/vendor/type";
|
|
5
|
-
import { Children as Children$1, PrintTreeOptions } from "@alloy-js/core";
|
|
6
|
-
import { Config } from "automd";
|
|
7
|
-
import { DotenvParseOutput } from "@stryke/env/types";
|
|
8
1
|
import * as $ from "@stryke/capnp";
|
|
9
|
-
import { DotenvConfiguration, TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
10
2
|
|
|
11
3
|
//#region ../deepkit/schemas/reflection.d.ts
|
|
12
|
-
declare const ReflectionKind
|
|
4
|
+
declare const ReflectionKind: {
|
|
13
5
|
readonly NEVER: 0;
|
|
14
6
|
readonly ANY: 1;
|
|
15
7
|
readonly UNKNOWN: 2;
|
|
@@ -47,13 +39,13 @@ declare const ReflectionKind$1: {
|
|
|
47
39
|
readonly INFER: 34;
|
|
48
40
|
readonly CALL_SIGNATURE: 35;
|
|
49
41
|
};
|
|
50
|
-
type ReflectionKind
|
|
51
|
-
declare const ReflectionVisibility
|
|
42
|
+
type ReflectionKind = (typeof ReflectionKind)[keyof typeof ReflectionKind];
|
|
43
|
+
declare const ReflectionVisibility: {
|
|
52
44
|
readonly PUBLIC: 0;
|
|
53
45
|
readonly PROTECTED: 1;
|
|
54
46
|
readonly PRIVATE: 2;
|
|
55
47
|
};
|
|
56
|
-
type ReflectionVisibility
|
|
48
|
+
type ReflectionVisibility = (typeof ReflectionVisibility)[keyof typeof ReflectionVisibility];
|
|
57
49
|
declare class TagsReflection extends $.Struct {
|
|
58
50
|
static readonly _capnp: {
|
|
59
51
|
displayName: string;
|
|
@@ -191,8 +183,8 @@ declare class SerializedTypeObjectLiteral extends $.Struct {
|
|
|
191
183
|
_hasDecorators(): boolean;
|
|
192
184
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
193
185
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
194
|
-
get kind(): ReflectionKind
|
|
195
|
-
set kind(value: ReflectionKind
|
|
186
|
+
get kind(): ReflectionKind;
|
|
187
|
+
set kind(value: ReflectionKind);
|
|
196
188
|
_adoptTypes(value: $.Orphan<$.List<SerializedTypeReference>>): void;
|
|
197
189
|
_disownTypes(): $.Orphan<$.List<SerializedTypeReference>>;
|
|
198
190
|
get types(): $.List<SerializedTypeReference>;
|
|
@@ -238,8 +230,8 @@ declare class SerializedTypeClassType extends $.Struct {
|
|
|
238
230
|
_hasDecorators(): boolean;
|
|
239
231
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
240
232
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
241
|
-
get kind(): ReflectionKind
|
|
242
|
-
set kind(value: ReflectionKind
|
|
233
|
+
get kind(): ReflectionKind;
|
|
234
|
+
set kind(value: ReflectionKind);
|
|
243
235
|
get name(): string;
|
|
244
236
|
set name(value: string);
|
|
245
237
|
get globalObject(): boolean;
|
|
@@ -306,8 +298,8 @@ declare class SerializedTypeParameter extends $.Struct {
|
|
|
306
298
|
_hasDecorators(): boolean;
|
|
307
299
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
308
300
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
309
|
-
get kind(): ReflectionKind
|
|
310
|
-
set kind(value: ReflectionKind
|
|
301
|
+
get kind(): ReflectionKind;
|
|
302
|
+
set kind(value: ReflectionKind);
|
|
311
303
|
get name(): string;
|
|
312
304
|
set name(value: string);
|
|
313
305
|
_adoptType(value: $.Orphan<SerializedTypeReference>): void;
|
|
@@ -316,8 +308,8 @@ declare class SerializedTypeParameter extends $.Struct {
|
|
|
316
308
|
_hasType(): boolean;
|
|
317
309
|
_initType(): SerializedTypeReference;
|
|
318
310
|
set type(value: SerializedTypeReference);
|
|
319
|
-
get visibility(): ReflectionVisibility
|
|
320
|
-
set visibility(value: ReflectionVisibility
|
|
311
|
+
get visibility(): ReflectionVisibility;
|
|
312
|
+
set visibility(value: ReflectionVisibility);
|
|
321
313
|
get readonly(): boolean;
|
|
322
314
|
set readonly(value: boolean);
|
|
323
315
|
get optional(): boolean;
|
|
@@ -365,8 +357,8 @@ declare class SerializedTypeMethod extends $.Struct {
|
|
|
365
357
|
_hasDecorators(): boolean;
|
|
366
358
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
367
359
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
368
|
-
get visibility(): ReflectionVisibility
|
|
369
|
-
set visibility(value: ReflectionVisibility
|
|
360
|
+
get visibility(): ReflectionVisibility;
|
|
361
|
+
set visibility(value: ReflectionVisibility);
|
|
370
362
|
get abstract(): boolean;
|
|
371
363
|
set abstract(value: boolean);
|
|
372
364
|
get optional(): boolean;
|
|
@@ -379,8 +371,8 @@ declare class SerializedTypeMethod extends $.Struct {
|
|
|
379
371
|
_hasTags(): boolean;
|
|
380
372
|
_initTags(): TagsReflection;
|
|
381
373
|
set tags(value: TagsReflection);
|
|
382
|
-
get kind(): ReflectionKind
|
|
383
|
-
set kind(value: ReflectionKind
|
|
374
|
+
get kind(): ReflectionKind;
|
|
375
|
+
set kind(value: ReflectionKind);
|
|
384
376
|
get name(): string;
|
|
385
377
|
set name(value: string);
|
|
386
378
|
_adoptParameters(value: $.Orphan<$.List<SerializedTypeParameter>>): void;
|
|
@@ -425,8 +417,8 @@ declare class SerializedTypeProperty extends $.Struct {
|
|
|
425
417
|
_hasDecorators(): boolean;
|
|
426
418
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
427
419
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
428
|
-
get visibility(): ReflectionVisibility
|
|
429
|
-
set visibility(value: ReflectionVisibility
|
|
420
|
+
get visibility(): ReflectionVisibility;
|
|
421
|
+
set visibility(value: ReflectionVisibility);
|
|
430
422
|
get abstract(): boolean;
|
|
431
423
|
set abstract(value: boolean);
|
|
432
424
|
get optional(): boolean;
|
|
@@ -439,8 +431,8 @@ declare class SerializedTypeProperty extends $.Struct {
|
|
|
439
431
|
_hasTags(): boolean;
|
|
440
432
|
_initTags(): TagsReflection;
|
|
441
433
|
set tags(value: TagsReflection);
|
|
442
|
-
get kind(): ReflectionKind
|
|
443
|
-
set kind(value: ReflectionKind
|
|
434
|
+
get kind(): ReflectionKind;
|
|
435
|
+
set kind(value: ReflectionKind);
|
|
444
436
|
get name(): string;
|
|
445
437
|
set name(value: string);
|
|
446
438
|
get description(): string;
|
|
@@ -488,8 +480,8 @@ declare class SerializedTypeFunction extends $.Struct {
|
|
|
488
480
|
_hasDecorators(): boolean;
|
|
489
481
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
490
482
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
491
|
-
get visibility(): ReflectionVisibility
|
|
492
|
-
set visibility(value: ReflectionVisibility
|
|
483
|
+
get visibility(): ReflectionVisibility;
|
|
484
|
+
set visibility(value: ReflectionVisibility);
|
|
493
485
|
get abstract(): boolean;
|
|
494
486
|
set abstract(value: boolean);
|
|
495
487
|
get optional(): boolean;
|
|
@@ -502,8 +494,8 @@ declare class SerializedTypeFunction extends $.Struct {
|
|
|
502
494
|
_hasTags(): boolean;
|
|
503
495
|
_initTags(): TagsReflection;
|
|
504
496
|
set tags(value: TagsReflection);
|
|
505
|
-
get kind(): ReflectionKind
|
|
506
|
-
set kind(value: ReflectionKind
|
|
497
|
+
get kind(): ReflectionKind;
|
|
498
|
+
set kind(value: ReflectionKind);
|
|
507
499
|
get name(): string;
|
|
508
500
|
set name(value: string);
|
|
509
501
|
_adoptParameters(value: $.Orphan<$.List<SerializedTypeParameter>>): void;
|
|
@@ -548,8 +540,8 @@ declare class SerializedTypePromise extends $.Struct {
|
|
|
548
540
|
_hasDecorators(): boolean;
|
|
549
541
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
550
542
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
551
|
-
get visibility(): ReflectionVisibility
|
|
552
|
-
set visibility(value: ReflectionVisibility
|
|
543
|
+
get visibility(): ReflectionVisibility;
|
|
544
|
+
set visibility(value: ReflectionVisibility);
|
|
553
545
|
get abstract(): boolean;
|
|
554
546
|
set abstract(value: boolean);
|
|
555
547
|
toString(): string;
|
|
@@ -595,8 +587,8 @@ declare class SerializedTypeEnum extends $.Struct {
|
|
|
595
587
|
_hasDecorators(): boolean;
|
|
596
588
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
597
589
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
598
|
-
get kind(): ReflectionKind
|
|
599
|
-
set kind(value: ReflectionKind
|
|
590
|
+
get kind(): ReflectionKind;
|
|
591
|
+
set kind(value: ReflectionKind);
|
|
600
592
|
_adoptEnumEntries(value: $.Orphan<$.List<SerializedTypeEnumEntry>>): void;
|
|
601
593
|
_disownEnumEntries(): $.Orphan<$.List<SerializedTypeEnumEntry>>;
|
|
602
594
|
get enumEntries(): $.List<SerializedTypeEnumEntry>;
|
|
@@ -652,8 +644,8 @@ declare class SerializedTypeUnion extends $.Struct {
|
|
|
652
644
|
_hasDecorators(): boolean;
|
|
653
645
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
654
646
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
655
|
-
get kind(): ReflectionKind
|
|
656
|
-
set kind(value: ReflectionKind
|
|
647
|
+
get kind(): ReflectionKind;
|
|
648
|
+
set kind(value: ReflectionKind);
|
|
657
649
|
_adoptTypes(value: $.Orphan<$.List<SerializedTypeReference>>): void;
|
|
658
650
|
_disownTypes(): $.Orphan<$.List<SerializedTypeReference>>;
|
|
659
651
|
get types(): $.List<SerializedTypeReference>;
|
|
@@ -691,8 +683,8 @@ declare class SerializedTypeIntersection extends $.Struct {
|
|
|
691
683
|
_hasDecorators(): boolean;
|
|
692
684
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
693
685
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
694
|
-
get kind(): ReflectionKind
|
|
695
|
-
set kind(value: ReflectionKind
|
|
686
|
+
get kind(): ReflectionKind;
|
|
687
|
+
set kind(value: ReflectionKind);
|
|
696
688
|
_adoptTypes(value: $.Orphan<$.List<SerializedTypeReference>>): void;
|
|
697
689
|
_disownTypes(): $.Orphan<$.List<SerializedTypeReference>>;
|
|
698
690
|
get types(): $.List<SerializedTypeReference>;
|
|
@@ -729,8 +721,8 @@ declare class SerializedTypeArray extends $.Struct {
|
|
|
729
721
|
_hasDecorators(): boolean;
|
|
730
722
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
731
723
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
732
|
-
get kind(): ReflectionKind
|
|
733
|
-
set kind(value: ReflectionKind
|
|
724
|
+
get kind(): ReflectionKind;
|
|
725
|
+
set kind(value: ReflectionKind);
|
|
734
726
|
_adoptType(value: $.Orphan<SerializedTypeReference>): void;
|
|
735
727
|
_disownType(): $.Orphan<SerializedTypeReference>;
|
|
736
728
|
get type(): SerializedTypeReference;
|
|
@@ -773,8 +765,8 @@ declare class SerializedTypeIndexSignature extends $.Struct {
|
|
|
773
765
|
_hasDecorators(): boolean;
|
|
774
766
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
775
767
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
776
|
-
get kind(): ReflectionKind
|
|
777
|
-
set kind(value: ReflectionKind
|
|
768
|
+
get kind(): ReflectionKind;
|
|
769
|
+
set kind(value: ReflectionKind);
|
|
778
770
|
_adoptIndex(value: $.Orphan<SerializedTypeReference>): void;
|
|
779
771
|
_disownIndex(): $.Orphan<SerializedTypeReference>;
|
|
780
772
|
get index(): SerializedTypeReference;
|
|
@@ -817,8 +809,8 @@ declare class SerializedTypePropertySignature extends $.Struct {
|
|
|
817
809
|
_hasDecorators(): boolean;
|
|
818
810
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
819
811
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
820
|
-
get kind(): ReflectionKind
|
|
821
|
-
set kind(value: ReflectionKind
|
|
812
|
+
get kind(): ReflectionKind;
|
|
813
|
+
set kind(value: ReflectionKind);
|
|
822
814
|
get name(): string;
|
|
823
815
|
set name(value: string);
|
|
824
816
|
get optional(): boolean;
|
|
@@ -876,8 +868,8 @@ declare class SerializedTypeMethodSignature extends $.Struct {
|
|
|
876
868
|
_hasDecorators(): boolean;
|
|
877
869
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
878
870
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
879
|
-
get kind(): ReflectionKind
|
|
880
|
-
set kind(value: ReflectionKind
|
|
871
|
+
get kind(): ReflectionKind;
|
|
872
|
+
set kind(value: ReflectionKind);
|
|
881
873
|
get name(): string;
|
|
882
874
|
set name(value: string);
|
|
883
875
|
get optional(): boolean;
|
|
@@ -930,8 +922,8 @@ declare class SerializedTypeTypeParameter extends $.Struct {
|
|
|
930
922
|
_hasDecorators(): boolean;
|
|
931
923
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
932
924
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
933
|
-
get kind(): ReflectionKind
|
|
934
|
-
set kind(value: ReflectionKind
|
|
925
|
+
get kind(): ReflectionKind;
|
|
926
|
+
set kind(value: ReflectionKind);
|
|
935
927
|
get name(): string;
|
|
936
928
|
set name(value: string);
|
|
937
929
|
toString(): string;
|
|
@@ -964,8 +956,8 @@ declare class SerializedTypeInfer extends $.Struct {
|
|
|
964
956
|
_hasDecorators(): boolean;
|
|
965
957
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
966
958
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
967
|
-
get kind(): ReflectionKind
|
|
968
|
-
set kind(value: ReflectionKind
|
|
959
|
+
get kind(): ReflectionKind;
|
|
960
|
+
set kind(value: ReflectionKind);
|
|
969
961
|
toString(): string;
|
|
970
962
|
}
|
|
971
963
|
declare class SerializedTypeTupleMember extends $.Struct {
|
|
@@ -996,8 +988,8 @@ declare class SerializedTypeTupleMember extends $.Struct {
|
|
|
996
988
|
_hasDecorators(): boolean;
|
|
997
989
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
998
990
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
999
|
-
get kind(): ReflectionKind
|
|
1000
|
-
set kind(value: ReflectionKind
|
|
991
|
+
get kind(): ReflectionKind;
|
|
992
|
+
set kind(value: ReflectionKind);
|
|
1001
993
|
_adoptType(value: $.Orphan<SerializedTypeReference>): void;
|
|
1002
994
|
_disownType(): $.Orphan<SerializedTypeReference>;
|
|
1003
995
|
get type(): SerializedTypeReference;
|
|
@@ -1039,8 +1031,8 @@ declare class SerializedTypeTuple extends $.Struct {
|
|
|
1039
1031
|
_hasDecorators(): boolean;
|
|
1040
1032
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
1041
1033
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
1042
|
-
get kind(): ReflectionKind
|
|
1043
|
-
set kind(value: ReflectionKind
|
|
1034
|
+
get kind(): ReflectionKind;
|
|
1035
|
+
set kind(value: ReflectionKind);
|
|
1044
1036
|
_adoptTypes(value: $.Orphan<$.List<SerializedTypeTupleMember>>): void;
|
|
1045
1037
|
_disownTypes(): $.Orphan<$.List<SerializedTypeTupleMember>>;
|
|
1046
1038
|
get types(): $.List<SerializedTypeTupleMember>;
|
|
@@ -1077,8 +1069,8 @@ declare class SerializedTypeRest extends $.Struct {
|
|
|
1077
1069
|
_hasDecorators(): boolean;
|
|
1078
1070
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
1079
1071
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
1080
|
-
get kind(): ReflectionKind
|
|
1081
|
-
set kind(value: ReflectionKind
|
|
1072
|
+
get kind(): ReflectionKind;
|
|
1073
|
+
set kind(value: ReflectionKind);
|
|
1082
1074
|
_adoptType(value: $.Orphan<SerializedTypeReference>): void;
|
|
1083
1075
|
_disownType(): $.Orphan<SerializedTypeReference>;
|
|
1084
1076
|
get type(): SerializedTypeReference;
|
|
@@ -1115,8 +1107,8 @@ declare class SimpleSerializedType extends $.Struct {
|
|
|
1115
1107
|
_hasDecorators(): boolean;
|
|
1116
1108
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
1117
1109
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
1118
|
-
get kind(): ReflectionKind
|
|
1119
|
-
set kind(value: ReflectionKind
|
|
1110
|
+
get kind(): ReflectionKind;
|
|
1111
|
+
set kind(value: ReflectionKind);
|
|
1120
1112
|
_adoptOrigin(value: $.Orphan<SerializedTypeReference>): void;
|
|
1121
1113
|
_disownOrigin(): $.Orphan<SerializedTypeReference>;
|
|
1122
1114
|
get origin(): SerializedTypeReference;
|
|
@@ -1255,8 +1247,8 @@ declare class SerializedTypeLiteral extends $.Struct {
|
|
|
1255
1247
|
_hasDecorators(): boolean;
|
|
1256
1248
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
1257
1249
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
1258
|
-
get kind(): ReflectionKind
|
|
1259
|
-
set kind(value: ReflectionKind
|
|
1250
|
+
get kind(): ReflectionKind;
|
|
1251
|
+
set kind(value: ReflectionKind);
|
|
1260
1252
|
get literal(): SerializedTypeLiteral_Literal;
|
|
1261
1253
|
_initLiteral(): SerializedTypeLiteral_Literal;
|
|
1262
1254
|
toString(): string;
|
|
@@ -1290,8 +1282,8 @@ declare class SerializedTypeTemplateLiteral extends $.Struct {
|
|
|
1290
1282
|
_hasDecorators(): boolean;
|
|
1291
1283
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
1292
1284
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
1293
|
-
get kind(): ReflectionKind
|
|
1294
|
-
set kind(value: ReflectionKind
|
|
1285
|
+
get kind(): ReflectionKind;
|
|
1286
|
+
set kind(value: ReflectionKind);
|
|
1295
1287
|
_adoptTypes(value: $.Orphan<$.List<SerializedTypeReference>>): void;
|
|
1296
1288
|
_disownTypes(): $.Orphan<$.List<SerializedTypeReference>>;
|
|
1297
1289
|
get types(): $.List<SerializedTypeReference>;
|
|
@@ -1308,8 +1300,8 @@ declare class SerializedTypeOther extends $.Struct {
|
|
|
1308
1300
|
};
|
|
1309
1301
|
get typeName(): string;
|
|
1310
1302
|
set typeName(value: string);
|
|
1311
|
-
get kind(): ReflectionKind
|
|
1312
|
-
set kind(value: ReflectionKind
|
|
1303
|
+
get kind(): ReflectionKind;
|
|
1304
|
+
set kind(value: ReflectionKind);
|
|
1313
1305
|
toString(): string;
|
|
1314
1306
|
}
|
|
1315
1307
|
declare const SerializedType_Type_Which: {
|
|
@@ -1565,263 +1557,4 @@ declare class SerializedTypes extends $.Struct {
|
|
|
1565
1557
|
toString(): string;
|
|
1566
1558
|
}
|
|
1567
1559
|
//#endregion
|
|
1568
|
-
|
|
1569
|
-
type Reflection<T extends Record<string, any> = Record<string, any>> = ReflectionClass<T> & {
|
|
1570
|
-
dataBuffer?: ArrayBuffer;
|
|
1571
|
-
messageRoot?: SerializedTypes;
|
|
1572
|
-
};
|
|
1573
|
-
//#endregion
|
|
1574
|
-
//#region ../plugin-alloy/src/types/plugin.d.ts
|
|
1575
|
-
type AlloyPluginOptions = Partial<PrintTreeOptions> & {
|
|
1576
|
-
/**
|
|
1577
|
-
* If true, the Alloy framework is used to generate Typescript output files.
|
|
1578
|
-
*
|
|
1579
|
-
* @defaultValue true
|
|
1580
|
-
*/
|
|
1581
|
-
typescript?: boolean;
|
|
1582
|
-
/**
|
|
1583
|
-
* If true, the Alloy framework is used to generate JSON output files.
|
|
1584
|
-
*
|
|
1585
|
-
* @defaultValue false
|
|
1586
|
-
*/
|
|
1587
|
-
json?: boolean;
|
|
1588
|
-
/**
|
|
1589
|
-
* If true, the Alloy framework is used to generate Markdown output files.
|
|
1590
|
-
*
|
|
1591
|
-
* @defaultValue false
|
|
1592
|
-
*/
|
|
1593
|
-
markdown?: boolean;
|
|
1594
|
-
};
|
|
1595
|
-
type AlloyPluginUserConfig = UserConfig & {
|
|
1596
|
-
alloy?: AlloyPluginOptions;
|
|
1597
|
-
};
|
|
1598
|
-
type AlloyPluginResolvedConfig = ResolvedConfig & {
|
|
1599
|
-
alloy: AlloyPluginOptions;
|
|
1600
|
-
};
|
|
1601
|
-
type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
1602
|
-
render: <TContext extends AlloyPluginContext>(this: TContext, children: Children$1) => Promise<void>;
|
|
1603
|
-
};
|
|
1604
|
-
//#endregion
|
|
1605
|
-
//#region ../plugin-automd/src/types/toc.d.ts
|
|
1606
|
-
interface TOCOptions {
|
|
1607
|
-
/**
|
|
1608
|
-
* A slugify function to generate slugs for the headings.
|
|
1609
|
-
*/
|
|
1610
|
-
slugify?: (str: string) => string;
|
|
1611
|
-
/**
|
|
1612
|
-
* The maximum depth of headings to include in the TOC.
|
|
1613
|
-
*
|
|
1614
|
-
* @defaultValue 6
|
|
1615
|
-
*/
|
|
1616
|
-
maxDepth?: number;
|
|
1617
|
-
/**
|
|
1618
|
-
* Whether to include the first H1 heading in the TOC.
|
|
1619
|
-
*/
|
|
1620
|
-
firstH1?: boolean;
|
|
1621
|
-
/**
|
|
1622
|
-
* The bullet character to use for list items in the TOC.
|
|
1623
|
-
*
|
|
1624
|
-
* @defaultValue "-"
|
|
1625
|
-
*/
|
|
1626
|
-
bullets?: string;
|
|
1627
|
-
/**
|
|
1628
|
-
* A prefix to add to each heading in the TOC.
|
|
1629
|
-
*/
|
|
1630
|
-
prefix?: string;
|
|
1631
|
-
/**
|
|
1632
|
-
* A filter function to determine which headings to include in the TOC.
|
|
1633
|
-
*/
|
|
1634
|
-
filter?: (str: string, level: number) => boolean;
|
|
1635
|
-
}
|
|
1636
|
-
//#endregion
|
|
1637
|
-
//#region ../plugin-automd/src/types/plugin.d.ts
|
|
1638
|
-
type AutoMDPluginOptions = Omit<Config, "dir" | "watch" | "onWatch" | "prefix"> & {
|
|
1639
|
-
/**
|
|
1640
|
-
* Path to the AutoMD configuration file.
|
|
1641
|
-
*
|
|
1642
|
-
* @remarks
|
|
1643
|
-
* If not provided, the plugin will use the default AutoMD configuration resolution mechanism.
|
|
1644
|
-
*/
|
|
1645
|
-
configFile?: string;
|
|
1646
|
-
/**
|
|
1647
|
-
* An indicator specifying whether or not issues found by AutoMD during the prepare task are considered fatal.
|
|
1648
|
-
*
|
|
1649
|
-
* @defaultValue true
|
|
1650
|
-
*/
|
|
1651
|
-
allowIssues?: boolean;
|
|
1652
|
-
/**
|
|
1653
|
-
* Alternate prefix strings to use for finding generators
|
|
1654
|
-
*
|
|
1655
|
-
* @remarks
|
|
1656
|
-
* By default, AutoMD looks for generators with the "automd" prefix, so that any `<!-- automd:generator [...args] --> ... <!-- /automd -->` comments will be picked up. If you want to use different prefixes (for example, to avoid conflicts with other tools), you would provide a value like "myPrefix" and AutoMD would also look for `<!-- myPrefix:generator [...args] --> ... <!-- /myPrefix -->` comments.
|
|
1657
|
-
*
|
|
1658
|
-
* @defaultValue ["automd", "powerlines", "\{framework\}"]
|
|
1659
|
-
*/
|
|
1660
|
-
prefix?: string | string[];
|
|
1661
|
-
/**
|
|
1662
|
-
* Table of Contents generator options
|
|
1663
|
-
*
|
|
1664
|
-
* @remarks
|
|
1665
|
-
* If set to `false`, the built-in Table of Contents generator will be disabled.
|
|
1666
|
-
*/
|
|
1667
|
-
toc?: false | TOCOptions;
|
|
1668
|
-
};
|
|
1669
|
-
//#endregion
|
|
1670
|
-
//#region ../plugin-babel/src/types/plugin.d.ts
|
|
1671
|
-
type BabelPluginOptions = Partial<BabelUserConfig>;
|
|
1672
|
-
type BabelPluginUserConfig = UserConfig;
|
|
1673
|
-
interface BabelPluginResolvedConfig extends ResolvedConfig {
|
|
1674
|
-
transform: {
|
|
1675
|
-
babel: BabelResolvedConfig;
|
|
1676
|
-
};
|
|
1677
|
-
}
|
|
1678
|
-
type BabelPluginContext<TResolvedConfig extends BabelPluginResolvedConfig = BabelPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
1679
|
-
//#endregion
|
|
1680
|
-
//#region src/types/plugin.d.ts
|
|
1681
|
-
type EnvType = "env" | "secrets";
|
|
1682
|
-
type EnvPluginOptions = Omit<DotenvConfiguration, "types"> & {
|
|
1683
|
-
/**
|
|
1684
|
-
* A path to the type definition for the expected env configuration parameters. This value can include both a path to the typescript file and the name of the type definition to use separated by a `":"` or `"#"` character. For example: `"./src/types/env.ts#ConfigConfiguration"`.
|
|
1685
|
-
*/
|
|
1686
|
-
types?: TypeDefinitionParameter;
|
|
1687
|
-
/**
|
|
1688
|
-
* A path to the type definition for the expected env secret parameters. This value can include both a path to the typescript file and the name of the type definition to use separated by a `":"` or `"#"` character. For example: `"./src/types/env.ts#ConfigSecrets"`.
|
|
1689
|
-
*/
|
|
1690
|
-
secrets?: TypeDefinitionParameter;
|
|
1691
|
-
/**
|
|
1692
|
-
* An additional prefix (or list of additional prefixes) to apply to the environment variables
|
|
1693
|
-
*
|
|
1694
|
-
* @remarks
|
|
1695
|
-
* By default, the plugin will use the `POWERLINES_` prefix. This option is useful for avoiding conflicts with other environment variables.
|
|
1696
|
-
*/
|
|
1697
|
-
prefix?: string | string[];
|
|
1698
|
-
/**
|
|
1699
|
-
* Should the plugin inject the env variables in the source code with their values?
|
|
1700
|
-
*
|
|
1701
|
-
* @remarks
|
|
1702
|
-
* This option is set to `true` when building an application project.
|
|
1703
|
-
*
|
|
1704
|
-
* @defaultValue false
|
|
1705
|
-
*/
|
|
1706
|
-
inject?: boolean;
|
|
1707
|
-
/**
|
|
1708
|
-
* The default configuration to use when loading environment variables.
|
|
1709
|
-
*
|
|
1710
|
-
* @remarks
|
|
1711
|
-
* This configuration is used as the base configuration when loading environment variables, and will be overridden by any values found in the `.env` file or the process environment.
|
|
1712
|
-
*/
|
|
1713
|
-
defaultConfig?: Children;
|
|
1714
|
-
/**
|
|
1715
|
-
* Babel configuration options to use when injecting environment variables into the source code.
|
|
1716
|
-
*
|
|
1717
|
-
* @remarks
|
|
1718
|
-
* This option allows you to customize the Babel transformation process used to inject environment variables into the source code. If not provided, the plugin will use default Babel settings.
|
|
1719
|
-
*/
|
|
1720
|
-
babel?: BabelPluginOptions;
|
|
1721
|
-
/**
|
|
1722
|
-
* AutoMD configuration options to allow injecting environment variables documentation into a markdown file such as a README.md.
|
|
1723
|
-
*
|
|
1724
|
-
* @remarks
|
|
1725
|
-
* The README.md file should contain the `<!-- automd:env --><!-- /automd -->` comment block where the documentation will be injected.
|
|
1726
|
-
*/
|
|
1727
|
-
automd?: AutoMDPluginOptions;
|
|
1728
|
-
/**
|
|
1729
|
-
* Alloy configuration options to use when injecting environment variables into the source code.
|
|
1730
|
-
*
|
|
1731
|
-
* @remarks
|
|
1732
|
-
* This option allows you to customize the Alloy transformation process used to inject environment variables into the source code. If not provided, the plugin will use default Alloy settings.
|
|
1733
|
-
*/
|
|
1734
|
-
alloy?: AlloyPluginOptions;
|
|
1735
|
-
};
|
|
1736
|
-
type EnvPluginUserConfig = BabelPluginUserConfig & AlloyPluginUserConfig & {
|
|
1737
|
-
env: EnvPluginOptions;
|
|
1738
|
-
};
|
|
1739
|
-
type EnvPluginResolvedConfig = BabelPluginResolvedConfig & AlloyPluginResolvedConfig & {
|
|
1740
|
-
env: Required<Pick<DotenvConfiguration, "additionalFiles">> & Required<Pick<EnvPluginOptions, "defaultConfig">> & {
|
|
1741
|
-
/**
|
|
1742
|
-
* The type definition for the expected env variable parameters
|
|
1743
|
-
*
|
|
1744
|
-
* @remarks
|
|
1745
|
-
* This value is parsed from the {@link EnvPluginOptions.types} option.
|
|
1746
|
-
*/
|
|
1747
|
-
types: TypeDefinition;
|
|
1748
|
-
/**
|
|
1749
|
-
* The type definition for the expected env secret parameters
|
|
1750
|
-
*
|
|
1751
|
-
* @remarks
|
|
1752
|
-
* This value is parsed from the {@link EnvPluginOptions.secrets} option.
|
|
1753
|
-
*/
|
|
1754
|
-
secrets: TypeDefinition;
|
|
1755
|
-
/**
|
|
1756
|
-
* Should the plugin inject the env variables in the source code with their values?
|
|
1757
|
-
*
|
|
1758
|
-
* @remarks
|
|
1759
|
-
* This value is the result of reflecting the {@link EnvPluginOptions.inject} option.
|
|
1760
|
-
*/
|
|
1761
|
-
inject: EnvPluginOptions["inject"];
|
|
1762
|
-
/**
|
|
1763
|
-
* The prefix used for environment variables
|
|
1764
|
-
*
|
|
1765
|
-
* @remarks
|
|
1766
|
-
* This value is used to filter environment variables that are loaded from the .env file and the process environment.
|
|
1767
|
-
*/
|
|
1768
|
-
prefix: string[];
|
|
1769
|
-
};
|
|
1770
|
-
};
|
|
1771
|
-
interface EnvPluginContext<TResolvedConfig extends EnvPluginResolvedConfig = EnvPluginResolvedConfig> extends BabelPluginContext<TResolvedConfig>, AlloyPluginContext<TResolvedConfig> {
|
|
1772
|
-
env: {
|
|
1773
|
-
/**
|
|
1774
|
-
* The type definitions reflection for the env variables and secrets
|
|
1775
|
-
*
|
|
1776
|
-
* @remarks
|
|
1777
|
-
* These reflections contains the structure of the expected environment variables and secrets as defined by the type definitions provided in the plugin configuration.
|
|
1778
|
-
*/
|
|
1779
|
-
types: {
|
|
1780
|
-
/**
|
|
1781
|
-
* The type definitions for the expected env variables
|
|
1782
|
-
*/
|
|
1783
|
-
env: Reflection;
|
|
1784
|
-
/**
|
|
1785
|
-
* The type definitions for the expected env secrets
|
|
1786
|
-
*/
|
|
1787
|
-
secrets: Reflection;
|
|
1788
|
-
};
|
|
1789
|
-
/**
|
|
1790
|
-
* The current **used** environment variables and secrets reflection
|
|
1791
|
-
*
|
|
1792
|
-
* @remarks
|
|
1793
|
-
* This reflection contains the structure of the current environment variables and secrets as defined during the plugin initialization by extracting the values from the source code.
|
|
1794
|
-
*/
|
|
1795
|
-
used: {
|
|
1796
|
-
/**
|
|
1797
|
-
* The current env variables reflection
|
|
1798
|
-
*/
|
|
1799
|
-
env: Reflection<EnvInterface>;
|
|
1800
|
-
/**
|
|
1801
|
-
* The current env secrets reflection
|
|
1802
|
-
*/
|
|
1803
|
-
secrets: Reflection<SecretsInterface>;
|
|
1804
|
-
};
|
|
1805
|
-
/**
|
|
1806
|
-
* The parsed .env configuration object
|
|
1807
|
-
*
|
|
1808
|
-
* @remarks
|
|
1809
|
-
* This value is the result of loading the .env configuration file found in the project root directory and merging it with the values provided at {@link EnvPluginOptions.values}
|
|
1810
|
-
*/
|
|
1811
|
-
parsed: DotenvParseOutput;
|
|
1812
|
-
/**
|
|
1813
|
-
* The injected environment variables and secrets reflection
|
|
1814
|
-
*
|
|
1815
|
-
* @remarks
|
|
1816
|
-
* This reflection contains the structure of the injected environment variables and secrets that were injected into the source code during the build process.
|
|
1817
|
-
*/
|
|
1818
|
-
injected: Reflection;
|
|
1819
|
-
};
|
|
1820
|
-
}
|
|
1821
|
-
declare type __ΩEnvType = any[];
|
|
1822
|
-
declare type __ΩEnvPluginOptions = any[];
|
|
1823
|
-
declare type __ΩEnvPluginUserConfig = any[];
|
|
1824
|
-
declare type __ΩEnvPluginResolvedConfig = any[];
|
|
1825
|
-
declare type __ΩEnvPluginContext = any[];
|
|
1826
|
-
//#endregion
|
|
1827
|
-
export { EnvType as a, __ΩEnvPluginResolvedConfig as c, EnvPluginUserConfig as i, __ΩEnvPluginUserConfig as l, EnvPluginOptions as n, __ΩEnvPluginContext as o, EnvPluginResolvedConfig as r, __ΩEnvPluginOptions as s, EnvPluginContext as t, __ΩEnvType as u };
|
|
1560
|
+
export { SerializedTypes };
|