You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
492 B
34 lines
492 B
export const getStorage = {
|
|
key: {
|
|
type: String,
|
|
required: true
|
|
}
|
|
}
|
|
|
|
export const getStorageSync = [{
|
|
name: 'key',
|
|
type: String,
|
|
required: true
|
|
}]
|
|
|
|
export const setStorage = {
|
|
key: {
|
|
type: String,
|
|
required: true
|
|
},
|
|
data: {
|
|
required: true
|
|
}
|
|
}
|
|
|
|
export const setStorageSync = [{
|
|
name: 'key',
|
|
type: String,
|
|
required: true
|
|
}, {
|
|
name: 'data',
|
|
required: true
|
|
}]
|
|
|
|
export const removeStorage = getStorage
|
|
export const removeStorageSync = getStorageSync
|
|
|