harperdb 4.5.16 → 4.5.17

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 (68) hide show
  1. package/README.md +1 -1
  2. package/bin/harperdb.js +76 -76
  3. package/bin/lite.js +74 -74
  4. package/launchServiceScripts/launchNatsIngestService.js +74 -74
  5. package/launchServiceScripts/launchNatsReplyService.js +74 -74
  6. package/launchServiceScripts/launchUpdateNodes4-0-0.js +75 -75
  7. package/npm-shrinkwrap.json +15 -15
  8. package/package.json +1 -1
  9. package/resources/Table.d.ts +33 -33
  10. package/resources/blob.d.ts +4 -4
  11. package/resources/databases.d.ts +33 -33
  12. package/server/jobs/jobProcess.js +74 -74
  13. package/server/threads/threadServer.js +74 -74
  14. package/studio/build-local/asset-manifest.json +55 -0
  15. package/studio/build-local/index.html +1 -0
  16. package/studio/build-local/static/css/main.a46e2bd8.css +13 -0
  17. package/studio/build-local/static/js/11.17b2806b.chunk.js +2 -0
  18. package/studio/build-local/static/js/11.17b2806b.chunk.js.LICENSE.txt +8 -0
  19. package/studio/build-local/static/js/164.794c66a1.chunk.js +1 -0
  20. package/studio/build-local/static/js/23.55c690ce.chunk.js +1 -0
  21. package/studio/build-local/static/js/239.5d22fd48.chunk.js +2 -0
  22. package/studio/build-local/static/js/239.5d22fd48.chunk.js.LICENSE.txt +5 -0
  23. package/studio/build-local/static/js/240.2c705279.chunk.js +2 -0
  24. package/studio/build-local/static/js/240.2c705279.chunk.js.LICENSE.txt +16 -0
  25. package/studio/build-local/static/js/279.bbdf2928.chunk.js +1 -0
  26. package/studio/build-local/static/js/43.73dc432d.chunk.js +2 -0
  27. package/studio/build-local/static/js/43.73dc432d.chunk.js.LICENSE.txt +1 -0
  28. package/studio/build-local/static/js/724.daf66453.chunk.js +1 -0
  29. package/studio/build-local/static/js/805.6aab06e2.chunk.js +1 -0
  30. package/studio/build-local/static/js/833.8c4a4a90.chunk.js +1 -0
  31. package/studio/build-local/static/js/851.4c6536d6.chunk.js +1 -0
  32. package/studio/build-local/static/js/860.727e7fc8.chunk.js +1 -0
  33. package/studio/build-local/static/js/browse-csvupload.088afad6.chunk.js +1 -0
  34. package/studio/build-local/static/js/browse-datatable.87cb638f.chunk.js +1 -0
  35. package/studio/build-local/static/js/browse-entitymanager.b1467efe.chunk.js +1 -0
  36. package/studio/build-local/static/js/browse-jsonviewer.c5715070.chunk.js +1 -0
  37. package/studio/build-local/static/js/custom-functions.a20f8853.chunk.js +1 -0
  38. package/studio/build-local/static/js/instance-cluster.d9f5d94b.chunk.js +1 -0
  39. package/studio/build-local/static/js/instance-config.cc1f0e92.chunk.js +1 -0
  40. package/studio/build-local/static/js/instance-logs.9d60d6ad.chunk.js +1 -0
  41. package/studio/build-local/static/js/instance-roles.cf38a24f.chunk.js +1 -0
  42. package/studio/build-local/static/js/instance-status.3c776235.chunk.js +1 -0
  43. package/studio/build-local/static/js/instance-users-datatable.2fa06057.chunk.js +1 -0
  44. package/studio/build-local/static/js/instance-users-edit.d26ea514.chunk.js +1 -0
  45. package/studio/build-local/static/js/instance-users.f11ec173.chunk.js +1 -0
  46. package/studio/build-local/static/js/instance.78aefb6d.chunk.js +1 -0
  47. package/studio/build-local/static/js/instances.0d784ceb.chunk.js +1 -0
  48. package/studio/build-local/static/js/main.913c043c.js +2 -0
  49. package/studio/build-local/static/js/main.913c043c.js.LICENSE.txt +39 -0
  50. package/studio/build-local/static/js/offline-app.54fd7408.chunk.js +1 -0
  51. package/studio/build-local/static/js/online-app.060fd872.chunk.js +1 -0
  52. package/studio/build-local/static/js/organization-billing.e0e08f86.chunk.js +1 -0
  53. package/studio/build-local/static/js/organization-users.5755c9f0.chunk.js +1 -0
  54. package/studio/build-local/static/js/organization.6db4c138.chunk.js +1 -0
  55. package/studio/build-local/static/js/organizations.cf417207.chunk.js +1 -0
  56. package/studio/build-local/static/js/profile.3502eb02.chunk.js +1 -0
  57. package/studio/build-local/static/js/resetPassword.bdccbba4.chunk.js +1 -0
  58. package/studio/build-local/static/js/roles-jsonviewer.2488b213.chunk.js +1 -0
  59. package/studio/build-local/static/js/signIn.44a8eea8.chunk.js +1 -0
  60. package/studio/build-local/static/js/signUp.84b57b20.chunk.js +1 -0
  61. package/studio/build-local/static/js/structure-reloader.99217942.chunk.js +1 -0
  62. package/studio/build-local/static/js/topnav.dc554a18.chunk.js +1 -0
  63. package/studio/build-local/static/js/updatePassword.56bfd9f7.chunk.js +1 -0
  64. package/studio/build-local/static/media/PPRadioGrotesk-Bold.31436818ea74a78b55af.woff +0 -0
  65. package/studio/build-local/static/media/checkmark.3d7d209874703a9cd0cc.svg +3 -0
  66. package/studio/build-local/static/media/logo_harper_db_studio.81490e70fa4af6879c2e.png +0 -0
  67. package/utility/hdbTerms.d.ts +1 -0
  68. package/utility/scripts/restartHdb.js +74 -74
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "harperdb",
3
- "version": "4.5.16",
3
+ "version": "4.5.17",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "harperdb",
9
- "version": "4.5.16",
9
+ "version": "4.5.17",
10
10
  "hasInstallScript": true,
