Initial commit
This commit is contained in:
35
assets/js/stores.js
Normal file
35
assets/js/stores.js
Normal file
@ -0,0 +1,35 @@
|
||||
const WorldmapFilterStore = {
|
||||
autoIncrement: false,
|
||||
keyPath: "id",
|
||||
storeName: "worldmapFilter",
|
||||
// __construct: {
|
||||
// id: "",
|
||||
// filters: {},
|
||||
// },
|
||||
_filters: {},
|
||||
storeObjects: {}
|
||||
};
|
||||
|
||||
const WorldmapStore = {
|
||||
autoIncrement: false,
|
||||
keyPath: "id",
|
||||
storeName: "worldmap",
|
||||
_region: {
|
||||
id: "",
|
||||
name: "",
|
||||
scrollLeft: 50,
|
||||
scrollTop: 50,
|
||||
zoomLevel: 1,
|
||||
}
|
||||
};
|
||||
|
||||
// const NodeStore = {
|
||||
// storeName: "node",
|
||||
// keyPath: "id",
|
||||
// autoIncrement: false
|
||||
// }
|
||||
|
||||
export const IDB_stores = {
|
||||
WorldmapFilterStore,
|
||||
WorldmapStore
|
||||
};
|
||||
Reference in New Issue
Block a user