@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.
Files changed (199) hide show
  1. package/README.md +8 -2
  2. package/dist/babel/index.cjs +1 -1
  3. package/dist/babel/index.d.cts +17 -31
  4. package/dist/babel/index.d.mts +17 -0
  5. package/dist/babel/index.mjs +1 -0
  6. package/dist/babel/plugin.cjs +1 -19
  7. package/dist/babel/plugin.d.cts +17 -34
  8. package/dist/babel/plugin.d.mts +17 -0
  9. package/dist/babel/plugin.mjs +1 -0
  10. package/dist/babel-CE47sTzg.mjs +1 -0
  11. package/dist/chunk-CbqXBSoN.mjs +1 -0
  12. package/dist/chunk-DT2f8AgL.cjs +1 -0
  13. package/dist/components/docs.cjs +1 -0
  14. package/dist/components/docs.d.cts +2 -0
  15. package/dist/components/docs.d.mts +2 -0
  16. package/dist/components/docs.mjs +1 -0
  17. package/dist/components/env.cjs +1 -40
  18. package/dist/components/env.d.cts +4 -105
  19. package/dist/components/env.d.mts +4 -0
  20. package/dist/components/env.mjs +1 -0
  21. package/dist/components/index.cjs +1 -1
  22. package/dist/components/index.d.cts +6 -8
  23. package/dist/components/index.d.mts +6 -0
  24. package/dist/components/index.mjs +1 -0
  25. package/dist/components-LyHNrcZE.mjs +1 -0
  26. package/dist/config-BgxhYOhP.d.mts +1682 -0
  27. package/dist/config-BgxhYOhP.d.mts.map +1 -0
  28. package/dist/config-DO3dqNWo.d.cts +1680 -0
  29. package/dist/config-DO3dqNWo.d.cts.map +1 -0
  30. package/dist/create-reflection-resource-BQ5mItFl.d.mts +16 -0
  31. package/dist/create-reflection-resource-BQ5mItFl.d.mts.map +1 -0
  32. package/dist/create-reflection-resource-CQHJrkQi.cjs +1 -0
  33. package/dist/create-reflection-resource-Cwclmcyo.d.cts +16 -0
  34. package/dist/create-reflection-resource-Cwclmcyo.d.cts.map +1 -0
  35. package/dist/create-reflection-resource-UtOwX4Ml.mjs +2 -0
  36. package/dist/create-reflection-resource-UtOwX4Ml.mjs.map +1 -0
  37. package/dist/docs-BDiEhcDa.mjs +2 -0
  38. package/dist/docs-BDiEhcDa.mjs.map +1 -0
  39. package/dist/docs-Bhi9smBO.cjs +1 -0
  40. package/dist/docs-BoZkRBO4.d.cts +10 -0
  41. package/dist/docs-BoZkRBO4.d.cts.map +1 -0
  42. package/dist/docs-BwK6pC_c.d.mts +10 -0
  43. package/dist/docs-BwK6pC_c.d.mts.map +1 -0
  44. package/dist/env-0C9Vc_CF.cjs +34 -0
  45. package/dist/env-BpSAx122.d.mts +113 -0
  46. package/dist/env-BpSAx122.d.mts.map +1 -0
  47. package/dist/env-D4MK9BWK.mjs +32 -0
  48. package/dist/env-D4MK9BWK.mjs.map +1 -0
  49. package/dist/env-Mgv4u8VY.d.cts +113 -0
  50. package/dist/env-Mgv4u8VY.d.cts.map +1 -0
  51. package/dist/helpers/create-reflection-resource.cjs +1 -0
  52. package/dist/helpers/create-reflection-resource.d.cts +6 -0
  53. package/dist/helpers/create-reflection-resource.d.mts +6 -0
  54. package/dist/helpers/create-reflection-resource.mjs +1 -0
  55. package/dist/helpers/index.cjs +1 -1
  56. package/dist/helpers/index.d.cts +12 -35
  57. package/dist/helpers/index.d.mts +12 -0
  58. package/dist/helpers/index.mjs +1 -0
  59. package/dist/helpers/load.cjs +1 -7
  60. package/dist/helpers/load.d.cts +6 -60
  61. package/dist/helpers/load.d.mts +6 -0
  62. package/dist/helpers/load.mjs +1 -0
  63. package/dist/helpers/persistence.cjs +1 -7
  64. package/dist/helpers/persistence.d.cts +6 -108
  65. package/dist/helpers/persistence.d.mts +6 -0
  66. package/dist/helpers/persistence.mjs +1 -0
  67. package/dist/helpers/reflect.cjs +1 -7
  68. package/dist/helpers/reflect.d.cts +6 -72
  69. package/dist/helpers/reflect.d.mts +6 -0
  70. package/dist/helpers/reflect.mjs +1 -0
  71. package/dist/helpers/source-file-env.cjs +1 -7
  72. package/dist/helpers/source-file-env.d.cts +2 -7
  73. package/dist/helpers/source-file-env.d.mts +2 -0
  74. package/dist/helpers/source-file-env.mjs +1 -0
  75. package/dist/helpers/template-helpers.cjs +1 -7
  76. package/dist/helpers/template-helpers.d.cts +6 -41
  77. package/dist/helpers/template-helpers.d.mts +6 -0
  78. package/dist/helpers/template-helpers.mjs +1 -0
  79. package/dist/helpers-DfMThUgD.mjs +1 -0
  80. package/dist/helpers-YGhXHw5G.cjs +0 -0
  81. package/dist/index-BRBK9zG-.d.cts +1 -0
  82. package/dist/index-Bt4QNofW.d.mts +1 -0
  83. package/dist/index-CRo77wc3.d.mts +1 -0
  84. package/dist/index-CspKFJM1.d.cts +1 -0
  85. package/dist/index-DPDDjaRF.d.cts +42 -0
  86. package/dist/index-DPDDjaRF.d.cts.map +1 -0
  87. package/dist/index-DZnZEdDI.d.mts +42 -0
  88. package/dist/index-DZnZEdDI.d.mts.map +1 -0
  89. package/dist/index-Dpmi5zcN.d.cts +1 -0
  90. package/dist/index-Wc1llEvP.d.mts +1 -0
  91. package/dist/index.cjs +5 -10
  92. package/dist/index.d.cts +17 -71
  93. package/dist/index.d.mts +17 -0
  94. package/dist/index.mjs +18 -0
  95. package/dist/index.mjs.map +1 -0
  96. package/dist/load-BZTlThWg.mjs +2 -0
  97. package/dist/load-BZTlThWg.mjs.map +1 -0
  98. package/dist/load-C4lA54bJ.d.mts +39 -0
  99. package/dist/load-C4lA54bJ.d.mts.map +1 -0
  100. package/dist/load-CN-Mm8-g.d.cts +36 -0
  101. package/dist/load-CN-Mm8-g.d.cts.map +1 -0
  102. package/dist/load-nUlit5lR.cjs +1 -0
  103. package/dist/persistence-Br-YMVb1.mjs +15 -0
  104. package/dist/persistence-Br-YMVb1.mjs.map +1 -0
  105. package/dist/{helpers/persistence.d.ts → persistence-CeAmYbDK.d.cts} +15 -38
  106. package/dist/persistence-CeAmYbDK.d.cts.map +1 -0
  107. package/dist/persistence-DSKai3M7.d.mts +85 -0
  108. package/dist/persistence-DSKai3M7.d.mts.map +1 -0
  109. package/dist/persistence-KaP3-ka1.cjs +14 -0
  110. package/dist/plugin-CRYQ682C.cjs +0 -0
  111. package/dist/plugin-CYiqhftf.d.cts +1716 -0
  112. package/dist/plugin-CYiqhftf.d.cts.map +1 -0
  113. package/dist/plugin-CdupbOcS.d.mts +1716 -0
  114. package/dist/plugin-CdupbOcS.d.mts.map +1 -0
  115. package/dist/plugin-Cx61c9gw.mjs +6 -0
  116. package/dist/plugin-Cx61c9gw.mjs.map +1 -0
  117. package/dist/plugin-DrnPbdzR.mjs +1 -0
  118. package/dist/plugin-v-FJGggy.cjs +5 -0
  119. package/dist/reflect-biXSZqcW.d.mts +47 -0
  120. package/dist/reflect-biXSZqcW.d.mts.map +1 -0
  121. package/dist/reflect-gaw4hJ9H.d.cts +47 -0
  122. package/dist/reflect-gaw4hJ9H.d.cts.map +1 -0
  123. package/dist/runtime-BWa_ko5I.d.mts +795 -0
  124. package/dist/runtime-BWa_ko5I.d.mts.map +1 -0
  125. package/dist/runtime-BYdaCpVq.d.cts +795 -0
  126. package/dist/runtime-BYdaCpVq.d.cts.map +1 -0
  127. package/dist/runtime-BaZivi6m.cjs +0 -0
  128. package/dist/runtime-DqCYc37d.mjs +1 -0
  129. package/dist/source-file-CLCTB4C7.cjs +1 -0
  130. package/dist/source-file-CjFSCK1w.mjs +2 -0
  131. package/dist/source-file-CjFSCK1w.mjs.map +1 -0
  132. package/dist/source-file-env-BDFTs5WJ.mjs +2 -0
  133. package/dist/source-file-env-BDFTs5WJ.mjs.map +1 -0
  134. package/dist/source-file-env-C6uYyxww.cjs +1 -0
  135. package/dist/{helpers/source-file-env.d.ts → source-file-env-DonDJDV1.d.cts} +5 -3
  136. package/dist/source-file-env-DonDJDV1.d.cts.map +1 -0
  137. package/dist/source-file-env-DzpWKluw.d.mts +9 -0
  138. package/dist/source-file-env-DzpWKluw.d.mts.map +1 -0
  139. package/dist/template-helpers-BSbamu0U.cjs +1 -0
  140. package/dist/template-helpers-BaMJZc5X.d.cts +16 -0
  141. package/dist/template-helpers-BaMJZc5X.d.cts.map +1 -0
  142. package/dist/template-helpers-CLrM_TtO.mjs +2 -0
  143. package/dist/template-helpers-CLrM_TtO.mjs.map +1 -0
  144. package/dist/template-helpers-LJwCi0e-.d.mts +16 -0
  145. package/dist/template-helpers-LJwCi0e-.d.mts.map +1 -0
  146. package/dist/type-CnPIyotQ.d.mts +4 -0
  147. package/dist/type-CnPIyotQ.d.mts.map +1 -0
  148. package/dist/type-D6dRgWJT.d.cts +4 -0
  149. package/dist/type-D6dRgWJT.d.cts.map +1 -0
  150. package/dist/types/index.cjs +1 -1
  151. package/dist/types/index.d.cts +6 -30
  152. package/dist/types/index.d.mts +6 -0
  153. package/dist/types/index.mjs +1 -0
  154. package/dist/types/plugin.cjs +1 -1
  155. package/dist/types/plugin.d.cts +5 -1733
  156. package/dist/types/plugin.d.mts +5 -0
  157. package/dist/types/plugin.mjs +1 -0
  158. package/dist/types/runtime.cjs +1 -1
  159. package/dist/types/runtime.d.cts +3 -25
  160. package/dist/types/runtime.d.mts +3 -0
  161. package/dist/types/runtime.mjs +1 -0
  162. package/dist/types-BCto_Rzj.mjs +1 -0
  163. package/dist/types-DS7T32tb.cjs +0 -0
  164. package/dist/utilities-4S--uN0L.mjs +2 -0
  165. package/dist/utilities-4S--uN0L.mjs.map +1 -0
  166. package/dist/utilities-CxyT2chk.cjs +1 -0
  167. package/package.json +67 -56
  168. package/dist/babel/index.d.ts +0 -31
  169. package/dist/babel/index.js +0 -1
  170. package/dist/babel/plugin.d.ts +0 -34
  171. package/dist/babel/plugin.js +0 -19
  172. package/dist/chunk-FBBMZ4NC.cjs +0 -7
  173. package/dist/chunk-UCUR73HG.js +0 -7
  174. package/dist/components/env.d.ts +0 -105
  175. package/dist/components/env.js +0 -40
  176. package/dist/components/index.d.ts +0 -8
  177. package/dist/components/index.js +0 -1
  178. package/dist/fs-ECFlqnPg.d.cts +0 -378
  179. package/dist/fs-ECFlqnPg.d.ts +0 -378
  180. package/dist/helpers/index.d.ts +0 -35
  181. package/dist/helpers/index.js +0 -1
  182. package/dist/helpers/load.d.ts +0 -60
  183. package/dist/helpers/load.js +0 -7
  184. package/dist/helpers/persistence.js +0 -7
  185. package/dist/helpers/reflect.d.ts +0 -72
  186. package/dist/helpers/reflect.js +0 -7
  187. package/dist/helpers/source-file-env.js +0 -7
  188. package/dist/helpers/template-helpers.d.ts +0 -41
  189. package/dist/helpers/template-helpers.js +0 -7
  190. package/dist/index.d.ts +0 -71
  191. package/dist/index.js +0 -22
  192. package/dist/runtime-B75FziIk.d.ts +0 -2011
  193. package/dist/runtime-DqYFxAEo.d.cts +0 -2011
  194. package/dist/types/index.d.ts +0 -30
  195. package/dist/types/index.js +0 -1
  196. package/dist/types/plugin.d.ts +0 -1733
  197. package/dist/types/runtime.d.ts +0 -25
  198. /package/dist/{types/plugin.js → babel-Bmzkjy1p.cjs} +0 -0
  199. /package/dist/{types/runtime.js → components-BWruXLSx.cjs} +0 -0
@@ -1,33 +1,9 @@
1
- import { ReflectionClass } from '@deepkit/type';
2
- import { TypeDefinition } from '@stryke/types/configuration';
3
- import { U as UnresolvedContext, C as Context } from '../runtime-B75FziIk.js';
4
- import { EnvPluginResolvedConfig, EnvType, EnvPluginContext } from '../types/plugin.js';
5
- import '@stryke/env/get-env-paths';
6
- import '@stryke/http/fetch';
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 { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectionsPath, getSecretsDefaultTypeDefinition, readEnvReflection, readEnvTypeReflection, readSecretsReflection, resolveRuntimeTypeFile, writeEnvReflection, writeEnvReflectionSync, writeEnvTypeReflection };
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 @@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A,UACX,mBACR,QAAQ,cAAA,CAAA;;;;;;;;iBA2DW,kBAAA,UACX,8BACG,cAAA,CAAA,6BACN,UAAe;;;;;;;;iBAsBP,sBAAA,UACL,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
@@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