Skip to content

Commit

Permalink
[READWISE] RxDB patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam authored and eliias committed Apr 3, 2024
1 parent 9cdca98 commit fab5604
Show file tree
Hide file tree
Showing 22 changed files with 1,307 additions and 50 deletions.
4 changes: 4 additions & 0 deletions dist/cjs/plugins/storage-lokijs/rx-storage-lokijs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cjs/plugins/storage-lokijs/rx-storage-lokijs.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cjs/plugins/utils/utils-rxdb-version.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cjs/plugins/utils/utils-rxdb-version.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions dist/esm/plugins/storage-lokijs/rx-storage-lokijs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/esm/plugins/storage-lokijs/rx-storage-lokijs.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/esm/plugins/utils/utils-rxdb-version.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/esm/plugins/utils/utils-rxdb-version.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/types/plugins/storage-denokv/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { RxStorageInstanceDenoKV } from "./rx-storage-instance-denokv.ts";
export declare class RxStorageDenoKV implements RxStorage<DenoKVStorageInternals<any>, DenoKVSettings> {
settings: DenoKVSettings;
name: string;
readonly rxdbVersion = "15.15.1";
readonly rxdbVersion = "15.16.0";
constructor(settings: DenoKVSettings);
createStorageInstance<RxDocType>(params: RxStorageInstanceCreationParams<RxDocType, DenoKVSettings>): Promise<RxStorageInstanceDenoKV<RxDocType>>;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/types/plugins/storage-dexie/rx-storage-dexie.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { RxStorageInstanceDexie } from './rx-storage-instance-dexie.ts';
export declare class RxStorageDexie implements RxStorage<DexieStorageInternals, DexieSettings> {
settings: DexieSettings;
name: string;
readonly rxdbVersion = "15.15.1";
readonly rxdbVersion = "15.16.0";
constructor(settings: DexieSettings);
createStorageInstance<RxDocType>(params: RxStorageInstanceCreationParams<RxDocType, DexieSettings>): Promise<RxStorageInstanceDexie<RxDocType>>;
}
Expand Down
6 changes: 5 additions & 1 deletion dist/types/plugins/storage-lokijs/rx-storage-lokijs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { LeaderElector } from 'broadcast-channel';
export declare class RxStorageLoki implements RxStorage<LokiStorageInternals, LokiSettings> {
databaseSettings: LokiDatabaseSettings;
name: string;
readonly rxdbVersion = "15.15.1";
readonly rxdbVersion = "15.16.0";
/**
* Create one leader elector by db name.
* This is done inside of the storage, not globally
Expand All @@ -21,4 +21,8 @@ export declare class RxStorageLoki implements RxStorage<LokiStorageInternals, Lo
constructor(databaseSettings: LokiDatabaseSettings);
createStorageInstance<RxDocType>(params: RxStorageInstanceCreationParams<RxDocType, LokiSettings>): Promise<RxStorageInstanceLoki<RxDocType>>;
}
/**
* @deprecated The lokijs RxStorage is deprecated, more info at:
* @link https://rxdb.info/rx-storage-lokijs.html
*/
export declare function getRxStorageLoki(databaseSettings?: LokiDatabaseSettings): RxStorageLoki;
2 changes: 1 addition & 1 deletion dist/types/plugins/storage-mongodb/rx-storage-mongodb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { RxStorageInstanceMongoDB } from './rx-storage-instance-mongodb.ts';
export declare class RxStorageMongoDB implements RxStorage<MongoDBStorageInternals, MongoDBSettings> {
databaseSettings: MongoDBDatabaseSettings;
name: string;
readonly rxdbVersion = "15.15.1";
readonly rxdbVersion = "15.16.0";
constructor(databaseSettings: MongoDBDatabaseSettings);
createStorageInstance<RxDocType>(params: RxStorageInstanceCreationParams<RxDocType, MongoDBSettings>): Promise<RxStorageInstanceMongoDB<RxDocType>>;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/types/plugins/storage-remote/rx-storage-remote.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { MessageFromRemote, RemoteMessageChannel, RxStorageRemoteInternals,
export declare class RxStorageRemote implements RxStorage<RxStorageRemoteInternals, any> {
readonly settings: RxStorageRemoteSettings;
readonly name: string;
readonly rxdbVersion = "15.15.1";
readonly rxdbVersion = "15.16.0";
private seed;
private lastRequestId;
messageChannelIfOneMode?: Promise<RemoteMessageChannel>;
Expand Down
2 changes: 1 addition & 1 deletion dist/types/plugins/utils/utils-rxdb-version.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
* This file is replaced in the 'npm run build:version' script.
*/
export declare const RXDB_VERSION = "15.15.1";
export declare const RXDB_VERSION = "15.16.0";
2 changes: 1 addition & 1 deletion dist/types/rx-database.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export declare class RxDatabaseBase<Internals, InstanceCreationOptions, Collecti
readonly allowSlowCount?: boolean | undefined;
readonly reactivity?: RxReactivityFactory<any> | undefined;
readonly idleQueue: IdleQueue;
readonly rxdbVersion = "15.15.1";
readonly rxdbVersion = "15.16.0";
/**
* Contains all known non-closed storage instances
* that belong to this database.
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,8 @@
"preversion": "npm run lint && npm run test",
"dev": "watch 'npm run test:node:memory' src/ test/",
"dev:example": "watch 'npm run transpile:src && echo \"done\"' src/ test/",
"cloud-signaling-server": "node ./scripts/start-cloud-signaling-server.mjs --max-old-space-size=2048"
"cloud-signaling-server": "node ./scripts/start-cloud-signaling-server.mjs --max-old-space-size=2048",
"watch:transpile": "nodemon --watch src/ --ext ts --ignore 'src/plugins/*' --exec npm run transpile"
},
"pre-commit": [
"lint"
Expand Down Expand Up @@ -557,6 +558,7 @@
"nconf": "0.12.1",
"node-datachannel": "0.5.5",
"node-pre-gyp": "0.17.0",
"nodemon": "3.0.1",
"pre-commit": "1.2.2",
"process": "0.11.10",
"querystring-es3": "0.2.1",
Expand All @@ -581,4 +583,4 @@
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
}
}
}
Loading

0 comments on commit fab5604

Please sign in to comment.