@powerlines/plugin-env 0.13.53 → 0.13.55
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/README.md +8 -2
- package/dist/babel/index.cjs +1 -1
- package/dist/babel/index.d.cts +17 -31
- package/dist/babel/index.d.mts +17 -0
- package/dist/babel/index.mjs +1 -0
- package/dist/babel/plugin.cjs +1 -19
- package/dist/babel/plugin.d.cts +17 -34
- package/dist/babel/plugin.d.mts +17 -0
- package/dist/babel/plugin.mjs +1 -0
- package/dist/babel-CE47sTzg.mjs +1 -0
- package/dist/chunk-CbqXBSoN.mjs +1 -0
- package/dist/chunk-DT2f8AgL.cjs +1 -0
- package/dist/components/docs.cjs +1 -0
- package/dist/components/docs.d.cts +2 -0
- package/dist/components/docs.d.mts +2 -0
- package/dist/components/docs.mjs +1 -0
- package/dist/components/env.cjs +1 -40
- package/dist/components/env.d.cts +4 -105
- package/dist/components/env.d.mts +4 -0
- package/dist/components/env.mjs +1 -0
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.d.cts +6 -8
- package/dist/components/index.d.mts +6 -0
- package/dist/components/index.mjs +1 -0
- package/dist/components-LyHNrcZE.mjs +1 -0
- package/dist/config-BgxhYOhP.d.mts +1682 -0
- package/dist/config-BgxhYOhP.d.mts.map +1 -0
- package/dist/config-DO3dqNWo.d.cts +1680 -0
- package/dist/config-DO3dqNWo.d.cts.map +1 -0
- package/dist/create-reflection-resource-BQ5mItFl.d.mts +16 -0
- package/dist/create-reflection-resource-BQ5mItFl.d.mts.map +1 -0
- package/dist/create-reflection-resource-CQHJrkQi.cjs +1 -0
- package/dist/create-reflection-resource-Cwclmcyo.d.cts +16 -0
- package/dist/create-reflection-resource-Cwclmcyo.d.cts.map +1 -0
- package/dist/create-reflection-resource-UtOwX4Ml.mjs +2 -0
- package/dist/create-reflection-resource-UtOwX4Ml.mjs.map +1 -0
- package/dist/docs-BDiEhcDa.mjs +2 -0
- package/dist/docs-BDiEhcDa.mjs.map +1 -0
- package/dist/docs-Bhi9smBO.cjs +1 -0
- package/dist/docs-BoZkRBO4.d.cts +10 -0
- package/dist/docs-BoZkRBO4.d.cts.map +1 -0
- package/dist/docs-BwK6pC_c.d.mts +10 -0
- package/dist/docs-BwK6pC_c.d.mts.map +1 -0
- package/dist/env-0C9Vc_CF.cjs +34 -0
- package/dist/env-BpSAx122.d.mts +113 -0
- package/dist/env-BpSAx122.d.mts.map +1 -0
- package/dist/env-D4MK9BWK.mjs +32 -0
- package/dist/env-D4MK9BWK.mjs.map +1 -0
- package/dist/env-Mgv4u8VY.d.cts +113 -0
- package/dist/env-Mgv4u8VY.d.cts.map +1 -0
- package/dist/helpers/create-reflection-resource.cjs +1 -0
- package/dist/helpers/create-reflection-resource.d.cts +6 -0
- package/dist/helpers/create-reflection-resource.d.mts +6 -0
- package/dist/helpers/create-reflection-resource.mjs +1 -0
- package/dist/helpers/index.cjs +1 -1
- package/dist/helpers/index.d.cts +12 -35
- package/dist/helpers/index.d.mts +12 -0
- package/dist/helpers/index.mjs +1 -0
- package/dist/helpers/load.cjs +1 -7
- package/dist/helpers/load.d.cts +6 -60
- package/dist/helpers/load.d.mts +6 -0
- package/dist/helpers/load.mjs +1 -0
- package/dist/helpers/persistence.cjs +1 -7
- package/dist/helpers/persistence.d.cts +6 -108
- package/dist/helpers/persistence.d.mts +6 -0
- package/dist/helpers/persistence.mjs +1 -0
- package/dist/helpers/reflect.cjs +1 -7
- package/dist/helpers/reflect.d.cts +6 -72
- package/dist/helpers/reflect.d.mts +6 -0
- package/dist/helpers/reflect.mjs +1 -0
- package/dist/helpers/source-file-env.cjs +1 -7
- package/dist/helpers/source-file-env.d.cts +2 -7
- package/dist/helpers/source-file-env.d.mts +2 -0
- package/dist/helpers/source-file-env.mjs +1 -0
- package/dist/helpers/template-helpers.cjs +1 -7
- package/dist/helpers/template-helpers.d.cts +6 -41
- package/dist/helpers/template-helpers.d.mts +6 -0
- package/dist/helpers/template-helpers.mjs +1 -0
- package/dist/helpers-DfMThUgD.mjs +1 -0
- package/dist/helpers-YGhXHw5G.cjs +0 -0
- package/dist/index-BRBK9zG-.d.cts +1 -0
- package/dist/index-Bt4QNofW.d.mts +1 -0
- package/dist/index-CRo77wc3.d.mts +1 -0
- package/dist/index-CspKFJM1.d.cts +1 -0
- package/dist/index-DPDDjaRF.d.cts +42 -0
- package/dist/index-DPDDjaRF.d.cts.map +1 -0
- package/dist/index-DZnZEdDI.d.mts +42 -0
- package/dist/index-DZnZEdDI.d.mts.map +1 -0
- package/dist/index-Dpmi5zcN.d.cts +1 -0
- package/dist/index-Wc1llEvP.d.mts +1 -0
- package/dist/index.cjs +5 -10
- package/dist/index.d.cts +17 -71
- package/dist/index.d.mts +17 -0
- package/dist/index.mjs +18 -0
- package/dist/index.mjs.map +1 -0
- package/dist/load-BZTlThWg.mjs +2 -0
- package/dist/load-BZTlThWg.mjs.map +1 -0
- package/dist/load-C4lA54bJ.d.mts +39 -0
- package/dist/load-C4lA54bJ.d.mts.map +1 -0
- package/dist/load-CN-Mm8-g.d.cts +36 -0
- package/dist/load-CN-Mm8-g.d.cts.map +1 -0
- package/dist/load-nUlit5lR.cjs +1 -0
- package/dist/persistence-Br-YMVb1.mjs +15 -0
- package/dist/persistence-Br-YMVb1.mjs.map +1 -0
- package/dist/{helpers/persistence.d.ts → persistence-CeAmYbDK.d.cts} +15 -38
- package/dist/persistence-CeAmYbDK.d.cts.map +1 -0
- package/dist/persistence-DSKai3M7.d.mts +85 -0
- package/dist/persistence-DSKai3M7.d.mts.map +1 -0
- package/dist/persistence-KaP3-ka1.cjs +14 -0
- package/dist/plugin-CRYQ682C.cjs +0 -0
- package/dist/plugin-CYiqhftf.d.cts +1716 -0
- package/dist/plugin-CYiqhftf.d.cts.map +1 -0
- package/dist/plugin-CdupbOcS.d.mts +1716 -0
- package/dist/plugin-CdupbOcS.d.mts.map +1 -0
- package/dist/plugin-Cx61c9gw.mjs +6 -0
- package/dist/plugin-Cx61c9gw.mjs.map +1 -0
- package/dist/plugin-DrnPbdzR.mjs +1 -0
- package/dist/plugin-v-FJGggy.cjs +5 -0
- package/dist/reflect-biXSZqcW.d.mts +47 -0
- package/dist/reflect-biXSZqcW.d.mts.map +1 -0
- package/dist/reflect-gaw4hJ9H.d.cts +47 -0
- package/dist/reflect-gaw4hJ9H.d.cts.map +1 -0
- package/dist/runtime-BWa_ko5I.d.mts +795 -0
- package/dist/runtime-BWa_ko5I.d.mts.map +1 -0
- package/dist/runtime-BYdaCpVq.d.cts +795 -0
- package/dist/runtime-BYdaCpVq.d.cts.map +1 -0
- package/dist/runtime-BaZivi6m.cjs +0 -0
- package/dist/runtime-DqCYc37d.mjs +1 -0
- package/dist/source-file-CLCTB4C7.cjs +1 -0
- package/dist/source-file-CjFSCK1w.mjs +2 -0
- package/dist/source-file-CjFSCK1w.mjs.map +1 -0
- package/dist/source-file-env-BDFTs5WJ.mjs +2 -0
- package/dist/source-file-env-BDFTs5WJ.mjs.map +1 -0
- package/dist/source-file-env-C6uYyxww.cjs +1 -0
- package/dist/{helpers/source-file-env.d.ts → source-file-env-DonDJDV1.d.cts} +5 -3
- package/dist/source-file-env-DonDJDV1.d.cts.map +1 -0
- package/dist/source-file-env-DzpWKluw.d.mts +9 -0
- package/dist/source-file-env-DzpWKluw.d.mts.map +1 -0
- package/dist/template-helpers-BSbamu0U.cjs +1 -0
- package/dist/template-helpers-BaMJZc5X.d.cts +16 -0
- package/dist/template-helpers-BaMJZc5X.d.cts.map +1 -0
- package/dist/template-helpers-CLrM_TtO.mjs +2 -0
- package/dist/template-helpers-CLrM_TtO.mjs.map +1 -0
- package/dist/template-helpers-LJwCi0e-.d.mts +16 -0
- package/dist/template-helpers-LJwCi0e-.d.mts.map +1 -0
- package/dist/type-CnPIyotQ.d.mts +4 -0
- package/dist/type-CnPIyotQ.d.mts.map +1 -0
- package/dist/type-D6dRgWJT.d.cts +4 -0
- package/dist/type-D6dRgWJT.d.cts.map +1 -0
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.d.cts +6 -30
- package/dist/types/index.d.mts +6 -0
- package/dist/types/index.mjs +1 -0
- package/dist/types/plugin.cjs +1 -1
- package/dist/types/plugin.d.cts +5 -1733
- package/dist/types/plugin.d.mts +5 -0
- package/dist/types/plugin.mjs +1 -0
- package/dist/types/runtime.cjs +1 -1
- package/dist/types/runtime.d.cts +3 -25
- package/dist/types/runtime.d.mts +3 -0
- package/dist/types/runtime.mjs +1 -0
- package/dist/types-BCto_Rzj.mjs +1 -0
- package/dist/types-DS7T32tb.cjs +0 -0
- package/dist/utilities-4S--uN0L.mjs +2 -0
- package/dist/utilities-4S--uN0L.mjs.map +1 -0
- package/dist/utilities-CxyT2chk.cjs +1 -0
- package/package.json +67 -56
- package/dist/babel/index.d.ts +0 -31
- package/dist/babel/index.js +0 -1
- package/dist/babel/plugin.d.ts +0 -34
- package/dist/babel/plugin.js +0 -19
- package/dist/chunk-FBBMZ4NC.cjs +0 -7
- package/dist/chunk-UCUR73HG.js +0 -7
- package/dist/components/env.d.ts +0 -105
- package/dist/components/env.js +0 -40
- package/dist/components/index.d.ts +0 -8
- package/dist/components/index.js +0 -1
- package/dist/fs-ECFlqnPg.d.cts +0 -378
- package/dist/fs-ECFlqnPg.d.ts +0 -378
- package/dist/helpers/index.d.ts +0 -35
- package/dist/helpers/index.js +0 -1
- package/dist/helpers/load.d.ts +0 -60
- package/dist/helpers/load.js +0 -7
- package/dist/helpers/persistence.js +0 -7
- package/dist/helpers/reflect.d.ts +0 -72
- package/dist/helpers/reflect.js +0 -7
- package/dist/helpers/source-file-env.js +0 -7
- package/dist/helpers/template-helpers.d.ts +0 -41
- package/dist/helpers/template-helpers.js +0 -7
- package/dist/index.d.ts +0 -71
- package/dist/index.js +0 -22
- package/dist/runtime-B75FziIk.d.ts +0 -2011
- package/dist/runtime-DqYFxAEo.d.cts +0 -2011
- package/dist/types/index.d.ts +0 -30
- package/dist/types/index.js +0 -1
- package/dist/types/plugin.d.ts +0 -1733
- package/dist/types/runtime.d.ts +0 -25
- /package/dist/{types/plugin.js → babel-Bmzkjy1p.cjs} +0 -0
- /package/dist/{types/runtime.js → components-BWruXLSx.cjs} +0 -0
|
@@ -1,33 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import '@stryke/types/base';
|
|
8
|
-
import '@stryke/types/package-json';
|
|
9
|
-
import 'jiti';
|
|
10
|
-
import 'magic-string';
|
|
11
|
-
import 'oxc-parser';
|
|
12
|
-
import 'semver';
|
|
13
|
-
import 'ts-morph';
|
|
14
|
-
import 'undici';
|
|
15
|
-
import 'unplugin';
|
|
16
|
-
import '@babel/core';
|
|
17
|
-
import '@storm-software/build-tools/types';
|
|
18
|
-
import '@storm-software/config-tools/types';
|
|
19
|
-
import '@storm-software/config/types';
|
|
20
|
-
import '@stryke/types/file';
|
|
21
|
-
import 'vite';
|
|
22
|
-
import '@babel/helper-plugin-utils';
|
|
23
|
-
import '../fs-ECFlqnPg.js';
|
|
24
|
-
import '@stryke/fs/resolve';
|
|
25
|
-
import '@stryke/types/array';
|
|
26
|
-
import '@stryke/types/tsconfig';
|
|
27
|
-
import 'typescript';
|
|
28
|
-
import '@alloy-js/core/jsx-runtime';
|
|
29
|
-
import '@stryke/capnp';
|
|
30
|
-
import '@stryke/env/types';
|
|
1
|
+
import { t as type_d_exports } from "./type-D6dRgWJT.cjs";
|
|
2
|
+
import { a as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "./plugin-CYiqhftf.cjs";
|
|
3
|
+
import { i as Context, s as UnresolvedContext } from "./config-DO3dqNWo.cjs";
|
|
4
|
+
import { TypeDefinition } from "@stryke/types/configuration";
|
|
5
|
+
|
|
6
|
+
//#region src/helpers/persistence.d.ts
|
|
31
7
|
|
|
32
8
|
/**
|
|
33
9
|
* Resolves the runtime type definition file for the environment variables.
|
|
@@ -64,7 +40,7 @@ declare function getEnvTypeReflectionsPath(context: Context<EnvPluginResolvedCon
|
|
|
64
40
|
* @param name - The name of the type reflections.
|
|
65
41
|
* @returns The environment type reflection.
|
|
66
42
|
*/
|
|
67
|
-
declare function readEnvTypeReflection(context: EnvPluginContext, name?: EnvType): Promise<ReflectionClass<any>>;
|
|
43
|
+
declare function readEnvTypeReflection(context: EnvPluginContext, name?: EnvType): Promise<type_d_exports.ReflectionClass<any>>;
|
|
68
44
|
/**
|
|
69
45
|
* Writes the environment type reflection to the file system.
|
|
70
46
|
*
|
|
@@ -72,7 +48,7 @@ declare function readEnvTypeReflection(context: EnvPluginContext, name?: EnvType
|
|
|
72
48
|
* @param reflection - The environment type reflection to write.
|
|
73
49
|
* @param name - The name of the type reflections.
|
|
74
50
|
*/
|
|
75
|
-
declare function writeEnvTypeReflection(context: EnvPluginContext, reflection: ReflectionClass<any>, name?: EnvType): Promise<void>;
|
|
51
|
+
declare function writeEnvTypeReflection(context: EnvPluginContext, reflection: type_d_exports.ReflectionClass<any>, name?: EnvType): Promise<void>;
|
|
76
52
|
declare function getEnvReflectionsPath(context: EnvPluginContext, name: EnvType): string;
|
|
77
53
|
/**
|
|
78
54
|
* Reads the environment reflection data from the file system.
|
|
@@ -80,14 +56,14 @@ declare function getEnvReflectionsPath(context: EnvPluginContext, name: EnvType)
|
|
|
80
56
|
* @param context - The plugin context.
|
|
81
57
|
* @returns The environment reflection data.
|
|
82
58
|
*/
|
|
83
|
-
declare function readEnvReflection(context: EnvPluginContext): Promise<ReflectionClass<any>>;
|
|
59
|
+
declare function readEnvReflection(context: EnvPluginContext): Promise<type_d_exports.ReflectionClass<any>>;
|
|
84
60
|
/**
|
|
85
61
|
* Reads the secret environment reflection data from the file system.
|
|
86
62
|
*
|
|
87
63
|
* @param context - The plugin context.
|
|
88
64
|
* @returns The environment reflection data.
|
|
89
65
|
*/
|
|
90
|
-
declare function readSecretsReflection(context: EnvPluginContext): Promise<ReflectionClass<any>>;
|
|
66
|
+
declare function readSecretsReflection(context: EnvPluginContext): Promise<type_d_exports.ReflectionClass<any>>;
|
|
91
67
|
/**
|
|
92
68
|
* Writes the environment reflection data to the file system.
|
|
93
69
|
*
|
|
@@ -95,7 +71,7 @@ declare function readSecretsReflection(context: EnvPluginContext): Promise<Refle
|
|
|
95
71
|
* @param reflection - The reflection data to write.
|
|
96
72
|
* @param name - The name of the reflection (either "env" or "secrets").
|
|
97
73
|
*/
|
|
98
|
-
declare function writeEnvReflection(context: EnvPluginContext, reflection: ReflectionClass<any>, name?: EnvType): Promise<void>;
|
|
74
|
+
declare function writeEnvReflection(context: EnvPluginContext, reflection: type_d_exports.ReflectionClass<any>, name?: EnvType): Promise<void>;
|
|
99
75
|
/**
|
|
100
76
|
* Writes the environment reflection data to the file system.
|
|
101
77
|
*
|
|
@@ -103,6 +79,7 @@ declare function writeEnvReflection(context: EnvPluginContext, reflection: Refle
|
|
|
103
79
|
* @param reflection - The reflection data to write.
|
|
104
80
|
* @param name - The name of the reflection (either "env" or "secrets").
|
|
105
81
|
*/
|
|
106
|
-
declare function writeEnvReflectionSync(context: EnvPluginContext, reflection: ReflectionClass<any>, name?: EnvType): void;
|
|
107
|
-
|
|
108
|
-
export {
|
|
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 };
|
|
85
|
+
//# sourceMappingURL=persistence-CeAmYbDK.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"persistence-CeAmYbDK.d.cts","names":[],"sources":["../src/helpers/persistence.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAqDA;;;;AAEU,iBAF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,8BACG,cAAA,CAAA,6BACN"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { t as type_d_exports } from "./type-CnPIyotQ.mjs";
|
|
2
|
+
import { a as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "./plugin-CdupbOcS.mjs";
|
|
3
|
+
import { i as Context, s as UnresolvedContext } from "./config-BgxhYOhP.mjs";
|
|
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 };
|
|
85
|
+
//# sourceMappingURL=persistence-DSKai3M7.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"persistence-DSKai3M7.d.mts","names":[],"sources":["../src/helpers/persistence.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAqDA;;;;AAEU,iBAFY,sBAAA,CAEZ,OAAA,EADC,iBACD,CADmB,uBACnB,CAAA,CAAA,EAAP,OAAO,CAAA,MAAA,CAAA;AAkBV;;;;;;AAcsB,iBAdA,2BAAA,CAc+B,OAAA,EAb1C,iBAa0C,CAbxB,uBAawB,CAAA,CAAA,EAZlD,OAYkD,CAZ1C,cAY0C,CAAA;;;;;;AAgBrC,iBAhBM,+BAAA,CAgBmB,OAAA,EAf9B,iBAe8B,CAfZ,uBAeY,CAAA,CAAA,EAdtC,OAcsC,CAd9B,cAc8B,CAAA;;;;;AAczC;;;AAGW,iBAjBK,yBAAA,CAiBL,OAAA,EAhBA,OAgBA,CAhBQ,uBAgBR,CAAA,EAAA,IAAA,CAAA,EAfH,OAeG,CAAA,EAAA,MAAA;;;AAuCX;;;;;AAGuB,iBA7CD,qBAAA,CA6CC,OAAA,EA5CZ,gBA4CY,EAAA,IAAA,CAAA,EA3Cf,OA2Ce,C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