11
11
  "license": "SEE LICENSE IN LICENSE",
12
12
  "dependencies": {
@@ -2974,12 +2974,12 @@
2974
2974
  "license": "MIT"
2975
2975
  },
2976
2976
  "node_modules/@types/node": {
2977
- "version": "24.1.0",
2978
- "resolved": "https://registry.npmjs.org/@types/node/-/node-24.1.0.tgz",
2979
- "integrity": "sha512-ut5FthK5moxFKH2T1CUOC6ctR67rQRvvHdFLCD2Ql6KXmMuCrjsSsRI9UsLCm9M18BMwClv4pn327UvB7eeO1w==",
2977
+ "version": "24.2.0",
2978
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.2.0.tgz",
2979
+ "integrity": "sha512-3xyG3pMCq3oYCNg7/ZP+E1ooTaGB4cG8JWRsqqOYQdbWNY4zbaV0Ennrd7stjiJEFZCaybcIgpTjJWHRfBSIDw==",
2980
2980
  "license": "MIT",
2981
2981
  "dependencies": {
2982
- "undici-types": "~7.8.0"
2982
+ "undici-types": "~7.10.0"
2983
2983
  }
2984
2984
  },
2985
2985
  "node_modules/@types/readable-stream": {
@@ -3368,9 +3368,9 @@
3368
3368
  }
3369
3369
  },
