@powerlines/plugin-env 0.15.2 → 0.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/docs.cjs +3 -70
- package/dist/components/docs.d.cts +1 -8
- package/dist/components/docs.d.mts +1 -8
- package/dist/components/docs.mjs +2 -68
- package/dist/components/env.cjs +4 -574
- package/dist/components/env.d.cts +2 -19
- package/dist/components/env.d.mts +3 -19
- package/dist/components/env.mjs +2 -570
- package/dist/components/index.cjs +7 -5
- package/dist/components/index.d.cts +4 -2
- package/dist/components/index.d.mts +5 -2
- package/dist/components/index.mjs +4 -2
- package/dist/{plugin-alloy/src/types/components.d.cts → components-8W0Zgj0y.d.mts} +2 -1
- package/dist/components-C9bYrQVK.cjs +0 -0
- package/dist/components-CNIQFfeK.mjs +1 -0
- package/dist/create-reflection-resource-BNYxBgW2.mjs +9846 -0
- package/dist/create-reflection-resource-BWYhmX7O.cjs +10085 -0
- package/dist/docs-5r844zC1.d.mts +9 -0
- package/dist/docs-B66b9li3.mjs +219 -0
- package/dist/docs-_MmTNBQX.d.cts +9 -0
- package/dist/docs-hBlKCRWK.cjs +224 -0
- package/dist/env-BPodCdD1.d.cts +116 -0
- package/dist/env-IQvgnabX.mjs +1578 -0
- package/dist/env-cO4BUDn1.cjs +1596 -0
- package/dist/env-zhzvpUI5.d.mts +98 -0
- package/dist/index-BXxhKmeA.d.mts +1 -0
- package/dist/index-Cc7fCJU9.d.mts +1 -0
- package/dist/index-CqdNToYT.d.cts +1 -0
- package/dist/index-DWPDThxu.d.cts +1 -0
- package/dist/index.cjs +702 -77
- package/dist/index.d.cts +185 -12
- package/dist/index.d.mts +190 -17
- package/dist/index.mjs +648 -28
- package/dist/{deepkit/schemas/reflection.d.mts → plugin-BaInAuAh.d.mts} +326 -59
- package/dist/{deepkit/schemas/reflection.d.cts → plugin-BwuEBScL.d.cts} +268 -1
- package/dist/plugin-D3B5E_Hg.mjs +1 -0
- package/dist/plugin-D5qyQPqC.cjs +0 -0
- package/dist/resolved-BZG2cwRG.d.cts +1789 -0
- package/dist/resolved-V5COsfDu.d.mts +1791 -0
- package/dist/runtime-Bisl_1Ja.cjs +0 -0
- package/dist/runtime-Q8Ni8SeN.d.cts +794 -0
- package/dist/runtime-azNoeKr-.mjs +1 -0
- package/dist/runtime-qZ0Z2kEd.d.mts +794 -0
- package/dist/types/index.cjs +3 -0
- package/dist/types/index.d.cts +4 -2
- package/dist/types/index.d.mts +5 -2
- package/dist/types/index.mjs +4 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +3 -156
- package/dist/types/plugin.d.mts +4 -158
- package/dist/types/plugin.mjs +2 -0
- package/dist/types/runtime.cjs +1 -0
- package/dist/types/runtime.d.cts +2 -793
- package/dist/types/runtime.d.mts +2 -793
- package/dist/types/runtime.mjs +2 -0
- package/dist/types-DwElXV6q.mjs +1 -0
- package/dist/types-MYBaygjr.cjs +0 -0
- package/package.json +7 -7
- package/dist/_virtual/rolldown_runtime.cjs +0 -37
- package/dist/_virtual/rolldown_runtime.mjs +0 -29
- package/dist/babel/index.cjs +0 -1
- package/dist/babel/index.d.mts +0 -1
- package/dist/babel/index.mjs +0 -3
- package/dist/babel/plugin.cjs +0 -121
- package/dist/babel/plugin.d.cts +0 -7
- package/dist/babel/plugin.d.mts +0 -9
- package/dist/babel/plugin.mjs +0 -119
- package/dist/deepkit/schemas/reflection.cjs +0 -3940
- package/dist/deepkit/schemas/reflection.mjs +0 -3938
- package/dist/deepkit/schemas/reflection2.cjs +0 -4112
- package/dist/deepkit/schemas/reflection2.mjs +0 -4110
- package/dist/deepkit/src/capnp.cjs +0 -913
- package/dist/deepkit/src/capnp.mjs +0 -911
- package/dist/deepkit/src/esbuild-plugin.cjs +0 -47
- package/dist/deepkit/src/esbuild-plugin.mjs +0 -46
- package/dist/deepkit/src/reflect-type.cjs +0 -22
- package/dist/deepkit/src/reflect-type.mjs +0 -20
- package/dist/deepkit/src/resolve-reflections.cjs +0 -16
- package/dist/deepkit/src/resolve-reflections.mjs +0 -15
- package/dist/deepkit/src/transformer.cjs +0 -52
- package/dist/deepkit/src/transformer.mjs +0 -49
- package/dist/deepkit/src/transpile.cjs +0 -29
- package/dist/deepkit/src/transpile.mjs +0 -27
- package/dist/deepkit/src/types.d.cts +0 -10
- package/dist/deepkit/src/types.d.mts +0 -10
- package/dist/deepkit/src/utilities.cjs +0 -66
- package/dist/deepkit/src/utilities.mjs +0 -65
- package/dist/deepkit/src/vendor/type-compiler/index.cjs +0 -38
- package/dist/deepkit/src/vendor/type-compiler/index.mjs +0 -19
- package/dist/deepkit/src/vendor/type.cjs +0 -20
- package/dist/deepkit/src/vendor/type.d.cts +0 -7
- package/dist/deepkit/src/vendor/type.d.mts +0 -7
- package/dist/deepkit/src/vendor/type.mjs +0 -11
- package/dist/helpers/automd-generator.cjs +0 -22
- package/dist/helpers/automd-generator.mjs +0 -21
- package/dist/helpers/create-reflection-resource.cjs +0 -55
- package/dist/helpers/create-reflection-resource.d.cts +0 -15
- package/dist/helpers/create-reflection-resource.d.mts +0 -15
- package/dist/helpers/create-reflection-resource.mjs +0 -54
- package/dist/helpers/index.cjs +0 -6
- package/dist/helpers/index.d.mts +0 -6
- package/dist/helpers/index.mjs +0 -8
- package/dist/helpers/load.cjs +0 -83
- package/dist/helpers/load.d.cts +0 -35
- package/dist/helpers/load.d.mts +0 -36
- package/dist/helpers/load.mjs +0 -80
- package/dist/helpers/persistence.cjs +0 -214
- package/dist/helpers/persistence.d.cts +0 -84
- package/dist/helpers/persistence.d.mts +0 -84
- package/dist/helpers/persistence.mjs +0 -202
- package/dist/helpers/reflect.cjs +0 -111
- package/dist/helpers/reflect.d.cts +0 -46
- package/dist/helpers/reflect.d.mts +0 -46
- package/dist/helpers/reflect.mjs +0 -103
- package/dist/helpers/source-file-env.cjs +0 -28
- package/dist/helpers/source-file-env.d.cts +0 -8
- package/dist/helpers/source-file-env.d.mts +0 -8
- package/dist/helpers/source-file-env.mjs +0 -26
- package/dist/helpers/template-helpers.cjs +0 -42
- package/dist/helpers/template-helpers.d.cts +0 -15
- package/dist/helpers/template-helpers.d.mts +0 -15
- package/dist/helpers/template-helpers.mjs +0 -41
- package/dist/plugin-alloy/src/core/components/output.cjs +0 -45
- package/dist/plugin-alloy/src/core/components/output.mjs +0 -44
- package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +0 -22
- package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +0 -21
- package/dist/plugin-alloy/src/core/components/source-file.cjs +0 -64
- package/dist/plugin-alloy/src/core/components/source-file.d.cts +0 -23
- package/dist/plugin-alloy/src/core/components/source-file.d.mts +0 -23
- package/dist/plugin-alloy/src/core/components/source-file.mjs +0 -62
- package/dist/plugin-alloy/src/core/contexts/context.cjs +0 -60
- package/dist/plugin-alloy/src/core/contexts/context.mjs +0 -54
- package/dist/plugin-alloy/src/core/contexts/index.cjs +0 -2
- package/dist/plugin-alloy/src/core/contexts/index.mjs +0 -4
- package/dist/plugin-alloy/src/core/contexts/reflection.cjs +0 -46
- package/dist/plugin-alloy/src/core/contexts/reflection.mjs +0 -42
- package/dist/plugin-alloy/src/helpers/refkey.cjs +0 -16
- package/dist/plugin-alloy/src/helpers/refkey.mjs +0 -15
- package/dist/plugin-alloy/src/index.cjs +0 -93
- package/dist/plugin-alloy/src/index.mjs +0 -91
- package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +0 -115
- package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +0 -114
- package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +0 -39
- package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +0 -38
- package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +0 -18
- package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +0 -17
- package/dist/plugin-alloy/src/types/components.d.mts +0 -25
- package/dist/plugin-alloy/src/types/index.d.mts +0 -2
- package/dist/plugin-alloy/src/types/plugin.d.cts +0 -37
- package/dist/plugin-alloy/src/types/plugin.d.mts +0 -37
- package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +0 -57
- package/dist/plugin-alloy/src/typescript/components/builtin-file.d.cts +0 -25
- package/dist/plugin-alloy/src/typescript/components/builtin-file.d.mts +0 -26
- package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +0 -56
- package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +0 -126
- package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +0 -124
- package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +0 -442
- package/dist/plugin-alloy/src/typescript/components/tsdoc.d.cts +0 -27
- package/dist/plugin-alloy/src/typescript/components/tsdoc.d.mts +0 -28
- package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +0 -433
- package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +0 -194
- package/dist/plugin-alloy/src/typescript/components/typescript-file.d.cts +0 -14
- package/dist/plugin-alloy/src/typescript/components/typescript-file.d.mts +0 -15
- package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +0 -191
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +0 -68
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.cts +0 -11
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.mts +0 -12
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +0 -67
- package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +0 -124
- package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +0 -123
- package/dist/plugin-automd/src/index.cjs +0 -101
- package/dist/plugin-automd/src/index.mjs +0 -98
- package/dist/plugin-automd/src/types/plugin.d.cts +0 -38
- package/dist/plugin-automd/src/types/plugin.d.mts +0 -40
- package/dist/plugin-automd/src/types/toc.d.cts +0 -33
- package/dist/plugin-automd/src/types/toc.d.mts +0 -33
- package/dist/plugin-babel/src/helpers/ast-utils.cjs +0 -10
- package/dist/plugin-babel/src/helpers/ast-utils.mjs +0 -9
- package/dist/plugin-babel/src/helpers/create-plugin.cjs +0 -41
- package/dist/plugin-babel/src/helpers/create-plugin.mjs +0 -39
- package/dist/plugin-babel/src/helpers/filters.cjs +0 -23
- package/dist/plugin-babel/src/helpers/filters.mjs +0 -21
- package/dist/plugin-babel/src/helpers/index.cjs +0 -5
- package/dist/plugin-babel/src/helpers/index.mjs +0 -7
- package/dist/plugin-babel/src/helpers/module-helpers.cjs +0 -38
- package/dist/plugin-babel/src/helpers/module-helpers.mjs +0 -35
- package/dist/plugin-babel/src/helpers/options.cjs +0 -50
- package/dist/plugin-babel/src/helpers/options.mjs +0 -47
- package/dist/plugin-babel/src/index.cjs +0 -91
- package/dist/plugin-babel/src/index.mjs +0 -89
- package/dist/plugin-babel/src/types/index.d.mts +0 -1
- package/dist/plugin-babel/src/types/plugin.d.cts +0 -15
- package/dist/plugin-babel/src/types/plugin.d.mts +0 -15
- package/dist/powerlines/schemas/fs.d.mts +0 -1
- package/dist/powerlines/src/api.d.mts +0 -7
- package/dist/powerlines/src/index.d.mts +0 -12
- package/dist/powerlines/src/internal/helpers/hooks.d.mts +0 -5
- package/dist/powerlines/src/lib/build/esbuild.cjs +0 -102
- package/dist/powerlines/src/lib/build/esbuild.mjs +0 -100
- package/dist/powerlines/src/lib/entry.cjs +0 -12
- package/dist/powerlines/src/lib/entry.mjs +0 -14
- package/dist/powerlines/src/lib/logger.cjs +0 -41
- package/dist/powerlines/src/lib/logger.mjs +0 -39
- package/dist/powerlines/src/lib/utilities/bundle.cjs +0 -35
- package/dist/powerlines/src/lib/utilities/bundle.mjs +0 -34
- package/dist/powerlines/src/lib/utilities/resolve.cjs +0 -30
- package/dist/powerlines/src/lib/utilities/resolve.mjs +0 -29
- package/dist/powerlines/src/plugin-utils/paths.cjs +0 -1
- package/dist/powerlines/src/plugin-utils/paths.mjs +0 -3
- package/dist/powerlines/src/types/api.d.mts +0 -5
- package/dist/powerlines/src/types/babel.d.cts +0 -23
- package/dist/powerlines/src/types/babel.d.mts +0 -23
- package/dist/powerlines/src/types/build.d.cts +0 -145
- package/dist/powerlines/src/types/build.d.mts +0 -147
- package/dist/powerlines/src/types/commands.d.cts +0 -8
- package/dist/powerlines/src/types/commands.d.mts +0 -9
- package/dist/powerlines/src/types/config.d.cts +0 -380
- package/dist/powerlines/src/types/config.d.mts +0 -381
- package/dist/powerlines/src/types/context.d.cts +0 -414
- package/dist/powerlines/src/types/context.d.mts +0 -416
- package/dist/powerlines/src/types/fs.d.cts +0 -486
- package/dist/powerlines/src/types/fs.d.mts +0 -486
- package/dist/powerlines/src/types/hooks.d.mts +0 -2
- package/dist/powerlines/src/types/index.d.mts +0 -12
- package/dist/powerlines/src/types/plugin.d.cts +0 -231
- package/dist/powerlines/src/types/plugin.d.mts +0 -231
- package/dist/powerlines/src/types/resolved.d.cts +0 -82
- package/dist/powerlines/src/types/resolved.d.mts +0 -83
- package/dist/powerlines/src/types/tsconfig.d.cts +0 -69
- package/dist/powerlines/src/types/tsconfig.d.mts +0 -69
- package/dist/powerlines/src/types/unplugin.d.mts +0 -7
|
@@ -1,7 +1,15 @@
|
|
|
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";
|
|
1
8
|
import * as $ from "@stryke/capnp";
|
|
9
|
+
import { DotenvConfiguration, TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
2
10
|
|
|
3
11
|
//#region ../deepkit/schemas/reflection.d.ts
|
|
4
|
-
declare const ReflectionKind: {
|
|
12
|
+
declare const ReflectionKind$1: {
|
|
5
13
|
readonly NEVER: 0;
|
|
6
14
|
readonly ANY: 1;
|
|
7
15
|
readonly UNKNOWN: 2;
|
|
@@ -39,13 +47,13 @@ declare const ReflectionKind: {
|
|
|
39
47
|
readonly INFER: 34;
|
|
40
48
|
readonly CALL_SIGNATURE: 35;
|
|
41
49
|
};
|
|
42
|
-
type ReflectionKind = (typeof ReflectionKind)[keyof typeof ReflectionKind];
|
|
43
|
-
declare const ReflectionVisibility: {
|
|
50
|
+
type ReflectionKind$1 = (typeof ReflectionKind$1)[keyof typeof ReflectionKind$1];
|
|
51
|
+
declare const ReflectionVisibility$1: {
|
|
44
52
|
readonly PUBLIC: 0;
|
|
45
53
|
readonly PROTECTED: 1;
|
|
46
54
|
readonly PRIVATE: 2;
|
|
47
55
|
};
|
|
48
|
-
type ReflectionVisibility = (typeof ReflectionVisibility)[keyof typeof ReflectionVisibility];
|
|
56
|
+
type ReflectionVisibility$1 = (typeof ReflectionVisibility$1)[keyof typeof ReflectionVisibility$1];
|
|
49
57
|
declare class TagsReflection extends $.Struct {
|
|
50
58
|
static readonly _capnp: {
|
|
51
59
|
displayName: string;
|
|
@@ -183,8 +191,8 @@ declare class SerializedTypeObjectLiteral extends $.Struct {
|
|
|
183
191
|
_hasDecorators(): boolean;
|
|
184
192
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
185
193
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
186
|
-
get kind(): ReflectionKind;
|
|
187
|
-
set kind(value: ReflectionKind);
|
|
194
|
+
get kind(): ReflectionKind$1;
|
|
195
|
+
set kind(value: ReflectionKind$1);
|
|
188
196
|
_adoptTypes(value: $.Orphan<$.List<SerializedTypeReference>>): void;
|
|
189
197
|
_disownTypes(): $.Orphan<$.List<SerializedTypeReference>>;
|
|
190
198
|
get types(): $.List<SerializedTypeReference>;
|
|
@@ -230,8 +238,8 @@ declare class SerializedTypeClassType extends $.Struct {
|
|
|
230
238
|
_hasDecorators(): boolean;
|
|
231
239
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
232
240
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
233
|
-
get kind(): ReflectionKind;
|
|
234
|
-
set kind(value: ReflectionKind);
|
|
241
|
+
get kind(): ReflectionKind$1;
|
|
242
|
+
set kind(value: ReflectionKind$1);
|
|
235
243
|
get name(): string;
|
|
236
244
|
set name(value: string);
|
|
237
245
|
get globalObject(): boolean;
|
|
@@ -298,8 +306,8 @@ declare class SerializedTypeParameter extends $.Struct {
|
|
|
298
306
|
_hasDecorators(): boolean;
|
|
299
307
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
300
308
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
301
|
-
get kind(): ReflectionKind;
|
|
302
|
-
set kind(value: ReflectionKind);
|
|
309
|
+
get kind(): ReflectionKind$1;
|
|
310
|
+
set kind(value: ReflectionKind$1);
|
|
303
311
|
get name(): string;
|
|
304
312
|
set name(value: string);
|
|
305
313
|
_adoptType(value: $.Orphan<SerializedTypeReference>): void;
|
|
@@ -308,8 +316,8 @@ declare class SerializedTypeParameter extends $.Struct {
|
|
|
308
316
|
_hasType(): boolean;
|
|
309
317
|
_initType(): SerializedTypeReference;
|
|
310
318
|
set type(value: SerializedTypeReference);
|
|
311
|
-
get visibility(): ReflectionVisibility;
|
|
312
|
-
set visibility(value: ReflectionVisibility);
|
|
319
|
+
get visibility(): ReflectionVisibility$1;
|
|
320
|
+
set visibility(value: ReflectionVisibility$1);
|
|
313
321
|
get readonly(): boolean;
|
|
314
322
|
set readonly(value: boolean);
|
|
315
323
|
get optional(): boolean;
|
|
@@ -357,8 +365,8 @@ declare class SerializedTypeMethod extends $.Struct {
|
|
|
357
365
|
_hasDecorators(): boolean;
|
|
358
366
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
359
367
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
360
|
-
get visibility(): ReflectionVisibility;
|
|
361
|
-
set visibility(value: ReflectionVisibility);
|
|
368
|
+
get visibility(): ReflectionVisibility$1;
|
|
369
|
+
set visibility(value: ReflectionVisibility$1);
|
|
362
370
|
get abstract(): boolean;
|
|
363
371
|
set abstract(value: boolean);
|
|
364
372
|
get optional(): boolean;
|
|
@@ -371,8 +379,8 @@ declare class SerializedTypeMethod extends $.Struct {
|
|
|
371
379
|
_hasTags(): boolean;
|
|
372
380
|
_initTags(): TagsReflection;
|
|
373
381
|
set tags(value: TagsReflection);
|
|
374
|
-
get kind(): ReflectionKind;
|
|
375
|
-
set kind(value: ReflectionKind);
|
|
382
|
+
get kind(): ReflectionKind$1;
|
|
383
|
+
set kind(value: ReflectionKind$1);
|
|
376
384
|
get name(): string;
|
|
377
385
|
set name(value: string);
|
|
378
386
|
_adoptParameters(value: $.Orphan<$.List<SerializedTypeParameter>>): void;
|
|
@@ -417,8 +425,8 @@ declare class SerializedTypeProperty extends $.Struct {
|
|
|
417
425
|
_hasDecorators(): boolean;
|
|
418
426
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
419
427
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
420
|
-
get visibility(): ReflectionVisibility;
|
|
421
|
-
set visibility(value: ReflectionVisibility);
|
|
428
|
+
get visibility(): ReflectionVisibility$1;
|
|
429
|
+
set visibility(value: ReflectionVisibility$1);
|
|
422
430
|
get abstract(): boolean;
|
|
423
431
|
set abstract(value: boolean);
|
|
424
432
|
get optional(): boolean;
|
|
@@ -431,8 +439,8 @@ declare class SerializedTypeProperty extends $.Struct {
|
|
|
431
439
|
_hasTags(): boolean;
|
|
432
440
|
_initTags(): TagsReflection;
|
|
433
441
|
set tags(value: TagsReflection);
|
|
434
|
-
get kind(): ReflectionKind;
|
|
435
|
-
set kind(value: ReflectionKind);
|
|
442
|
+
get kind(): ReflectionKind$1;
|
|
443
|
+
set kind(value: ReflectionKind$1);
|
|
436
444
|
get name(): string;
|
|
437
445
|
set name(value: string);
|
|
438
446
|
get description(): string;
|
|
@@ -480,8 +488,8 @@ declare class SerializedTypeFunction extends $.Struct {
|
|
|
480
488
|
_hasDecorators(): boolean;
|
|
481
489
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
482
490
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
483
|
-
get visibility(): ReflectionVisibility;
|
|
484
|
-
set visibility(value: ReflectionVisibility);
|
|
491
|
+
get visibility(): ReflectionVisibility$1;
|
|
492
|
+
set visibility(value: ReflectionVisibility$1);
|
|
485
493
|
get abstract(): boolean;
|
|
486
494
|
set abstract(value: boolean);
|
|
487
495
|
get optional(): boolean;
|
|
@@ -494,8 +502,8 @@ declare class SerializedTypeFunction extends $.Struct {
|
|
|
494
502
|
_hasTags(): boolean;
|
|
495
503
|
_initTags(): TagsReflection;
|
|
496
504
|
set tags(value: TagsReflection);
|
|
497
|
-
get kind(): ReflectionKind;
|
|
498
|
-
set kind(value: ReflectionKind);
|
|
505
|
+
get kind(): ReflectionKind$1;
|
|
506
|
+
set kind(value: ReflectionKind$1);
|
|
499
507
|
get name(): string;
|
|
500
508
|
set name(value: string);
|
|
501
509
|
_adoptParameters(value: $.Orphan<$.List<SerializedTypeParameter>>): void;
|
|
@@ -540,8 +548,8 @@ declare class SerializedTypePromise extends $.Struct {
|
|
|
540
548
|
_hasDecorators(): boolean;
|
|
541
549
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
542
550
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
543
|
-
get visibility(): ReflectionVisibility;
|
|
544
|
-
set visibility(value: ReflectionVisibility);
|
|
551
|
+
get visibility(): ReflectionVisibility$1;
|
|
552
|
+
set visibility(value: ReflectionVisibility$1);
|
|
545
553
|
get abstract(): boolean;
|
|
546
554
|
set abstract(value: boolean);
|
|
547
555
|
toString(): string;
|
|
@@ -587,8 +595,8 @@ declare class SerializedTypeEnum extends $.Struct {
|
|
|
587
595
|
_hasDecorators(): boolean;
|
|
588
596
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
589
597
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
590
|
-
get kind(): ReflectionKind;
|
|
591
|
-
set kind(value: ReflectionKind);
|
|
598
|
+
get kind(): ReflectionKind$1;
|
|
599
|
+
set kind(value: ReflectionKind$1);
|
|
592
600
|
_adoptEnumEntries(value: $.Orphan<$.List<SerializedTypeEnumEntry>>): void;
|
|
593
601
|
_disownEnumEntries(): $.Orphan<$.List<SerializedTypeEnumEntry>>;
|
|
594
602
|
get enumEntries(): $.List<SerializedTypeEnumEntry>;
|
|
@@ -644,8 +652,8 @@ declare class SerializedTypeUnion extends $.Struct {
|
|
|
644
652
|
_hasDecorators(): boolean;
|
|
645
653
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
646
654
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
647
|
-
get kind(): ReflectionKind;
|
|
648
|
-
set kind(value: ReflectionKind);
|
|
655
|
+
get kind(): ReflectionKind$1;
|
|
656
|
+
set kind(value: ReflectionKind$1);
|
|
649
657
|
_adoptTypes(value: $.Orphan<$.List<SerializedTypeReference>>): void;
|
|
650
658
|
_disownTypes(): $.Orphan<$.List<SerializedTypeReference>>;
|
|
651
659
|
get types(): $.List<SerializedTypeReference>;
|
|
@@ -683,8 +691,8 @@ declare class SerializedTypeIntersection extends $.Struct {
|
|
|
683
691
|
_hasDecorators(): boolean;
|
|
684
692
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
685
693
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
686
|
-
get kind(): ReflectionKind;
|
|
687
|
-
set kind(value: ReflectionKind);
|
|
694
|
+
get kind(): ReflectionKind$1;
|
|
695
|
+
set kind(value: ReflectionKind$1);
|
|
688
696
|
_adoptTypes(value: $.Orphan<$.List<SerializedTypeReference>>): void;
|
|
689
697
|
_disownTypes(): $.Orphan<$.List<SerializedTypeReference>>;
|
|
690
698
|
get types(): $.List<SerializedTypeReference>;
|
|
@@ -721,8 +729,8 @@ declare class SerializedTypeArray extends $.Struct {
|
|
|
721
729
|
_hasDecorators(): boolean;
|
|
722
730
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
723
731
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
724
|
-
get kind(): ReflectionKind;
|
|
725
|
-
set kind(value: ReflectionKind);
|
|
732
|
+
get kind(): ReflectionKind$1;
|
|
733
|
+
set kind(value: ReflectionKind$1);
|
|
726
734
|
_adoptType(value: $.Orphan<SerializedTypeReference>): void;
|
|
727
735
|
_disownType(): $.Orphan<SerializedTypeReference>;
|
|
728
736
|
get type(): SerializedTypeReference;
|
|
@@ -765,8 +773,8 @@ declare class SerializedTypeIndexSignature extends $.Struct {
|
|
|
765
773
|
_hasDecorators(): boolean;
|
|
766
774
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
767
775
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
768
|
-
get kind(): ReflectionKind;
|
|
769
|
-
set kind(value: ReflectionKind);
|
|
776
|
+
get kind(): ReflectionKind$1;
|
|
777
|
+
set kind(value: ReflectionKind$1);
|
|
770
778
|
_adoptIndex(value: $.Orphan<SerializedTypeReference>): void;
|
|
771
779
|
_disownIndex(): $.Orphan<SerializedTypeReference>;
|
|
772
780
|
get index(): SerializedTypeReference;
|
|
@@ -809,8 +817,8 @@ declare class SerializedTypePropertySignature extends $.Struct {
|
|
|
809
817
|
_hasDecorators(): boolean;
|
|
810
818
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
811
819
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
812
|
-
get kind(): ReflectionKind;
|
|
813
|
-
set kind(value: ReflectionKind);
|
|
820
|
+
get kind(): ReflectionKind$1;
|
|
821
|
+
set kind(value: ReflectionKind$1);
|
|
814
822
|
get name(): string;
|
|
815
823
|
set name(value: string);
|
|
816
824
|
get optional(): boolean;
|
|
@@ -868,8 +876,8 @@ declare class SerializedTypeMethodSignature extends $.Struct {
|
|
|
868
876
|
_hasDecorators(): boolean;
|
|
869
877
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
870
878
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
871
|
-
get kind(): ReflectionKind;
|
|
872
|
-
set kind(value: ReflectionKind);
|
|
879
|
+
get kind(): ReflectionKind$1;
|
|
880
|
+
set kind(value: ReflectionKind$1);
|
|
873
881
|
get name(): string;
|
|
874
882
|
set name(value: string);
|
|
875
883
|
get optional(): boolean;
|
|
@@ -922,8 +930,8 @@ declare class SerializedTypeTypeParameter extends $.Struct {
|
|
|
922
930
|
_hasDecorators(): boolean;
|
|
923
931
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
924
932
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
925
|
-
get kind(): ReflectionKind;
|
|
926
|
-
set kind(value: ReflectionKind);
|
|
933
|
+
get kind(): ReflectionKind$1;
|
|
934
|
+
set kind(value: ReflectionKind$1);
|
|
927
935
|
get name(): string;
|
|
928
936
|
set name(value: string);
|
|
929
937
|
toString(): string;
|
|
@@ -956,8 +964,8 @@ declare class SerializedTypeInfer extends $.Struct {
|
|
|
956
964
|
_hasDecorators(): boolean;
|
|
957
965
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
958
966
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
959
|
-
get kind(): ReflectionKind;
|
|
960
|
-
set kind(value: ReflectionKind);
|
|
967
|
+
get kind(): ReflectionKind$1;
|
|
968
|
+
set kind(value: ReflectionKind$1);
|
|
961
969
|
toString(): string;
|
|
962
970
|
}
|
|
963
971
|
declare class SerializedTypeTupleMember extends $.Struct {
|
|
@@ -988,8 +996,8 @@ declare class SerializedTypeTupleMember extends $.Struct {
|
|
|
988
996
|
_hasDecorators(): boolean;
|
|
989
997
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
990
998
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
991
|
-
get kind(): ReflectionKind;
|
|
992
|
-
set kind(value: ReflectionKind);
|
|
999
|
+
get kind(): ReflectionKind$1;
|
|
1000
|
+
set kind(value: ReflectionKind$1);
|
|
993
1001
|
_adoptType(value: $.Orphan<SerializedTypeReference>): void;
|
|
994
1002
|
_disownType(): $.Orphan<SerializedTypeReference>;
|
|
995
1003
|
get type(): SerializedTypeReference;
|
|
@@ -1031,8 +1039,8 @@ declare class SerializedTypeTuple extends $.Struct {
|
|
|
1031
1039
|
_hasDecorators(): boolean;
|
|
1032
1040
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
1033
1041
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
1034
|
-
get kind(): ReflectionKind;
|
|
1035
|
-
set kind(value: ReflectionKind);
|
|
1042
|
+
get kind(): ReflectionKind$1;
|
|
1043
|
+
set kind(value: ReflectionKind$1);
|
|
1036
1044
|
_adoptTypes(value: $.Orphan<$.List<SerializedTypeTupleMember>>): void;
|
|
1037
1045
|
_disownTypes(): $.Orphan<$.List<SerializedTypeTupleMember>>;
|
|
1038
1046
|
get types(): $.List<SerializedTypeTupleMember>;
|
|
@@ -1069,8 +1077,8 @@ declare class SerializedTypeRest extends $.Struct {
|
|
|
1069
1077
|
_hasDecorators(): boolean;
|
|
1070
1078
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
1071
1079
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
1072
|
-
get kind(): ReflectionKind;
|
|
1073
|
-
set kind(value: ReflectionKind);
|
|
1080
|
+
get kind(): ReflectionKind$1;
|
|
1081
|
+
set kind(value: ReflectionKind$1);
|
|
1074
1082
|
_adoptType(value: $.Orphan<SerializedTypeReference>): void;
|
|
1075
1083
|
_disownType(): $.Orphan<SerializedTypeReference>;
|
|
1076
1084
|
get type(): SerializedTypeReference;
|
|
@@ -1107,8 +1115,8 @@ declare class SimpleSerializedType extends $.Struct {
|
|
|
1107
1115
|
_hasDecorators(): boolean;
|
|
1108
1116
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
1109
1117
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
1110
|
-
get kind(): ReflectionKind;
|
|
1111
|
-
set kind(value: ReflectionKind);
|
|
1118
|
+
get kind(): ReflectionKind$1;
|
|
1119
|
+
set kind(value: ReflectionKind$1);
|
|
1112
1120
|
_adoptOrigin(value: $.Orphan<SerializedTypeReference>): void;
|
|
1113
1121
|
_disownOrigin(): $.Orphan<SerializedTypeReference>;
|
|
1114
1122
|
get origin(): SerializedTypeReference;
|
|
@@ -1247,8 +1255,8 @@ declare class SerializedTypeLiteral extends $.Struct {
|
|
|
1247
1255
|
_hasDecorators(): boolean;
|
|
1248
1256
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
1249
1257
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
1250
|
-
get kind(): ReflectionKind;
|
|
1251
|
-
set kind(value: ReflectionKind);
|
|
1258
|
+
get kind(): ReflectionKind$1;
|
|
1259
|
+
set kind(value: ReflectionKind$1);
|
|
1252
1260
|
get literal(): SerializedTypeLiteral_Literal;
|
|
1253
1261
|
_initLiteral(): SerializedTypeLiteral_Literal;
|
|
1254
1262
|
toString(): string;
|
|
@@ -1282,8 +1290,8 @@ declare class SerializedTypeTemplateLiteral extends $.Struct {
|
|
|
1282
1290
|
_hasDecorators(): boolean;
|
|
1283
1291
|
_initDecorators(length: number): $.List<SerializedTypeReference>;
|
|
1284
1292
|
set decorators(value: $.List<SerializedTypeReference>);
|
|
1285
|
-
get kind(): ReflectionKind;
|
|
1286
|
-
set kind(value: ReflectionKind);
|
|
1293
|
+
get kind(): ReflectionKind$1;
|
|
1294
|
+
set kind(value: ReflectionKind$1);
|
|
1287
1295
|
_adoptTypes(value: $.Orphan<$.List<SerializedTypeReference>>): void;
|
|
1288
1296
|
_disownTypes(): $.Orphan<$.List<SerializedTypeReference>>;
|
|
1289
1297
|
get types(): $.List<SerializedTypeReference>;
|
|
@@ -1300,8 +1308,8 @@ declare class SerializedTypeOther extends $.Struct {
|
|
|
1300
1308
|
};
|
|
1301
1309
|
get typeName(): string;
|
|
1302
1310
|
set typeName(value: string);
|
|
1303
|
-
get kind(): ReflectionKind;
|
|
1304
|
-
set kind(value: ReflectionKind);
|
|
1311
|
+
get kind(): ReflectionKind$1;
|
|
1312
|
+
set kind(value: ReflectionKind$1);
|
|
1305
1313
|
toString(): string;
|
|
1306
1314
|
}
|
|
1307
1315
|
declare const SerializedType_Type_Which: {
|
|
@@ -1557,4 +1565,263 @@ declare class SerializedTypes extends $.Struct {
|
|
|
1557
1565
|
toString(): string;
|
|
1558
1566
|
}
|
|
1559
1567
|
//#endregion
|
|
1560
|
-
|
|
1568
|
+
//#region ../deepkit/src/types.d.ts
|
|
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 };
|