@zodic/shared 0.0.326 → 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
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.');
|
package/package.json
CHANGED
|
@@ -22,6 +22,7 @@ export type CentralBindings = {
|
|
|
22
22
|
DESCRIBER_APP_ID: string;
|
|
23
23
|
AKOOL_API_KEY: string;
|
|
24
24
|
KV_COSMIC_MIRROR_ARCHETYPES: KVNamespace;
|
|
25
|
+
KV_COSMIC_MIRROR_MANAGEMENT: KVNamespace;
|
|
25
26
|
KV_CONCEPTS: KVNamespace;
|
|
26
27
|
KV_CONCEPTS_MANAGEMENT: KVNamespace;
|
|
27
28
|
KV_ASTRO: KVNamespace;
|
|
@@ -102,6 +103,7 @@ export type BackendBindings = Env &
|
|
|
102
103
|
| 'DESCRIBER_APP_ID'
|
|
103
104
|
| 'AKOOL_API_KEY'
|
|
104
105
|
| 'KV_COSMIC_MIRROR_ARCHETYPES'
|
|
106
|
+
| 'KV_COSMIC_MIRROR_MANAGEMENT'
|
|
105
107
|
| 'KV_CONCEPTS'
|
|
106
108
|
| 'KV_ASTRO'
|
|
107
109
|
| 'KV_CONCEPTS_MANAGEMENT'
|