@zodic/shared 0.0.281 → 0.0.283
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/package.json
CHANGED
|
@@ -10,6 +10,8 @@ import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
|
10
10
|
import { Context, Env } from 'hono';
|
|
11
11
|
import type { Container } from 'inversify';
|
|
12
12
|
|
|
13
|
+
export type Environment = 'dev' | 'stg' | 'prod';
|
|
14
|
+
|
|
13
15
|
export type CentralBindings = {
|
|
14
16
|
TEST_IMAGES_BUCKET: R2Bucket;
|
|
15
17
|
PHOTOS_BUCKET: R2Bucket;
|
|
@@ -66,6 +68,7 @@ export type CentralBindings = {
|
|
|
66
68
|
PIAPI_API_KEY: string;
|
|
67
69
|
DEEPSEEK_API_KEY: string;
|
|
68
70
|
TOGETHER_API_KEY: string;
|
|
71
|
+
ENV: Environment;
|
|
69
72
|
|
|
70
73
|
API_BASE_URL: string;
|
|
71
74
|
PUBLIC_GOOGLE_CLIENT_ID: string;
|
|
@@ -133,6 +136,7 @@ export type BackendBindings = Env &
|
|
|
133
136
|
| 'ORB_QUEUE'
|
|
134
137
|
| 'KV_API_USAGE'
|
|
135
138
|
| 'KV_CONCEPT_CACHE'
|
|
139
|
+
| 'ENV'
|
|
136
140
|
>;
|
|
137
141
|
|
|
138
142
|
export type BackendCtx = Context<
|
|
@@ -153,6 +157,7 @@ export type FrontendBindings = Pick<
|
|
|
153
157
|
| 'PUBLIC_APP_VERSION'
|
|
154
158
|
| 'PUBLIC_ANALYTICS_ID'
|
|
155
159
|
| 'KV_API_USAGE'
|
|
160
|
+
| 'ENV'
|
|
156
161
|
>;
|
|
157
162
|
|
|
158
163
|
export type FrontCtx = Context<
|
|
@@ -181,6 +186,7 @@ export type AuthBindings = Env &
|
|
|
181
186
|
| 'DRIZZLE'
|
|
182
187
|
| 'GOOGLE_TIMEZONE_API_KEY'
|
|
183
188
|
| 'KV_OAUTH_STATE'
|
|
189
|
+
| 'ENV'
|
|
184
190
|
>;
|
|
185
191
|
|
|
186
192
|
export type AuthCtx = Context<
|