@coreframe/config 0.1.19 → 0.2.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/index.d.ts +6 -13
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9,12 +9,11 @@ type CoreframeConfig = {
|
|
|
9
9
|
deploy?: DeployConfig; /** Local development settings. */
|
|
10
10
|
dev?: DevConfig; /** Translation catalog and locale settings. */
|
|
11
11
|
i18n?: I18nConfig; /** Local development job inspection and reset settings. */
|
|
12
|
-
jobs?: JobsConfig; /**
|
|
13
|
-
flutter?: FlutterConfig; /** Local preview server and tunnel settings. */
|
|
12
|
+
jobs?: JobsConfig; /** Local preview server and tunnel settings. */
|
|
14
13
|
preview?: PreviewConfig; /** Worker build and runtime settings. */
|
|
15
14
|
worker?: WorkerConfig;
|
|
16
15
|
};
|
|
17
|
-
/** Named responsive layout breakpoints shared by Panda
|
|
16
|
+
/** Named responsive layout breakpoints shared by Panda and web. */
|
|
18
17
|
type BreakpointsConfig = Readonly<{
|
|
19
18
|
"2xl": number;
|
|
20
19
|
lg: number;
|
|
@@ -32,13 +31,6 @@ declare function readProjectBreakpoints({
|
|
|
32
31
|
}?: {
|
|
33
32
|
cwd?: string;
|
|
34
33
|
}): Promise<BreakpointsConfig>;
|
|
35
|
-
type FlutterConfig = {
|
|
36
|
-
/** Custom URL origin accepted for navigation into the Flutter app. */deepLink: FlutterDeepLinkConfig;
|
|
37
|
-
};
|
|
38
|
-
type FlutterDeepLinkConfig = {
|
|
39
|
-
/** Lowercase URL host accepted for Flutter navigation links, without a port. */host: string; /** Lowercase URI scheme used by Flutter navigation links. */
|
|
40
|
-
scheme: string;
|
|
41
|
-
};
|
|
42
34
|
type AssetsConfig = {
|
|
43
35
|
/** Credential profile used to access the asset storage service. */credentialProfile: string; /** S3-compatible API endpoint for the asset storage service. */
|
|
44
36
|
endpoint: string; /** Project identifier used to namespace generated asset keys. */
|
|
@@ -66,7 +58,7 @@ type DatabaseConfig = {
|
|
|
66
58
|
type JobsConfig = {
|
|
67
59
|
/** Project-relative module exporting the local development job administration contract. */entry: string;
|
|
68
60
|
};
|
|
69
|
-
type DevPlatform = "
|
|
61
|
+
type DevPlatform = "web" | "webext";
|
|
70
62
|
type DevConfig = {
|
|
71
63
|
/** Platforms started by the development command. */platforms?: DevPlatform[];
|
|
72
64
|
};
|
|
@@ -209,7 +201,8 @@ type StagingHostnameConfig = {
|
|
|
209
201
|
};
|
|
210
202
|
type DeployConfig = {
|
|
211
203
|
/** Hook called after all deployment work completes. */afterDeploy?: (context: DeployContext) => Promise<void> | void; /** Hook called immediately after the worker deployment completes. */
|
|
212
|
-
afterWorkerDeploy?: (context: DeployContext) => Promise<void> | void; /**
|
|
204
|
+
afterWorkerDeploy?: (context: DeployContext) => Promise<void> | void; /** Hook called before deployment work mutates external state. */
|
|
205
|
+
beforeDeploy?: (context: DeployContext) => Promise<void> | void; /** Per-environment deployment overrides. */
|
|
213
206
|
environments?: Partial<Record<DeployEnvironment, DeployEnvironmentConfig>>; /** Deployed application topology selected by the Coreframe release workflow. */
|
|
214
207
|
mode: DeployMode;
|
|
215
208
|
/**
|
|
@@ -256,4 +249,4 @@ declare function readProjectConfig({
|
|
|
256
249
|
declare function importProjectModule<T>(path: string, cwd?: string): Promise<T>;
|
|
257
250
|
declare function importProjectDependency<T>(specifier: string, cwd?: string): Promise<T>;
|
|
258
251
|
//#endregion
|
|
259
|
-
export { AssetsConfig, BreakpointsConfig, CoreframeConfig, DashboardConfig, DatabaseConfig, DatabaseDialect, DeployConfig, DeployContext, DeployEnvironment, DeployEnvironmentConfig, DeployMode, DeploySmokeCheck, DevConfig, DevPlatform,
|
|
252
|
+
export { AssetsConfig, BreakpointsConfig, CoreframeConfig, DashboardConfig, DatabaseConfig, DatabaseDialect, DeployConfig, DeployContext, DeployEnvironment, DeployEnvironmentConfig, DeployMode, DeploySmokeCheck, DevConfig, DevPlatform, I18nConfig, JobsConfig, JsonObject, JsonValue, PreviewAccessBypassConfig, PreviewAccessConfig, PreviewAccessIpContext, PreviewAccessIpResolver, PreviewConfig, PreviewTunnelConfig, PreviewWorkerConfig, PrimaryWorkerContributions, PrimaryWorkerEnvironment, ReviewerDeployContext, ReviewerDeployModule, StagingHostnameConfig, WorkerConfig, WorkerDeployEnvironment, WorkerEnvironmentDeclaration, WorkerEnvironmentKind, WorkerEnvironmentVariableConfig, WranglerConfig, breakpointNames, coreframeGeneratedWorkerVariables, coreframeLocalWorkerVariables, coreframeManagedWorkerSecrets, defineConfig, derivePrimaryWorkerConfig, importProjectDependency, importProjectModule, normalizeWorkerEnvironment, primaryWorkerConfigPath, primaryWorkerEnvironments, readProjectBreakpoints, readProjectConfig, validateBreakpoints, validateWorkerInventoryOwnership, workerBindingNames, wranglerEnvironmentNames };
|