Search
Preparing search index...
The search index is not available
Paris
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
EntityConfigBase
Class EntityConfigBase<TEntity, TRawData, TId>
Type parameters
TEntity
:
ModelBase
TRawData
TId
:
EntityId
Hierarchy
EntityConfigBase
ModelEntity
Implements
ModelConfig
<
TEntity
,
TRawData
,
TId
>
Index
Constructors
constructor
Properties
entity
Constructor
fields
id
Property
plural
Name
readonly
serialize
Item
singular
Name
values
Accessors
fields
Array
id
Field
Methods
get
Default
Value
get
Value
ById
has
Value
supports
Get
Method
Constructors
constructor
new
Entity
Config
Base
(
config
:
IEntityConfigBase
<
TEntity
,
TRawData
,
TId
>
, entityConstructor
:
DataEntityType
<
TEntity
,
TRawData
,
TId
>
)
:
EntityConfigBase
Parameters
config:
IEntityConfigBase
<
TEntity
,
TRawData
,
TId
>
entityConstructor:
DataEntityType
<
TEntity
,
TRawData
,
TId
>
Returns
EntityConfigBase
Properties
entity
Constructor
entity
Constructor
:
DataEntityType
<
TEntity
,
TRawData
,
TId
>
Optional
fields
fields
:
EntityFields
Optional
id
Property
id
Property
:
keyof TRawData
plural
Name
plural
Name
:
string
readonly
readonly
:
boolean
= false
Optional
serialize
Item
serialize
Item
:
function
Type declaration
(
item
:
Partial
<
TEntity
>
, serializedItem
?:
any
, entity
?:
IEntityConfigBase
<
TEntity
,
TRawData
,
TId
>
, config
?:
ParisConfig
, serializationData
?:
any
)
:
any
Parameters
item:
Partial
<
TEntity
>
Optional
serializedItem:
any
Optional
entity:
IEntityConfigBase
<
TEntity
,
TRawData
,
TId
>
Optional
config:
ParisConfig
Optional
serializationData:
any
Returns
any
singular
Name
singular
Name
:
string
values
values
:
Array
<
TEntity
>
Accessors
fields
Array
get
fieldsArray
(
)
:
Array
<
Field
>
Returns
Array
<
Field
>
id
Field
get
idField
(
)
:
Field
Returns
Field
Methods
get
Default
Value
get
Default
Value
(
)
:
TEntity
Returns
TEntity
get
Value
ById
get
Value
ById
(
valueId
:
EntityId
)
:
TEntity
Parameters
valueId:
EntityId
Returns
TEntity
has
Value
has
Value
(
valueId
:
EntityId
)
:
boolean
Parameters
valueId:
EntityId
Returns
boolean
supports
Get
Method
supports
Get
Method
(
getMethod
:
EntityGetMethod
)
:
boolean
Parameters
getMethod:
EntityGetMethod
Returns
boolean
Globals
Entity
Config
Base
constructor
entity
Constructor
fields
id
Property
plural
Name
readonly
serialize
Item
singular
Name
values
fields
Array
id
Field
get
Default
Value
get
Value
ById
has
Value
supports
Get
Method
Generated using
TypeDoc