UNPKG

test-ic-wallet-middleware-icrc

Version:
106 lines (105 loc) 3.14 kB
import { RxStorage } from "rxdb"; import { BaseRxDbContext, IdentifierService } from "@ic-wallet-middleware/common"; export declare class IcrcDbContext extends BaseRxDbContext { private identifierService; constructor(identifierService: IdentifierService, rxStorage: RxStorage<any, any>); getDbName(): string; getSchema(): { assets: { 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: {}; }; contacts: { 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: {}; }; allowances: { 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: {}; }; services: { 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: {}; }; }; }