harperdb 4.5.7 → 4.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -22
- package/bin/harperdb.js +27 -27
- package/bin/lite.js +24 -24
- package/launchServiceScripts/launchInstallNATSServer.js +2 -2
- package/launchServiceScripts/launchNatsIngestService.js +23 -23
- package/launchServiceScripts/launchNatsReplyService.js +26 -26
- package/launchServiceScripts/launchUpdateNodes4-0-0.js +22 -22
- package/npm-shrinkwrap.json +38 -38
- package/package.json +1 -1
- package/resources/Resource.d.ts +2 -1
- package/resources/Table.d.ts +5 -5
- package/resources/databases.d.ts +5 -5
- package/server/jobs/jobProcess.js +23 -23
- package/server/threads/threadServer.js +23 -23
- package/studio/build-local/asset-manifest.json +33 -33
- package/studio/build-local/index.html +1 -1
- package/studio/build-local/static/js/{153.4789ff87.chunk.js → 101.de926db6.chunk.js} +2 -2
- package/studio/build-local/static/js/{833.52829e9a.chunk.js → 833.475ee615.chunk.js} +1 -1
- package/studio/build-local/static/js/{browse-csvupload.952e3db5.chunk.js → browse-csvupload.cfcf1c79.chunk.js} +1 -1
- package/studio/build-local/static/js/{browse-datatable.571e41b5.chunk.js → browse-datatable.85de5169.chunk.js} +1 -1
- package/studio/build-local/static/js/{browse-entitymanager.f32bbc12.chunk.js → browse-entitymanager.dddb5da8.chunk.js} +1 -1
- package/studio/build-local/static/js/{browse-jsonviewer.f7c88853.chunk.js → browse-jsonviewer.059b4189.chunk.js} +1 -1
- package/studio/build-local/static/js/{custom-functions.fce857f6.chunk.js → custom-functions.2c2e634c.chunk.js} +1 -1
- package/studio/build-local/static/js/{instance-cluster.989f54d0.chunk.js → instance-cluster.daef89d8.chunk.js} +1 -1
- package/studio/build-local/static/js/{instance-config.41346a1c.chunk.js → instance-config.ba645bea.chunk.js} +1 -1
- package/studio/build-local/static/js/{instance-logs.70be591c.chunk.js → instance-logs.33ace406.chunk.js} +1 -1
- package/studio/build-local/static/js/{instance-roles.00c558b1.chunk.js → instance-roles.0276d83f.chunk.js} +1 -1
- package/studio/build-local/static/js/{instance-status.3e2a5f15.chunk.js → instance-status.2f3aaaf7.chunk.js} +1 -1
- package/studio/build-local/static/js/{instance-users-datatable.536f91b4.chunk.js → instance-users-datatable.f75cf637.chunk.js} +1 -1
- package/studio/build-local/static/js/{instance-users-edit.4d42f079.chunk.js → instance-users-edit.3a3bc76f.chunk.js} +1 -1
- package/studio/build-local/static/js/{instance-users.c8146c89.chunk.js → instance-users.70ee5db2.chunk.js} +1 -1
- package/studio/build-local/static/js/{instance.25742318.chunk.js → instance.0bbb9d0e.chunk.js} +1 -1
- package/studio/build-local/static/js/{instances.a3850b41.chunk.js → instances.e86d288b.chunk.js} +1 -1
- package/studio/build-local/static/js/{main.4ff4a176.js → main.44262b30.js} +2 -2
- package/studio/build-local/static/js/{offline-app.ac5f38b0.chunk.js → offline-app.edb4be85.chunk.js} +1 -1
- package/studio/build-local/static/js/{online-app.3d563d0e.chunk.js → online-app.45440c0e.chunk.js} +1 -1
- package/studio/build-local/static/js/{organization-billing.8a2cd6ec.chunk.js → organization-billing.3ff0b995.chunk.js} +1 -1
- package/studio/build-local/static/js/{organization-users.138f50eb.chunk.js → organization-users.710f96e7.chunk.js} +1 -1
- package/studio/build-local/static/js/{organization.000a9206.chunk.js → organization.1aa3da8e.chunk.js} +1 -1
- package/studio/build-local/static/js/{organizations.73f9a526.chunk.js → organizations.259e09d3.chunk.js} +1 -1
- package/studio/build-local/static/js/{profile.9dc96422.chunk.js → profile.c1840496.chunk.js} +1 -1
- package/studio/build-local/static/js/{resetPassword.6198e026.chunk.js → resetPassword.37769fbe.chunk.js} +1 -1
- package/studio/build-local/static/js/{roles-jsonviewer.7ad3544a.chunk.js → roles-jsonviewer.b8cc0628.chunk.js} +1 -1
- package/studio/build-local/static/js/{signIn.c7a547bb.chunk.js → signIn.061b438e.chunk.js} +1 -1
- package/studio/build-local/static/js/{signUp.9c346cab.chunk.js → signUp.cabe1d80.chunk.js} +1 -1
- package/studio/build-local/static/js/{structure-reloader.71285544.chunk.js → structure-reloader.fd360bad.chunk.js} +1 -1
- package/studio/build-local/static/js/{topnav.491ca3cb.chunk.js → topnav.1fce7836.chunk.js} +1 -1
- package/studio/build-local/static/js/{updatePassword.452f5cbc.chunk.js → updatePassword.dc41627a.chunk.js} +1 -1
- package/utility/scripts/restartHdb.js +22 -22
- /package/studio/build-local/static/js/{153.4789ff87.chunk.js.LICENSE.txt → 101.de926db6.chunk.js.LICENSE.txt} +0 -0
- /package/studio/build-local/static/js/{main.4ff4a176.js.LICENSE.txt → main.44262b30.js.LICENSE.txt} +0 -0
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "harperdb",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.8",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "harperdb",
|
|
9
|
-
"version": "4.5.
|
|
9
|
+
"version": "4.5.8",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "SEE LICENSE IN LICENSE",
|
|
12
12
|
"dependencies": {
|
|
@@ -2009,9 +2009,9 @@
|
|
|
2009
2009
|
}
|
|
2010
2010
|
},
|
|
2011
2011
|
"node_modules/@smithy/core": {
|
|
2012
|
-
"version": "3.
|
|
2013
|
-
"resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.
|
|
2014
|
-
"integrity": "sha512-
|
|
2012
|
+
"version": "3.3.0",
|
|
2013
|
+
"resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.3.0.tgz",
|
|
2014
|
+
"integrity": "sha512-r6gvs5OfRq/w+9unPm7B3po4rmWaGh0CIL/OwHntGGux7+RhOOZLGuurbeMgWV6W55ZuyMTypJLeH0vn/ZRaWQ==",
|
|
2015
2015
|
"license": "Apache-2.0",
|
|
2016
2016
|
"dependencies": {
|
|
2017
2017
|
"@smithy/middleware-serde": "^4.0.3",
|
|
@@ -2227,12 +2227,12 @@
|
|
|
2227
2227
|
}
|
|
2228
2228
|
},
|
|
2229
2229
|
"node_modules/@smithy/middleware-endpoint": {
|
|
2230
|
-
"version": "4.1.
|
|
2231
|
-
"resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.1.
|
|
2232
|
-
"integrity": "sha512-
|
|
2230
|
+
"version": "4.1.1",
|
|
2231
|
+
"resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.1.1.tgz",
|
|
2232
|
+
"integrity": "sha512-z5RmcHxjvScL+LwEDU2mTNCOhgUs4lu5PGdF1K36IPRmUHhNFxNxgenSB7smyDiYD4vdKQ7CAZtG5cUErqib9w==",
|
|
2233
2233
|
"license": "Apache-2.0",
|
|
2234
2234
|
"dependencies": {
|
|
2235
|
-
"@smithy/core": "^3.
|
|
2235
|
+
"@smithy/core": "^3.3.0",
|
|
2236
2236
|
"@smithy/middleware-serde": "^4.0.3",
|
|
2237
2237
|
"@smithy/node-config-provider": "^4.0.2",
|
|
2238
2238
|
"@smithy/shared-ini-file-loader": "^4.0.2",
|
|
@@ -2246,15 +2246,15 @@
|
|
|
2246
2246
|
}
|
|
2247
2247
|
},
|
|
2248
2248
|
"node_modules/@smithy/middleware-retry": {
|
|
2249
|
-
"version": "4.1.
|
|
2250
|
-
"resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-4.1.
|
|
2251
|
-
"integrity": "sha512-
|
|
2249
|
+
"version": "4.1.1",
|
|
2250
|
+
"resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-4.1.1.tgz",
|
|
2251
|
+
"integrity": "sha512-mBJOxn9aUYwcBUPQpKv9ifzrCn4EbhPUFguEZv3jB57YOMh0caS4P8HoLvUeNUI1nx4bIVH2SIbogbDfFI9DUA==",
|
|
2252
2252
|
"license": "Apache-2.0",
|
|
2253
2253
|
"dependencies": {
|
|
2254
2254
|
"@smithy/node-config-provider": "^4.0.2",
|
|
2255
2255
|
"@smithy/protocol-http": "^5.1.0",
|
|
2256
2256
|
"@smithy/service-error-classification": "^4.0.2",
|
|
2257
|
-
"@smithy/smithy-client": "^4.2.
|
|
2257
|
+
"@smithy/smithy-client": "^4.2.1",
|
|
2258
2258
|
"@smithy/types": "^4.2.0",
|
|
2259
2259
|
"@smithy/util-middleware": "^4.0.2",
|
|
2260
2260
|
"@smithy/util-retry": "^4.0.2",
|
|
@@ -2433,13 +2433,13 @@
|
|
|
2433
2433
|
}
|
|
2434
2434
|
},
|
|
2435
2435
|
"node_modules/@smithy/smithy-client": {
|
|
2436
|
-
"version": "4.2.
|
|
2437
|
-
"resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.2.
|
|
2438
|
-
"integrity": "sha512-
|
|
2436
|
+
"version": "4.2.1",
|
|
2437
|
+
"resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.2.1.tgz",
|
|
2438
|
+
"integrity": "sha512-fbniZef60QdsBc4ZY0iyI8xbFHIiC/QRtPi66iE4ufjiE/aaz7AfUXzcWMkpO8r+QhLeNRIfmPchIG+3/QDZ6g==",
|
|
2439
2439
|
"license": "Apache-2.0",
|
|
2440
2440
|
"dependencies": {
|
|
2441
|
-
"@smithy/core": "^3.
|
|
2442
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
2441
|
+
"@smithy/core": "^3.3.0",
|
|
2442
|
+
"@smithy/middleware-endpoint": "^4.1.1",
|
|
2443
2443
|
"@smithy/middleware-stack": "^4.0.2",
|
|
2444
2444
|
"@smithy/protocol-http": "^5.1.0",
|
|
2445
2445
|
"@smithy/types": "^4.2.0",
|
|
@@ -2540,13 +2540,13 @@
|
|
|
2540
2540
|
}
|
|
2541
2541
|
},
|
|
2542
2542
|
"node_modules/@smithy/util-defaults-mode-browser": {
|
|
2543
|
-
"version": "4.0.
|
|
2544
|
-
"resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.0.
|
|
2545
|
-
"integrity": "sha512-
|
|
2543
|
+
"version": "4.0.9",
|
|
2544
|
+
"resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.0.9.tgz",
|
|
2545
|
+
"integrity": "sha512-B8j0XsElvyhv6+5hlFf6vFV/uCSyLKcInpeXOGnOImX2mGXshE01RvPoGipTlRpIk53e6UfYj7WdDdgbVfXDZw==",
|
|
2546
2546
|
"license": "Apache-2.0",
|
|
2547
2547
|
"dependencies": {
|
|
2548
2548
|
"@smithy/property-provider": "^4.0.2",
|
|
2549
|
-
"@smithy/smithy-client": "^4.2.
|
|
2549
|
+
"@smithy/smithy-client": "^4.2.1",
|
|
2550
2550
|
"@smithy/types": "^4.2.0",
|
|
2551
2551
|
"bowser": "^2.11.0",
|
|
2552
2552
|
"tslib": "^2.6.2"
|
|
@@ -2556,16 +2556,16 @@
|
|
|
2556
2556
|
}
|
|
2557
2557
|
},
|
|
2558
2558
|
"node_modules/@smithy/util-defaults-mode-node": {
|
|
2559
|
-
"version": "4.0.
|
|
2560
|
-
"resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.0.
|
|
2561
|
-
"integrity": "sha512-
|
|
2559
|
+
"version": "4.0.9",
|
|
2560
|
+
"resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.0.9.tgz",
|
|
2561
|
+
"integrity": "sha512-wTDU8P/zdIf9DOpV5qm64HVgGRXvqjqB/fJZTEQbrz3s79JHM/E7XkMm/876Oq+ZLHJQgnXM9QHDo29dlM62eA==",
|
|
2562
2562
|
"license": "Apache-2.0",
|
|
2563
2563
|
"dependencies": {
|
|
2564
2564
|
"@smithy/config-resolver": "^4.1.0",
|
|
2565
2565
|
"@smithy/credential-provider-imds": "^4.0.2",
|
|
2566
2566
|
"@smithy/node-config-provider": "^4.0.2",
|
|
2567
2567
|
"@smithy/property-provider": "^4.0.2",
|
|
2568
|
-
"@smithy/smithy-client": "^4.2.
|
|
2568
|
+
"@smithy/smithy-client": "^4.2.1",
|
|
2569
2569
|
"@smithy/types": "^4.2.0",
|
|
2570
2570
|
"tslib": "^2.6.2"
|
|
2571
2571
|
},
|
|
@@ -2952,9 +2952,9 @@
|
|
|
2952
2952
|
"license": "MIT"
|
|
2953
2953
|
},
|
|
2954
2954
|
"node_modules/@types/node": {
|
|
2955
|
-
"version": "22.
|
|
2956
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.
|
|
2957
|
-
"integrity": "sha512-
|
|
2955
|
+
"version": "22.15.3",
|
|
2956
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.3.tgz",
|
|
2957
|
+
"integrity": "sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw==",
|
|
2958
2958
|
"license": "MIT",
|
|
2959
2959
|
"dependencies": {
|
|
2960
2960
|
"undici-types": "~6.21.0"
|
|
@@ -4427,9 +4427,9 @@
|
|
|
4427
4427
|
}
|
|
4428
4428
|
},
|
|
4429
4429
|
"node_modules/fastify": {
|
|
4430
|
-
"version": "4.29.
|
|
4431
|
-
"resolved": "https://registry.npmjs.org/fastify/-/fastify-4.29.
|
|
4432
|
-
"integrity": "sha512-
|
|
4430
|
+
"version": "4.29.1",
|
|
4431
|
+
"resolved": "https://registry.npmjs.org/fastify/-/fastify-4.29.1.tgz",
|
|
4432
|
+
"integrity": "sha512-m2kMNHIG92tSNWv+Z3UeTR9AWLLuo7KctC7mlFPtMEVrfjIhmQhkQnT9v15qA/BfVq3vvj134Y0jl9SBje3jXQ==",
|
|
4433
4433
|
"funding": [
|
|
4434
4434
|
{
|
|
4435
4435
|
"type": "github",
|
|
@@ -4877,9 +4877,9 @@
|
|
|
4877
4877
|
"license": "ISC"
|
|
4878
4878
|
},
|
|
4879
4879
|
"node_modules/graphql": {
|
|
4880
|
-
"version": "16.
|
|
4881
|
-
"resolved": "https://registry.npmjs.org/graphql/-/graphql-16.
|
|
4882
|
-
"integrity": "sha512-
|
|
4880
|
+
"version": "16.11.0",
|
|
4881
|
+
"resolved": "https://registry.npmjs.org/graphql/-/graphql-16.11.0.tgz",
|
|
4882
|
+
"integrity": "sha512-mS1lbMsxgQj6hge1XZ6p7GPhbrtFwUFYi3wRzXAC/FmYnyXMTvvI3td3rjmQ2u8ewXueaSvRPWaEcgVVOT9Jnw==",
|
|
4883
4883
|
"license": "MIT",
|
|
4884
4884
|
"engines": {
|
|
4885
4885
|
"node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0"
|
|
@@ -5871,9 +5871,9 @@
|
|
|
5871
5871
|
}
|
|
5872
5872
|
},
|
|
5873
5873
|
"node_modules/module-details-from-path": {
|
|
5874
|
-
"version": "1.0.
|
|
5875
|
-
"resolved": "https://registry.npmjs.org/module-details-from-path/-/module-details-from-path-1.0.
|
|
5876
|
-
"integrity": "sha512-
|
|
5874
|
+
"version": "1.0.4",
|
|
5875
|
+
"resolved": "https://registry.npmjs.org/module-details-from-path/-/module-details-from-path-1.0.4.tgz",
|
|
5876
|
+
"integrity": "sha512-EGWKgxALGMgzvxYF1UyGTy0HXX/2vHLkw6+NvDKW2jypWbHpjQuj4UMcqQWXHERJhVGKikolT06G3bcKe4fi7w==",
|
|
5877
5877
|
"license": "MIT"
|
|
5878
5878
|
},
|
|
5879
5879
|
"node_modules/moment": {
|
package/package.json
CHANGED
package/resources/Resource.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ResourceInterface, SubscriptionRequest, Id, Context, Query } from './ResourceInterface';
|
|
2
2
|
import { Transaction } from './DatabaseTransaction';
|
|
3
|
+
import { IterableEventQueue } from './IterableEventQueue';
|
|
3
4
|
/**
|
|
4
5
|
* This is the main class that can be extended for any resource in HarperDB and provides the essential reusable
|
|
5
6
|
* uniform interface for interacting with data, defining the API for providing data (data sources) and for consuming
|
|
@@ -117,7 +118,7 @@ export declare class Resource implements ResourceInterface {
|
|
|
117
118
|
operation: string;
|
|
118
119
|
value: object;
|
|
119
120
|
}>;
|
|
120
|
-
connect(query?: {}): AsyncIterable<any>;
|
|
121
|
+
connect(incomingMessages: IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
121
122
|
allowRead(user: any): boolean | object;
|
|
122
123
|
allowUpdate(user: any): boolean | object;
|
|
123
124
|
allowCreate(user: any): boolean | object;
|
package/resources/Table.d.ts
CHANGED
|
@@ -191,7 +191,7 @@ export declare function makeTable(options: any): {
|
|
|
191
191
|
"__#6@#isCollection": boolean;
|
|
192
192
|
post(new_record: any): Promise<any>;
|
|
193
193
|
readonly isCollection: boolean;
|
|
194
|
-
connect(query?: {}): AsyncIterable<any>;
|
|
194
|
+
connect(incomingMessages: import("./IterableEventQueue").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
195
195
|
getId(): Id;
|
|
196
196
|
getContext(): Context;
|
|
197
197
|
};
|
|
@@ -382,7 +382,7 @@ export declare function makeTable(options: any): {
|
|
|
382
382
|
"__#6@#isCollection": boolean;
|
|
383
383
|
post(new_record: any): Promise<any>;
|
|
384
384
|
readonly isCollection: boolean;
|
|
385
|
-
connect(query?: {}): AsyncIterable<any>;
|
|
385
|
+
connect(incomingMessages: import("./IterableEventQueue").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
386
386
|
getId(): Id;
|
|
387
387
|
getContext(): Context;
|
|
388
388
|
}> | {
|
|
@@ -528,7 +528,7 @@ export declare function makeTable(options: any): {
|
|
|
528
528
|
"__#6@#isCollection": boolean;
|
|
529
529
|
post(new_record: any): Promise<any>;
|
|
530
530
|
readonly isCollection: boolean;
|
|
531
|
-
connect(query?: {}): AsyncIterable<any>;
|
|
531
|
+
connect(incomingMessages: import("./IterableEventQueue").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
532
532
|
getId(): Id;
|
|
533
533
|
getContext(): Context;
|
|
534
534
|
};
|
|
@@ -546,8 +546,8 @@ export declare function makeTable(options: any): {
|
|
|
546
546
|
scanInterval?: number;
|
|
547
547
|
}): void;
|
|
548
548
|
getResidencyRecord(id: any): any;
|
|
549
|
-
setResidency(getResidency
|
|
550
|
-
setResidencyById(getResidencyById
|
|
549
|
+
setResidency(getResidency?: (record: object, context: Context) => ResidencyDefinition): void;
|
|
550
|
+
setResidencyById(getResidencyById?: (id: Id) => number | void): void;
|
|
551
551
|
getResidency(record: object, context: Context): number | void | string[];
|
|
552
552
|
/**
|
|
553
553
|
* Turn on auditing at runtime
|
package/resources/databases.d.ts
CHANGED
|
@@ -181,7 +181,7 @@ export declare function table(table_definition: TableDefinition): {
|
|
|
181
181
|
"__#6@#isCollection": boolean;
|
|
182
182
|
post(new_record: any): Promise<any>;
|
|
183
183
|
readonly isCollection: boolean;
|
|
184
|
-
connect(query?: {}): AsyncIterable<any>;
|
|
184
|
+
connect(incomingMessages: import("./IterableEventQueue").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
185
185
|
getId(): import("./ResourceInterface").Id;
|
|
186
186
|
getContext(): import("./ResourceInterface").Context;
|
|
187
187
|
};
|
|
@@ -329,7 +329,7 @@ export declare function table(table_definition: TableDefinition): {
|
|
|
329
329
|
"__#6@#isCollection": boolean;
|
|
330
330
|
post(new_record: any): Promise<any>;
|
|
331
331
|
readonly isCollection: boolean;
|
|
332
|
-
connect(query?: {}): AsyncIterable<any>;
|
|
332
|
+
connect(incomingMessages: import("./IterableEventQueue").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
333
333
|
getId(): import("./ResourceInterface").Id;
|
|
334
334
|
getContext(): import("./ResourceInterface").Context;
|
|
335
335
|
}> | {
|
|
@@ -436,7 +436,7 @@ export declare function table(table_definition: TableDefinition): {
|
|
|
436
436
|
"__#6@#isCollection": boolean;
|
|
437
437
|
post(new_record: any): Promise<any>;
|
|
438
438
|
readonly isCollection: boolean;
|
|
439
|
-
connect(query?: {}): AsyncIterable<any>;
|
|
439
|
+
connect(incomingMessages: import("./IterableEventQueue").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
440
440
|
getId(): import("./ResourceInterface").Id;
|
|
441
441
|
getContext(): import("./ResourceInterface").Context;
|
|
442
442
|
};
|
|
@@ -448,8 +448,8 @@ export declare function table(table_definition: TableDefinition): {
|
|
|
448
448
|
scanInterval?: number;
|
|
449
449
|
}): void;
|
|
450
450
|
getResidencyRecord(id: any): any;
|
|
451
|
-
setResidency(getResidency
|
|
452
|
-
setResidencyById(getResidencyById
|
|
451
|
+
setResidency(getResidency?: (record: object, context: import("./ResourceInterface").Context) => number | void | string[]): void;
|
|
452
|
+
setResidencyById(getResidencyById?: (id: import("./ResourceInterface").Id) => number | void): void;
|
|
453
453
|
getResidency(record: object, context: import("./ResourceInterface").Context): number | void | string[];
|
|
454
454
|
enableAuditing(audit_enabled?: boolean): void;
|
|
455
455
|
coerceId(id: string): number | string;
|