sqlite-replication
Advanced tools
Comparing version 0.0.1 to 0.0.2-b
{ | ||
"name": "sqlite-replication", | ||
"version": "0.0.1", | ||
"version": "0.0.2b", | ||
"description": "A Typescript module to replicate SQLite DB with server.", | ||
@@ -8,2 +8,4 @@ "scripts": { | ||
}, | ||
"main": "./dist/index.js", | ||
"types": "./dist/replication.d.ts", | ||
"repository": { | ||
@@ -10,0 +12,0 @@ "type": "git", |
import { capSQLiteChanges } from '@capacitor-community/sqlite'; | ||
interface ReplicationStorage { | ||
export interface ReplicationStorage { | ||
createReplicationStatesTable(): Promise<any>; | ||
@@ -9,3 +9,3 @@ getDefinedColumns(collectionName: string): Promise<string[] | null>; | ||
} | ||
interface ReplicationCollectionOptions { | ||
export interface ReplicationCollectionOptions { | ||
name: string; | ||
@@ -17,3 +17,3 @@ batchSize: number; | ||
} | ||
interface ReplicationOptions { | ||
export interface ReplicationOptions { | ||
collections: ReplicationCollectionOptions[]; | ||
@@ -23,7 +23,7 @@ fetchPull: (pullConfigs: any) => Promise<any>; | ||
} | ||
interface ReplicationState { | ||
export interface ReplicationState { | ||
offset: number; | ||
cursor: number; | ||
} | ||
interface ReplicationConfig { | ||
export interface ReplicationConfig { | ||
limit: number; | ||
@@ -33,3 +33,3 @@ offset: number; | ||
} | ||
interface PulledCollection { | ||
export interface PulledCollection { | ||
hasMoreChanges: number; | ||
@@ -41,3 +41,3 @@ offset: number; | ||
} | ||
interface PulledDocument { | ||
export interface PulledDocument { | ||
deletedAt: number; | ||
@@ -44,0 +44,0 @@ updatedAt: number; |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
61344
19
1192
1