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.
Files changed (51) hide show
  1. package/README.md +22 -22
  2. package/bin/harperdb.js +27 -27
  3. package/bin/lite.js +24 -24
  4. package/launchServiceScripts/launchInstallNATSServer.js +2 -2
  5. package/launchServiceScripts/launchNatsIngestService.js +23 -23
  6. package/launchServiceScripts/launchNatsReplyService.js +26 -26
  7. package/launchServiceScripts/launchUpdateNodes4-0-0.js +22 -22
  8. package/npm-shrinkwrap.json +38 -38
  9. package/package.json +1 -1
  10. package/resources/Resource.d.ts +2 -1
  11. package/resources/Table.d.ts +5 -5
  12. package/resources/databases.d.ts +5 -5
  13. package/server/jobs/jobProcess.js +23 -23
  14. package/server/threads/threadServer.js +23 -23
  15. package/studio/build-local/asset-manifest.json +33 -33
  16. package/studio/build-local/index.html +1 -1
  17. package/studio/build-local/static/js/{153.4789ff87.chunk.js → 101.de926db6.chunk.js} +2 -2
  18. package/studio/build-local/static/js/{833.52829e9a.chunk.js → 833.475ee615.chunk.js} +1 -1
  19. package/studio/build-local/static/js/{browse-csvupload.952e3db5.chunk.js → browse-csvupload.cfcf1c79.chunk.js} +1 -1
  20. package/studio/build-local/static/js/{browse-datatable.571e41b5.chunk.js → browse-datatable.85de5169.chunk.js} +1 -1
  21. package/studio/build-local/static/js/{browse-entitymanager.f32bbc12.chunk.js → browse-entitymanager.dddb5da8.chunk.js} +1 -1
  22. package/studio/build-local/static/js/{browse-jsonviewer.f7c88853.chunk.js → browse-jsonviewer.059b4189.chunk.js} +1 -1
  23. package/studio/build-local/static/js/{custom-functions.fce857f6.chunk.js → custom-functions.2c2e634c.chunk.js} +1 -1
  24. package/studio/build-local/static/js/{instance-cluster.989f54d0.chunk.js → instance-cluster.daef89d8.chunk.js} +1 -1
  25. package/studio/build-local/static/js/{instance-config.41346a1c.chunk.js → instance-config.ba645bea.chunk.js} +1 -1
  26. package/studio/build-local/static/js/{instance-logs.70be591c.chunk.js → instance-logs.33ace406.chunk.js} +1 -1
  27. package/studio/build-local/static/js/{instance-roles.00c558b1.chunk.js → instance-roles.0276d83f.chunk.js} +1 -1
  28. package/studio/build-local/static/js/{instance-status.3e2a5f15.chunk.js → instance-status.2f3aaaf7.chunk.js} +1 -1
  29. package/studio/build-local/static/js/{instance-users-datatable.536f91b4.chunk.js → instance-users-datatable.f75cf637.chunk.js} +1 -1
  30. package/studio/build-local/static/js/{instance-users-edit.4d42f079.chunk.js → instance-users-edit.3a3bc76f.chunk.js} +1 -1
  31. package/studio/build-local/static/js/{instance-users.c8146c89.chunk.js → instance-users.70ee5db2.chunk.js} +1 -1
  32. package/studio/build-local/static/js/{instance.25742318.chunk.js → instance.0bbb9d0e.chunk.js} +1 -1
  33. package/studio/build-local/static/js/{instances.a3850b41.chunk.js → instances.e86d288b.chunk.js} +1 -1
  34. package/studio/build-local/static/js/{main.4ff4a176.js → main.44262b30.js} +2 -2
  35. package/studio/build-local/static/js/{offline-app.ac5f38b0.chunk.js → offline-app.edb4be85.chunk.js} +1 -1
  36. package/studio/build-local/static/js/{online-app.3d563d0e.chunk.js → online-app.45440c0e.chunk.js} +1 -1
  37. package/studio/build-local/static/js/{organization-billing.8a2cd6ec.chunk.js → organization-billing.3ff0b995.chunk.js} +1 -1
  38. package/studio/build-local/static/js/{organization-users.138f50eb.chunk.js → organization-users.710f96e7.chunk.js} +1 -1
  39. package/studio/build-local/static/js/{organization.000a9206.chunk.js → organization.1aa3da8e.chunk.js} +1 -1
  40. package/studio/build-local/static/js/{organizations.73f9a526.chunk.js → organizations.259e09d3.chunk.js} +1 -1
  41. package/studio/build-local/static/js/{profile.9dc96422.chunk.js → profile.c1840496.chunk.js} +1 -1
  42. package/studio/build-local/static/js/{resetPassword.6198e026.chunk.js → resetPassword.37769fbe.chunk.js} +1 -1
  43. package/studio/build-local/static/js/{roles-jsonviewer.7ad3544a.chunk.js → roles-jsonviewer.b8cc0628.chunk.js} +1 -1
  44. package/studio/build-local/static/js/{signIn.c7a547bb.chunk.js → signIn.061b438e.chunk.js} +1 -1
  45. package/studio/build-local/static/js/{signUp.9c346cab.chunk.js → signUp.cabe1d80.chunk.js} +1 -1
  46. package/studio/build-local/static/js/{structure-reloader.71285544.chunk.js → structure-reloader.fd360bad.chunk.js} +1 -1
  47. package/studio/build-local/static/js/{topnav.491ca3cb.chunk.js → topnav.1fce7836.chunk.js} +1 -1
  48. package/studio/build-local/static/js/{updatePassword.452f5cbc.chunk.js → updatePassword.dc41627a.chunk.js} +1 -1
  49. package/utility/scripts/restartHdb.js +22 -22
  50. /package/studio/build-local/static/js/{153.4789ff87.chunk.js.LICENSE.txt → 101.de926db6.chunk.js.LICENSE.txt} +0 -0
  51. /package/studio/build-local/static/js/{main.4ff4a176.js.LICENSE.txt → main.44262b30.js.LICENSE.txt} +0 -0
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "harperdb",
3
- "version": "4.5.7",
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.7",
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.2.0",
2013
- "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.2.0.tgz",
2014
- "integrity": "sha512-k17bgQhVZ7YmUvA8at4af1TDpl0NDMBuBKJl8Yg0nrefwmValU+CnA5l/AriVdQNthU/33H3nK71HrLgqOPr1Q==",
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.0",
2231
- "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.1.0.tgz",
2232
- "integrity": "sha512-xhLimgNCbCzsUppRTGXWkZywksuTThxaIB0HwbpsVLY5sceac4e1TZ/WKYqufQLaUy+gUSJGNdwD2jo3cXL0iA==",
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.2.0",
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.0",
2250
- "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-4.1.0.tgz",
2251
- "integrity": "sha512-2zAagd1s6hAaI/ap6SXi5T3dDwBOczOMCSkkYzktqN1+tzbk1GAsHNAdo/1uzxz3Ky02jvZQwbi/vmDA6z4Oyg==",
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.0",
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.0",
2437
- "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.2.0.tgz",
2438
- "integrity": "sha512-Qs65/w30pWV7LSFAez9DKy0Koaoh3iHhpcpCCJ4waj/iqwsuSzJna2+vYwq46yBaqO5ZbP9TjUsATUNxrKeBdw==",
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.2.0",
2442
- "@smithy/middleware-endpoint": "^4.1.0",
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.8",
2544
- "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.0.8.tgz",
2545
- "integrity": "sha512-ZTypzBra+lI/LfTYZeop9UjoJhhGRTg3pxrNpfSTQLd3AJ37r2z4AXTKpq1rFXiiUIJsYyFgNJdjWRGP/cbBaQ==",
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.0",
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.8",
2560
- "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.0.8.tgz",
2561
- "integrity": "sha512-Rgk0Jc/UDfRTzVthye/k2dDsz5Xxs9LZaKCNPgJTRyoyBoeiNCnHsYGOyu1PKN+sDyPnJzMOz22JbwxzBp9NNA==",
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.0",
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.14.1",
2956
- "resolved": "https://registry.npmjs.org/@types/node/-/node-22.14.1.tgz",
2957
- "integrity": "sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw==",
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.0",
4431
- "resolved": "https://registry.npmjs.org/fastify/-/fastify-4.29.0.tgz",
4432
- "integrity": "sha512-MaaUHUGcCgC8fXQDsDtioaCcag1fmPJ9j64vAKunqZF4aSub040ZGi/ag8NGE2714yREPOKZuHCfpPzuUD3UQQ==",
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.10.0",
4881
- "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.10.0.tgz",
4882
- "integrity": "sha512-AjqGKbDGUFRKIRCP9tCKiIGHyriz2oHEbPIbEtcSLSs4YjReZOIPQQWek4+6hjw62H9QShXHyaGivGiYVLeYFQ==",
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.3",
5875
- "resolved": "https://registry.npmjs.org/module-details-from-path/-/module-details-from-path-1.0.3.tgz",
5876
- "integrity": "sha512-ySViT69/76t8VhE1xXHK6Ch4NcDd26gx0MzKXLO+F7NOtnqH68d9zF94nT8ZWSxXh8ELOERsnJO/sWt1xZYw5A==",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "harperdb",
3
- "version": "4.5.7",
3
+ "version": "4.5.8",
4
4
  "description": "HarperDB is a distributed database, caching service, streaming broker, and application development platform focused on performance and ease of use.",
5
5
  "keywords": [
6
6
  "database",
@@ -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;
@@ -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: (record: object, context: Context) => ResidencyDefinition): void;
550
- setResidencyById(getResidencyById: (id: Id) => number | void): void;
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
@@ -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: (record: object, context: import("./ResourceInterface").Context) => number | void | string[]): void;
452
- setResidencyById(getResidencyById: (id: import("./ResourceInterface").Id) => number | void): void;
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;