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