Initial commit
This commit is contained in:
15
assets/js/idb_stores.js
Normal file
15
assets/js/idb_stores.js
Normal file
@ -0,0 +1,15 @@
|
||||
import {Store, Index} from "./Classes/Store";
|
||||
|
||||
|
||||
export const IDB_stores = {
|
||||
ProfileStore: new Store("profile", false, "slug", [
|
||||
new Index("isActive", false)
|
||||
]),
|
||||
RegionStore: new Store("region", false, "slug"),
|
||||
FilterStore: new Store("filter", false, ["region", "slug"], [
|
||||
new Index("region", false)
|
||||
]),
|
||||
NodeStore: new Store("node", false, ["profile", "domId"], [
|
||||
new Index("region", false)
|
||||
]),
|
||||
};
|
||||
Reference in New Issue
Block a user