ngx-indexed-database
Version:
<div align="center"> <img src="https://w3c.github.io/IndexedDB/logo-db.svg" width="120"/> </div> <h1 align="center">ngx-indexed-database</h1>
17 lines (16 loc) • 769 B
TypeScript
import { IndexedDBStoreSchema } from "../models/IndexedDBStoreSchema";
import * as i0 from "@angular/core";
export declare class NgxIndexedDatabaseStoreSchemaService {
primaryKey: string;
constructor();
defineSchemasStore(dbName: string): Promise<{
success: boolean;
}>;
modifySchemaStore(dbName: string, storeName: string, storeSchema: IndexedDBStoreSchema): Promise<any>;
getStoreSchema(dbName: string, storeName: string): Promise<IndexedDBStoreSchema>;
removeStoreSchema(dbName: string, storeName: string): Promise<{
success: boolean;
}>;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxIndexedDatabaseStoreSchemaService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<NgxIndexedDatabaseStoreSchemaService>;
}