@coreframe/config 0.1.15-next.1 → 0.1.15-next.2
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 +36 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,8 @@ type CoreframeConfig = {
|
|
|
5
5
|
/** Object storage and public asset delivery settings. */assets?: AssetsConfig; /** Responsive layout breakpoints in logical CSS pixels. */
|
|
6
6
|
breakpoints?: BreakpointsConfig; /** Database settings used by local and deployment workflows. */
|
|
7
7
|
database?: DatabaseConfig; /** Deployment hooks, environments, checks, and release settings. */
|
|
8
|
-
deploy?: DeployConfig; /**
|
|
8
|
+
deploy?: DeployConfig; /** Explicitly enabled browser-extension lifecycle. */
|
|
9
|
+
extension?: ExtensionConfig; /** Local development settings. */
|
|
9
10
|
dev?: DevConfig; /** Translation catalog and locale settings. */
|
|
10
11
|
i18n?: I18nConfig; /** Local development job inspection and reset settings. */
|
|
11
12
|
jobs?: JobsConfig; /** Flutter host integration settings. */
|
|
@@ -13,6 +14,26 @@ type CoreframeConfig = {
|
|
|
13
14
|
preview?: PreviewConfig; /** Worker build and runtime settings. */
|
|
14
15
|
worker?: WorkerConfig;
|
|
15
16
|
};
|
|
17
|
+
type ExtensionStore = "chrome" | "edge" | "firefox";
|
|
18
|
+
type ExtensionConfig = {
|
|
19
|
+
/** WXT project used for builds and store operations. */wxt: {
|
|
20
|
+
/** Project-relative WXT configuration file. */config: string; /** Directory in which WXT writes extension and source ZIPs. */
|
|
21
|
+
outputDirectory?: string;
|
|
22
|
+
}; /** Stores enabled for this extension. Omitted stores are never contacted. */
|
|
23
|
+
stores: {
|
|
24
|
+
chrome?: {
|
|
25
|
+
extensionId?: string;
|
|
26
|
+
publisherId?: string;
|
|
27
|
+
};
|
|
28
|
+
edge?: {
|
|
29
|
+
productId?: string;
|
|
30
|
+
};
|
|
31
|
+
firefox?: {
|
|
32
|
+
channel?: "listed" | "unlisted";
|
|
33
|
+
extensionId?: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
16
37
|
/** Named responsive layout breakpoints shared by Panda, web, and Flutter. */
|
|
17
38
|
type BreakpointsConfig = Readonly<{
|
|
18
39
|
"2xl": number;
|
|
@@ -49,9 +70,21 @@ type AssetsConfig = {
|
|
|
49
70
|
};
|
|
50
71
|
type DatabaseDialect = "postgres" | "sqlite";
|
|
51
72
|
type DatabaseConfig = {
|
|
52
|
-
/** Database engine used by project workflows. */dialect: DatabaseDialect; /**
|
|
73
|
+
/** Database engine used by project workflows. */dialect: DatabaseDialect; /** Explicit credential references for standalone and deploy-time database migrations. */
|
|
74
|
+
environments?: Partial<Record<"staging" | "production", DatabaseEnvironmentConfig>>; /** Project-relative module that seeds the database. */
|
|
53
75
|
seed?: string;
|
|
54
76
|
};
|
|
77
|
+
type DatabaseEnvironmentConfig = {
|
|
78
|
+
/** Environment variable containing the database URL. */urlEnv: string; /** Environment variable containing the libSQL authentication token. */
|
|
79
|
+
authTokenEnv?: string; /** PostgreSQL TLS options. URL query parameters remain supported. */
|
|
80
|
+
tls?: boolean | DatabaseTlsConfig;
|
|
81
|
+
};
|
|
82
|
+
type DatabaseTlsConfig = {
|
|
83
|
+
caEnv?: string;
|
|
84
|
+
certEnv?: string;
|
|
85
|
+
keyEnv?: string;
|
|
86
|
+
rejectUnauthorized?: boolean;
|
|
87
|
+
};
|
|
55
88
|
type JobsConfig = {
|
|
56
89
|
/** Project-relative module exporting the local development job administration contract. */entry: string;
|
|
57
90
|
};
|
|
@@ -209,4 +242,4 @@ declare function readProjectConfig({
|
|
|
209
242
|
declare function importProjectModule<T>(path: string, cwd?: string): Promise<T>;
|
|
210
243
|
declare function importProjectDependency<T>(specifier: string, cwd?: string): Promise<T>;
|
|
211
244
|
//#endregion
|
|
212
|
-
export { AssetsConfig, BreakpointsConfig, CoreframeConfig, DatabaseConfig, DatabaseDialect, DeployConfig, DeployContext, DeployEnvironment, DeployEnvironmentConfig, DeployMode, DeploySmokeCheck, DevConfig, DevPlatform, FlutterConfig, FlutterDeepLinkConfig, I18nConfig, JobsConfig, JsonObject, JsonValue, PreviewAccessBypassConfig, PreviewAccessConfig, PreviewAccessIpContext, PreviewAccessIpResolver, PreviewConfig, PreviewTunnelConfig, PreviewWorkerConfig, PrimaryWorkerContributions, PrimaryWorkerEnvironment, StagingHostnameConfig, WorkerConfig, WorkerDeployEnvironment, WorkerEnvironmentDeclaration, WorkerEnvironmentKind, WorkerEnvironmentVariableConfig, WranglerConfig, breakpointNames, coreframeGeneratedWorkerVariables, coreframeLocalWorkerVariables, coreframeManagedWorkerSecrets, defineConfig, derivePrimaryWorkerConfig, importProjectDependency, importProjectModule, normalizeWorkerEnvironment, primaryWorkerConfigPath, primaryWorkerEnvironments, readProjectBreakpoints, readProjectConfig, validateBreakpoints, validateWorkerInventoryOwnership, workerBindingNames, wranglerEnvironmentNames };
|
|
245
|
+
export { AssetsConfig, BreakpointsConfig, CoreframeConfig, DatabaseConfig, DatabaseDialect, DatabaseEnvironmentConfig, DatabaseTlsConfig, DeployConfig, DeployContext, DeployEnvironment, DeployEnvironmentConfig, DeployMode, DeploySmokeCheck, DevConfig, DevPlatform, ExtensionConfig, ExtensionStore, FlutterConfig, FlutterDeepLinkConfig, I18nConfig, JobsConfig, JsonObject, JsonValue, PreviewAccessBypassConfig, PreviewAccessConfig, PreviewAccessIpContext, PreviewAccessIpResolver, PreviewConfig, PreviewTunnelConfig, PreviewWorkerConfig, PrimaryWorkerContributions, PrimaryWorkerEnvironment, StagingHostnameConfig, WorkerConfig, WorkerDeployEnvironment, WorkerEnvironmentDeclaration, WorkerEnvironmentKind, WorkerEnvironmentVariableConfig, WranglerConfig, breakpointNames, coreframeGeneratedWorkerVariables, coreframeLocalWorkerVariables, coreframeManagedWorkerSecrets, defineConfig, derivePrimaryWorkerConfig, importProjectDependency, importProjectModule, normalizeWorkerEnvironment, primaryWorkerConfigPath, primaryWorkerEnvironments, readProjectBreakpoints, readProjectConfig, validateBreakpoints, validateWorkerInventoryOwnership, workerBindingNames, wranglerEnvironmentNames };
|