mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-31 04:33:40 +00:00
update steps
This commit is contained in:
@@ -294,7 +294,7 @@ export class StartSdk<Manifest extends SDKManifest, Store, Vault> {
|
|||||||
integer: boolean
|
integer: boolean
|
||||||
min?: number | null
|
min?: number | null
|
||||||
max?: number | null
|
max?: number | null
|
||||||
step?: string | null
|
step?: number | null
|
||||||
units?: string | null
|
units?: string | null
|
||||||
placeholder?: string | null
|
placeholder?: string | null
|
||||||
}
|
}
|
||||||
@@ -391,7 +391,7 @@ export class StartSdk<Manifest extends SDKManifest, Store, Vault> {
|
|||||||
min?: number | null
|
min?: number | null
|
||||||
max?: number | null
|
max?: number | null
|
||||||
/** Default = '1' */
|
/** Default = '1' */
|
||||||
step?: string | null
|
step?: number | null
|
||||||
integer: boolean
|
integer: boolean
|
||||||
units?: string | null
|
units?: string | null
|
||||||
placeholder?: string | null
|
placeholder?: string | null
|
||||||
@@ -426,7 +426,6 @@ export class StartSdk<Manifest extends SDKManifest, Store, Vault> {
|
|||||||
inputmode?: ValueSpecDatetime["inputmode"]
|
inputmode?: ValueSpecDatetime["inputmode"]
|
||||||
min?: string | null
|
min?: string | null
|
||||||
max?: string | null
|
max?: string | null
|
||||||
step?: string | null
|
|
||||||
disabled?: false | string
|
disabled?: false | string
|
||||||
}
|
}
|
||||||
>,
|
>,
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ export class List<Type, Store, Vault> {
|
|||||||
integer: boolean
|
integer: boolean
|
||||||
min?: number | null
|
min?: number | null
|
||||||
max?: number | null
|
max?: number | null
|
||||||
step?: string | null
|
step?: number | null
|
||||||
units?: string | null
|
units?: string | null
|
||||||
placeholder?: string | null
|
placeholder?: string | null
|
||||||
},
|
},
|
||||||
@@ -187,7 +187,7 @@ export class List<Type, Store, Vault> {
|
|||||||
integer: boolean
|
integer: boolean
|
||||||
min?: number | null
|
min?: number | null
|
||||||
max?: number | null
|
max?: number | null
|
||||||
step?: string | null
|
step?: number | null
|
||||||
units?: string | null
|
units?: string | null
|
||||||
placeholder?: string | null
|
placeholder?: string | null
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -299,7 +299,7 @@ export class Value<Type, Store, Vault> {
|
|||||||
min?: number | null
|
min?: number | null
|
||||||
max?: number | null
|
max?: number | null
|
||||||
/** Default = '1' */
|
/** Default = '1' */
|
||||||
step?: string | null
|
step?: number | null
|
||||||
integer: boolean
|
integer: boolean
|
||||||
units?: string | null
|
units?: string | null
|
||||||
placeholder?: string | null
|
placeholder?: string | null
|
||||||
@@ -337,7 +337,7 @@ export class Value<Type, Store, Vault> {
|
|||||||
min?: number | null
|
min?: number | null
|
||||||
max?: number | null
|
max?: number | null
|
||||||
/** Default = '1' */
|
/** Default = '1' */
|
||||||
step?: string | null
|
step?: number | null
|
||||||
integer: boolean
|
integer: boolean
|
||||||
units?: string | null
|
units?: string | null
|
||||||
placeholder?: string | null
|
placeholder?: string | null
|
||||||
@@ -429,7 +429,6 @@ export class Value<Type, Store, Vault> {
|
|||||||
inputmode?: ValueSpecDatetime["inputmode"]
|
inputmode?: ValueSpecDatetime["inputmode"]
|
||||||
min?: string | null
|
min?: string | null
|
||||||
max?: string | null
|
max?: string | null
|
||||||
step?: string | null
|
|
||||||
/** Immutable means it can only be configed at the first config then never again
|
/** Immutable means it can only be configed at the first config then never again
|
||||||
Default is false */
|
Default is false */
|
||||||
immutable?: boolean
|
immutable?: boolean
|
||||||
@@ -464,7 +463,6 @@ export class Value<Type, Store, Vault> {
|
|||||||
inputmode?: ValueSpecDatetime["inputmode"]
|
inputmode?: ValueSpecDatetime["inputmode"]
|
||||||
min?: string | null
|
min?: string | null
|
||||||
max?: string | null
|
max?: string | null
|
||||||
step?: string | null
|
|
||||||
disabled?: false | string
|
disabled?: false | string
|
||||||
}
|
}
|
||||||
>,
|
>,
|
||||||
@@ -479,7 +477,6 @@ export class Value<Type, Store, Vault> {
|
|||||||
inputmode: "datetime-local",
|
inputmode: "datetime-local",
|
||||||
min: null,
|
min: null,
|
||||||
max: null,
|
max: null,
|
||||||
step: null,
|
|
||||||
disabled: false,
|
disabled: false,
|
||||||
immutable: false,
|
immutable: false,
|
||||||
...a,
|
...a,
|
||||||
|
|||||||
@@ -80,7 +80,6 @@ export interface ValueSpecDatetime extends WithStandalone {
|
|||||||
inputmode: "date" | "time" | "datetime-local"
|
inputmode: "date" | "time" | "datetime-local"
|
||||||
min: string | null
|
min: string | null
|
||||||
max: string | null
|
max: string | null
|
||||||
step: string | null
|
|
||||||
default: string | null
|
default: string | null
|
||||||
disabled: false | string
|
disabled: false | string
|
||||||
/** Immutable means it can only be configed at the first config then never again */
|
/** Immutable means it can only be configed at the first config then never again */
|
||||||
@@ -190,7 +189,7 @@ export interface ListValueSpecNumber {
|
|||||||
min: number | null
|
min: number | null
|
||||||
max: number | null
|
max: number | null
|
||||||
integer: boolean
|
integer: boolean
|
||||||
step: string | null
|
step: number | null
|
||||||
units: string | null
|
units: string | null
|
||||||
placeholder: string | null
|
placeholder: string | null
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -101,7 +101,6 @@ describe("values", () => {
|
|||||||
inputmode: "date",
|
inputmode: "date",
|
||||||
min: null,
|
min: null,
|
||||||
max: null,
|
max: null,
|
||||||
step: null,
|
|
||||||
})
|
})
|
||||||
const validator = value.validator
|
const validator = value.validator
|
||||||
validator.unsafeCast("2021-01-01")
|
validator.unsafeCast("2021-01-01")
|
||||||
@@ -116,7 +115,6 @@ describe("values", () => {
|
|||||||
inputmode: "date",
|
inputmode: "date",
|
||||||
min: null,
|
min: null,
|
||||||
max: null,
|
max: null,
|
||||||
step: null,
|
|
||||||
})
|
})
|
||||||
const validator = value.validator
|
const validator = value.validator
|
||||||
validator.unsafeCast("2021-01-01")
|
validator.unsafeCast("2021-01-01")
|
||||||
|
|||||||
Reference in New Issue
Block a user