harperdb 4.6.2 → 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 +75 -75
- package/bin/lite.js +74 -74
- package/launchServiceScripts/launchNatsIngestService.js +73 -73
- package/launchServiceScripts/launchNatsReplyService.js +73 -73
- package/launchServiceScripts/launchUpdateNodes4-0-0.js +74 -74
- package/npm-shrinkwrap.json +77 -77
- package/package.json +2 -2
- package/resources/ResourceInterface.d.ts +1 -0
- package/resources/Table.d.ts +40 -41
- package/resources/analytics/hostnames.d.ts +39 -39
- package/resources/blob.d.ts +4 -4
- package/resources/databases.d.ts +39 -39
- package/server/Server.d.ts +5 -1
- package/server/jobs/jobProcess.js +73 -73
- package/server/threads/threadServer.js +73 -73
- package/studio/build-local/asset-manifest.json +41 -41
- package/studio/build-local/index.html +1 -1
- 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/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/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/724.daf66453.chunk.js +1 -0
- package/studio/build-local/static/js/833.8c4a4a90.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.447848b8.js → main.ba5ab027.js} +2 -2
- 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/utility/hdbTerms.d.ts +1 -1
- package/utility/scripts/restartHdb.js +73 -73
- package/studio/build-local/static/css/main.34b26890.css +0 -13
- package/studio/build-local/static/js/164.a89f3fc2.chunk.js +0 -1
- package/studio/build-local/static/js/23.3b9f7144.chunk.js +0 -1
- package/studio/build-local/static/js/239.183c6cbc.chunk.js +0 -2
- package/studio/build-local/static/js/279.7dfac9c5.chunk.js +0 -1
- package/studio/build-local/static/js/545.046f5738.chunk.js +0 -1
- package/studio/build-local/static/js/759.7c5150cd.chunk.js +0 -2
- package/studio/build-local/static/js/833.fbb1857f.chunk.js +0 -1
- package/studio/build-local/static/js/845.79392583.chunk.js +0 -2
- package/studio/build-local/static/js/845.79392583.chunk.js.LICENSE.txt +0 -5
- package/studio/build-local/static/js/browse-csvupload.2a02693a.chunk.js +0 -1
- package/studio/build-local/static/js/browse-datatable.6944e1d5.chunk.js +0 -1
- package/studio/build-local/static/js/browse-entitymanager.78d9f3cf.chunk.js +0 -1
- package/studio/build-local/static/js/browse-jsonviewer.b9b13d1d.chunk.js +0 -1
- package/studio/build-local/static/js/custom-functions.5e20728d.chunk.js +0 -1
- package/studio/build-local/static/js/instance-cluster.7fa04087.chunk.js +0 -1
- package/studio/build-local/static/js/instance-config.cab20f8e.chunk.js +0 -1
- package/studio/build-local/static/js/instance-logs.c590cea3.chunk.js +0 -1
- package/studio/build-local/static/js/instance-roles.02c01413.chunk.js +0 -1
- package/studio/build-local/static/js/instance-status.872064e6.chunk.js +0 -1
- package/studio/build-local/static/js/instance-users-datatable.eaa7f9f0.chunk.js +0 -1
- package/studio/build-local/static/js/instance-users-edit.b3009a22.chunk.js +0 -1
- package/studio/build-local/static/js/instance-users.d4c9a21b.chunk.js +0 -1
- package/studio/build-local/static/js/instance.ac2d8e63.chunk.js +0 -1
- package/studio/build-local/static/js/instances.e177eb54.chunk.js +0 -1
- package/studio/build-local/static/js/offline-app.e75335f8.chunk.js +0 -1
- package/studio/build-local/static/js/online-app.161383cc.chunk.js +0 -1
- package/studio/build-local/static/js/organization-billing.8a6543c9.chunk.js +0 -1
- package/studio/build-local/static/js/organization-users.28a7fddd.chunk.js +0 -1
- package/studio/build-local/static/js/organization.7e6de94f.chunk.js +0 -1
- package/studio/build-local/static/js/organizations.a35fef39.chunk.js +0 -1
- package/studio/build-local/static/js/profile.ec638faf.chunk.js +0 -1
- package/studio/build-local/static/js/resetPassword.c64684e3.chunk.js +0 -1
- package/studio/build-local/static/js/roles-jsonviewer.28347efe.chunk.js +0 -1
- package/studio/build-local/static/js/signIn.95abea6a.chunk.js +0 -1
- package/studio/build-local/static/js/signUp.a095114b.chunk.js +0 -1
- package/studio/build-local/static/js/structure-reloader.89712250.chunk.js +0 -1
- package/studio/build-local/static/js/topnav.6ac108a6.chunk.js +0 -1
- package/studio/build-local/static/js/updatePassword.839328e6.chunk.js +0 -1
- /package/studio/build-local/static/js/{759.7c5150cd.chunk.js.LICENSE.txt → 11.17b2806b.chunk.js.LICENSE.txt} +0 -0
- /package/studio/build-local/static/js/{239.183c6cbc.chunk.js.LICENSE.txt → 239.5d22fd48.chunk.js.LICENSE.txt} +0 -0
- /package/studio/build-local/static/js/{main.447848b8.js.LICENSE.txt → main.ba5ab027.js.LICENSE.txt} +0 -0
|
@@ -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;
|
package/server/Server.d.ts
CHANGED
|
@@ -15,11 +15,15 @@ export interface Server {
|
|
|
15
15
|
authenticateUser(username: string, password: string, request: Request): any;
|
|
16
16
|
operation(operation: any, context: any, authorize?: boolean): Promise<any>;
|
|
17
17
|
recordAnalytics(value: Value, metric: string, path?: string, method?: string, type?: string): void;
|
|
18
|
-
nodes:
|
|
18
|
+
nodes: Node[];
|
|
19
19
|
shards: Map<number, string[]>;
|
|
20
20
|
hostname: string;
|
|
21
21
|
resources: Resources;
|
|
22
22
|
}
|
|
23
|
+
interface Node {
|
|
24
|
+
name: string;
|
|
25
|
+
shard: number;
|
|
26
|
+
}
|
|
23
27
|
export interface ServerOptions {
|
|
24
28
|
port?: number;
|
|
25
29
|
securePort?: number;
|