aboutsummaryrefslogtreecommitdiff
path: root/src/PrisbeamDataStore.ts
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2024-06-29 20:59:16 +0200
committerRaindropsSys <raindrops@equestria.dev>2024-06-29 20:59:16 +0200
commit914bcbb474f6f186c212b2da0d9d864b5e75d8e4 (patch)
treeb77a3e341f87e7a9c4ad9e1f9d4928f5b2495329 /src/PrisbeamDataStore.ts
parent1c94bd658c2469f9ca9f465db82e71b6f7d2bfe8 (diff)
downloadfaunerie-914bcbb474f6f186c212b2da0d9d864b5e75d8e4.tar.gz
faunerie-914bcbb474f6f186c212b2da0d9d864b5e75d8e4.tar.bz2
faunerie-914bcbb474f6f186c212b2da0d9d864b5e75d8e4.zip
Rename to Faunerie
Diffstat (limited to 'src/PrisbeamDataStore.ts')
-rwxr-xr-xsrc/PrisbeamDataStore.ts47
1 files changed, 0 insertions, 47 deletions
diff --git a/src/PrisbeamDataStore.ts b/src/PrisbeamDataStore.ts
deleted file mode 100755
index cf910f0..0000000
--- a/src/PrisbeamDataStore.ts
+++ /dev/null
@@ -1,47 +0,0 @@
-import {PrisbeamApp} from "./PrisbeamApp";
-import {Prisbeam} from "libprisbeam";
-
-export class PrisbeamDataStore {
- public loaded: boolean;
- public loadedFromCache: boolean;
- public hadErrorsLoading: boolean;
- public searching: boolean;
- public source: string;
- public appData: string;
- public database: Prisbeam;
- public db: object;
- public tags: any[][];
- public tagsHashed: object;
- public currentView: any[];
- public currentViewItems: any[];
- public page: number;
- public modal: any;
- public loader: any;
- public login: any;
- public unloaded: boolean;
- public currentImage: any;
- public currentImageClasses: any[];
- public needUpdate: boolean;
- public lastQuery: string;
- public lastPress: number;
- public close: boolean;
-
- constructor(instance: PrisbeamApp) {
- let bootstrap = instance.bootstrap;
-
- this.page = 1;
- this.searching = false;
- this.unloaded = false;
- // @ts-ignore
- this.modal = new bootstrap.Modal(document.getElementById("preview"));
- // @ts-ignore
- this.loader = new bootstrap.Modal(document.getElementById("loader"));
- this.login = new bootstrap.Modal(document.getElementById("login"));
- this.loader.show();
- this.currentImage = null;
- this.currentImageClasses = [];
- this.hadErrorsLoading = false;
- this.lastQuery = "";
- this.loaded = false;
- }
-}