@zodic/shared 0.0.327 → 0.0.328
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/app/base/AppContext.ts +9 -0
- package/package.json +1 -1
package/app/base/AppContext.ts
CHANGED
|
@@ -22,6 +22,15 @@ export class AppContext {
|
|
|
22
22
|
return this.env.KV_COSMIC_MIRROR_ARCHETYPES;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
kvCosmicMirrorManagementStore() {
|
|
26
|
+
if (!this.env.KV_COSMIC_MIRROR_MANAGEMENT) {
|
|
27
|
+
throw new Error(
|
|
28
|
+
'KV_COSMIC_MIRROR_MANAGEMENT is not defined in the environment.'
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
return this.env.KV_COSMIC_MIRROR_MANAGEMENT;
|
|
32
|
+
}
|
|
33
|
+
|
|
25
34
|
kvConceptsStore() {
|
|
26
35
|
if (!this.env.KV_CONCEPTS) {
|
|
27
36
|
throw new Error('KV_CONCEPTS is not defined in the environment.');
|