# Types & Constants
# Type aliases
# DefaultKey
Ƭ DefaultKey: "default"
Defined in Interfaces.ts:5
# DeserializeFunction
Ƭ DeserializeFunction: function
Defined in Interfaces.ts:16
# Type declaration:
▸ (this
: VuexMultiHistory, historyKey
: string, stateData
: any, state
: any): any
Parameters:
Name | Type |
---|---|
this | VuexMultiHistory |
historyKey | string |
stateData | any |
state | any |
# FilterFunction
Ƭ FilterFunction: function
Defined in Interfaces.ts:7
# Type declaration:
▸ (this
: VuexMultiHistory, mutation
: T): boolean
Parameters:
Name | Type |
---|---|
this | VuexMultiHistory |
mutation | T |
# FindSnapshotOptions
Ƭ FindSnapshotOptions: FindSnapshotByIdOptions | FindSnapshotByIndexOptions | FindSnapshotByInstanceOptions
Defined in VuexHistory.ts:21
# GetSnapshotIndexOptions
Ƭ GetSnapshotIndexOptions: Exclude‹FindSnapshotOptions, FindSnapshotByIndexOptions›
Defined in VuexHistory.ts:24
# GetSnapshotOptions
Ƭ GetSnapshotOptions: Exclude‹FindSnapshotOptions, FindSnapshotByInstanceOptions›
Defined in VuexHistory.ts:23
# HistoryMap
Ƭ HistoryMap: Record‹string, VuexHistory›
Defined in VuexMultiHistory.ts:35
# HistorySnapshotId
Ƭ HistorySnapshotId: number
Defined in HistorySnapshot.ts:1
# ResolveFunction
Ƭ ResolveFunction: function
Defined in Interfaces.ts:11
# Type declaration:
▸ (this
: VuexMultiHistory, mutation
: T): string[]
Parameters:
Name | Type |
---|---|
this | VuexMultiHistory |
mutation | T |
# SerializeFunction
Ƭ SerializeFunction: function
Defined in Interfaces.ts:15
# Type declaration:
▸ (this
: VuexMultiHistory, historyKey
: string, state
: any): any
Parameters:
Name | Type |
---|---|
this | VuexMultiHistory |
historyKey | string |
state | any |
# Variables
# Const
DEFAULT_KEY
• DEFAULT_KEY: DefaultKey = "default"
Defined in VuexMultiHistory.ts:33
# Const
HISTORY_SNAPSHOT_ID_TYPE
• HISTORY_SNAPSHOT_ID_TYPE: "number" = "number"
Defined in HistorySnapshot.ts:3
# Functions
# Const
DEFAULT_DESERIALIZE
▸ DEFAULT_DESERIALIZE(historyKey
: string, stateData
: any, state
: any): any
Defined in VuexMultiHistory.ts:30
Parameters:
Name | Type |
---|---|
historyKey | string |
stateData | any |
state | any |
Returns: any
# Const
DEFAULT_FILTER
▸ DEFAULT_FILTER(mutation
: MutationPayload): true
Defined in VuexMultiHistory.ts:18
Parameters:
Name | Type |
---|---|
mutation | MutationPayload |
Returns: true
# Const
DEFAULT_RESOLVE
▸ DEFAULT_RESOLVE(mutation
: MutationPayload): string[]
Defined in VuexMultiHistory.ts:22
Parameters:
Name | Type |
---|---|
mutation | MutationPayload |
Returns: string[]
# Const
DEFAULT_SERIALIZE
▸ DEFAULT_SERIALIZE(historyKey
: string, state
: any): any
Defined in VuexMultiHistory.ts:26
Parameters:
Name | Type |
---|---|
historyKey | string |
state | any |
Returns: any
# Const
generateDefaultOptions
▸ generateDefaultOptions(): object
Defined in VuexMultiHistory.ts:59
Returns: object
debug: false = false
filter(): function
- (
this
: VuexMultiHistory,mutation
: T): boolean
- (
size: number = 50
# histories: object
keys: "default"[] = [DEFAULT_KEY]
resolve(): function
- (
this
: VuexMultiHistory,mutation
: T): string[]
- (
# transform: object
deserialize(): function
- (
this
: VuexMultiHistory,historyKey
: string,stateData
: any,state
: any): any
- (
serialize(): function
- (
this
: VuexMultiHistory,historyKey
: string,state
: any): any
- (
← Guide Module: "vuex" →