@ooneex/app-env 1.0.1 → 1.1.0
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/dist/index.d.ts +118 -4
- package/dist/index.js +3 -2
- package/dist/index.js.map +5 -5
- package/package.json +5 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type AppEnvClassType = new (
|
|
1
|
+
type AppEnvClassType = new () => IAppEnv;
|
|
2
2
|
declare enum Environment {
|
|
3
3
|
LOCAL = "local",
|
|
4
4
|
DEVELOPMENT = "development",
|
|
@@ -18,7 +18,6 @@ declare enum Environment {
|
|
|
18
18
|
}
|
|
19
19
|
type EnvironmentNameType = `${Environment}`;
|
|
20
20
|
interface IAppEnv {
|
|
21
|
-
readonly env: EnvironmentNameType;
|
|
22
21
|
readonly isLocal: boolean;
|
|
23
22
|
readonly isDevelopment: boolean;
|
|
24
23
|
readonly isStaging: boolean;
|
|
@@ -34,9 +33,66 @@ interface IAppEnv {
|
|
|
34
33
|
readonly isCanary: boolean;
|
|
35
34
|
readonly isHotfix: boolean;
|
|
36
35
|
readonly isProduction: boolean;
|
|
36
|
+
readonly APP_ENV: EnvironmentNameType;
|
|
37
|
+
readonly PORT: number;
|
|
38
|
+
readonly HOST_NAME: string;
|
|
39
|
+
readonly LOGS_DATABASE_URL: string | undefined;
|
|
40
|
+
readonly LOGTAIL_SOURCE_TOKEN: string | undefined;
|
|
41
|
+
readonly LOGTAIL_ENDPOINT: string | undefined;
|
|
42
|
+
readonly BETTERSTACK_APPLICATION_TOKEN: string | undefined;
|
|
43
|
+
readonly BETTERSTACK_INGESTING_HOST: string | undefined;
|
|
44
|
+
readonly ANALYTICS_POSTHOG_API_KEY: string | undefined;
|
|
45
|
+
readonly ANALYTICS_POSTHOG_HOST: string | undefined;
|
|
46
|
+
readonly CACHE_REDIS_URL: string | undefined;
|
|
47
|
+
readonly PUBSUB_REDIS_URL: string | undefined;
|
|
48
|
+
readonly RATE_LIMIT_REDIS_URL: string | undefined;
|
|
49
|
+
readonly CORS_ORIGINS: string | undefined;
|
|
50
|
+
readonly CORS_METHODS: string | undefined;
|
|
51
|
+
readonly CORS_HEADERS: string | undefined;
|
|
52
|
+
readonly CORS_EXPOSED_HEADERS: string | undefined;
|
|
53
|
+
readonly CORS_CREDENTIALS: string | undefined;
|
|
54
|
+
readonly CORS_MAX_AGE: string | undefined;
|
|
55
|
+
readonly STORAGE_CLOUDFLARE_ACCESS_KEY: string | undefined;
|
|
56
|
+
readonly STORAGE_CLOUDFLARE_SECRET_KEY: string | undefined;
|
|
57
|
+
readonly STORAGE_CLOUDFLARE_ENDPOINT: string | undefined;
|
|
58
|
+
readonly STORAGE_CLOUDFLARE_REGION: string | undefined;
|
|
59
|
+
readonly STORAGE_BUNNY_ACCESS_KEY: string | undefined;
|
|
60
|
+
readonly STORAGE_BUNNY_STORAGE_ZONE: string | undefined;
|
|
61
|
+
readonly STORAGE_BUNNY_REGION: string | undefined;
|
|
62
|
+
readonly FILESYSTEM_STORAGE_PATH: string | undefined;
|
|
63
|
+
readonly DATABASE_URL: string | undefined;
|
|
64
|
+
readonly DATABASE_REDIS_URL: string | undefined;
|
|
65
|
+
readonly SQLITE_DATABASE_PATH: string | undefined;
|
|
66
|
+
readonly MAILER_SENDER_NAME: string | undefined;
|
|
67
|
+
readonly MAILER_SENDER_ADDRESS: string | undefined;
|
|
68
|
+
readonly RESEND_API_KEY: string | undefined;
|
|
69
|
+
readonly JWT_SECRET: string | undefined;
|
|
70
|
+
readonly OPENAI_API_KEY: string | undefined;
|
|
71
|
+
readonly ANTHROPIC_API_KEY: string | undefined;
|
|
72
|
+
readonly GEMINI_API_KEY: string | undefined;
|
|
73
|
+
readonly GROQ_API_KEY: string | undefined;
|
|
74
|
+
readonly OLLAMA_HOST: string | undefined;
|
|
75
|
+
readonly POLAR_ACCESS_TOKEN: string | undefined;
|
|
76
|
+
readonly POLAR_ENVIRONMENT: string | undefined;
|
|
77
|
+
readonly CLERK_SECRET_KEY: string | undefined;
|
|
78
|
+
readonly DEVELOPMENT_ALLOWED_USERS: string[];
|
|
79
|
+
readonly STAGING_ALLOWED_USERS: string[];
|
|
80
|
+
readonly TESTING_ALLOWED_USERS: string[];
|
|
81
|
+
readonly TEST_ALLOWED_USERS: string[];
|
|
82
|
+
readonly QA_ALLOWED_USERS: string[];
|
|
83
|
+
readonly UAT_ALLOWED_USERS: string[];
|
|
84
|
+
readonly INTEGRATION_ALLOWED_USERS: string[];
|
|
85
|
+
readonly PREVIEW_ALLOWED_USERS: string[];
|
|
86
|
+
readonly DEMO_ALLOWED_USERS: string[];
|
|
87
|
+
readonly SANDBOX_ALLOWED_USERS: string[];
|
|
88
|
+
readonly BETA_ALLOWED_USERS: string[];
|
|
89
|
+
readonly CANARY_ALLOWED_USERS: string[];
|
|
90
|
+
readonly HOTFIX_ALLOWED_USERS: string[];
|
|
91
|
+
readonly SYSTEM_USERS: string[];
|
|
92
|
+
readonly SUPER_ADMIN_USERS: string[];
|
|
93
|
+
readonly ADMIN_USERS: string[];
|
|
37
94
|
}
|
|
38
95
|
declare class AppEnv implements IAppEnv {
|
|
39
|
-
readonly env: EnvironmentNameType;
|
|
40
96
|
readonly isLocal: boolean;
|
|
41
97
|
readonly isDevelopment: boolean;
|
|
42
98
|
readonly isStaging: boolean;
|
|
@@ -52,7 +108,65 @@ declare class AppEnv implements IAppEnv {
|
|
|
52
108
|
readonly isCanary: boolean;
|
|
53
109
|
readonly isHotfix: boolean;
|
|
54
110
|
readonly isProduction: boolean;
|
|
55
|
-
|
|
111
|
+
readonly APP_ENV: EnvironmentNameType;
|
|
112
|
+
readonly PORT: number;
|
|
113
|
+
readonly HOST_NAME: string;
|
|
114
|
+
readonly LOGS_DATABASE_URL: string | undefined;
|
|
115
|
+
readonly LOGTAIL_SOURCE_TOKEN: string | undefined;
|
|
116
|
+
readonly LOGTAIL_ENDPOINT: string | undefined;
|
|
117
|
+
readonly BETTERSTACK_APPLICATION_TOKEN: string | undefined;
|
|
118
|
+
readonly BETTERSTACK_INGESTING_HOST: string | undefined;
|
|
119
|
+
readonly ANALYTICS_POSTHOG_API_KEY: string | undefined;
|
|
120
|
+
readonly ANALYTICS_POSTHOG_HOST: string | undefined;
|
|
121
|
+
readonly CACHE_REDIS_URL: string | undefined;
|
|
122
|
+
readonly PUBSUB_REDIS_URL: string | undefined;
|
|
123
|
+
readonly RATE_LIMIT_REDIS_URL: string | undefined;
|
|
124
|
+
readonly CORS_ORIGINS: string | undefined;
|
|
125
|
+
readonly CORS_METHODS: string | undefined;
|
|
126
|
+
readonly CORS_HEADERS: string | undefined;
|
|
127
|
+
readonly CORS_EXPOSED_HEADERS: string | undefined;
|
|
128
|
+
readonly CORS_CREDENTIALS: string | undefined;
|
|
129
|
+
readonly CORS_MAX_AGE: string | undefined;
|
|
130
|
+
readonly STORAGE_CLOUDFLARE_ACCESS_KEY: string | undefined;
|
|
131
|
+
readonly STORAGE_CLOUDFLARE_SECRET_KEY: string | undefined;
|
|
132
|
+
readonly STORAGE_CLOUDFLARE_ENDPOINT: string | undefined;
|
|
133
|
+
readonly STORAGE_CLOUDFLARE_REGION: string | undefined;
|
|
134
|
+
readonly STORAGE_BUNNY_ACCESS_KEY: string | undefined;
|
|
135
|
+
readonly STORAGE_BUNNY_STORAGE_ZONE: string | undefined;
|
|
136
|
+
readonly STORAGE_BUNNY_REGION: string | undefined;
|
|
137
|
+
readonly FILESYSTEM_STORAGE_PATH: string | undefined;
|
|
138
|
+
readonly DATABASE_URL: string | undefined;
|
|
139
|
+
readonly DATABASE_REDIS_URL: string | undefined;
|
|
140
|
+
readonly SQLITE_DATABASE_PATH: string | undefined;
|
|
141
|
+
readonly MAILER_SENDER_NAME: string | undefined;
|
|
142
|
+
readonly MAILER_SENDER_ADDRESS: string | undefined;
|
|
143
|
+
readonly RESEND_API_KEY: string | undefined;
|
|
144
|
+
readonly JWT_SECRET: string | undefined;
|
|
145
|
+
readonly OPENAI_API_KEY: string | undefined;
|
|
146
|
+
readonly ANTHROPIC_API_KEY: string | undefined;
|
|
147
|
+
readonly GEMINI_API_KEY: string | undefined;
|
|
148
|
+
readonly GROQ_API_KEY: string | undefined;
|
|
149
|
+
readonly OLLAMA_HOST: string | undefined;
|
|
150
|
+
readonly POLAR_ACCESS_TOKEN: string | undefined;
|
|
151
|
+
readonly POLAR_ENVIRONMENT: string | undefined;
|
|
152
|
+
readonly CLERK_SECRET_KEY: string | undefined;
|
|
153
|
+
readonly DEVELOPMENT_ALLOWED_USERS: string[];
|
|
154
|
+
readonly STAGING_ALLOWED_USERS: string[];
|
|
155
|
+
readonly TESTING_ALLOWED_USERS: string[];
|
|
156
|
+
readonly TEST_ALLOWED_USERS: string[];
|
|
157
|
+
readonly QA_ALLOWED_USERS: string[];
|
|
158
|
+
readonly UAT_ALLOWED_USERS: string[];
|
|
159
|
+
readonly INTEGRATION_ALLOWED_USERS: string[];
|
|
160
|
+
readonly PREVIEW_ALLOWED_USERS: string[];
|
|
161
|
+
readonly DEMO_ALLOWED_USERS: string[];
|
|
162
|
+
readonly SANDBOX_ALLOWED_USERS: string[];
|
|
163
|
+
readonly BETA_ALLOWED_USERS: string[];
|
|
164
|
+
readonly CANARY_ALLOWED_USERS: string[];
|
|
165
|
+
readonly HOTFIX_ALLOWED_USERS: string[];
|
|
166
|
+
readonly SYSTEM_USERS: string[];
|
|
167
|
+
readonly SUPER_ADMIN_USERS: string[];
|
|
168
|
+
readonly ADMIN_USERS: string[];
|
|
169
|
+
constructor();
|
|
56
170
|
}
|
|
57
171
|
import { Exception } from "@ooneex/exception";
|
|
58
172
|
declare class AppEnvException extends Exception {
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// @bun
|
|
2
|
+
var l=function(n,e,_,S){var A=arguments.length,i=A<3?e:S===null?S=Object.getOwnPropertyDescriptor(e,_):S,r;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")i=Reflect.decorate(n,e,_,S);else for(var d=n.length-1;d>=0;d--)if(r=n[d])i=(A<3?r(i):A>3?r(e,_,i):r(e,_))||i;return A>3&&i&&Object.defineProperty(e,_,i),i};var R=(n,e)=>{if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(n,e)};import{injectable as s}from"@ooneex/container";import{parseString as O}from"@ooneex/utils";class t{isLocal;isDevelopment;isStaging;isTesting;isTest;isQa;isUat;isIntegration;isPreview;isDemo;isSandbox;isBeta;isCanary;isHotfix;isProduction;APP_ENV;PORT;HOST_NAME;LOGS_DATABASE_URL;LOGTAIL_SOURCE_TOKEN;LOGTAIL_ENDPOINT;BETTERSTACK_APPLICATION_TOKEN;BETTERSTACK_INGESTING_HOST;ANALYTICS_POSTHOG_API_KEY;ANALYTICS_POSTHOG_HOST;CACHE_REDIS_URL;PUBSUB_REDIS_URL;RATE_LIMIT_REDIS_URL;CORS_ORIGINS;CORS_METHODS;CORS_HEADERS;CORS_EXPOSED_HEADERS;CORS_CREDENTIALS;CORS_MAX_AGE;STORAGE_CLOUDFLARE_ACCESS_KEY;STORAGE_CLOUDFLARE_SECRET_KEY;STORAGE_CLOUDFLARE_ENDPOINT;STORAGE_CLOUDFLARE_REGION;STORAGE_BUNNY_ACCESS_KEY;STORAGE_BUNNY_STORAGE_ZONE;STORAGE_BUNNY_REGION;FILESYSTEM_STORAGE_PATH;DATABASE_URL;DATABASE_REDIS_URL;SQLITE_DATABASE_PATH;MAILER_SENDER_NAME;MAILER_SENDER_ADDRESS;RESEND_API_KEY;JWT_SECRET;OPENAI_API_KEY;ANTHROPIC_API_KEY;GEMINI_API_KEY;GROQ_API_KEY;OLLAMA_HOST;POLAR_ACCESS_TOKEN;POLAR_ENVIRONMENT;CLERK_SECRET_KEY;DEVELOPMENT_ALLOWED_USERS;STAGING_ALLOWED_USERS;TESTING_ALLOWED_USERS;TEST_ALLOWED_USERS;QA_ALLOWED_USERS;UAT_ALLOWED_USERS;INTEGRATION_ALLOWED_USERS;PREVIEW_ALLOWED_USERS;DEMO_ALLOWED_USERS;SANDBOX_ALLOWED_USERS;BETA_ALLOWED_USERS;CANARY_ALLOWED_USERS;HOTFIX_ALLOWED_USERS;SYSTEM_USERS;SUPER_ADMIN_USERS;ADMIN_USERS;constructor(){this.APP_ENV=Bun.env.APP_ENV||"production",this.isLocal=this.APP_ENV==="local",this.isDevelopment=this.APP_ENV==="development",this.isStaging=this.APP_ENV==="staging",this.isTesting=this.APP_ENV==="testing",this.isTest=this.APP_ENV==="test",this.isQa=this.APP_ENV==="qa",this.isUat=this.APP_ENV==="uat",this.isIntegration=this.APP_ENV==="integration",this.isPreview=this.APP_ENV==="preview",this.isDemo=this.APP_ENV==="demo",this.isSandbox=this.APP_ENV==="sandbox",this.isBeta=this.APP_ENV==="beta",this.isCanary=this.APP_ENV==="canary",this.isHotfix=this.APP_ENV==="hotfix",this.isProduction=this.APP_ENV==="production",this.PORT=Bun.env.PORT?O(Bun.env.PORT):3000,this.HOST_NAME=Bun.env.HOST_NAME||"0.0.0.0",this.LOGS_DATABASE_URL=Bun.env.LOGS_DATABASE_URL,this.LOGTAIL_SOURCE_TOKEN=Bun.env.LOGTAIL_SOURCE_TOKEN,this.LOGTAIL_ENDPOINT=Bun.env.LOGTAIL_ENDPOINT,this.BETTERSTACK_APPLICATION_TOKEN=Bun.env.BETTERSTACK_APPLICATION_TOKEN,this.BETTERSTACK_INGESTING_HOST=Bun.env.BETTERSTACK_INGESTING_HOST,this.ANALYTICS_POSTHOG_API_KEY=Bun.env.ANALYTICS_POSTHOG_API_KEY,this.ANALYTICS_POSTHOG_HOST=Bun.env.ANALYTICS_POSTHOG_HOST,this.CACHE_REDIS_URL=Bun.env.CACHE_REDIS_URL,this.PUBSUB_REDIS_URL=Bun.env.PUBSUB_REDIS_URL,this.RATE_LIMIT_REDIS_URL=Bun.env.RATE_LIMIT_REDIS_URL,this.CORS_ORIGINS=Bun.env.CORS_ORIGINS,this.CORS_METHODS=Bun.env.CORS_METHODS,this.CORS_HEADERS=Bun.env.CORS_HEADERS,this.CORS_EXPOSED_HEADERS=Bun.env.CORS_EXPOSED_HEADERS,this.CORS_CREDENTIALS=Bun.env.CORS_CREDENTIALS,this.CORS_MAX_AGE=Bun.env.CORS_MAX_AGE,this.STORAGE_CLOUDFLARE_ACCESS_KEY=Bun.env.STORAGE_CLOUDFLARE_ACCESS_KEY,this.STORAGE_CLOUDFLARE_SECRET_KEY=Bun.env.STORAGE_CLOUDFLARE_SECRET_KEY,this.STORAGE_CLOUDFLARE_ENDPOINT=Bun.env.STORAGE_CLOUDFLARE_ENDPOINT,this.STORAGE_CLOUDFLARE_REGION=Bun.env.STORAGE_CLOUDFLARE_REGION,this.STORAGE_BUNNY_ACCESS_KEY=Bun.env.STORAGE_BUNNY_ACCESS_KEY,this.STORAGE_BUNNY_STORAGE_ZONE=Bun.env.STORAGE_BUNNY_STORAGE_ZONE,this.STORAGE_BUNNY_REGION=Bun.env.STORAGE_BUNNY_REGION,this.FILESYSTEM_STORAGE_PATH=Bun.env.FILESYSTEM_STORAGE_PATH,this.DATABASE_URL=Bun.env.DATABASE_URL,this.DATABASE_REDIS_URL=Bun.env.DATABASE_REDIS_URL,this.SQLITE_DATABASE_PATH=Bun.env.SQLITE_DATABASE_PATH,this.MAILER_SENDER_NAME=Bun.env.MAILER_SENDER_NAME,this.MAILER_SENDER_ADDRESS=Bun.env.MAILER_SENDER_ADDRESS,this.RESEND_API_KEY=Bun.env.RESEND_API_KEY,this.JWT_SECRET=Bun.env.JWT_SECRET,this.OPENAI_API_KEY=Bun.env.OPENAI_API_KEY,this.ANTHROPIC_API_KEY=Bun.env.ANTHROPIC_API_KEY,this.GEMINI_API_KEY=Bun.env.GEMINI_API_KEY,this.GROQ_API_KEY=Bun.env.GROQ_API_KEY,this.OLLAMA_HOST=Bun.env.OLLAMA_HOST,this.POLAR_ACCESS_TOKEN=Bun.env.POLAR_ACCESS_TOKEN,this.POLAR_ENVIRONMENT=Bun.env.POLAR_ENVIRONMENT,this.CLERK_SECRET_KEY=Bun.env.CLERK_SECRET_KEY,this.DEVELOPMENT_ALLOWED_USERS=(Bun.env.DEVELOPMENT_ALLOWED_USERS||"").split(",").map((n)=>n.trim()).filter(Boolean),this.STAGING_ALLOWED_USERS=(Bun.env.STAGING_ALLOWED_USERS||"").split(",").map((n)=>n.trim()).filter(Boolean),this.TESTING_ALLOWED_USERS=(Bun.env.TESTING_ALLOWED_USERS||"").split(",").map((n)=>n.trim()).filter(Boolean),this.TEST_ALLOWED_USERS=(Bun.env.TEST_ALLOWED_USERS||"").split(",").map((n)=>n.trim()).filter(Boolean),this.QA_ALLOWED_USERS=(Bun.env.QA_ALLOWED_USERS||"").split(",").map((n)=>n.trim()).filter(Boolean),this.UAT_ALLOWED_USERS=(Bun.env.UAT_ALLOWED_USERS||"").split(",").map((n)=>n.trim()).filter(Boolean),this.INTEGRATION_ALLOWED_USERS=(Bun.env.INTEGRATION_ALLOWED_USERS||"").split(",").map((n)=>n.trim()).filter(Boolean),this.PREVIEW_ALLOWED_USERS=(Bun.env.PREVIEW_ALLOWED_USERS||"").split(",").map((n)=>n.trim()).filter(Boolean),this.DEMO_ALLOWED_USERS=(Bun.env.DEMO_ALLOWED_USERS||"").split(",").map((n)=>n.trim()).filter(Boolean),this.SANDBOX_ALLOWED_USERS=(Bun.env.SANDBOX_ALLOWED_USERS||"").split(",").map((n)=>n.trim()).filter(Boolean),this.BETA_ALLOWED_USERS=(Bun.env.BETA_ALLOWED_USERS||"").split(",").map((n)=>n.trim()).filter(Boolean),this.CANARY_ALLOWED_USERS=(Bun.env.CANARY_ALLOWED_USERS||"").split(",").map((n)=>n.trim()).filter(Boolean),this.HOTFIX_ALLOWED_USERS=(Bun.env.HOTFIX_ALLOWED_USERS||"").split(",").map((n)=>n.trim()).filter(Boolean),this.SYSTEM_USERS=(Bun.env.SYSTEM_USERS||"").split(",").map((n)=>n.trim()).filter(Boolean),this.SUPER_ADMIN_USERS=(Bun.env.SUPER_ADMIN_USERS||"").split(",").map((n)=>n.trim()).filter(Boolean),this.ADMIN_USERS=(Bun.env.ADMIN_USERS||"").split(",").map((n)=>n.trim()).filter(Boolean)}}t=l([s(),R("design:paramtypes",[])],t);import{Exception as T}from"@ooneex/exception";import{HttpStatus as a}from"@ooneex/http-status";class o extends T{constructor(n,e={}){super(n,{status:a.Code.InternalServerError,data:e});this.name="AppEnvException"}}var L;((E)=>{E.LOCAL="local";E.DEVELOPMENT="development";E.STAGING="staging";E.TESTING="testing";E.TEST="test";E.QA="qa";E.UAT="uat";E.INTEGRATION="integration";E.PREVIEW="preview";E.DEMO="demo";E.SANDBOX="sandbox";E.BETA="beta";E.CANARY="canary";E.HOTFIX="hotfix";E.PRODUCTION="production"})(L||={});export{L as Environment,o as AppEnvException,t as AppEnv};
|
|
2
3
|
|
|
3
|
-
//# debugId=
|
|
4
|
+
//# debugId=7532B54CB51050F564756E2164756E21
|
package/dist/index.js.map
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["src/
|
|
3
|
+
"sources": ["src/AppEnv.ts", "src/AppEnvException.ts", "src/types.ts"],
|
|
4
4
|
"sourcesContent": [
|
|
5
|
+
"import { injectable } from \"@ooneex/container\";\nimport { parseString } from \"@ooneex/utils\";\nimport type { EnvironmentNameType, IAppEnv } from \"./types\";\n\n@injectable()\nexport class AppEnv implements IAppEnv {\n public readonly isLocal: boolean;\n public readonly isDevelopment: boolean;\n public readonly isStaging: boolean;\n public readonly isTesting: boolean;\n public readonly isTest: boolean;\n public readonly isQa: boolean;\n public readonly isUat: boolean;\n public readonly isIntegration: boolean;\n public readonly isPreview: boolean;\n public readonly isDemo: boolean;\n public readonly isSandbox: boolean;\n public readonly isBeta: boolean;\n public readonly isCanary: boolean;\n public readonly isHotfix: boolean;\n public readonly isProduction: boolean;\n\n // App\n public readonly APP_ENV: EnvironmentNameType;\n public readonly PORT: number;\n public readonly HOST_NAME: string;\n\n // Logs\n public readonly LOGS_DATABASE_URL: string | undefined;\n public readonly LOGTAIL_SOURCE_TOKEN: string | undefined;\n public readonly LOGTAIL_ENDPOINT: string | undefined;\n public readonly BETTERSTACK_APPLICATION_TOKEN: string | undefined;\n public readonly BETTERSTACK_INGESTING_HOST: string | undefined;\n\n // Analytics\n public readonly ANALYTICS_POSTHOG_API_KEY: string | undefined;\n public readonly ANALYTICS_POSTHOG_HOST: string | undefined;\n\n // Cache\n public readonly CACHE_REDIS_URL: string | undefined;\n\n // Pub/Sub\n public readonly PUBSUB_REDIS_URL: string | undefined;\n\n // Rate limit\n public readonly RATE_LIMIT_REDIS_URL: string | undefined;\n\n // CORS\n public readonly CORS_ORIGINS: string | undefined;\n public readonly CORS_METHODS: string | undefined;\n public readonly CORS_HEADERS: string | undefined;\n public readonly CORS_EXPOSED_HEADERS: string | undefined;\n public readonly CORS_CREDENTIALS: string | undefined;\n public readonly CORS_MAX_AGE: string | undefined;\n\n // Storage\n public readonly STORAGE_CLOUDFLARE_ACCESS_KEY: string | undefined;\n public readonly STORAGE_CLOUDFLARE_SECRET_KEY: string | undefined;\n public readonly STORAGE_CLOUDFLARE_ENDPOINT: string | undefined;\n public readonly STORAGE_CLOUDFLARE_REGION: string | undefined;\n public readonly STORAGE_BUNNY_ACCESS_KEY: string | undefined;\n public readonly STORAGE_BUNNY_STORAGE_ZONE: string | undefined;\n public readonly STORAGE_BUNNY_REGION: string | undefined;\n public readonly FILESYSTEM_STORAGE_PATH: string | undefined;\n\n // Database\n public readonly DATABASE_URL: string | undefined;\n public readonly DATABASE_REDIS_URL: string | undefined;\n public readonly SQLITE_DATABASE_PATH: string | undefined;\n\n // Mailer\n public readonly MAILER_SENDER_NAME: string | undefined;\n public readonly MAILER_SENDER_ADDRESS: string | undefined;\n public readonly RESEND_API_KEY: string | undefined;\n\n // JWT\n public readonly JWT_SECRET: string | undefined;\n\n // AI\n public readonly OPENAI_API_KEY: string | undefined;\n public readonly ANTHROPIC_API_KEY: string | undefined;\n public readonly GEMINI_API_KEY: string | undefined;\n public readonly GROQ_API_KEY: string | undefined;\n public readonly OLLAMA_HOST: string | undefined;\n\n // Payment\n public readonly POLAR_ACCESS_TOKEN: string | undefined;\n public readonly POLAR_ENVIRONMENT: string | undefined;\n\n // Authentication\n public readonly CLERK_SECRET_KEY: string | undefined;\n\n // Allowed Users\n public readonly DEVELOPMENT_ALLOWED_USERS: string[];\n public readonly STAGING_ALLOWED_USERS: string[];\n public readonly TESTING_ALLOWED_USERS: string[];\n public readonly TEST_ALLOWED_USERS: string[];\n public readonly QA_ALLOWED_USERS: string[];\n public readonly UAT_ALLOWED_USERS: string[];\n public readonly INTEGRATION_ALLOWED_USERS: string[];\n public readonly PREVIEW_ALLOWED_USERS: string[];\n public readonly DEMO_ALLOWED_USERS: string[];\n public readonly SANDBOX_ALLOWED_USERS: string[];\n public readonly BETA_ALLOWED_USERS: string[];\n public readonly CANARY_ALLOWED_USERS: string[];\n public readonly HOTFIX_ALLOWED_USERS: string[];\n public readonly SYSTEM_USERS: string[];\n public readonly SUPER_ADMIN_USERS: string[];\n public readonly ADMIN_USERS: string[];\n\n public constructor() {\n // App\n this.APP_ENV = (Bun.env.APP_ENV || \"production\") as EnvironmentNameType;\n this.isLocal = this.APP_ENV === \"local\";\n this.isDevelopment = this.APP_ENV === \"development\";\n this.isStaging = this.APP_ENV === \"staging\";\n this.isTesting = this.APP_ENV === \"testing\";\n this.isTest = this.APP_ENV === \"test\";\n this.isQa = this.APP_ENV === \"qa\";\n this.isUat = this.APP_ENV === \"uat\";\n this.isIntegration = this.APP_ENV === \"integration\";\n this.isPreview = this.APP_ENV === \"preview\";\n this.isDemo = this.APP_ENV === \"demo\";\n this.isSandbox = this.APP_ENV === \"sandbox\";\n this.isBeta = this.APP_ENV === \"beta\";\n this.isCanary = this.APP_ENV === \"canary\";\n this.isHotfix = this.APP_ENV === \"hotfix\";\n this.isProduction = this.APP_ENV === \"production\";\n this.PORT = Bun.env.PORT ? parseString<number>(Bun.env.PORT) : 3000;\n this.HOST_NAME = Bun.env.HOST_NAME || \"0.0.0.0\";\n\n // Logs\n this.LOGS_DATABASE_URL = Bun.env.LOGS_DATABASE_URL;\n this.LOGTAIL_SOURCE_TOKEN = Bun.env.LOGTAIL_SOURCE_TOKEN;\n this.LOGTAIL_ENDPOINT = Bun.env.LOGTAIL_ENDPOINT;\n this.BETTERSTACK_APPLICATION_TOKEN = Bun.env.BETTERSTACK_APPLICATION_TOKEN;\n this.BETTERSTACK_INGESTING_HOST = Bun.env.BETTERSTACK_INGESTING_HOST;\n\n // Analytics\n this.ANALYTICS_POSTHOG_API_KEY = Bun.env.ANALYTICS_POSTHOG_API_KEY;\n this.ANALYTICS_POSTHOG_HOST = Bun.env.ANALYTICS_POSTHOG_HOST;\n\n // Cache\n this.CACHE_REDIS_URL = Bun.env.CACHE_REDIS_URL;\n\n // Pub/Sub\n this.PUBSUB_REDIS_URL = Bun.env.PUBSUB_REDIS_URL;\n\n // Rate limit\n this.RATE_LIMIT_REDIS_URL = Bun.env.RATE_LIMIT_REDIS_URL;\n\n // CORS\n this.CORS_ORIGINS = Bun.env.CORS_ORIGINS;\n this.CORS_METHODS = Bun.env.CORS_METHODS;\n this.CORS_HEADERS = Bun.env.CORS_HEADERS;\n this.CORS_EXPOSED_HEADERS = Bun.env.CORS_EXPOSED_HEADERS;\n this.CORS_CREDENTIALS = Bun.env.CORS_CREDENTIALS;\n this.CORS_MAX_AGE = Bun.env.CORS_MAX_AGE;\n\n // Storage\n this.STORAGE_CLOUDFLARE_ACCESS_KEY = Bun.env.STORAGE_CLOUDFLARE_ACCESS_KEY;\n this.STORAGE_CLOUDFLARE_SECRET_KEY = Bun.env.STORAGE_CLOUDFLARE_SECRET_KEY;\n this.STORAGE_CLOUDFLARE_ENDPOINT = Bun.env.STORAGE_CLOUDFLARE_ENDPOINT;\n this.STORAGE_CLOUDFLARE_REGION = Bun.env.STORAGE_CLOUDFLARE_REGION;\n this.STORAGE_BUNNY_ACCESS_KEY = Bun.env.STORAGE_BUNNY_ACCESS_KEY;\n this.STORAGE_BUNNY_STORAGE_ZONE = Bun.env.STORAGE_BUNNY_STORAGE_ZONE;\n this.STORAGE_BUNNY_REGION = Bun.env.STORAGE_BUNNY_REGION;\n this.FILESYSTEM_STORAGE_PATH = Bun.env.FILESYSTEM_STORAGE_PATH;\n\n // Database\n this.DATABASE_URL = Bun.env.DATABASE_URL;\n this.DATABASE_REDIS_URL = Bun.env.DATABASE_REDIS_URL;\n this.SQLITE_DATABASE_PATH = Bun.env.SQLITE_DATABASE_PATH;\n\n // Mailer\n this.MAILER_SENDER_NAME = Bun.env.MAILER_SENDER_NAME;\n this.MAILER_SENDER_ADDRESS = Bun.env.MAILER_SENDER_ADDRESS;\n this.RESEND_API_KEY = Bun.env.RESEND_API_KEY;\n\n // JWT\n this.JWT_SECRET = Bun.env.JWT_SECRET;\n\n // AI\n this.OPENAI_API_KEY = Bun.env.OPENAI_API_KEY;\n this.ANTHROPIC_API_KEY = Bun.env.ANTHROPIC_API_KEY;\n this.GEMINI_API_KEY = Bun.env.GEMINI_API_KEY;\n this.GROQ_API_KEY = Bun.env.GROQ_API_KEY;\n this.OLLAMA_HOST = Bun.env.OLLAMA_HOST;\n\n // Payment\n this.POLAR_ACCESS_TOKEN = Bun.env.POLAR_ACCESS_TOKEN;\n this.POLAR_ENVIRONMENT = Bun.env.POLAR_ENVIRONMENT;\n\n // Authentication\n this.CLERK_SECRET_KEY = Bun.env.CLERK_SECRET_KEY;\n\n // Allowed Users\n this.DEVELOPMENT_ALLOWED_USERS = (Bun.env.DEVELOPMENT_ALLOWED_USERS || \"\")\n .split(\",\")\n .map((s) => s.trim())\n .filter(Boolean);\n this.STAGING_ALLOWED_USERS = (Bun.env.STAGING_ALLOWED_USERS || \"\")\n .split(\",\")\n .map((s) => s.trim())\n .filter(Boolean);\n this.TESTING_ALLOWED_USERS = (Bun.env.TESTING_ALLOWED_USERS || \"\")\n .split(\",\")\n .map((s) => s.trim())\n .filter(Boolean);\n this.TEST_ALLOWED_USERS = (Bun.env.TEST_ALLOWED_USERS || \"\")\n .split(\",\")\n .map((s) => s.trim())\n .filter(Boolean);\n this.QA_ALLOWED_USERS = (Bun.env.QA_ALLOWED_USERS || \"\")\n .split(\",\")\n .map((s) => s.trim())\n .filter(Boolean);\n this.UAT_ALLOWED_USERS = (Bun.env.UAT_ALLOWED_USERS || \"\")\n .split(\",\")\n .map((s) => s.trim())\n .filter(Boolean);\n this.INTEGRATION_ALLOWED_USERS = (Bun.env.INTEGRATION_ALLOWED_USERS || \"\")\n .split(\",\")\n .map((s) => s.trim())\n .filter(Boolean);\n this.PREVIEW_ALLOWED_USERS = (Bun.env.PREVIEW_ALLOWED_USERS || \"\")\n .split(\",\")\n .map((s) => s.trim())\n .filter(Boolean);\n this.DEMO_ALLOWED_USERS = (Bun.env.DEMO_ALLOWED_USERS || \"\")\n .split(\",\")\n .map((s) => s.trim())\n .filter(Boolean);\n this.SANDBOX_ALLOWED_USERS = (Bun.env.SANDBOX_ALLOWED_USERS || \"\")\n .split(\",\")\n .map((s) => s.trim())\n .filter(Boolean);\n this.BETA_ALLOWED_USERS = (Bun.env.BETA_ALLOWED_USERS || \"\")\n .split(\",\")\n .map((s) => s.trim())\n .filter(Boolean);\n this.CANARY_ALLOWED_USERS = (Bun.env.CANARY_ALLOWED_USERS || \"\")\n .split(\",\")\n .map((s) => s.trim())\n .filter(Boolean);\n this.HOTFIX_ALLOWED_USERS = (Bun.env.HOTFIX_ALLOWED_USERS || \"\")\n .split(\",\")\n .map((s) => s.trim())\n .filter(Boolean);\n this.SYSTEM_USERS = (Bun.env.SYSTEM_USERS || \"\")\n .split(\",\")\n .map((s) => s.trim())\n .filter(Boolean);\n this.SUPER_ADMIN_USERS = (Bun.env.SUPER_ADMIN_USERS || \"\")\n .split(\",\")\n .map((s) => s.trim())\n .filter(Boolean);\n this.ADMIN_USERS = (Bun.env.ADMIN_USERS || \"\")\n .split(\",\")\n .map((s) => s.trim())\n .filter(Boolean);\n }\n}\n",
|
|
5
6
|
"import { Exception } from \"@ooneex/exception\";\nimport { HttpStatus } from \"@ooneex/http-status\";\n\nexport class AppEnvException extends Exception {\n constructor(message: string, data: Record<string, unknown> = {}) {\n super(message, {\n status: HttpStatus.Code.InternalServerError,\n data,\n });\n this.name = \"AppEnvException\";\n }\n}\n",
|
|
6
|
-
"
|
|
7
|
-
"export type AppEnvClassType = new (env: EnvironmentNameType) => IAppEnv;\n\nexport enum Environment {\n LOCAL = \"local\",\n DEVELOPMENT = \"development\",\n STAGING = \"staging\",\n TESTING = \"testing\",\n TEST = \"test\",\n QA = \"qa\",\n UAT = \"uat\",\n INTEGRATION = \"integration\",\n PREVIEW = \"preview\",\n DEMO = \"demo\",\n SANDBOX = \"sandbox\",\n BETA = \"beta\",\n CANARY = \"canary\",\n HOTFIX = \"hotfix\",\n PRODUCTION = \"production\",\n}\n\nexport type EnvironmentNameType = `${Environment}`;\n\nexport interface IAppEnv {\n readonly env: EnvironmentNameType;\n readonly isLocal: boolean;\n readonly isDevelopment: boolean;\n readonly isStaging: boolean;\n readonly isTesting: boolean;\n readonly isTest: boolean;\n readonly isQa: boolean;\n readonly isUat: boolean;\n readonly isIntegration: boolean;\n readonly isPreview: boolean;\n readonly isDemo: boolean;\n readonly isSandbox: boolean;\n readonly isBeta: boolean;\n readonly isCanary: boolean;\n readonly isHotfix: boolean;\n readonly isProduction: boolean;\n}\n"
|
|
7
|
+
"export type AppEnvClassType = new () => IAppEnv;\n\nexport enum Environment {\n LOCAL = \"local\",\n DEVELOPMENT = \"development\",\n STAGING = \"staging\",\n TESTING = \"testing\",\n TEST = \"test\",\n QA = \"qa\",\n UAT = \"uat\",\n INTEGRATION = \"integration\",\n PREVIEW = \"preview\",\n DEMO = \"demo\",\n SANDBOX = \"sandbox\",\n BETA = \"beta\",\n CANARY = \"canary\",\n HOTFIX = \"hotfix\",\n PRODUCTION = \"production\",\n}\n\nexport type EnvironmentNameType = `${Environment}`;\n\nexport interface IAppEnv {\n readonly isLocal: boolean;\n readonly isDevelopment: boolean;\n readonly isStaging: boolean;\n readonly isTesting: boolean;\n readonly isTest: boolean;\n readonly isQa: boolean;\n readonly isUat: boolean;\n readonly isIntegration: boolean;\n readonly isPreview: boolean;\n readonly isDemo: boolean;\n readonly isSandbox: boolean;\n readonly isBeta: boolean;\n readonly isCanary: boolean;\n readonly isHotfix: boolean;\n readonly isProduction: boolean;\n\n // App\n readonly APP_ENV: EnvironmentNameType;\n readonly PORT: number;\n readonly HOST_NAME: string;\n\n // Logs\n readonly LOGS_DATABASE_URL: string | undefined;\n readonly LOGTAIL_SOURCE_TOKEN: string | undefined;\n readonly LOGTAIL_ENDPOINT: string | undefined;\n readonly BETTERSTACK_APPLICATION_TOKEN: string | undefined;\n readonly BETTERSTACK_INGESTING_HOST: string | undefined;\n\n // Analytics\n readonly ANALYTICS_POSTHOG_API_KEY: string | undefined;\n readonly ANALYTICS_POSTHOG_HOST: string | undefined;\n\n // Cache\n readonly CACHE_REDIS_URL: string | undefined;\n\n // Pub/Sub\n readonly PUBSUB_REDIS_URL: string | undefined;\n\n // Rate limit\n readonly RATE_LIMIT_REDIS_URL: string | undefined;\n\n // CORS\n readonly CORS_ORIGINS: string | undefined;\n readonly CORS_METHODS: string | undefined;\n readonly CORS_HEADERS: string | undefined;\n readonly CORS_EXPOSED_HEADERS: string | undefined;\n readonly CORS_CREDENTIALS: string | undefined;\n readonly CORS_MAX_AGE: string | undefined;\n\n // Storage\n readonly STORAGE_CLOUDFLARE_ACCESS_KEY: string | undefined;\n readonly STORAGE_CLOUDFLARE_SECRET_KEY: string | undefined;\n readonly STORAGE_CLOUDFLARE_ENDPOINT: string | undefined;\n readonly STORAGE_CLOUDFLARE_REGION: string | undefined;\n readonly STORAGE_BUNNY_ACCESS_KEY: string | undefined;\n readonly STORAGE_BUNNY_STORAGE_ZONE: string | undefined;\n readonly STORAGE_BUNNY_REGION: string | undefined;\n readonly FILESYSTEM_STORAGE_PATH: string | undefined;\n\n // Database\n readonly DATABASE_URL: string | undefined;\n readonly DATABASE_REDIS_URL: string | undefined;\n readonly SQLITE_DATABASE_PATH: string | undefined;\n\n // Mailer\n readonly MAILER_SENDER_NAME: string | undefined;\n readonly MAILER_SENDER_ADDRESS: string | undefined;\n readonly RESEND_API_KEY: string | undefined;\n\n // JWT\n readonly JWT_SECRET: string | undefined;\n\n // AI\n readonly OPENAI_API_KEY: string | undefined;\n readonly ANTHROPIC_API_KEY: string | undefined;\n readonly GEMINI_API_KEY: string | undefined;\n readonly GROQ_API_KEY: string | undefined;\n readonly OLLAMA_HOST: string | undefined;\n\n // Payment\n readonly POLAR_ACCESS_TOKEN: string | undefined;\n readonly POLAR_ENVIRONMENT: string | undefined;\n\n // Authentication\n readonly CLERK_SECRET_KEY: string | undefined;\n\n // Allowed Users\n readonly DEVELOPMENT_ALLOWED_USERS: string[];\n readonly STAGING_ALLOWED_USERS: string[];\n readonly TESTING_ALLOWED_USERS: string[];\n readonly TEST_ALLOWED_USERS: string[];\n readonly QA_ALLOWED_USERS: string[];\n readonly UAT_ALLOWED_USERS: string[];\n readonly INTEGRATION_ALLOWED_USERS: string[];\n readonly PREVIEW_ALLOWED_USERS: string[];\n readonly DEMO_ALLOWED_USERS: string[];\n readonly SANDBOX_ALLOWED_USERS: string[];\n readonly BETA_ALLOWED_USERS: string[];\n readonly CANARY_ALLOWED_USERS: string[];\n readonly HOTFIX_ALLOWED_USERS: string[];\n\n // Users\n readonly SYSTEM_USERS: string[];\n readonly SUPER_ADMIN_USERS: string[];\n readonly ADMIN_USERS: string[];\n}\n"
|
|
8
8
|
],
|
|
9
|
-
"mappings": "
|
|
10
|
-
"debugId": "
|
|
9
|
+
"mappings": ";ybAAA,qBAAS,0BACT,sBAAS,sBAIF,MAAM,CAA0B,CACrB,QACA,cACA,UACA,UACA,OACA,KACA,MACA,cACA,UACA,OACA,UACA,OACA,SACA,SACA,aAGA,QACA,KACA,UAGA,kBACA,qBACA,iBACA,8BACA,2BAGA,0BACA,uBAGA,gB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AI,CAAC,IAAM,EAAE,KAAK,CAAC,EACnB,OAAO,OAAO,EACjB,KAAK,cAAgB,IAAI,IAAI,cAAgB,IAC1C,MAAM,GAAG,EACT,IAAI,CAAC,IAAM,EAAE,KAAK,CAAC,EACnB,OAAO,OAAO,EACjB,KAAK,mBAAqB,IAAI,IAAI,mBAAqB,IACpD,MAAM,GAAG,EACT,IAAI,CAAC,IAAM,EAAE,KAAK,CAAC,EACnB,OAAO,OAAO,EACjB,KAAK,aAAe,IAAI,IAAI,aAAe,IACxC,MAAM,GAAG,EACT,IAAI,CAAC,IAAM,EAAE,KAAK,CAAC,EACnB,OAAO,OAAO,EAErB,CAjQa,EAAN,GADN,EAAW,EACL,2BAAM,GCLb,oBAAS,0BACT,qBAAS,4BAEF,MAAM,UAAwB,CAAU,CAC7C,WAAW,CAAC,EAAiB,EAAgC,CAAC,EAAG,CAC/D,MAAM,EAAS,CACb,OAAQ,EAAW,KAAK,oBACxB,MACF,CAAC,EACD,KAAK,KAAO,kBAEhB,CCTO,IAAK,GAAL,CAAK,IAAL,CACL,QAAQ,QACR,cAAc,cACd,UAAU,UACV,UAAU,UACV,OAAO,OACP,KAAK,KACL,MAAM,MACN,cAAc,cACd,UAAU,UACV,OAAO,OACP,UAAU,UACV,OAAO,OACP,SAAS,SACT,SAAS,SACT,aAAa,eAfH",
|
|
10
|
+
"debugId": "7532B54CB51050F564756E2164756E21",
|
|
11
11
|
"names": []
|
|
12
12
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ooneex/app-env",
|
|
3
3
|
"description": "Environment detection and configuration management for Ooneex applications — supports development, staging, production, and testing environments",
|
|
4
|
-
"version": "1.0
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
@@ -28,8 +28,10 @@
|
|
|
28
28
|
"npm:publish": "bun publish --tolerate-republish --force --production --access public"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@ooneex/
|
|
32
|
-
"@ooneex/
|
|
31
|
+
"@ooneex/utils": "0.2.0",
|
|
32
|
+
"@ooneex/container": "1.1.0",
|
|
33
|
+
"@ooneex/exception": "1.1.0",
|
|
34
|
+
"@ooneex/http-status": "1.1.0"
|
|
33
35
|
},
|
|
34
36
|
"devDependencies": {},
|
|
35
37
|
"keywords": [
|