tsbase
Preparing search index...
Model
Class Model<T>
Abstract
Type Parameters
T
Index
Constructors
constructor
Properties
Is
Template
Metadata
Accessors
Model
Keys
Methods
Description
For
Input
Type
For
Label
For
Options
For
Validate
Validate
Field
Validations
For
Get
Key
From
Member
Func
Constructors
constructor
new
Model
<
T
>
(
IsTemplate
?:
boolean
)
:
Model
<
T
>
Type Parameters
T
Parameters
IsTemplate
:
boolean
= false
Returns
Model
<
T
>
Properties
Is
Template
IsTemplate
:
boolean
= false
Static
Metadata
Metadata
:
Record
<
string
,
Record
<
string
,
any
>
>
= {}
Accessors
Model
Keys
get
ModelKeys
()
:
string
[]
Returns
string
[]
Methods
Description
For
DescriptionFor
(
member
:
string
|
(
(
func
:
T
)
=>
any
)
)
:
string
Parameters
member
:
string
|
(
(
func
:
T
)
=>
any
)
Returns
string
Input
Type
For
InputTypeFor
(
member
:
string
|
(
(
func
:
T
)
=>
any
)
)
:
string
Parameters
member
:
string
|
(
(
func
:
T
)
=>
any
)
Returns
string
Label
For
LabelFor
(
member
:
string
|
(
(
func
:
T
)
=>
any
)
)
:
string
Parameters
member
:
string
|
(
(
func
:
T
)
=>
any
)
Returns
string
Options
For
OptionsFor
(
member
:
string
|
(
(
func
:
T
)
=>
any
)
)
:
Record
<
string
,
string
>
Parameters
member
:
string
|
(
(
func
:
T
)
=>
any
)
Returns
Record
<
string
,
string
>
Validate
Validate
(
member
?:
(
func
:
T
)
=>
any
)
:
Result
<
null
>
Parameters
Optional
member
:
(
func
:
T
)
=>
any
Returns
Result
<
null
>
Validate
Field
ValidateField
(
member
:
(
func
:
any
)
=>
any
)
:
Result
<
null
>
Parameters
member
:
(
func
:
any
)
=>
any
Returns
Result
<
null
>
Validations
For
ValidationsFor
(
member
:
string
|
(
(
func
:
T
)
=>
any
)
)
:
IValidation
<
Model
<
T
>
>
[]
Parameters
member
:
string
|
(
(
func
:
T
)
=>
any
)
Returns
IValidation
<
Model
<
T
>
>
[]
Static
Get
Key
From
Member
Func
GetKeyFromMemberFunc
(
member
:
(
func
:
any
)
=>
any
)
:
string
Parameters
member
:
(
func
:
any
)
=>
any
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
Is
Template
Metadata
Accessors
Model
Keys
Methods
Description
For
Input
Type
For
Label
For
Options
For
Validate
Validate
Field
Validations
For
Get
Key
From
Member
Func
tsbase
Loading...