harperdb 4.6.3 → 4.6.4
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 +1 -1
- package/bin/harperdb.js +76 -76
- package/bin/lite.js +74 -74
- package/launchServiceScripts/launchNatsIngestService.js +74 -74
- package/launchServiceScripts/launchNatsReplyService.js +74 -74
- package/launchServiceScripts/launchUpdateNodes4-0-0.js +74 -74
- package/npm-shrinkwrap.json +15 -15
- package/package.json +1 -1
- package/resources/ResourceInterface.d.ts +1 -0
- package/resources/Table.d.ts +39 -39
- package/resources/analytics/hostnames.d.ts +39 -39
- package/resources/blob.d.ts +4 -4
- package/resources/databases.d.ts +39 -39
- package/server/jobs/jobProcess.js +74 -74
- package/server/threads/threadServer.js +74 -74
- package/studio/build-local/asset-manifest.json +55 -0
- package/studio/build-local/index.html +1 -0
- package/studio/build-local/static/css/main.a46e2bd8.css +13 -0
- package/studio/build-local/static/js/11.17b2806b.chunk.js +2 -0
- package/studio/build-local/static/js/11.17b2806b.chunk.js.LICENSE.txt +8 -0
- package/studio/build-local/static/js/164.794c66a1.chunk.js +1 -0
- package/studio/build-local/static/js/23.55c690ce.chunk.js +1 -0
- package/studio/build-local/static/js/239.5d22fd48.chunk.js +2 -0
- package/studio/build-local/static/js/239.5d22fd48.chunk.js.LICENSE.txt +5 -0
- package/studio/build-local/static/js/240.2c705279.chunk.js +2 -0
- package/studio/build-local/static/js/240.2c705279.chunk.js.LICENSE.txt +16 -0
- package/studio/build-local/static/js/279.bbdf2928.chunk.js +1 -0
- package/studio/build-local/static/js/43.73dc432d.chunk.js +2 -0
- package/studio/build-local/static/js/43.73dc432d.chunk.js.LICENSE.txt +1 -0
- package/studio/build-local/static/js/724.daf66453.chunk.js +1 -0
- package/studio/build-local/static/js/805.6aab06e2.chunk.js +1 -0
- package/studio/build-local/static/js/833.8c4a4a90.chunk.js +1 -0
- package/studio/build-local/static/js/851.4c6536d6.chunk.js +1 -0
- package/studio/build-local/static/js/860.727e7fc8.chunk.js +1 -0
- package/studio/build-local/static/js/browse-csvupload.088afad6.chunk.js +1 -0
- package/studio/build-local/static/js/browse-datatable.9e5f57a4.chunk.js +1 -0
- package/studio/build-local/static/js/browse-entitymanager.b1467efe.chunk.js +1 -0
- package/studio/build-local/static/js/browse-jsonviewer.c5715070.chunk.js +1 -0
- package/studio/build-local/static/js/custom-functions.a20f8853.chunk.js +1 -0
- package/studio/build-local/static/js/instance-cluster.d9f5d94b.chunk.js +1 -0
- package/studio/build-local/static/js/instance-config.cc1f0e92.chunk.js +1 -0
- package/studio/build-local/static/js/instance-logs.9d60d6ad.chunk.js +1 -0
- package/studio/build-local/static/js/instance-roles.cf38a24f.chunk.js +1 -0
- package/studio/build-local/static/js/instance-status.3c776235.chunk.js +1 -0
- package/studio/build-local/static/js/instance-users-datatable.2fa06057.chunk.js +1 -0
- package/studio/build-local/static/js/instance-users-edit.d26ea514.chunk.js +1 -0
- package/studio/build-local/static/js/instance-users.f11ec173.chunk.js +1 -0
- package/studio/build-local/static/js/instance.99cd7bf2.chunk.js +1 -0
- package/studio/build-local/static/js/instances.289c385e.chunk.js +1 -0
- package/studio/build-local/static/js/main.ba5ab027.js +2 -0
- package/studio/build-local/static/js/main.ba5ab027.js.LICENSE.txt +39 -0
- package/studio/build-local/static/js/offline-app.54fd7408.chunk.js +1 -0
- package/studio/build-local/static/js/online-app.060fd872.chunk.js +1 -0
- package/studio/build-local/static/js/organization-billing.e0e08f86.chunk.js +1 -0
- package/studio/build-local/static/js/organization-users.5755c9f0.chunk.js +1 -0
- package/studio/build-local/static/js/organization.6db4c138.chunk.js +1 -0
- package/studio/build-local/static/js/organizations.cf417207.chunk.js +1 -0
- package/studio/build-local/static/js/profile.3502eb02.chunk.js +1 -0
- package/studio/build-local/static/js/resetPassword.bdccbba4.chunk.js +1 -0
- package/studio/build-local/static/js/roles-jsonviewer.2488b213.chunk.js +1 -0
- package/studio/build-local/static/js/signIn.44a8eea8.chunk.js +1 -0
- package/studio/build-local/static/js/signUp.84b57b20.chunk.js +1 -0
- package/studio/build-local/static/js/structure-reloader.99217942.chunk.js +1 -0
- package/studio/build-local/static/js/topnav.dc554a18.chunk.js +1 -0
- package/studio/build-local/static/js/updatePassword.56bfd9f7.chunk.js +1 -0
- package/studio/build-local/static/media/PPRadioGrotesk-Bold.31436818ea74a78b55af.woff +0 -0
- package/studio/build-local/static/media/checkmark.3d7d209874703a9cd0cc.svg +3 -0
- package/studio/build-local/static/media/logo_harper_db_studio.81490e70fa4af6879c2e.png +0 -0
- package/utility/hdbTerms.d.ts +1 -0
- package/utility/scripts/restartHdb.js +74 -74
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "harperdb",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.4",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "harperdb",
|
|
9
|
-
"version": "4.6.
|
|
9
|
+
"version": "4.6.4",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "SEE LICENSE IN LICENSE",
|
|
12
12
|
"dependencies": {
|
|
@@ -3018,12 +3018,12 @@
|
|
|
3018
3018
|
"license": "MIT"
|
|
3019
3019
|
},
|
|
3020
3020
|
"node_modules/@types/node": {
|
|
3021
|
-
"version": "24.
|
|
3022
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.
|
|
3023
|
-
"integrity": "sha512-
|
|
3021
|
+
"version": "24.2.0",
|
|
3022
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.2.0.tgz",
|
|
3023
|
+
"integrity": "sha512-3xyG3pMCq3oYCNg7/ZP+E1ooTaGB4cG8JWRsqqOYQdbWNY4zbaV0Ennrd7stjiJEFZCaybcIgpTjJWHRfBSIDw==",
|
|
3024
3024
|
"license": "MIT",
|
|
3025
3025
|
"dependencies": {
|
|
3026
|
-
"undici-types": "~7.
|
|
3026
|
+
"undici-types": "~7.10.0"
|
|
3027
3027
|
}
|
|
3028
3028
|
},
|
|
3029
3029
|
"node_modules/@types/readable-stream": {
|
|
@@ -3426,9 +3426,9 @@
|
|
|
3426
3426
|
}
|
|
3427
3427
|
},
|
|
3428
3428
|
"node_modules/bl": {
|
|
3429
|
-
"version": "6.1.
|
|
3430
|
-
"resolved": "https://registry.npmjs.org/bl/-/bl-6.1.
|
|
3431
|
-
"integrity": "sha512-
|
|
3429
|
+
"version": "6.1.1",
|
|
3430
|
+
"resolved": "https://registry.npmjs.org/bl/-/bl-6.1.1.tgz",
|
|
3431
|
+
"integrity": "sha512-yYc8UIHrd1ZTLgNBIE7JjMzUPZH+dec3q7nWkrSHEbtvkQ3h6WKC63W9K5jthcL5EXFyMuWYq+2pq5WMSIgFHw==",
|
|
3432
3432
|
"license": "MIT",
|
|
3433
3433
|
"dependencies": {
|
|
3434
3434
|
"@types/readable-stream": "^4.0.0",
|
|
@@ -4674,9 +4674,9 @@
|
|
|
4674
4674
|
}
|
|
4675
4675
|
},
|
|
4676
4676
|
"node_modules/follow-redirects": {
|
|
4677
|
-
"version": "1.15.
|
|
4678
|
-
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.
|
|
4679
|
-
"integrity": "sha512-
|
|
4677
|
+
"version": "1.15.11",
|
|
4678
|
+
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.11.tgz",
|
|
4679
|
+
"integrity": "sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==",
|
|
4680
4680
|
"funding": [
|
|
4681
4681
|
{
|
|
4682
4682
|
"type": "individual",
|
|
@@ -8212,9 +8212,9 @@
|
|
|
8212
8212
|
}
|
|
8213
8213
|
},
|
|
8214
8214
|
"node_modules/undici-types": {
|
|
8215
|
-
"version": "7.
|
|
8216
|
-
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.
|
|
8217
|
-
"integrity": "sha512-
|
|
8215
|
+
"version": "7.10.0",
|
|
8216
|
+
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.10.0.tgz",
|
|
8217
|
+
"integrity": "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==",
|
|
8218
8218
|
"license": "MIT"
|
|
8219
8219
|
},
|
|
8220
8220
|
"node_modules/universalify": {
|
package/package.json
CHANGED
|
@@ -50,6 +50,7 @@ export interface Context {
|
|
|
50
50
|
loadedFromSource?: boolean;
|
|
51
51
|
nodeName?: string;
|
|
52
52
|
resourceCache?: Map<Id, any>;
|
|
53
|
+
_freezeRecords?: boolean;
|
|
53
54
|
}
|
|
54
55
|
export type Operator = 'and' | 'or';
|
|
55
56
|
type SearchType = 'equals' | 'contains' | 'starts_with' | 'ends_with' | 'greater_than' | 'greater_than_equal' | 'less_than' | 'less_than_equal' | 'between';
|
package/resources/Table.d.ts
CHANGED
|
@@ -43,12 +43,12 @@ type ResidencyDefinition = number | string[] | void;
|
|
|
43
43
|
*/
|
|
44
44
|
export declare function makeTable(options: any): {
|
|
45
45
|
new (identifier: Id, source: any): {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
46
|
+
#record: any;
|
|
47
|
+
#changes: any;
|
|
48
|
+
#version?: number;
|
|
49
|
+
#entry?: Entry;
|
|
50
|
+
#saveMode?: boolean;
|
|
51
|
+
#loadedFromSource?: boolean;
|
|
52
52
|
getProperty: (name: string) => any;
|
|
53
53
|
/**
|
|
54
54
|
* This is a request to explicitly ensure that the record is loaded from source, rather than only using the local record.
|
|
@@ -98,8 +98,8 @@ export declare function makeTable(options: any): {
|
|
|
98
98
|
getExpiresAt(): number;
|
|
99
99
|
addTo(property: string, value: number | bigint): void;
|
|
100
100
|
subtractFrom(property: string, value: number | bigint): void;
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
#record: any;
|
|
102
|
+
#changes: any;
|
|
103
103
|
getRecord(): any;
|
|
104
104
|
setRecord(record: any): void;
|
|
105
105
|
getChanges(): any;
|
|
@@ -196,11 +196,11 @@ export declare function makeTable(options: any): {
|
|
|
196
196
|
validate(record: any, patch?: boolean): void;
|
|
197
197
|
getUpdatedTime(): number;
|
|
198
198
|
wasLoadedFromSource(): boolean | void;
|
|
199
|
-
readonly
|
|
200
|
-
readonly
|
|
201
|
-
|
|
199
|
+
readonly #id: Id;
|
|
200
|
+
readonly #context: Context;
|
|
201
|
+
#isCollection: boolean;
|
|
202
202
|
post(newRecord: any): Promise<any>;
|
|
203
|
-
|
|
203
|
+
get isCollection(): boolean;
|
|
204
204
|
connect(incomingMessages: import("./IterableEventQueue.js").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
205
205
|
getId(): Id;
|
|
206
206
|
getContext(): Context;
|
|
@@ -227,7 +227,7 @@ export declare function makeTable(options: any): {
|
|
|
227
227
|
sourceOptions: any;
|
|
228
228
|
intermediateSource: boolean;
|
|
229
229
|
getResidencyById: (id: Id) => number | void;
|
|
230
|
-
|
|
230
|
+
get expirationMS(): any;
|
|
231
231
|
dbisDB: any;
|
|
232
232
|
schemaDefined: any;
|
|
233
233
|
/**
|
|
@@ -239,10 +239,10 @@ export declare function makeTable(options: any): {
|
|
|
239
239
|
* @returns
|
|
240
240
|
*/
|
|
241
241
|
sourcedFrom(source: any, options: any): /*elided*/ any;
|
|
242
|
-
|
|
242
|
+
get isCaching(): any;
|
|
243
243
|
/** Indicates if the events should be revalidated when they are received. By default we do this if the get
|
|
244
244
|
* method is overriden */
|
|
245
|
-
|
|
245
|
+
get shouldRevalidateEvents(): boolean;
|
|
246
246
|
/**
|
|
247
247
|
* Gets a resource instance, as defined by the Resource class, adding the table-specific handling
|
|
248
248
|
* of also loading the stored record into the resource instance.
|
|
@@ -252,12 +252,12 @@ export declare function makeTable(options: any): {
|
|
|
252
252
|
* @returns
|
|
253
253
|
*/
|
|
254
254
|
getResource(id: Id, request: Context, resourceOptions?: any): Promise<{
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
255
|
+
#record: any;
|
|
256
|
+
#changes: any;
|
|
257
|
+
#version?: number;
|
|
258
|
+
#entry?: Entry;
|
|
259
|
+
#saveMode?: boolean;
|
|
260
|
+
#loadedFromSource?: boolean;
|
|
261
261
|
getProperty: (name: string) => any;
|
|
262
262
|
/**
|
|
263
263
|
* This is a request to explicitly ensure that the record is loaded from source, rather than only using the local record.
|
|
@@ -307,8 +307,8 @@ export declare function makeTable(options: any): {
|
|
|
307
307
|
getExpiresAt(): number;
|
|
308
308
|
addTo(property: string, value: number | bigint): void;
|
|
309
309
|
subtractFrom(property: string, value: number | bigint): void;
|
|
310
|
-
|
|
311
|
-
|
|
310
|
+
#record: any;
|
|
311
|
+
#changes: any;
|
|
312
312
|
getRecord(): any;
|
|
313
313
|
setRecord(record: any): void;
|
|
314
314
|
getChanges(): any;
|
|
@@ -405,21 +405,21 @@ export declare function makeTable(options: any): {
|
|
|
405
405
|
validate(record: any, patch?: boolean): void;
|
|
406
406
|
getUpdatedTime(): number;
|
|
407
407
|
wasLoadedFromSource(): boolean | void;
|
|
408
|
-
readonly
|
|
409
|
-
readonly
|
|
410
|
-
|
|
408
|
+
readonly #id: Id;
|
|
409
|
+
readonly #context: Context;
|
|
410
|
+
#isCollection: boolean;
|
|
411
411
|
post(newRecord: any): Promise<any>;
|
|
412
|
-
|
|
412
|
+
get isCollection(): boolean;
|
|
413
413
|
connect(incomingMessages: import("./IterableEventQueue.js").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
414
414
|
getId(): Id;
|
|
415
415
|
getContext(): Context;
|
|
416
416
|
}> | {
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
417
|
+
#record: any;
|
|
418
|
+
#changes: any;
|
|
419
|
+
#version?: number;
|
|
420
|
+
#entry?: Entry;
|
|
421
|
+
#saveMode?: boolean;
|
|
422
|
+
#loadedFromSource?: boolean;
|
|
423
423
|
getProperty: (name: string) => any;
|
|
424
424
|
/**
|
|
425
425
|
* This is a request to explicitly ensure that the record is loaded from source, rather than only using the local record.
|
|
@@ -469,8 +469,8 @@ export declare function makeTable(options: any): {
|
|
|
469
469
|
getExpiresAt(): number;
|
|
470
470
|
addTo(property: string, value: number | bigint): void;
|
|
471
471
|
subtractFrom(property: string, value: number | bigint): void;
|
|
472
|
-
|
|
473
|
-
|
|
472
|
+
#record: any;
|
|
473
|
+
#changes: any;
|
|
474
474
|
getRecord(): any;
|
|
475
475
|
setRecord(record: any): void;
|
|
476
476
|
getChanges(): any;
|
|
@@ -567,11 +567,11 @@ export declare function makeTable(options: any): {
|
|
|
567
567
|
validate(record: any, patch?: boolean): void;
|
|
568
568
|
getUpdatedTime(): number;
|
|
569
569
|
wasLoadedFromSource(): boolean | void;
|
|
570
|
-
readonly
|
|
571
|
-
readonly
|
|
572
|
-
|
|
570
|
+
readonly #id: Id;
|
|
571
|
+
readonly #context: Context;
|
|
572
|
+
#isCollection: boolean;
|
|
573
573
|
post(newRecord: any): Promise<any>;
|
|
574
|
-
|
|
574
|
+
get isCollection(): boolean;
|
|
575
575
|
connect(incomingMessages: import("./IterableEventQueue.js").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
576
576
|
getId(): Id;
|
|
577
577
|
getContext(): Context;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const nodeIds: Map<string, number>;
|
|
2
2
|
export declare function getAnalyticsHostnameTable(): {
|
|
3
3
|
new (identifier: import("../ResourceInterface.js").Id, source: any): {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
#record: any;
|
|
5
|
+
#changes: any;
|
|
6
|
+
#version?: number;
|
|
7
|
+
#entry?: import("../RecordEncoder.js").Entry;
|
|
8
|
+
#saveMode?: boolean;
|
|
9
|
+
#loadedFromSource?: boolean;
|
|
10
10
|
getProperty: (name: string) => any;
|
|
11
11
|
ensureLoaded(): unknown;
|
|
12
12
|
get(target?: import("../RequestTarget.js").RequestTarget): Promise<object | void>;
|
|
@@ -21,8 +21,8 @@ export declare function getAnalyticsHostnameTable(): {
|
|
|
21
21
|
getExpiresAt(): number;
|
|
22
22
|
addTo(property: string, value: number | bigint): void;
|
|
23
23
|
subtractFrom(property: string, value: number | bigint): void;
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
#record: any;
|
|
25
|
+
#changes: any;
|
|
26
26
|
getRecord(): any;
|
|
27
27
|
setRecord(record: any): void;
|
|
28
28
|
getChanges(): any;
|
|
@@ -103,11 +103,11 @@ export declare function getAnalyticsHostnameTable(): {
|
|
|
103
103
|
validate(record: any, patch?: boolean): void;
|
|
104
104
|
getUpdatedTime(): number;
|
|
105
105
|
wasLoadedFromSource(): boolean | void;
|
|
106
|
-
readonly
|
|
107
|
-
readonly
|
|
108
|
-
|
|
106
|
+
readonly #id: import("../ResourceInterface.js").Id;
|
|
107
|
+
readonly #context: import("../ResourceInterface.js").Context;
|
|
108
|
+
#isCollection: boolean;
|
|
109
109
|
post(newRecord: any): Promise<any>;
|
|
110
|
-
|
|
110
|
+
get isCollection(): boolean;
|
|
111
111
|
connect(incomingMessages: import("../IterableEventQueue.js").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
112
112
|
getId(): import("../ResourceInterface.js").Id;
|
|
113
113
|
getContext(): import("../ResourceInterface.js").Context;
|
|
@@ -134,19 +134,19 @@ export declare function getAnalyticsHostnameTable(): {
|
|
|
134
134
|
sourceOptions: any;
|
|
135
135
|
intermediateSource: boolean;
|
|
136
136
|
getResidencyById: (id: import("../ResourceInterface.js").Id) => number | void;
|
|
137
|
-
|
|
137
|
+
get expirationMS(): any;
|
|
138
138
|
dbisDB: any;
|
|
139
139
|
schemaDefined: any;
|
|
140
140
|
sourcedFrom(source: any, options: any): /*elided*/ any;
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
get isCaching(): any;
|
|
142
|
+
get shouldRevalidateEvents(): boolean;
|
|
143
143
|
getResource(id: import("../ResourceInterface.js").Id, request: import("../ResourceInterface.js").Context, resourceOptions?: any): Promise<{
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
144
|
+
#record: any;
|
|
145
|
+
#changes: any;
|
|
146
|
+
#version?: number;
|
|
147
|
+
#entry?: import("../RecordEncoder.js").Entry;
|
|
148
|
+
#saveMode?: boolean;
|
|
149
|
+
#loadedFromSource?: boolean;
|
|
150
150
|
getProperty: (name: string) => any;
|
|
151
151
|
ensureLoaded(): unknown;
|
|
152
152
|
get(target?: import("../RequestTarget.js").RequestTarget): Promise<object | void>;
|
|
@@ -161,8 +161,8 @@ export declare function getAnalyticsHostnameTable(): {
|
|
|
161
161
|
getExpiresAt(): number;
|
|
162
162
|
addTo(property: string, value: number | bigint): void;
|
|
163
163
|
subtractFrom(property: string, value: number | bigint): void;
|
|
164
|
-
|
|
165
|
-
|
|
164
|
+
#record: any;
|
|
165
|
+
#changes: any;
|
|
166
166
|
getRecord(): any;
|
|
167
167
|
setRecord(record: any): void;
|
|
168
168
|
getChanges(): any;
|
|
@@ -243,21 +243,21 @@ export declare function getAnalyticsHostnameTable(): {
|
|
|
243
243
|
validate(record: any, patch?: boolean): void;
|
|
244
244
|
getUpdatedTime(): number;
|
|
245
245
|
wasLoadedFromSource(): boolean | void;
|
|
246
|
-
readonly
|
|
247
|
-
readonly
|
|
248
|
-
|
|
246
|
+
readonly #id: import("../ResourceInterface.js").Id;
|
|
247
|
+
readonly #context: import("../ResourceInterface.js").Context;
|
|
248
|
+
#isCollection: boolean;
|
|
249
249
|
post(newRecord: any): Promise<any>;
|
|
250
|
-
|
|
250
|
+
get isCollection(): boolean;
|
|
251
251
|
connect(incomingMessages: import("../IterableEventQueue.js").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
252
252
|
getId(): import("../ResourceInterface.js").Id;
|
|
253
253
|
getContext(): import("../ResourceInterface.js").Context;
|
|
254
254
|
}> | {
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
255
|
+
#record: any;
|
|
256
|
+
#changes: any;
|
|
257
|
+
#version?: number;
|
|
258
|
+
#entry?: import("../RecordEncoder.js").Entry;
|
|
259
|
+
#saveMode?: boolean;
|
|
260
|
+
#loadedFromSource?: boolean;
|
|
261
261
|
getProperty: (name: string) => any;
|
|
262
262
|
ensureLoaded(): unknown;
|
|
263
263
|
get(target?: import("../RequestTarget.js").RequestTarget): Promise<object | void>;
|
|
@@ -272,8 +272,8 @@ export declare function getAnalyticsHostnameTable(): {
|
|
|
272
272
|
getExpiresAt(): number;
|
|
273
273
|
addTo(property: string, value: number | bigint): void;
|
|
274
274
|
subtractFrom(property: string, value: number | bigint): void;
|
|
275
|
-
|
|
276
|
-
|
|
275
|
+
#record: any;
|
|
276
|
+
#changes: any;
|
|
277
277
|
getRecord(): any;
|
|
278
278
|
setRecord(record: any): void;
|
|
279
279
|
getChanges(): any;
|
|
@@ -354,11 +354,11 @@ export declare function getAnalyticsHostnameTable(): {
|
|
|
354
354
|
validate(record: any, patch?: boolean): void;
|
|
355
355
|
getUpdatedTime(): number;
|
|
356
356
|
wasLoadedFromSource(): boolean | void;
|
|
357
|
-
readonly
|
|
358
|
-
readonly
|
|
359
|
-
|
|
357
|
+
readonly #id: import("../ResourceInterface.js").Id;
|
|
358
|
+
readonly #context: import("../ResourceInterface.js").Context;
|
|
359
|
+
#isCollection: boolean;
|
|
360
360
|
post(newRecord: any): Promise<any>;
|
|
361
|
-
|
|
361
|
+
get isCollection(): boolean;
|
|
362
362
|
connect(incomingMessages: import("../IterableEventQueue.js").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
363
363
|
getId(): import("../ResourceInterface.js").Id;
|
|
364
364
|
getContext(): import("../ResourceInterface.js").Context;
|
package/resources/blob.d.ts
CHANGED
|
@@ -20,10 +20,10 @@ export declare const Blob: {
|
|
|
20
20
|
stream(): ReadableStream<any>;
|
|
21
21
|
text(): Promise<string>;
|
|
22
22
|
arrayBuffer(): Promise<ArrayBufferLike>;
|
|
23
|
-
|
|
23
|
+
get size(): number;
|
|
24
24
|
slice(): /*elided*/ any;
|
|
25
25
|
bytes(): Promise<Buffer>;
|
|
26
|
-
|
|
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
|
-
|
|
37
|
+
get size(): number;
|
|
38
38
|
slice(): /*elided*/ any;
|
|
39
39
|
bytes(): Promise<Buffer>;
|
|
40
|
-
|
|
40
|
+
get type(): string;
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
/**
|
package/resources/databases.d.ts
CHANGED
|
@@ -78,12 +78,12 @@ export declare function dropDatabase(databaseName: any): Promise<void>;
|
|
|
78
78
|
*/
|
|
79
79
|
export declare function table(tableDefinition: TableDefinition): {
|
|
80
80
|
new (identifier: import("./ResourceInterface.js").Id, source: any): {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
81
|
+
#record: any;
|
|
82
|
+
#changes: any;
|
|
83
|
+
#version?: number;
|
|
84
|
+
#entry?: import("./RecordEncoder.ts").Entry;
|
|
85
|
+
#saveMode?: boolean;
|
|
86
|
+
#loadedFromSource?: boolean;
|
|
87
87
|
getProperty: (name: string) => any;
|
|
88
88
|
ensureLoaded(): unknown;
|
|
89
89
|
get(target?: import("./RequestTarget.js").RequestTarget): Promise<object | void>;
|
|
@@ -98,8 +98,8 @@ export declare function table(tableDefinition: TableDefinition): {
|
|
|
98
98
|
getExpiresAt(): number;
|
|
99
99
|
addTo(property: string, value: number | bigint): void;
|
|
100
100
|
subtractFrom(property: string, value: number | bigint): void;
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
#record: any;
|
|
102
|
+
#changes: any;
|
|
103
103
|
getRecord(): any;
|
|
104
104
|
setRecord(record: any): void;
|
|
105
105
|
getChanges(): any;
|
|
@@ -180,11 +180,11 @@ export declare function table(tableDefinition: TableDefinition): {
|
|
|
180
180
|
validate(record: any, patch?: boolean): void;
|
|
181
181
|
getUpdatedTime(): number;
|
|
182
182
|
wasLoadedFromSource(): boolean | void;
|
|
183
|
-
readonly
|
|
184
|
-
readonly
|
|
185
|
-
|
|
183
|
+
readonly #id: import("./ResourceInterface.js").Id;
|
|
184
|
+
readonly #context: import("./ResourceInterface.js").Context;
|
|
185
|
+
#isCollection: boolean;
|
|
186
186
|
post(newRecord: any): Promise<any>;
|
|
187
|
-
|
|
187
|
+
get isCollection(): boolean;
|
|
188
188
|
connect(incomingMessages: import("./IterableEventQueue.js").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
189
189
|
getId(): import("./ResourceInterface.js").Id;
|
|
190
190
|
getContext(): import("./ResourceInterface.js").Context;
|
|
@@ -211,19 +211,19 @@ export declare function table(tableDefinition: TableDefinition): {
|
|
|
211
211
|
sourceOptions: any;
|
|
212
212
|
intermediateSource: boolean;
|
|
213
213
|
getResidencyById: (id: import("./ResourceInterface.js").Id) => number | void;
|
|
214
|
-
|
|
214
|
+
get expirationMS(): any;
|
|
215
215
|
dbisDB: any;
|
|
216
216
|
schemaDefined: any;
|
|
217
217
|
sourcedFrom(source: any, options: any): /*elided*/ any;
|
|
218
|
-
|
|
219
|
-
|
|
218
|
+
get isCaching(): any;
|
|
219
|
+
get shouldRevalidateEvents(): boolean;
|
|
220
220
|
getResource(id: import("./ResourceInterface.js").Id, request: import("./ResourceInterface.js").Context, resourceOptions?: any): Promise<{
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
221
|
+
#record: any;
|
|
222
|
+
#changes: any;
|
|
223
|
+
#version?: number;
|
|
224
|
+
#entry?: import("./RecordEncoder.ts").Entry;
|
|
225
|
+
#saveMode?: boolean;
|
|
226
|
+
#loadedFromSource?: boolean;
|
|
227
227
|
getProperty: (name: string) => any;
|
|
228
228
|
ensureLoaded(): unknown;
|
|
229
229
|
get(target?: import("./RequestTarget.js").RequestTarget): Promise<object | void>;
|
|
@@ -238,8 +238,8 @@ export declare function table(tableDefinition: TableDefinition): {
|
|
|
238
238
|
getExpiresAt(): number;
|
|
239
239
|
addTo(property: string, value: number | bigint): void;
|
|
240
240
|
subtractFrom(property: string, value: number | bigint): void;
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
#record: any;
|
|
242
|
+
#changes: any;
|
|
243
243
|
getRecord(): any;
|
|
244
244
|
setRecord(record: any): void;
|
|
245
245
|
getChanges(): any;
|
|
@@ -320,21 +320,21 @@ export declare function table(tableDefinition: TableDefinition): {
|
|
|
320
320
|
validate(record: any, patch?: boolean): void;
|
|
321
321
|
getUpdatedTime(): number;
|
|
322
322
|
wasLoadedFromSource(): boolean | void;
|
|
323
|
-
readonly
|
|
324
|
-
readonly
|
|
325
|
-
|
|
323
|
+
readonly #id: import("./ResourceInterface.js").Id;
|
|
324
|
+
readonly #context: import("./ResourceInterface.js").Context;
|
|
325
|
+
#isCollection: boolean;
|
|
326
326
|
post(newRecord: any): Promise<any>;
|
|
327
|
-
|
|
327
|
+
get isCollection(): boolean;
|
|
328
328
|
connect(incomingMessages: import("./IterableEventQueue.js").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
329
329
|
getId(): import("./ResourceInterface.js").Id;
|
|
330
330
|
getContext(): import("./ResourceInterface.js").Context;
|
|
331
331
|
}> | {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
332
|
+
#record: any;
|
|
333
|
+
#changes: any;
|
|
334
|
+
#version?: number;
|
|
335
|
+
#entry?: import("./RecordEncoder.ts").Entry;
|
|
336
|
+
#saveMode?: boolean;
|
|
337
|
+
#loadedFromSource?: boolean;
|
|
338
338
|
getProperty: (name: string) => any;
|
|
339
339
|
ensureLoaded(): unknown;
|
|
340
340
|
get(target?: import("./RequestTarget.js").RequestTarget): Promise<object | void>;
|
|
@@ -349,8 +349,8 @@ export declare function table(tableDefinition: TableDefinition): {
|
|
|
349
349
|
getExpiresAt(): number;
|
|
350
350
|
addTo(property: string, value: number | bigint): void;
|
|
351
351
|
subtractFrom(property: string, value: number | bigint): void;
|
|
352
|
-
|
|
353
|
-
|
|
352
|
+
#record: any;
|
|
353
|
+
#changes: any;
|
|
354
354
|
getRecord(): any;
|
|
355
355
|
setRecord(record: any): void;
|
|
356
356
|
getChanges(): any;
|
|
@@ -431,11 +431,11 @@ export declare function table(tableDefinition: TableDefinition): {
|
|
|
431
431
|
validate(record: any, patch?: boolean): void;
|
|
432
432
|
getUpdatedTime(): number;
|
|
433
433
|
wasLoadedFromSource(): boolean | void;
|
|
434
|
-
readonly
|
|
435
|
-
readonly
|
|
436
|
-
|
|
434
|
+
readonly #id: import("./ResourceInterface.js").Id;
|
|
435
|
+
readonly #context: import("./ResourceInterface.js").Context;
|
|
436
|
+
#isCollection: boolean;
|
|
437
437
|
post(newRecord: any): Promise<any>;
|
|
438
|
-
|
|
438
|
+
get isCollection(): boolean;
|
|
439
439
|
connect(incomingMessages: import("./IterableEventQueue.js").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
440
440
|
getId(): import("./ResourceInterface.js").Id;
|
|
441
441
|
getContext(): import("./ResourceInterface.js").Context;
|