@ms-cloudpack/common-types
Advanced tools
Comparing version 0.20.0 to 0.21.0
@@ -1,2 +0,2 @@ | ||
import type { DevServer } from './DevServer.js'; | ||
import type { ServerConfig } from './ServerConfig.js'; | ||
import type { Features } from './Features.js'; | ||
@@ -25,5 +25,9 @@ import type { PackageSettings } from './PackageSettings.js'; | ||
/** | ||
* @deprecated - use "server" instead. | ||
*/ | ||
devServer?: ServerConfig; | ||
/** | ||
* Configuration for the dev server. | ||
*/ | ||
devServer?: DevServer; | ||
server?: ServerConfig; | ||
/** | ||
@@ -30,0 +34,0 @@ * Configuration for telemetry. |
@@ -5,7 +5,7 @@ import type { GeneratedConfig } from './GeneratedConfig.js'; | ||
import type { Route } from './Route.js'; | ||
import type { DevServer } from './DevServer.js'; | ||
import type { ServerConfig } from './ServerConfig.js'; | ||
/** | ||
* The merged result of user-provided and generated configuration for Cloudpack. | ||
*/ | ||
export type CloudpackConfig = Omit<AppConfig, 'routes' | 'devServer'> & { | ||
export type CloudpackConfig = Omit<AppConfig, 'routes' | 'server'> & { | ||
/** | ||
@@ -18,3 +18,3 @@ * The path to the app's package. | ||
*/ | ||
devServer?: Omit<DevServer, 'routes'>; | ||
server?: Omit<ServerConfig, 'routes'>; | ||
/** | ||
@@ -21,0 +21,0 @@ * Mode to run the app in. |
@@ -15,3 +15,3 @@ export { allFeatures } from './allFeatures.js'; | ||
export type { CloudpackConfig } from './CloudpackConfig.js'; | ||
export type { DevServer } from './DevServer.js'; | ||
export type { ServerConfig } from './ServerConfig.js'; | ||
export type { ExpandedSourcePath } from './ExpandedSourcePath.js'; | ||
@@ -18,0 +18,0 @@ export type { Feature } from './Feature.js'; |
@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard. | ||
"packageName": "@microsoft/api-extractor", | ||
"packageVersion": "7.47.7" | ||
"packageVersion": "7.47.9" | ||
} | ||
] | ||
} |
{ | ||
"name": "@ms-cloudpack/common-types", | ||
"version": "0.20.0", | ||
"version": "0.21.0", | ||
"description": "Common types for Cloudpack.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -20,3 +20,7 @@ { | ||
"devServer": { | ||
"$ref": "#/definitions/DevServer", | ||
"$ref": "#/definitions/ServerConfig", | ||
"deprecated": "- use \"server\" instead." | ||
}, | ||
"server": { | ||
"$ref": "#/definitions/ServerConfig", | ||
"description": "Configuration for the dev server." | ||
@@ -100,3 +104,3 @@ }, | ||
"definitions": { | ||
"DevServer": { | ||
"ServerConfig": { | ||
"type": "object", | ||
@@ -103,0 +107,0 @@ "properties": { |
@@ -24,3 +24,7 @@ { | ||
"devServer": { | ||
"$ref": "#/definitions/DevServer", | ||
"$ref": "#/definitions/ServerConfig", | ||
"deprecated": "- use \"server\" instead." | ||
}, | ||
"server": { | ||
"$ref": "#/definitions/ServerConfig", | ||
"description": "Configuration for the dev server." | ||
@@ -101,3 +105,3 @@ }, | ||
}, | ||
"DevServer": { | ||
"ServerConfig": { | ||
"type": "object", | ||
@@ -104,0 +108,0 @@ "properties": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
247437
3731