Preparing search index...
The search index is not available
tsbase
tsbase
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
field
Is
Array
Of
Data
Model
get
Metadata
validate
Data
Model
Array
validate
Model
Get
Key
From
Member
Func
Constructors
constructor
new
Model
<
T
>
(
IsTemplate
?
)
:
Model
<
T
>
Type Parameters
T
Parameters
IsTemplate
:
boolean
= false
Returns
Model
<
T
>
Properties
Is
Template
Is
Template
:
boolean
= false
Static
Metadata
Metadata
:
Record
<
string
,
Record
<
string
,
any
>
>
= {}
Accessors
Model
Keys
get
ModelKeys
(
)
:
string
[]
Returns
string
[]
Methods
Description
For
Description
For
(
member
)
:
string
Parameters
member
:
string
|
(
(
func
)
=>
any
)
Returns
string
Input
Type
For
Input
Type
For
(
member
)
:
string
Parameters
member
:
string
|
(
(
func
)
=>
any
)
Returns
string
Label
For
Label
For
(
member
)
:
string
Parameters
member
:
string
|
(
(
func
)
=>
any
)
Returns
string
Options
For
Options
For
(
member
)
:
Record
<
string
,
string
>
Parameters
member
:
string
|
(
(
func
)
=>
any
)
Returns
Record
<
string
,
string
>
Validate
Validate
(
member
?
)
:
Result
<
null
>
Parameters
Optional
member
:
(
(
func
)
=>
any
)
(
func
)
:
any
Parameters
func
:
T
Returns
any
Returns
Result
<
null
>
Validate
Field
Validate
Field
(
member
)
:
Result
<
null
>
Parameters
member
:
(
(
func
)
=>
any
)
(
func
)
:
any
Parameters
func
:
any
Returns
any
Returns
Result
<
null
>
Validations
For
Validations
For
(
member
)
:
IValidation
<
Model
<
T
>
>
[]
Parameters
member
:
string
|
(
(
func
)
=>
any
)
Returns
IValidation
<
Model
<
T
>
>
[]
Private
field
Is
Array
Of
Data
Model
field
Is
Array
Of
Data
Model
(
field
)
:
boolean
Parameters
field
:
any
Returns
boolean
Private
get
Metadata
get
Metadata
<
T
>
(
metadataKey
,
member
,
defaultValue
)
:
T
Type Parameters
T
Parameters
metadataKey
:
MetadataKeys
member
:
string
|
(
(
func
)
=>
any
)
defaultValue
:
any
Returns
T
Private
validate
Data
Model
Array
validate
Data
Model
Array
(
key
,
result
)
:
Result
<
null
>
Parameters
key
:
string
result
:
Result
<
null
>
Returns
Result
<
null
>
Private
validate
Model
validate
Model
(
)
:
Result
<
null
>
Returns
Result
<
null
>
Static
Get
Key
From
Member
Func
Get
Key
From
Member
Func
(
member
)
:
string
Parameters
member
:
(
(
func
)
=>
any
)
(
func
)
:
any
Parameters
func
:
any
Returns
any
Returns
string
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
Is
Template
Metadata
Model
Keys
Description
For
Input
Type
For
Label
For
Options
For
Validate
Validate
Field
Validations
For
field
Is
Array
Of
Data
Model
get
Metadata
validate
Data
Model
Array
validate
Model
Get
Key
From
Member
Func
tsbase
DomStorageMode
EventTypes
HttpMethod
InputTypes
LogLevel
MetadataKeys
TransactionMode
AsyncCommand
AsyncObservable
AsyncQuery
BaseObservable
Cache
Command
ConditionalTimer
Container
CookieStorage
Cookies
Csv
DomStorage
DomStoragePersister
EventStore
Loading...
Generated using
TypeDoc