@octopusdeploy/step-inputs
Advanced tools
Comparing version 0.2.0 to 0.3.0
# @octopusdeploy/step-inputs | ||
## 0.3.0 | ||
### Minor Changes | ||
- 9fd3641: Adds support for account selection with all supported account types | ||
## 0.2.0 | ||
@@ -4,0 +10,0 @@ |
@@ -1,11 +0,5 @@ | ||
import { SensitiveValue } from "../SensitiveValues"; | ||
import { EmptyInitialValue } from "../EmptyInitialValue"; | ||
export declare type AzureServicePrincipal = { | ||
accountType: "AzureServicePrincipal"; | ||
subscriptionId: string; | ||
clientId: string; | ||
tenantId: string; | ||
password: SensitiveValue; | ||
azureEnvironment?: string; | ||
resourceManagementEndpointBaseUri?: string; | ||
activeDirectoryEndpointBaseUri?: string; | ||
}; | ||
readonly __accountBrand: unique symbol; | ||
type: "AzureServicePrincipal"; | ||
} | EmptyInitialValue; |
@@ -7,3 +7,4 @@ export * from "./PackageReference"; | ||
export * from "./SupportedValueTypes"; | ||
export * from "./accounts/AzureServicePrincipal"; | ||
export * from "./EmptyInitialValue"; | ||
export * from "./accounts"; | ||
export * from "./ContainerImageReference"; |
@@ -19,4 +19,5 @@ "use strict"; | ||
__exportStar(require("./SupportedValueTypes"), exports); | ||
__exportStar(require("./accounts/AzureServicePrincipal"), exports); | ||
__exportStar(require("./EmptyInitialValue"), exports); | ||
__exportStar(require("./accounts"), exports); | ||
__exportStar(require("./ContainerImageReference"), exports); | ||
//# sourceMappingURL=index.js.map |
import type { Discriminator } from "./Discriminator"; | ||
import type { SensitiveValue } from "./SensitiveValues"; | ||
import type { PackageReference } from "./PackageReference"; | ||
import type { AccountReference } from "./accounts"; | ||
import type { ContainerImageReference } from "./ContainerImageReference"; | ||
@@ -34,3 +35,3 @@ export declare type InputPathToValue<InputValue> = { | ||
}; | ||
export declare type InputPaths<PropertyType> = [PropertyType] extends [Discriminator<infer D>] ? D : [PropertyType] extends [SensitiveValue] ? ConvertibleInputPathToValue<PropertyType> : [PropertyType] extends [PackageReference] ? ConvertibleInputPathToValue<PropertyType> : [PropertyType] extends [ContainerImageReference] ? ConvertibleInputPathToValue<PropertyType> : [PropertyType] extends [Array<infer ArrayItem>] ? Array<ObjectInputPathsAndPathToObject<ArrayItem>> & InputPathToArray<ArrayItem> : [PropertyType] extends [object] ? ObjectInputPathsAndPathToObject<PropertyType> : [PropertyType] extends [PropertyType] ? ConvertibleInputPathToValue<PropertyType> : never; | ||
export declare type InputPaths<PropertyType> = [PropertyType] extends [Discriminator<infer D>] ? D : [PropertyType] extends [SensitiveValue] ? ConvertibleInputPathToValue<PropertyType> : [PropertyType] extends [PackageReference] ? ConvertibleInputPathToValue<PropertyType> : [PropertyType] extends [AccountReference] ? ConvertibleInputPathToValue<PropertyType> : [PropertyType] extends [ContainerImageReference] ? ConvertibleInputPathToValue<PropertyType> : [PropertyType] extends [Array<infer ArrayItem>] ? Array<ObjectInputPathsAndPathToObject<ArrayItem>> & InputPathToArray<ArrayItem> : [PropertyType] extends [object] ? ObjectInputPathsAndPathToObject<PropertyType> : [PropertyType] extends [PropertyType] ? ConvertibleInputPathToValue<PropertyType> : never; | ||
export declare type ObjectInputPathsAndPathToObject<T> = ObjectInputPaths<T> & InputPathToObject<T>; | ||
@@ -37,0 +38,0 @@ export declare type ObjectInputPaths<T> = { |
import { SensitiveValue } from "./SensitiveValues"; | ||
import { PackageReference } from "./PackageReference"; | ||
import { AccountReference } from "./accounts"; | ||
import { ContainerImageReference } from "./ContainerImageReference"; | ||
export declare type SupportedValueTypes = number | bigint | boolean | string | null | undefined | SensitiveValue | PackageReference | ContainerImageReference; | ||
export declare type SupportedValueTypes = number | bigint | boolean | string | null | undefined | SensitiveValue | PackageReference | ContainerImageReference | AccountReference; |
{ | ||
"name": "@octopusdeploy/step-inputs", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "The step UI", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
@@ -1,12 +0,3 @@ | ||
import { SensitiveValue } from "../SensitiveValues"; | ||
import { EmptyInitialValue } from "../EmptyInitialValue"; | ||
export type AzureServicePrincipal = { | ||
accountType: "AzureServicePrincipal"; | ||
subscriptionId: string; | ||
clientId: string; | ||
tenantId: string; | ||
password: SensitiveValue; | ||
azureEnvironment?: string; | ||
resourceManagementEndpointBaseUri?: string; | ||
activeDirectoryEndpointBaseUri?: string; | ||
}; | ||
export type AzureServicePrincipal = { readonly __accountBrand: unique symbol; type: "AzureServicePrincipal" } | EmptyInitialValue; |
@@ -7,3 +7,4 @@ export * from "./PackageReference"; | ||
export * from "./SupportedValueTypes"; | ||
export * from "./accounts/AzureServicePrincipal"; | ||
export * from "./EmptyInitialValue"; | ||
export * from "./accounts"; | ||
export * from "./ContainerImageReference"; |
import type { Discriminator } from "./Discriminator"; | ||
import type { SensitiveValue } from "./SensitiveValues"; | ||
import type { PackageReference } from "./PackageReference"; | ||
import type { AccountReference } from "./accounts"; | ||
import type { ContainerImageReference } from "./ContainerImageReference"; | ||
@@ -37,2 +38,4 @@ | ||
? ConvertibleInputPathToValue<PropertyType> | ||
: [PropertyType] extends [AccountReference] | ||
? ConvertibleInputPathToValue<PropertyType> | ||
: [PropertyType] extends [ContainerImageReference] | ||
@@ -39,0 +42,0 @@ ? ConvertibleInputPathToValue<PropertyType> |
import { SensitiveValue } from "./SensitiveValues"; | ||
import { PackageReference } from "./PackageReference"; | ||
import { AccountReference } from "./accounts"; | ||
import { ContainerImageReference } from "./ContainerImageReference"; | ||
export type SupportedValueTypes = number | bigint | boolean | string | null | undefined | SensitiveValue | PackageReference | ContainerImageReference; | ||
export type SupportedValueTypes = | ||
| number | ||
| bigint | ||
| boolean | ||
| string | ||
| null | ||
| undefined | ||
| SensitiveValue | ||
| PackageReference | ||
| ContainerImageReference | ||
| AccountReference; |
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
29192
68
475