mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 02:11:56 +00:00
Merge branch 'feat/update-types' of github.com:Start9Labs/start-sdk into feat/update-types
This commit is contained in:
@@ -29,7 +29,6 @@ export class List<A extends ValueSpecList> extends IBuilder<A> {
|
|||||||
warning?: string | null;
|
warning?: string | null;
|
||||||
/** Default = [] */
|
/** Default = [] */
|
||||||
default?: string[];
|
default?: string[];
|
||||||
/** Default = 0 */
|
|
||||||
minLength?: number | null;
|
minLength?: number | null;
|
||||||
maxLength?: number | null;
|
maxLength?: number | null;
|
||||||
},
|
},
|
||||||
@@ -58,7 +57,7 @@ export class List<A extends ValueSpecList> extends IBuilder<A> {
|
|||||||
warning: null,
|
warning: null,
|
||||||
default: [],
|
default: [],
|
||||||
type: "list" as const,
|
type: "list" as const,
|
||||||
minLength: 0,
|
minLength: null,
|
||||||
maxLength: null,
|
maxLength: null,
|
||||||
...a,
|
...a,
|
||||||
spec,
|
spec,
|
||||||
@@ -71,7 +70,6 @@ export class List<A extends ValueSpecList> extends IBuilder<A> {
|
|||||||
warning?: string | null;
|
warning?: string | null;
|
||||||
/** Default = [] */
|
/** Default = [] */
|
||||||
default?: string[];
|
default?: string[];
|
||||||
/** Default = 0 */
|
|
||||||
minLength?: number | null;
|
minLength?: number | null;
|
||||||
maxLength?: number | null;
|
maxLength?: number | null;
|
||||||
},
|
},
|
||||||
@@ -96,7 +94,7 @@ export class List<A extends ValueSpecList> extends IBuilder<A> {
|
|||||||
return new List({
|
return new List({
|
||||||
description: null,
|
description: null,
|
||||||
warning: null,
|
warning: null,
|
||||||
minLength: 0,
|
minLength: null,
|
||||||
maxLength: null,
|
maxLength: null,
|
||||||
default: [],
|
default: [],
|
||||||
type: "list" as const,
|
type: "list" as const,
|
||||||
@@ -111,7 +109,6 @@ export class List<A extends ValueSpecList> extends IBuilder<A> {
|
|||||||
warning?: string | null;
|
warning?: string | null;
|
||||||
/** Default [] */
|
/** Default [] */
|
||||||
default?: [];
|
default?: [];
|
||||||
/** Default = 0 */
|
|
||||||
minLength?: number | null;
|
minLength?: number | null;
|
||||||
maxLength?: number | null;
|
maxLength?: number | null;
|
||||||
},
|
},
|
||||||
@@ -138,7 +135,7 @@ export class List<A extends ValueSpecList> extends IBuilder<A> {
|
|||||||
return new List({
|
return new List({
|
||||||
description: null,
|
description: null,
|
||||||
warning: null,
|
warning: null,
|
||||||
minLength: 0,
|
minLength: null,
|
||||||
maxLength: null,
|
maxLength: null,
|
||||||
type: "list" as const,
|
type: "list" as const,
|
||||||
...value,
|
...value,
|
||||||
|
|||||||
Reference in New Issue
Block a user