UNPKG

@ic-wallet-kit/hpl

Version:
106 lines (105 loc) 3.15 kB
import { RxStorage } from "rxdb"; import { BaseRxDbContext, IdentifierService } from "@ic-wallet-kit/common"; export declare class HplDbContext extends BaseRxDbContext { private identifierService; constructor(identifierService: IdentifierService, rxStorage: RxStorage<any, any>); getDbName(): string; getSchema(): { hplAssets: { schema: { type: string; version: number; primaryKey: string; properties: { id: { type: string; maxLength: number; }; updatedAt: { type: string; }; payload: { type: string; }; _deleted: { type: string; }; }; required: string[]; }; migrationStrategies: {}; }; hplAccounts: { schema: { type: string; version: number; primaryKey: string; properties: { id: { type: string; maxLength: number; }; updatedAt: { type: string; }; payload: { type: string; }; _deleted: { type: string; }; }; required: string[]; }; migrationStrategies: {}; }; hplVirtualAccounts: { schema: { type: string; version: number; primaryKey: string; properties: { id: { type: string; maxLength: number; }; updatedAt: { type: string; }; payload: { type: string; }; _deleted: { type: string; }; }; required: string[]; }; migrationStrategies: {}; }; hplContacts: { schema: { type: string; version: number; primaryKey: string; properties: { id: { type: string; maxLength: number; }; updatedAt: { type: string; }; payload: { type: string; }; _deleted: { type: string; }; }; required: string[]; }; migrationStrategies: {}; }; }; }