@octopusdeploy/step-inputs
Advanced tools
Comparing version 0.3.1 to 0.3.2
# @octopusdeploy/step-inputs | ||
## 0.3.2 | ||
### Patch Changes | ||
- 24e4964: Support optional properties for step inputs | ||
## 0.3.1 | ||
@@ -4,0 +10,0 @@ |
@@ -18,4 +18,5 @@ "use strict"; | ||
assert(); | ||
assert(); | ||
function assert() { | ||
} | ||
//# sourceMappingURL=InputPaths.type-test.js.map |
@@ -38,4 +38,4 @@ import type { Discriminator } from "./Discriminator"; | ||
export declare type ObjectInputPaths<T> = { | ||
[K in keyof T]: InputPaths<T[K]>; | ||
[K in keyof T]-?: InputPaths<T[K]>; | ||
}; | ||
export declare type IsAssignableTo<T, U> = [T] extends [U] ? "true" : "false"; |
{ | ||
"name": "@octopusdeploy/step-inputs", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "The step UI", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
@@ -19,2 +19,6 @@ // simple property maps to a path with one segment | ||
assert< | ||
IsExactly<ObjectInputPathsAndPathToObject<{ foo?: string }>, { foo: ConvertibleInputPathToValue<string | undefined> } & InputPathToObject<{ foo?: string }>> | ||
>(); | ||
// works for package selection | ||
@@ -21,0 +25,0 @@ assert< |
@@ -52,3 +52,3 @@ import type { Discriminator } from "./Discriminator"; | ||
export type ObjectInputPaths<T> = { | ||
[K in keyof T]: InputPaths<T[K]>; | ||
[K in keyof T]-?: InputPaths<T[K]>; | ||
}; | ||
@@ -55,0 +55,0 @@ |
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
29647
479