@adobe/data - v0.10.30
Preparing search index...
ecs
Store
create
Variable create
Const
create
:
<
CS
extends
ComponentSchemas
=
{}
,
RS
extends
ResourceSchemas
=
{}
,
A
extends
ArchetypeComponents
<
StringKeyof
<
CS
>
>
=
{}
,
IX
extends
IndexDeclarations
<
FromSchemas
<
CS
>
,
A
>
=
{}
,
>
(
schema
?:
Store
.
Schema
<
CS
,
RS
,
A
,
IX
>
,
options
?:
CreateStoreOptions
,
)
=>
Store
<
FromSchemas
<
CS
>
,
FromSchemas
<
RS
>
,
A
,
IX
,
PartitionKeysOf
<
CS
>
,
DefaultFactoryKeys
<
CS
>
,
>
= createStore
Type declaration
<
CS
extends
ComponentSchemas
=
{}
,
RS
extends
ResourceSchemas
=
{}
,
A
extends
ArchetypeComponents
<
StringKeyof
<
CS
>
>
=
{}
,
IX
extends
IndexDeclarations
<
FromSchemas
<
CS
>
,
A
>
=
{}
,
>
(
schema
?:
Store
.
Schema
<
CS
,
RS
,
A
,
IX
>
,
options
?:
CreateStoreOptions
,
)
:
Store
<
FromSchemas
<
CS
>
,
FromSchemas
<
RS
>
,
A
,
IX
,
PartitionKeysOf
<
CS
>
,
DefaultFactoryKeys
<
CS
>
,
>
Type Parameters
CS
extends
ComponentSchemas
=
{}
RS
extends
ResourceSchemas
=
{}
A
extends
ArchetypeComponents
<
StringKeyof
<
CS
>
>
=
{}
IX
extends
IndexDeclarations
<
FromSchemas
<
CS
>
,
A
>
=
{}
Parameters
Optional
schema
:
Store
.
Schema
<
CS
,
RS
,
A
,
IX
>
Optional
options
:
CreateStoreOptions
Returns
Store
<
FromSchemas
<
CS
>
,
FromSchemas
<
RS
>
,
A
,
IX
,
PartitionKeysOf
<
CS
>
,
DefaultFactoryKeys
<
CS
>
,
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
@adobe/data - v0.10.30
Loading...