@stacksjs/config 0.69.3 → 0.70.1
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/config.d.ts +7 -4
- package/dist/defaults.d.ts +2 -2
- package/dist/helpers.d.ts +0 -2
- package/dist/index.js +3198 -6
- package/dist/overrides.d.ts +2 -2
- package/package.json +4 -4
package/dist/config.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import defaults from './defaults';
|
|
2
|
-
import overrides from './overrides';
|
|
3
1
|
import type { StacksOptions } from '@stacksjs/types';
|
|
2
|
+
import { defaults } from './defaults';
|
|
3
|
+
import { overrides } from './overrides';
|
|
4
4
|
|
|
5
5
|
export declare const config: StacksOptions;
|
|
6
|
+
export declare function getConfig(): StacksOptions;
|
|
6
7
|
export declare const ai: StacksOptions['ai'];
|
|
7
8
|
export declare const app: StacksOptions['app'];
|
|
8
9
|
export declare const cloud: StacksOptions['cloud'];
|
|
@@ -16,8 +17,10 @@ export declare const queue: StacksOptions['queue'];
|
|
|
16
17
|
export declare const saas: StacksOptions['saas'];
|
|
17
18
|
export declare const services: StacksOptions['services'];
|
|
18
19
|
export declare const team: StacksOptions['team'];
|
|
19
|
-
export declare function determineAppEnv():
|
|
20
|
+
export declare function determineAppEnv(): AppEnv;
|
|
20
21
|
|
|
21
22
|
export { defaults, overrides }
|
|
22
23
|
|
|
23
|
-
export * from './helpers'
|
|
24
|
+
export * from './helpers'
|
|
25
|
+
|
|
26
|
+
type AppEnv = 'dev' | 'stage' | 'prod' | string
|
package/dist/defaults.d.ts
CHANGED
package/dist/helpers.d.ts
CHANGED
|
@@ -95,8 +95,6 @@ export declare function defineCache(config: CacheConfig): CacheConfig;
|
|
|
95
95
|
export declare function defineCdn(config: CdnConfig): CdnConfig;
|
|
96
96
|
export declare function defineChat(config: ChatConfig): ChatConfig;
|
|
97
97
|
export declare function defineCli(config: CliConfig): CliConfig;
|
|
98
|
-
export declare function defineJob(config: JobConfig): JobConfig;
|
|
99
|
-
export declare function defineCronJob(config: JobConfig): JobConfig;
|
|
100
98
|
export declare function defineDatabase(config: DatabaseConfig): DatabaseConfig;
|
|
101
99
|
export declare function defineDependencies(config: DependenciesConfig): DependenciesConfig;
|
|
102
100
|
export declare function defineDns(config: DnsConfig): DnsConfig;
|