@ms-cloudpack/common-types 0.27.6 → 0.27.7
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/lib/CloudpackConfig.d.ts
CHANGED
|
@@ -45,6 +45,15 @@ export type CloudpackConfig = Omit<AppConfig, 'routes' | 'server' | 'bundlerCapa
|
|
|
45
45
|
* - Value is the absolute file URL of the capability implementation (resolved by `readAppConfig`).
|
|
46
46
|
*/
|
|
47
47
|
bundlerCapabilitiesRegistry?: Record<string, string>;
|
|
48
|
+
/**
|
|
49
|
+
* Configuration file paths used during config resolution.
|
|
50
|
+
*/
|
|
51
|
+
configPaths?: {
|
|
52
|
+
/** Array of application configuration file paths that were loaded. */
|
|
53
|
+
appConfigPaths: string[];
|
|
54
|
+
/** Path to the generated configuration file, if one was created. */
|
|
55
|
+
generatedConfigPath?: string;
|
|
56
|
+
};
|
|
48
57
|
};
|
|
49
58
|
/** Only include the properties that are needed for the link config to allow for a smaller zod output schema. */
|
|
50
59
|
export type CloudpackLinkConfig = Pick<CloudpackConfig, 'generated' | 'packageSettings'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloudpackConfig.d.ts","sourceRoot":"","sources":["../src/CloudpackConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD;;GAEG;AAEH,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,SAAS,EAAE,QAAQ,GAAG,QAAQ,GAAG,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W,CAAA;KAAE,CAAC;IAEtE;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IAEjB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAE3B;;OAEG;IACH,iBAAiB,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC;IAE9C;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;IAEjB;;;;OAIG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAErD;;OAEG;IACH,WAAW,CAAC,EAAE;QACZ,sEAAsE;QACtE,cAAc,EAAE,MAAM,EAAE,CAAC;QACzB,oEAAoE;QACpE,mBAAmB,CAAC,EAAE,MAAM,CAAC;KAC9B,CAAC;CACH,CAAC;AAEF,gHAAgH;AAChH,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,eAAe,EAAE,WAAW,GAAG,iBAAiB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloudpackConfig.js","sourceRoot":"","sources":["../src/CloudpackConfig.ts"],"names":[],"mappings":"","sourcesContent":["import type { GeneratedConfig } from './GeneratedConfig.js';\nimport type { AppConfig } from './AppConfig.js';\nimport type { BundleMode } from './BundleMode.js';\nimport type { Route } from './Route.js';\nimport type { ServerConfig } from './ServerConfig.js';\nimport type { HttpsConfig } from './HttpsConfig.js';\n\n/**\n * The merged result of user-provided and generated configuration for Cloudpack.\n */\n\nexport type CloudpackConfig = Omit<AppConfig, 'routes' | 'server' | 'bundlerCapabilitiesRegistry'> & {\n /**\n * The path to the app's package.\n */\n appPath: string;\n\n /**\n * Dev server settings.\n */\n server?: Omit<ServerConfig, 'routes'> & { parsedHttps?: HttpsConfig };\n\n /**\n * Mode to run the app in. This is set via the CLI and defaults to `'library'`.\n */\n mode: BundleMode;\n\n /**\n * If true, write `bundle-info.json`, `[bundler]-input.json`, and `[bundler]-output.json`\n * files to the output folder.\n */\n logBundleInfo?: boolean;\n\n /**\n * Generated config settings.\n */\n generated: GeneratedConfig;\n\n /**\n * An immutable snapshot of the generated config as it is when start or init commands first begin\n */\n generatedSnapshot?: Readonly<GeneratedConfig>;\n\n /**\n * Routes which have been expanded from shorthand entries.\n */\n routes?: Route[];\n\n /**\n * Key value pairs of external bundler capabilities that can be enabled in the package settings.\n * - Key is the name of the capability, which will be used in `PackageSettings.bundlerCapabilities`.\n * - Value is the absolute file URL of the capability implementation (resolved by `readAppConfig`).\n */\n bundlerCapabilitiesRegistry?: Record<string, string>;\n};\n\n/** Only include the properties that are needed for the link config to allow for a smaller zod output schema. */\nexport type CloudpackLinkConfig = Pick<CloudpackConfig, 'generated' | 'packageSettings'>;\n"]}
|
|
1
|
+
{"version":3,"file":"CloudpackConfig.js","sourceRoot":"","sources":["../src/CloudpackConfig.ts"],"names":[],"mappings":"","sourcesContent":["import type { GeneratedConfig } from './GeneratedConfig.js';\nimport type { AppConfig } from './AppConfig.js';\nimport type { BundleMode } from './BundleMode.js';\nimport type { Route } from './Route.js';\nimport type { ServerConfig } from './ServerConfig.js';\nimport type { HttpsConfig } from './HttpsConfig.js';\n\n/**\n * The merged result of user-provided and generated configuration for Cloudpack.\n */\n\nexport type CloudpackConfig = Omit<AppConfig, 'routes' | 'server' | 'bundlerCapabilitiesRegistry'> & {\n /**\n * The path to the app's package.\n */\n appPath: string;\n\n /**\n * Dev server settings.\n */\n server?: Omit<ServerConfig, 'routes'> & { parsedHttps?: HttpsConfig };\n\n /**\n * Mode to run the app in. This is set via the CLI and defaults to `'library'`.\n */\n mode: BundleMode;\n\n /**\n * If true, write `bundle-info.json`, `[bundler]-input.json`, and `[bundler]-output.json`\n * files to the output folder.\n */\n logBundleInfo?: boolean;\n\n /**\n * Generated config settings.\n */\n generated: GeneratedConfig;\n\n /**\n * An immutable snapshot of the generated config as it is when start or init commands first begin\n */\n generatedSnapshot?: Readonly<GeneratedConfig>;\n\n /**\n * Routes which have been expanded from shorthand entries.\n */\n routes?: Route[];\n\n /**\n * Key value pairs of external bundler capabilities that can be enabled in the package settings.\n * - Key is the name of the capability, which will be used in `PackageSettings.bundlerCapabilities`.\n * - Value is the absolute file URL of the capability implementation (resolved by `readAppConfig`).\n */\n bundlerCapabilitiesRegistry?: Record<string, string>;\n\n /**\n * Configuration file paths used during config resolution.\n */\n configPaths?: {\n /** Array of application configuration file paths that were loaded. */\n appConfigPaths: string[];\n /** Path to the generated configuration file, if one was created. */\n generatedConfigPath?: string;\n };\n};\n\n/** Only include the properties that are needed for the link config to allow for a smaller zod output schema. */\nexport type CloudpackLinkConfig = Pick<CloudpackConfig, 'generated' | 'packageSettings'>;\n"]}
|