@hmiproject/helio-sdk
Preparing search index...
PropsSchema
Type Alias PropsSchema<BaseSchema>
type
PropsSchema
<
BaseSchema
extends
SchemaDef
=
SchemaDef
>
=
{
current
:
BaseSchema
;
migrations
:
ReadonlyArray
<
Migration
>
;
migrate
<
ToSchema
extends
SchemaDef
>
(
nextSchema
:
ToSchema
,
migrationFn
:
MigrationFn
<
BaseSchema
,
ToSchema
>
,
)
:
PropsSchema
<
ToSchema
>
;
}
Type Parameters
BaseSchema
extends
SchemaDef
=
SchemaDef
Index
Properties
current
migrations
Methods
migrate
Properties
current
current
:
BaseSchema
migrations
migrations
:
ReadonlyArray
<
Migration
>
Methods
migrate
migrate
<
ToSchema
extends
SchemaDef
>
(
nextSchema
:
ToSchema
,
migrationFn
:
MigrationFn
<
BaseSchema
,
ToSchema
>
,
)
:
PropsSchema
<
ToSchema
>
Type Parameters
ToSchema
extends
SchemaDef
Parameters
nextSchema
:
ToSchema
migrationFn
:
MigrationFn
<
BaseSchema
,
ToSchema
>
Returns
PropsSchema
<
ToSchema
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
current
migrations
Methods
migrate
@hmiproject/helio-sdk
Loading...