3370
3370
  "node_modules/bl": {
3371
- "version": "6.1.0",
3372
- "resolved": "https://registry.npmjs.org/bl/-/bl-6.1.0.tgz",
3373
- "integrity": "sha512-ClDyJGQkc8ZtzdAAbAwBmhMSpwN/sC9HA8jxdYm6nVUbCfZbe2mgza4qh7AuEYyEPB/c4Kznf9s66bnsKMQDjw==",
3371
+ "version": "6.1.1",
3372
+ "resolved": "https://registry.npmjs.org/bl/-/bl-6.1.1.tgz",
3373
+ "integrity": "sha512-yYc8UIHrd1ZTLgNBIE7JjMzUPZH+dec3q7nWkrSHEbtvkQ3h6WKC63W9K5jthcL5EXFyMuWYq+2pq5WMSIgFHw==",
3374
3374
  "license": "MIT",
3375
3375
  "dependencies": {
3376
3376
  "@types/readable-stream": "^4.0.0",
@@ -4616,9 +4616,9 @@
4616
4616
  }
4617
4617
  },
4618
4618
  "node_modules/follow-redirects": {
4619
- "version": "1.15.9",
4620
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz",
4621
- "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==",
4619
+ "version": "1.15.11",
4620
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.11.tgz",
4621
+ "integrity": "sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==",
4622
4622
  "funding": [
4623
4623
  {
4624
4624
  "type": "individual",
@@ -8168,9 +8168,9 @@
8168
8168
  }
8169
8169
  },
8170
8170
  "node_modules/undici-types": {
8171
- "version": "7.8.0",
8172
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.8.0.tgz",
8173
- "integrity": "sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==",
8171
+ "version": "7.10.0",
8172
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.10.0.tgz",
8173
+ "integrity": "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==",
8174
8174
  "license": "MIT"
8175
8175
  },
8176
8176
  "node_modules/universalify": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "harperdb",
3
- "version": "4.5.16",
3
+ "version": "4.5.17",
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",
@@ -49,12 +49,12 @@ type ResidencyDefinition = number | string[] | void;
49
49
  */
50
50
  export declare function makeTable(options: any): {
51
51
  new (identifier: Id, source: any): {
52
- "__#5@#record": any;
53
- "__#5@#changes": any;
54
- "__#5@#version": number;
55
- "__#5@#entry": Entry;
56
- "__#5@#saveMode": boolean;
57
- "__#5@#loadedFromSource": boolean;
52
+ #record: any;
53
+ #changes: any;
54
+ #version: number;
55
+ #entry: Entry;
56
+ #saveMode: boolean;
57
+ #loadedFromSource: boolean;
58
58
  /**
59
59
  * This is a request to explicitly ensure that the record is loaded from source, rather than only using the local record.
60
60
  * This will load from source if the current record is expired, missing, or invalidated.
@@ -186,11 +186,11 @@ export declare function makeTable(options: any): {
186
186
  validate(record: any, patch?: any): void;
187
187
  getUpdatedTime(): number;
188
188
  wasLoadedFromSource(): boolean | void;
189
- readonly "__#6@#id": Id;
190
- readonly "__#6@#context": Context;
191
- "__#6@#isCollection": boolean;
189
+ readonly #id: Id;
190
+ readonly #context: Context;
191
+ #isCollection: boolean;
192
192
  post(new_record: any): Promise<any>;
193
- readonly isCollection: boolean;
193
+ get isCollection(): boolean;
194
194
  connect(incomingMessages: import("./IterableEventQueue").IterableEventQueue, query?: {}): AsyncIterable<any>;
195
195
  getId(): Id;
196
196
  getContext(): Context;
@@ -215,7 +215,7 @@ export declare function makeTable(options: any): {
215
215
  userResolvers: {};
216
216
  sources: any[];
217
217
  getResidencyById: (id: Id) => number | void;
218
- readonly expirationMS: any;
218
+ get expirationMS(): any;
219
219
  dbisDB: any;
220
220
  schemaDefined: any;
221
221
  /**
@@ -227,10 +227,10 @@ export declare function makeTable(options: any): {
227
227
  * @returns
228
228
  */
229
229
  sourcedFrom(source: any, options: any): /*elided*/ any;
230
- readonly isCaching: any;
230
+ get isCaching(): any;
231
231
  /** Indicates if the events should be revalidated when they are received. By default we do this if the get
232
232
  * method is overriden */
233
- readonly shouldRevalidateEvents: boolean;
233
+ get shouldRevalidateEvents(): boolean;
234
234
  /**
235
235
  * Gets a resource instance, as defined by the Resource class, adding the table-specific handling
236
236
  * of also loading the stored record into the resource instance.
@@ -240,12 +240,12 @@ export declare function makeTable(options: any): {
240
240
  * @returns
241
241
  */
242
242
  getResource(id: Id, request: Context, resource_options?: any): Promise<{
243
- "__#5@#record": any;
244
- "__#5@#changes": any;
245
- "__#5@#version": number;
246
- "__#5@#entry": Entry;
247
- "__#5@#saveMode": boolean;
248
- "__#5@#loadedFromSource": boolean;
243
+ #record: any;
244
+ #changes: any;
245
+ #version: number;
246
+ #entry: Entry;
247
+ #saveMode: boolean;
248
+ #loadedFromSource: boolean;
249
249
  /**
250
250
  * This is a request to explicitly ensure that the record is loaded from source, rather than only using the local record.
251
251
  * This will load from source if the current record is expired, missing, or invalidated.
@@ -377,21 +377,21 @@ export declare function makeTable(options: any): {
377
377
  validate(record: any, patch?: any): void;
378
378
  getUpdatedTime(): number;
379
379
  wasLoadedFromSource(): boolean | void;
380
- readonly "__#6@#id": Id;
381
- readonly "__#6@#context": Context;
382
- "__#6@#isCollection": boolean;
380
+ readonly #id: Id;
381
+ readonly #context: Context;
382
+ #isCollection: boolean;
383
383
  post(new_record: any): Promise<any>;
384
- readonly isCollection: boolean;
384
+ get isCollection(): boolean;
385
385
  connect(incomingMessages: import("./IterableEventQueue").IterableEventQueue, query?: {}): AsyncIterable<any>;
386
386
  getId(): Id;
387
387
  getContext(): Context;
388
388
  }> | {
389
- "__#5@#record": any;
390
- "__#5@#changes": any;
391
- "__#5@#version": number;
392
- "__#5@#entry": Entry;
393
- "__#5@#saveMode": boolean;
394
- "__#5@#loadedFromSource": boolean;
389
+ #record: any;
390
+ #changes: any;
391
+ #version: number;
392
+ #entry: Entry;
393
+ #saveMode: boolean;
394
+ #loadedFromSource: boolean;
395
395
  /**
396
396
  * This is a request to explicitly ensure that the record is loaded from source, rather than only using the local record.
397
397
  * This will load from source if the current record is expired, missing, or invalidated.
@@ -523,11 +523,11 @@ export declare function makeTable(options: any): {
523
523
  validate(record: any, patch?: any): void;
524
524
  getUpdatedTime(): number;
525
525
  wasLoadedFromSource(): boolean | void;
526
- readonly "__#6@#id": Id;
527
- readonly "__#6@#context": Context;
528
- "__#6@#isCollection": boolean;
526
+ readonly #id: Id;
527
+ readonly #context: Context;
528
+ #isCollection: boolean;
529
529
  post(new_record: any): Promise<any>;
530
- readonly isCollection: boolean;
530
+ get isCollection(): boolean;
531
531
  connect(incomingMessages: import("./IterableEventQueue").IterableEventQueue, query?: {}): AsyncIterable<any>;
532
532
  getId(): Id;
533
533
  getContext(): Context;
@@ -20,10 +20,10 @@ export declare const Blob: {
20
20
  stream(): ReadableStream<any>;
21
21
  text(): Promise<string>;
22
22
  arrayBuffer(): Promise<ArrayBufferLike>;
23
- readonly size: number;
23
+ get size(): number;
24
24
  slice(): /*elided*/ any;
25
25
  bytes(): Promise<Buffer>;
26
- readonly type: string;
26
+ get type(): string;
27
27
  };
28
28
  };
29
29
  export declare let blobsWereEncoded: boolean;
@@ -34,10 +34,10 @@ declare namespace InstanceOfBlobWithNoConstructor {
34
34
  stream(): ReadableStream<any>;
35
35
  text(): Promise<string>;
36
36
  arrayBuffer(): Promise<ArrayBufferLike>;
37
- readonly size: number;
37
+ get size(): number;
38
38
  slice(): /*elided*/ any;
39
39
  bytes(): Promise<Buffer>;
40
- readonly type: string;
40
+ get type(): string;
41
41
  };
42
42
  }
43
43
  /**
@@ -78,10 +78,10 @@ export declare function dropDatabase(database_name: any): Promise<void>;
78
78
  */
79
79
  export declare function table(table_definition: TableDefinition): {
80
80
  new (identifier: import("./ResourceInterface").Id, source: any): {
81
- "__#5@#record": any;
82
- "__#5@#changes": any;
83
- "__#5@#version": number;
84
- "__#5@#entry": {
81
+ #record: any;
82
+ #changes: any;
83
+ #version: number;
84
+ #entry: {
85
85
  key: any;
86
86
  value: any;
87
87
  version: number;
@@ -89,8 +89,8 @@ export declare function table(table_definition: TableDefinition): {
89
89
  expiresAt: number;
90
90
  deref?: () => any;
91
91
  };
92
- "__#5@#saveMode": boolean;
93
- "__#5@#loadedFromSource": boolean;
92
+ #saveMode: boolean;
93
+ #loadedFromSource: boolean;
94
94
  ensureLoaded(): any;
95
95
  get(query?: import("./ResourceInterface").Query | string): Promise<object | void> | object | void;
96
96
  allowRead(user: any, query: any): any;
@@ -176,11 +176,11 @@ export declare function table(table_definition: TableDefinition): {
176
176
  validate(record: any, patch?: any): void;
177
177
  getUpdatedTime(): number;
178
178
  wasLoadedFromSource(): boolean | void;
179
- readonly "__#6@#id": import("./ResourceInterface").Id;
180
- readonly "__#6@#context": import("./ResourceInterface").Context;
181
- "__#6@#isCollection": boolean;
179
+ readonly #id: import("./ResourceInterface").Id;
180
+ readonly #context: import("./ResourceInterface").Context;
181
+ #isCollection: boolean;
182
182
  post(new_record: any): Promise<any>;
183
- readonly isCollection: boolean;
183
+ get isCollection(): boolean;
184
184
  connect(incomingMessages: import("./IterableEventQueue").IterableEventQueue, query?: {}): AsyncIterable<any>;
185
185
  getId(): import("./ResourceInterface").Id;
186
186
  getContext(): import("./ResourceInterface").Context;
@@ -219,17 +219,17 @@ export declare function table(table_definition: TableDefinition): {
219
219
  userResolvers: {};
220
220
  sources: any[];
221
221
  getResidencyById: (id: import("./ResourceInterface").Id) => number | void;
222
- readonly expirationMS: any;
222
+ get expirationMS(): any;
223
223
  dbisDB: any;
224
224
  schemaDefined: any;
225
225
  sourcedFrom(source: any, options: any): /*elided*/ any;
226
- readonly isCaching: any;
227
- readonly shouldRevalidateEvents: boolean;
226
+ get isCaching(): any;
227
+ get shouldRevalidateEvents(): boolean;
228
228
  getResource(id: import("./ResourceInterface").Id, request: import("./ResourceInterface").Context, resource_options?: any): Promise<{
229
- "__#5@#record": any;
230
- "__#5@#changes": any;
231
- "__#5@#version": number;
232
- "__#5@#entry": {
229
+ #record: any;
230
+ #changes: any;
231
+ #version: number;
232
+ #entry: {
233
233
  key: any;
234
234
  value: any;
235
235
  version: number;
@@ -237,8 +237,8 @@ export declare function table(table_definition: TableDefinition): {
237
237
  expiresAt: number;
238
238
  deref?: () => any;
239
239
  };
240
- "__#5@#saveMode": boolean;
241
- "__#5@#loadedFromSource": boolean;
240
+ #saveMode: boolean;
241
+ #loadedFromSource: boolean;
242
242
  ensureLoaded(): any;
243
243
  get(query?: import("./ResourceInterface").Query | string): Promise<object | void> | object | void;
244
244
  allowRead(user: any, query: any): any;
@@ -324,19 +324,19 @@ export declare function table(table_definition: TableDefinition): {
324
324
  validate(record: any, patch?: any): void;
325
325
  getUpdatedTime(): number;
326
326
  wasLoadedFromSource(): boolean | void;
327
- readonly "__#6@#id": import("./ResourceInterface").Id;
328
- readonly "__#6@#context": import("./ResourceInterface").Context;
329
- "__#6@#isCollection": boolean;
327
+ readonly #id: import("./ResourceInterface").Id;
328
+ readonly #context: import("./ResourceInterface").Context;
329
+ #isCollection: boolean;
330
330
  post(new_record: any): Promise<any>;
331
- readonly isCollection: boolean;
331
+ get isCollection(): boolean;
332
332
  connect(incomingMessages: import("./IterableEventQueue").IterableEventQueue, query?: {}): AsyncIterable<any>;
333
333
  getId(): import("./ResourceInterface").Id;
334
334
  getContext(): import("./ResourceInterface").Context;
335
335
  }> | {
336
- "__#5@#record": any;
337
- "__#5@#changes": any;
338
- "__#5@#version": number;
339
- "__#5@#entry": {
336
+ #record: any;
337
+ #changes: any;
338
+ #version: number;
339
+ #entry: {
340
340
  key: any;
341
341
  value: any;
342
342
  version: number;
@@ -344,8 +344,8 @@ export declare function table(table_definition: TableDefinition): {
344
344
  expiresAt: number;
345
345
  deref?: () => any;
346
346
  };
347
- "__#5@#saveMode": boolean;
348
- "__#5@#loadedFromSource": boolean;
347
+ #saveMode: boolean;
348
+ #loadedFromSource: boolean;
349
349
  ensureLoaded(): any;
350
350
  get(query?: import("./ResourceInterface").Query | string): Promise<object | void> | object | void;
351
351
  allowRead(user: any, query: any): any;
@@ -431,11 +431,11 @@ export declare function table(table_definition: TableDefinition): {
431
431
  validate(record: any, patch?: any): void;
432
432
  getUpdatedTime(): number;
433
433
  wasLoadedFromSource(): boolean | void;
434
- readonly "__#6@#id": import("./ResourceInterface").Id;
435
- readonly "__#6@#context": import("./ResourceInterface").Context;
436
- "__#6@#isCollection": boolean;
434
+ readonly #id: import("./ResourceInterface").Id;
435
+ readonly #context: import("./ResourceInterface").Context;
436
+ #isCollection: boolean;
437
437
  post(new_record: any): Promise<any>;
438
- readonly isCollection: boolean;
438
+ get isCollection(): boolean;
439
439
  connect(incomingMessages: import("./IterableEventQueue").IterableEventQueue, query?: {}): AsyncIterable<any>;
440
440
  getId(): import("./ResourceInterface").Id;
441
441
  getContext(): import("./ResourceInterface").Context;