harperdb 4.6.0-alpha.3 → 4.6.0-beta.2
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 +68 -68
- package/bin/lite.js +66 -66
- package/launchServiceScripts/launchNatsIngestService.js +66 -66
- package/launchServiceScripts/launchNatsReplyService.js +74 -74
- package/launchServiceScripts/launchUpdateNodes4-0-0.js +66 -66
- package/npm-shrinkwrap.json +801 -728
- package/package.json +20 -18
- package/resources/RecordEncoder.d.ts +1 -0
- package/resources/RequestTarget.d.ts +45 -1
- package/resources/Resource.d.ts +5 -5
- package/resources/ResourceInterface.d.ts +7 -7
- package/resources/Table.d.ts +111 -75
- package/resources/analytics/hostnames.d.ts +104 -62
- package/resources/analytics/read.d.ts +5 -1
- package/resources/analytics/write.d.ts +1 -1
- package/resources/databases.d.ts +104 -62
- package/resources/indexes/HierarchicalNavigableSmallWorld.d.ts +1 -1
- package/resources/search.d.ts +1 -1
- package/server/jobs/jobProcess.js +66 -66
- package/server/replication/replicationConnection.d.ts +1 -0
- package/server/status/definitions.d.ts +27 -0
- package/server/status/index.d.ts +17 -0
- package/server/threads/threadServer.js +66 -66
- package/studio/build-local/asset-manifest.json +33 -33
- package/studio/build-local/index.html +1 -1
- package/studio/build-local/static/js/833.fbfe7401.chunk.js +1 -0
- package/studio/build-local/static/js/{504.6e6ee908.chunk.js → 967.204fa205.chunk.js} +2 -2
- package/studio/build-local/static/js/browse-csvupload.2b5a9e13.chunk.js +1 -0
- package/studio/build-local/static/js/browse-datatable.9e58ff64.chunk.js +1 -0
- package/studio/build-local/static/js/browse-entitymanager.d6afc4fd.chunk.js +1 -0
- package/studio/build-local/static/js/browse-jsonviewer.588b23c5.chunk.js +1 -0
- package/studio/build-local/static/js/custom-functions.ff091f75.chunk.js +1 -0
- package/studio/build-local/static/js/instance-cluster.6818b415.chunk.js +1 -0
- package/studio/build-local/static/js/instance-config.7c913130.chunk.js +1 -0
- package/studio/build-local/static/js/instance-logs.7376d433.chunk.js +1 -0
- package/studio/build-local/static/js/instance-roles.cbcbbc42.chunk.js +1 -0
- package/studio/build-local/static/js/{instance-status.192a5e2f.chunk.js → instance-status.0eb61c1f.chunk.js} +1 -1
- package/studio/build-local/static/js/instance-users-datatable.bb1e4157.chunk.js +1 -0
- package/studio/build-local/static/js/instance-users-edit.23ab5e30.chunk.js +1 -0
- package/studio/build-local/static/js/instance-users.56db347f.chunk.js +1 -0
- package/studio/build-local/static/js/instance.88196931.chunk.js +1 -0
- package/studio/build-local/static/js/instances.f4453268.chunk.js +1 -0
- package/studio/build-local/static/js/main.5017e3e1.js +2 -0
- package/studio/build-local/static/js/offline-app.363c4e03.chunk.js +1 -0
- package/studio/build-local/static/js/online-app.ab23001a.chunk.js +1 -0
- package/studio/build-local/static/js/organization-billing.64cbf949.chunk.js +1 -0
- package/studio/build-local/static/js/organization-users.fa366ada.chunk.js +1 -0
- package/studio/build-local/static/js/organization.f741809a.chunk.js +1 -0
- package/studio/build-local/static/js/organizations.7965cee0.chunk.js +1 -0
- package/studio/build-local/static/js/profile.07e2ebfd.chunk.js +1 -0
- package/studio/build-local/static/js/resetPassword.90ca00d9.chunk.js +1 -0
- package/studio/build-local/static/js/roles-jsonviewer.1574416f.chunk.js +1 -0
- package/studio/build-local/static/js/signIn.0d672113.chunk.js +1 -0
- package/studio/build-local/static/js/signUp.0e036959.chunk.js +1 -0
- package/studio/build-local/static/js/structure-reloader.4726d0b7.chunk.js +1 -0
- package/studio/build-local/static/js/topnav.deb5a145.chunk.js +1 -0
- package/studio/build-local/static/js/updatePassword.8612a372.chunk.js +1 -0
- package/utility/hdbTerms.d.ts +3 -0
- package/utility/scripts/restartHdb.js +66 -66
- package/validation/statusValidator.d.ts +8 -11
- package/server/status.d.ts +0 -448
- package/studio/build-local/static/js/833.e460eaf4.chunk.js +0 -1
- package/studio/build-local/static/js/browse-csvupload.84fd1ae9.chunk.js +0 -1
- package/studio/build-local/static/js/browse-datatable.3d9e9ccf.chunk.js +0 -1
- package/studio/build-local/static/js/browse-entitymanager.4547c0d8.chunk.js +0 -1
- package/studio/build-local/static/js/browse-jsonviewer.71355c20.chunk.js +0 -1
- package/studio/build-local/static/js/custom-functions.31d65bca.chunk.js +0 -1
- package/studio/build-local/static/js/instance-cluster.031dcced.chunk.js +0 -1
- package/studio/build-local/static/js/instance-config.9a23d6ae.chunk.js +0 -1
- package/studio/build-local/static/js/instance-logs.fdaf96ec.chunk.js +0 -1
- package/studio/build-local/static/js/instance-roles.984ced56.chunk.js +0 -1
- package/studio/build-local/static/js/instance-users-datatable.40846e47.chunk.js +0 -1
- package/studio/build-local/static/js/instance-users-edit.f10344c8.chunk.js +0 -1
- package/studio/build-local/static/js/instance-users.adc43a74.chunk.js +0 -1
- package/studio/build-local/static/js/instance.9de0a105.chunk.js +0 -1
- package/studio/build-local/static/js/instances.299d83e9.chunk.js +0 -1
- package/studio/build-local/static/js/main.5a7cabb6.js +0 -2
- package/studio/build-local/static/js/offline-app.5bc1159b.chunk.js +0 -1
- package/studio/build-local/static/js/online-app.22102869.chunk.js +0 -1
- package/studio/build-local/static/js/organization-billing.56e7e051.chunk.js +0 -1
- package/studio/build-local/static/js/organization-users.b46b9e8f.chunk.js +0 -1
- package/studio/build-local/static/js/organization.eab64d57.chunk.js +0 -1
- package/studio/build-local/static/js/organizations.4567ae59.chunk.js +0 -1
- package/studio/build-local/static/js/profile.d45cd6b3.chunk.js +0 -1
- package/studio/build-local/static/js/resetPassword.812fc880.chunk.js +0 -1
- package/studio/build-local/static/js/roles-jsonviewer.73c8bb9d.chunk.js +0 -1
- package/studio/build-local/static/js/signIn.32766fa9.chunk.js +0 -1
- package/studio/build-local/static/js/signUp.07fd6662.chunk.js +0 -1
- package/studio/build-local/static/js/structure-reloader.ce2b39d2.chunk.js +0 -1
- package/studio/build-local/static/js/topnav.e661156c.chunk.js +0 -1
- package/studio/build-local/static/js/updatePassword.dcac970c.chunk.js +0 -1
- /package/studio/build-local/static/js/{504.6e6ee908.chunk.js.LICENSE.txt → 967.204fa205.chunk.js.LICENSE.txt} +0 -0
- /package/studio/build-local/static/js/{main.5a7cabb6.js.LICENSE.txt → main.5017e3e1.js.LICENSE.txt} +0 -0
|
@@ -1,20 +1,33 @@
|
|
|
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
|
+
"__#6@#record": any;
|
|
5
|
+
"__#6@#changes": any;
|
|
6
|
+
"__#6@#version"?: number;
|
|
7
|
+
"__#6@#entry"?: import("../RecordEncoder.js").Entry;
|
|
8
|
+
"__#6@#saveMode"?: boolean;
|
|
9
|
+
"__#6@#loadedFromSource"?: boolean;
|
|
10
10
|
getProperty: (name: string) => any;
|
|
11
|
-
ensureLoaded():
|
|
12
|
-
get(target?: import("../RequestTarget.js").RequestTarget): Promise<object | void
|
|
13
|
-
allowRead(user: any,
|
|
14
|
-
allowUpdate(user: any, updatedData: any): boolean;
|
|
15
|
-
allowCreate(user: any, newData:
|
|
16
|
-
allowDelete(user: any): boolean;
|
|
17
|
-
update(target: import("../RequestTarget.js").RequestTarget, updates?: any): any
|
|
11
|
+
ensureLoaded(): unknown;
|
|
12
|
+
get(target?: import("../RequestTarget.js").RequestTarget): Promise<object | void>;
|
|
13
|
+
allowRead(user: any, target: import("../RequestTarget.js").RequestTarget): boolean;
|
|
14
|
+
allowUpdate(user: any, updatedData: any, target: import("../RequestTarget.js").RequestTarget): boolean;
|
|
15
|
+
allowCreate(user: any, newData: any, target: import("../RequestTarget.js").RequestTarget): boolean;
|
|
16
|
+
allowDelete(user: any, target: import("../RequestTarget.js").RequestTarget): boolean;
|
|
17
|
+
update(target: import("../RequestTarget.js").RequestTarget, updates?: any): /*elided*/ any | {
|
|
18
|
+
set: (property: string, value: any) => void;
|
|
19
|
+
getProperty: (property: string) => any;
|
|
20
|
+
getUpdatedTime(): number;
|
|
21
|
+
getExpiresAt(): number;
|
|
22
|
+
addTo(property: string, value: number | bigint): void;
|
|
23
|
+
subtractFrom(property: string, value: number | bigint): void;
|
|
24
|
+
"__#4@#record": any;
|
|
25
|
+
"__#4@#changes": any;
|
|
26
|
+
getRecord(): any;
|
|
27
|
+
setRecord(record: any): void;
|
|
28
|
+
getChanges(): any;
|
|
29
|
+
_setChanges(changes: any): void;
|
|
30
|
+
};
|
|
18
31
|
addTo(property: any, value: any): void;
|
|
19
32
|
subtractFrom(property: any, value: any): void;
|
|
20
33
|
getMetadata(): import("../RecordEncoder.js").Entry;
|
|
@@ -26,12 +39,13 @@ export declare function getAnalyticsHostnameTable(): {
|
|
|
26
39
|
_writeInvalidate(id: import("../ResourceInterface.js").Id, partialRecord?: any, options?: any): void;
|
|
27
40
|
_writeRelocate(id: import("../ResourceInterface.js").Id, options: any): void;
|
|
28
41
|
lock(): void;
|
|
29
|
-
put(target: import("../RequestTarget.js").RequestTarget, record: any): void
|
|
42
|
+
put(target: import("../RequestTarget.js").RequestTarget, record: any): void | Promise<void>;
|
|
43
|
+
create(target: import("../RequestTarget.js").RequestTarget, record: any): void | Promise<void>;
|
|
30
44
|
patch(target: import("../RequestTarget.js").RequestTarget, recordUpdate: any): void | Promise<void>;
|
|
31
45
|
_writeUpdate(id: import("../ResourceInterface.js").Id, recordUpdate: any, fullUpdate: boolean, options?: any): void;
|
|
32
|
-
delete(target: import("../RequestTarget.js").RequestTarget): Promise<boolean
|
|
46
|
+
delete(target: import("../RequestTarget.js").RequestTarget): Promise<boolean> | boolean;
|
|
33
47
|
_writeDelete(id: import("../ResourceInterface.js").Id, options?: any): boolean;
|
|
34
|
-
search(
|
|
48
|
+
search(target: import("../RequestTarget.js").RequestTarget): AsyncIterable<any>;
|
|
35
49
|
subscribe(request: import("../ResourceInterface.js").SubscriptionRequest): Promise<{
|
|
36
50
|
listener: (recordId: import("../ResourceInterface.js").Id, auditEntry: any, localTime: number, beginTxn: boolean) => void;
|
|
37
51
|
subscriptions: [];
|
|
@@ -86,12 +100,12 @@ export declare function getAnalyticsHostnameTable(): {
|
|
|
86
100
|
doesExist(): boolean;
|
|
87
101
|
publish(target: import("../RequestTarget.js").RequestTarget, message: any, options?: any): void;
|
|
88
102
|
_writePublish(id: import("../ResourceInterface.js").Id, message: any, options?: any): void;
|
|
89
|
-
validate(record: any, patch?:
|
|
103
|
+
validate(record: any, patch?: boolean): void;
|
|
90
104
|
getUpdatedTime(): number;
|
|
91
105
|
wasLoadedFromSource(): boolean | void;
|
|
92
|
-
readonly "__#
|
|
93
|
-
readonly "__#
|
|
94
|
-
"__#
|
|
106
|
+
readonly "__#7@#id": import("../ResourceInterface.js").Id;
|
|
107
|
+
readonly "__#7@#context": import("../ResourceInterface.js").Context;
|
|
108
|
+
"__#7@#isCollection": boolean;
|
|
95
109
|
post(newRecord: any): Promise<any>;
|
|
96
110
|
readonly isCollection: boolean;
|
|
97
111
|
connect(incomingMessages: import("../IterableEventQueue.js").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
@@ -127,20 +141,33 @@ export declare function getAnalyticsHostnameTable(): {
|
|
|
127
141
|
readonly isCaching: any;
|
|
128
142
|
readonly shouldRevalidateEvents: boolean;
|
|
129
143
|
getResource(id: import("../ResourceInterface.js").Id, request: import("../ResourceInterface.js").Context, resourceOptions?: any): Promise<{
|
|
130
|
-
"__#
|
|
131
|
-
"__#
|
|
132
|
-
"__#
|
|
133
|
-
"__#
|
|
134
|
-
"__#
|
|
135
|
-
"__#
|
|
144
|
+
"__#6@#record": any;
|
|
145
|
+
"__#6@#changes": any;
|
|
146
|
+
"__#6@#version"?: number;
|
|
147
|
+
"__#6@#entry"?: import("../RecordEncoder.js").Entry;
|
|
148
|
+
"__#6@#saveMode"?: boolean;
|
|
149
|
+
"__#6@#loadedFromSource"?: boolean;
|
|
136
150
|
getProperty: (name: string) => any;
|
|
137
|
-
ensureLoaded():
|
|
138
|
-
get(target?: import("../RequestTarget.js").RequestTarget): Promise<object | void
|
|
139
|
-
allowRead(user: any,
|
|
140
|
-
allowUpdate(user: any, updatedData: any): boolean;
|
|
141
|
-
allowCreate(user: any, newData:
|
|
142
|
-
allowDelete(user: any): boolean;
|
|
143
|
-
update(target: import("../RequestTarget.js").RequestTarget, updates?: any): any
|
|
151
|
+
ensureLoaded(): unknown;
|
|
152
|
+
get(target?: import("../RequestTarget.js").RequestTarget): Promise<object | void>;
|
|
153
|
+
allowRead(user: any, target: import("../RequestTarget.js").RequestTarget): boolean;
|
|
154
|
+
allowUpdate(user: any, updatedData: any, target: import("../RequestTarget.js").RequestTarget): boolean;
|
|
155
|
+
allowCreate(user: any, newData: any, target: import("../RequestTarget.js").RequestTarget): boolean;
|
|
156
|
+
allowDelete(user: any, target: import("../RequestTarget.js").RequestTarget): boolean;
|
|
157
|
+
update(target: import("../RequestTarget.js").RequestTarget, updates?: any): /*elided*/ any | {
|
|
158
|
+
set: (property: string, value: any) => void;
|
|
159
|
+
getProperty: (property: string) => any;
|
|
160
|
+
getUpdatedTime(): number;
|
|
161
|
+
getExpiresAt(): number;
|
|
162
|
+
addTo(property: string, value: number | bigint): void;
|
|
163
|
+
subtractFrom(property: string, value: number | bigint): void;
|
|
164
|
+
"__#4@#record": any;
|
|
165
|
+
"__#4@#changes": any;
|
|
166
|
+
getRecord(): any;
|
|
167
|
+
setRecord(record: any): void;
|
|
168
|
+
getChanges(): any;
|
|
169
|
+
_setChanges(changes: any): void;
|
|
170
|
+
};
|
|
144
171
|
addTo(property: any, value: any): void;
|
|
145
172
|
subtractFrom(property: any, value: any): void;
|
|
146
173
|
getMetadata(): import("../RecordEncoder.js").Entry;
|
|
@@ -152,12 +179,13 @@ export declare function getAnalyticsHostnameTable(): {
|
|
|
152
179
|
_writeInvalidate(id: import("../ResourceInterface.js").Id, partialRecord?: any, options?: any): void;
|
|
153
180
|
_writeRelocate(id: import("../ResourceInterface.js").Id, options: any): void;
|
|
154
181
|
lock(): void;
|
|
155
|
-
put(target: import("../RequestTarget.js").RequestTarget, record: any): void
|
|
182
|
+
put(target: import("../RequestTarget.js").RequestTarget, record: any): void | Promise<void>;
|
|
183
|
+
create(target: import("../RequestTarget.js").RequestTarget, record: any): void | Promise<void>;
|
|
156
184
|
patch(target: import("../RequestTarget.js").RequestTarget, recordUpdate: any): void | Promise<void>;
|
|
157
185
|
_writeUpdate(id: import("../ResourceInterface.js").Id, recordUpdate: any, fullUpdate: boolean, options?: any): void;
|
|
158
|
-
delete(target: import("../RequestTarget.js").RequestTarget): Promise<boolean
|
|
186
|
+
delete(target: import("../RequestTarget.js").RequestTarget): Promise<boolean> | boolean;
|
|
159
187
|
_writeDelete(id: import("../ResourceInterface.js").Id, options?: any): boolean;
|
|
160
|
-
search(
|
|
188
|
+
search(target: import("../RequestTarget.js").RequestTarget): AsyncIterable<any>;
|
|
161
189
|
subscribe(request: import("../ResourceInterface.js").SubscriptionRequest): Promise<{
|
|
162
190
|
listener: (recordId: import("../ResourceInterface.js").Id, auditEntry: any, localTime: number, beginTxn: boolean) => void;
|
|
163
191
|
subscriptions: [];
|
|
@@ -212,32 +240,45 @@ export declare function getAnalyticsHostnameTable(): {
|
|
|
212
240
|
doesExist(): boolean;
|
|
213
241
|
publish(target: import("../RequestTarget.js").RequestTarget, message: any, options?: any): void;
|
|
214
242
|
_writePublish(id: import("../ResourceInterface.js").Id, message: any, options?: any): void;
|
|
215
|
-
validate(record: any, patch?:
|
|
243
|
+
validate(record: any, patch?: boolean): void;
|
|
216
244
|
getUpdatedTime(): number;
|
|
217
245
|
wasLoadedFromSource(): boolean | void;
|
|
218
|
-
readonly "__#
|
|
219
|
-
readonly "__#
|
|
220
|
-
"__#
|
|
246
|
+
readonly "__#7@#id": import("../ResourceInterface.js").Id;
|
|
247
|
+
readonly "__#7@#context": import("../ResourceInterface.js").Context;
|
|
248
|
+
"__#7@#isCollection": boolean;
|
|
221
249
|
post(newRecord: any): Promise<any>;
|
|
222
250
|
readonly isCollection: boolean;
|
|
223
251
|
connect(incomingMessages: import("../IterableEventQueue.js").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
224
252
|
getId(): import("../ResourceInterface.js").Id;
|
|
225
253
|
getContext(): import("../ResourceInterface.js").Context;
|
|
226
254
|
}> | {
|
|
227
|
-
"__#
|
|
228
|
-
"__#
|
|
229
|
-
"__#
|
|
230
|
-
"__#
|
|
231
|
-
"__#
|
|
232
|
-
"__#
|
|
255
|
+
"__#6@#record": any;
|
|
256
|
+
"__#6@#changes": any;
|
|
257
|
+
"__#6@#version"?: number;
|
|
258
|
+
"__#6@#entry"?: import("../RecordEncoder.js").Entry;
|
|
259
|
+
"__#6@#saveMode"?: boolean;
|
|
260
|
+
"__#6@#loadedFromSource"?: boolean;
|
|
233
261
|
getProperty: (name: string) => any;
|
|
234
|
-
ensureLoaded():
|
|
235
|
-
get(target?: import("../RequestTarget.js").RequestTarget): Promise<object | void
|
|
236
|
-
allowRead(user: any,
|
|
237
|
-
allowUpdate(user: any, updatedData: any): boolean;
|
|
238
|
-
allowCreate(user: any, newData:
|
|
239
|
-
allowDelete(user: any): boolean;
|
|
240
|
-
update(target: import("../RequestTarget.js").RequestTarget, updates?: any): any
|
|
262
|
+
ensureLoaded(): unknown;
|
|
263
|
+
get(target?: import("../RequestTarget.js").RequestTarget): Promise<object | void>;
|
|
264
|
+
allowRead(user: any, target: import("../RequestTarget.js").RequestTarget): boolean;
|
|
265
|
+
allowUpdate(user: any, updatedData: any, target: import("../RequestTarget.js").RequestTarget): boolean;
|
|
266
|
+
allowCreate(user: any, newData: any, target: import("../RequestTarget.js").RequestTarget): boolean;
|
|
267
|
+
allowDelete(user: any, target: import("../RequestTarget.js").RequestTarget): boolean;
|
|
268
|
+
update(target: import("../RequestTarget.js").RequestTarget, updates?: any): /*elided*/ any | {
|
|
269
|
+
set: (property: string, value: any) => void;
|
|
270
|
+
getProperty: (property: string) => any;
|
|
271
|
+
getUpdatedTime(): number;
|
|
272
|
+
getExpiresAt(): number;
|
|
273
|
+
addTo(property: string, value: number | bigint): void;
|
|
274
|
+
subtractFrom(property: string, value: number | bigint): void;
|
|
275
|
+
"__#4@#record": any;
|
|
276
|
+
"__#4@#changes": any;
|
|
277
|
+
getRecord(): any;
|
|
278
|
+
setRecord(record: any): void;
|
|
279
|
+
getChanges(): any;
|
|
280
|
+
_setChanges(changes: any): void;
|
|
281
|
+
};
|
|
241
282
|
addTo(property: any, value: any): void;
|
|
242
283
|
subtractFrom(property: any, value: any): void;
|
|
243
284
|
getMetadata(): import("../RecordEncoder.js").Entry;
|
|
@@ -249,12 +290,13 @@ export declare function getAnalyticsHostnameTable(): {
|
|
|
249
290
|
_writeInvalidate(id: import("../ResourceInterface.js").Id, partialRecord?: any, options?: any): void;
|
|
250
291
|
_writeRelocate(id: import("../ResourceInterface.js").Id, options: any): void;
|
|
251
292
|
lock(): void;
|
|
252
|
-
put(target: import("../RequestTarget.js").RequestTarget, record: any): void
|
|
293
|
+
put(target: import("../RequestTarget.js").RequestTarget, record: any): void | Promise<void>;
|
|
294
|
+
create(target: import("../RequestTarget.js").RequestTarget, record: any): void | Promise<void>;
|
|
253
295
|
patch(target: import("../RequestTarget.js").RequestTarget, recordUpdate: any): void | Promise<void>;
|
|
254
296
|
_writeUpdate(id: import("../ResourceInterface.js").Id, recordUpdate: any, fullUpdate: boolean, options?: any): void;
|
|
255
|
-
delete(target: import("../RequestTarget.js").RequestTarget): Promise<boolean
|
|
297
|
+
delete(target: import("../RequestTarget.js").RequestTarget): Promise<boolean> | boolean;
|
|
256
298
|
_writeDelete(id: import("../ResourceInterface.js").Id, options?: any): boolean;
|
|
257
|
-
search(
|
|
299
|
+
search(target: import("../RequestTarget.js").RequestTarget): AsyncIterable<any>;
|
|
258
300
|
subscribe(request: import("../ResourceInterface.js").SubscriptionRequest): Promise<{
|
|
259
301
|
listener: (recordId: import("../ResourceInterface.js").Id, auditEntry: any, localTime: number, beginTxn: boolean) => void;
|
|
260
302
|
subscriptions: [];
|
|
@@ -309,12 +351,12 @@ export declare function getAnalyticsHostnameTable(): {
|
|
|
309
351
|
doesExist(): boolean;
|
|
310
352
|
publish(target: import("../RequestTarget.js").RequestTarget, message: any, options?: any): void;
|
|
311
353
|
_writePublish(id: import("../ResourceInterface.js").Id, message: any, options?: any): void;
|
|
312
|
-
validate(record: any, patch?:
|
|
354
|
+
validate(record: any, patch?: boolean): void;
|
|
313
355
|
getUpdatedTime(): number;
|
|
314
356
|
wasLoadedFromSource(): boolean | void;
|
|
315
|
-
readonly "__#
|
|
316
|
-
readonly "__#
|
|
317
|
-
"__#
|
|
357
|
+
readonly "__#7@#id": import("../ResourceInterface.js").Id;
|
|
358
|
+
readonly "__#7@#context": import("../ResourceInterface.js").Context;
|
|
359
|
+
"__#7@#isCollection": boolean;
|
|
318
360
|
post(newRecord: any): Promise<any>;
|
|
319
361
|
readonly isCollection: boolean;
|
|
320
362
|
connect(incomingMessages: import("../IterableEventQueue.js").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
@@ -335,7 +377,7 @@ export declare function getAnalyticsHostnameTable(): {
|
|
|
335
377
|
enableAuditing(auditEnabled?: boolean): void;
|
|
336
378
|
coerceId(id: string): number | string;
|
|
337
379
|
dropTable(): Promise<void>;
|
|
338
|
-
_recordRelocate(existingEntry: any, entry: any):
|
|
380
|
+
_recordRelocate(existingEntry: any, entry: any): boolean;
|
|
339
381
|
evict(id: any, existingRecord: any, existingVersion: any): Promise<void>;
|
|
340
382
|
operation(operation: any, context: any): any;
|
|
341
383
|
transformToOrderedSelect(entries: any[], select: (string | import("../ResourceInterface.js").SubSelect)[], sort: import("../ResourceInterface.js").Sort, context: import("../ResourceInterface.js").Context, readTxn: any, transformToRecord: Function): any;
|
|
@@ -432,7 +474,7 @@ export declare function getAnalyticsHostnameTable(): {
|
|
|
432
474
|
reliesOnPrototype: boolean;
|
|
433
475
|
};
|
|
434
476
|
isCollection(resource: any): any;
|
|
435
|
-
parseQuery(search: any, query: any):
|
|
477
|
+
parseQuery(search: any, query: any): any;
|
|
436
478
|
parsePath(path: any, context: any, query: any): any;
|
|
437
479
|
};
|
|
438
480
|
export declare function normalizeIPv6(ipv6: string): string;
|
|
@@ -20,8 +20,12 @@ export declare function listMetrics(metricTypes?: MetricType[]): Promise<string[
|
|
|
20
20
|
interface DescribeMetricRequest {
|
|
21
21
|
metric: string;
|
|
22
22
|
}
|
|
23
|
+
interface MetricDescription {
|
|
24
|
+
name: string;
|
|
25
|
+
type: string;
|
|
26
|
+
}
|
|
23
27
|
interface DescribeMetricResponse {
|
|
24
|
-
attributes?:
|
|
28
|
+
attributes?: MetricDescription[];
|
|
25
29
|
}
|
|
26
30
|
export declare function describeMetricOp(req: DescribeMetricRequest): Promise<DescribeMetricResponse>;
|
|
27
31
|
export declare function describeMetric(metric: string): Promise<DescribeMetricResponse>;
|
|
@@ -46,7 +46,7 @@ export declare function calculateCPUUtilization(resourceUsage: ResourceUsage, pe
|
|
|
46
46
|
* process.resourceUsage() return value and normalizes and diffs the two values to return the
|
|
47
47
|
* new values for this time period.
|
|
48
48
|
*/
|
|
49
|
-
export declare function diffResourceUsage(lastResourceUsage: ResourceUsage, resourceUsage:
|
|
49
|
+
export declare function diffResourceUsage(lastResourceUsage: ResourceUsage, resourceUsage: ResourceUsage): ResourceUsage;
|
|
50
50
|
export {};
|
|
51
51
|
/**
|
|
52
52
|
* This section contains a possible/experimental approach to bucketing values as they come instead of pushing all into an array and sorting.
|
package/resources/databases.d.ts
CHANGED
|
@@ -78,20 +78,33 @@ 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
|
+
"__#6@#record": any;
|
|
82
|
+
"__#6@#changes": any;
|
|
83
|
+
"__#6@#version"?: number;
|
|
84
|
+
"__#6@#entry"?: import("./RecordEncoder.ts").Entry;
|
|
85
|
+
"__#6@#saveMode"?: boolean;
|
|
86
|
+
"__#6@#loadedFromSource"?: boolean;
|
|
87
87
|
getProperty: (name: string) => any;
|
|
88
|
-
ensureLoaded():
|
|
89
|
-
get(target?: import("./RequestTarget.js").RequestTarget): Promise<object | void
|
|
90
|
-
allowRead(user: any,
|
|
91
|
-
allowUpdate(user: any, updatedData: any): boolean;
|
|
92
|
-
allowCreate(user: any, newData:
|
|
93
|
-
allowDelete(user: any): boolean;
|
|
94
|
-
update(target: import("./RequestTarget.js").RequestTarget, updates?: any): any
|
|
88
|
+
ensureLoaded(): unknown;
|
|
89
|
+
get(target?: import("./RequestTarget.js").RequestTarget): Promise<object | void>;
|
|
90
|
+
allowRead(user: any, target: import("./RequestTarget.js").RequestTarget): boolean;
|
|
91
|
+
allowUpdate(user: any, updatedData: any, target: import("./RequestTarget.js").RequestTarget): boolean;
|
|
92
|
+
allowCreate(user: any, newData: any, target: import("./RequestTarget.js").RequestTarget): boolean;
|
|
93
|
+
allowDelete(user: any, target: import("./RequestTarget.js").RequestTarget): boolean;
|
|
94
|
+
update(target: import("./RequestTarget.js").RequestTarget, updates?: any): /*elided*/ any | {
|
|
95
|
+
set: (property: string, value: any) => void;
|
|
96
|
+
getProperty: (property: string) => any;
|
|
97
|
+
getUpdatedTime(): number;
|
|
98
|
+
getExpiresAt(): number;
|
|
99
|
+
addTo(property: string, value: number | bigint): void;
|
|
100
|
+
subtractFrom(property: string, value: number | bigint): void;
|
|
101
|
+
"__#4@#record": any;
|
|
102
|
+
"__#4@#changes": any;
|
|
103
|
+
getRecord(): any;
|
|
104
|
+
setRecord(record: any): void;
|
|
105
|
+
getChanges(): any;
|
|
106
|
+
_setChanges(changes: any): void;
|
|
107
|
+
};
|
|
95
108
|
addTo(property: any, value: any): void;
|
|
96
109
|
subtractFrom(property: any, value: any): void;
|
|
97
110
|
getMetadata(): import("./RecordEncoder.ts").Entry;
|
|
@@ -103,12 +116,13 @@ export declare function table(tableDefinition: TableDefinition): {
|
|
|
103
116
|
_writeInvalidate(id: import("./ResourceInterface.js").Id, partialRecord?: any, options?: any): void;
|
|
104
117
|
_writeRelocate(id: import("./ResourceInterface.js").Id, options: any): void;
|
|
105
118
|
lock(): void;
|
|
106
|
-
put(target: import("./RequestTarget.js").RequestTarget, record: any): void
|
|
119
|
+
put(target: import("./RequestTarget.js").RequestTarget, record: any): void | Promise<void>;
|
|
120
|
+
create(target: import("./RequestTarget.js").RequestTarget, record: any): void | Promise<void>;
|
|
107
121
|
patch(target: import("./RequestTarget.js").RequestTarget, recordUpdate: any): void | Promise<void>;
|
|
108
122
|
_writeUpdate(id: import("./ResourceInterface.js").Id, recordUpdate: any, fullUpdate: boolean, options?: any): void;
|
|
109
|
-
delete(target: import("./RequestTarget.js").RequestTarget): Promise<boolean
|
|
123
|
+
delete(target: import("./RequestTarget.js").RequestTarget): Promise<boolean> | boolean;
|
|
110
124
|
_writeDelete(id: import("./ResourceInterface.js").Id, options?: any): boolean;
|
|
111
|
-
search(
|
|
125
|
+
search(target: import("./RequestTarget.js").RequestTarget): AsyncIterable<any>;
|
|
112
126
|
subscribe(request: import("./ResourceInterface.js").SubscriptionRequest): Promise<{
|
|
113
127
|
listener: (recordId: import("./ResourceInterface.js").Id, auditEntry: any, localTime: number, beginTxn: boolean) => void;
|
|
114
128
|
subscriptions: [];
|
|
@@ -163,12 +177,12 @@ export declare function table(tableDefinition: TableDefinition): {
|
|
|
163
177
|
doesExist(): boolean;
|
|
164
178
|
publish(target: import("./RequestTarget.js").RequestTarget, message: any, options?: any): void;
|
|
165
179
|
_writePublish(id: import("./ResourceInterface.js").Id, message: any, options?: any): void;
|
|
166
|
-
validate(record: any, patch?:
|
|
180
|
+
validate(record: any, patch?: boolean): void;
|
|
167
181
|
getUpdatedTime(): number;
|
|
168
182
|
wasLoadedFromSource(): boolean | void;
|
|
169
|
-
readonly "__#
|
|
170
|
-
readonly "__#
|
|
171
|
-
"__#
|
|
183
|
+
readonly "__#7@#id": import("./ResourceInterface.js").Id;
|
|
184
|
+
readonly "__#7@#context": import("./ResourceInterface.js").Context;
|
|
185
|
+
"__#7@#isCollection": boolean;
|
|
172
186
|
post(newRecord: any): Promise<any>;
|
|
173
187
|
readonly isCollection: boolean;
|
|
174
188
|
connect(incomingMessages: import("./IterableEventQueue.js").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
@@ -204,20 +218,33 @@ export declare function table(tableDefinition: TableDefinition): {
|
|
|
204
218
|
readonly isCaching: any;
|
|
205
219
|
readonly shouldRevalidateEvents: boolean;
|
|
206
220
|
getResource(id: import("./ResourceInterface.js").Id, request: import("./ResourceInterface.js").Context, resourceOptions?: any): Promise<{
|
|
207
|
-
"__#
|
|
208
|
-
"__#
|
|
209
|
-
"__#
|
|
210
|
-
"__#
|
|
211
|
-
"__#
|
|
212
|
-
"__#
|
|
221
|
+
"__#6@#record": any;
|
|
222
|
+
"__#6@#changes": any;
|
|
223
|
+
"__#6@#version"?: number;
|
|
224
|
+
"__#6@#entry"?: import("./RecordEncoder.ts").Entry;
|
|
225
|
+
"__#6@#saveMode"?: boolean;
|
|
226
|
+
"__#6@#loadedFromSource"?: boolean;
|
|
213
227
|
getProperty: (name: string) => any;
|
|
214
|
-
ensureLoaded():
|
|
215
|
-
get(target?: import("./RequestTarget.js").RequestTarget): Promise<object | void
|
|
216
|
-
allowRead(user: any,
|
|
217
|
-
allowUpdate(user: any, updatedData: any): boolean;
|
|
218
|
-
allowCreate(user: any, newData:
|
|
219
|
-
allowDelete(user: any): boolean;
|
|
220
|
-
update(target: import("./RequestTarget.js").RequestTarget, updates?: any): any
|
|
228
|
+
ensureLoaded(): unknown;
|
|
229
|
+
get(target?: import("./RequestTarget.js").RequestTarget): Promise<object | void>;
|
|
230
|
+
allowRead(user: any, target: import("./RequestTarget.js").RequestTarget): boolean;
|
|
231
|
+
allowUpdate(user: any, updatedData: any, target: import("./RequestTarget.js").RequestTarget): boolean;
|
|
232
|
+
allowCreate(user: any, newData: any, target: import("./RequestTarget.js").RequestTarget): boolean;
|
|
233
|
+
allowDelete(user: any, target: import("./RequestTarget.js").RequestTarget): boolean;
|
|
234
|
+
update(target: import("./RequestTarget.js").RequestTarget, updates?: any): /*elided*/ any | {
|
|
235
|
+
set: (property: string, value: any) => void;
|
|
236
|
+
getProperty: (property: string) => any;
|
|
237
|
+
getUpdatedTime(): number;
|
|
238
|
+
getExpiresAt(): number;
|
|
239
|
+
addTo(property: string, value: number | bigint): void;
|
|
240
|
+
subtractFrom(property: string, value: number | bigint): void;
|
|
241
|
+
"__#4@#record": any;
|
|
242
|
+
"__#4@#changes": any;
|
|
243
|
+
getRecord(): any;
|
|
244
|
+
setRecord(record: any): void;
|
|
245
|
+
getChanges(): any;
|
|
246
|
+
_setChanges(changes: any): void;
|
|
247
|
+
};
|
|
221
248
|
addTo(property: any, value: any): void;
|
|
222
249
|
subtractFrom(property: any, value: any): void;
|
|
223
250
|
getMetadata(): import("./RecordEncoder.ts").Entry;
|
|
@@ -229,12 +256,13 @@ export declare function table(tableDefinition: TableDefinition): {
|
|
|
229
256
|
_writeInvalidate(id: import("./ResourceInterface.js").Id, partialRecord?: any, options?: any): void;
|
|
230
257
|
_writeRelocate(id: import("./ResourceInterface.js").Id, options: any): void;
|
|
231
258
|
lock(): void;
|
|
232
|
-
put(target: import("./RequestTarget.js").RequestTarget, record: any): void
|
|
259
|
+
put(target: import("./RequestTarget.js").RequestTarget, record: any): void | Promise<void>;
|
|
260
|
+
create(target: import("./RequestTarget.js").RequestTarget, record: any): void | Promise<void>;
|
|
233
261
|
patch(target: import("./RequestTarget.js").RequestTarget, recordUpdate: any): void | Promise<void>;
|
|
234
262
|
_writeUpdate(id: import("./ResourceInterface.js").Id, recordUpdate: any, fullUpdate: boolean, options?: any): void;
|
|
235
|
-
delete(target: import("./RequestTarget.js").RequestTarget): Promise<boolean
|
|
263
|
+
delete(target: import("./RequestTarget.js").RequestTarget): Promise<boolean> | boolean;
|
|
236
264
|
_writeDelete(id: import("./ResourceInterface.js").Id, options?: any): boolean;
|
|
237
|
-
search(
|
|
265
|
+
search(target: import("./RequestTarget.js").RequestTarget): AsyncIterable<any>;
|
|
238
266
|
subscribe(request: import("./ResourceInterface.js").SubscriptionRequest): Promise<{
|
|
239
267
|
listener: (recordId: import("./ResourceInterface.js").Id, auditEntry: any, localTime: number, beginTxn: boolean) => void;
|
|
240
268
|
subscriptions: [];
|
|
@@ -289,32 +317,45 @@ export declare function table(tableDefinition: TableDefinition): {
|
|
|
289
317
|
doesExist(): boolean;
|
|
290
318
|
publish(target: import("./RequestTarget.js").RequestTarget, message: any, options?: any): void;
|
|
291
319
|
_writePublish(id: import("./ResourceInterface.js").Id, message: any, options?: any): void;
|
|
292
|
-
validate(record: any, patch?:
|
|
320
|
+
validate(record: any, patch?: boolean): void;
|
|
293
321
|
getUpdatedTime(): number;
|
|
294
322
|
wasLoadedFromSource(): boolean | void;
|
|
295
|
-
readonly "__#
|
|
296
|
-
readonly "__#
|
|
297
|
-
"__#
|
|
323
|
+
readonly "__#7@#id": import("./ResourceInterface.js").Id;
|
|
324
|
+
readonly "__#7@#context": import("./ResourceInterface.js").Context;
|
|
325
|
+
"__#7@#isCollection": boolean;
|
|
298
326
|
post(newRecord: any): Promise<any>;
|
|
299
327
|
readonly isCollection: boolean;
|
|
300
328
|
connect(incomingMessages: import("./IterableEventQueue.js").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
301
329
|
getId(): import("./ResourceInterface.js").Id;
|
|
302
330
|
getContext(): import("./ResourceInterface.js").Context;
|
|
303
331
|
}> | {
|
|
304
|
-
"__#
|
|
305
|
-
"__#
|
|
306
|
-
"__#
|
|
307
|
-
"__#
|
|
308
|
-
"__#
|
|
309
|
-
"__#
|
|
332
|
+
"__#6@#record": any;
|
|
333
|
+
"__#6@#changes": any;
|
|
334
|
+
"__#6@#version"?: number;
|
|
335
|
+
"__#6@#entry"?: import("./RecordEncoder.ts").Entry;
|
|
336
|
+
"__#6@#saveMode"?: boolean;
|
|
337
|
+
"__#6@#loadedFromSource"?: boolean;
|
|
310
338
|
getProperty: (name: string) => any;
|
|
311
|
-
ensureLoaded():
|
|
312
|
-
get(target?: import("./RequestTarget.js").RequestTarget): Promise<object | void
|
|
313
|
-
allowRead(user: any,
|
|
314
|
-
allowUpdate(user: any, updatedData: any): boolean;
|
|
315
|
-
allowCreate(user: any, newData:
|
|
316
|
-
allowDelete(user: any): boolean;
|
|
317
|
-
update(target: import("./RequestTarget.js").RequestTarget, updates?: any): any
|
|
339
|
+
ensureLoaded(): unknown;
|
|
340
|
+
get(target?: import("./RequestTarget.js").RequestTarget): Promise<object | void>;
|
|
341
|
+
allowRead(user: any, target: import("./RequestTarget.js").RequestTarget): boolean;
|
|
342
|
+
allowUpdate(user: any, updatedData: any, target: import("./RequestTarget.js").RequestTarget): boolean;
|
|
343
|
+
allowCreate(user: any, newData: any, target: import("./RequestTarget.js").RequestTarget): boolean;
|
|
344
|
+
allowDelete(user: any, target: import("./RequestTarget.js").RequestTarget): boolean;
|
|
345
|
+
update(target: import("./RequestTarget.js").RequestTarget, updates?: any): /*elided*/ any | {
|
|
346
|
+
set: (property: string, value: any) => void;
|
|
347
|
+
getProperty: (property: string) => any;
|
|
348
|
+
getUpdatedTime(): number;
|
|
349
|
+
getExpiresAt(): number;
|
|
350
|
+
addTo(property: string, value: number | bigint): void;
|
|
351
|
+
subtractFrom(property: string, value: number | bigint): void;
|
|
352
|
+
"__#4@#record": any;
|
|
353
|
+
"__#4@#changes": any;
|
|
354
|
+
getRecord(): any;
|
|
355
|
+
setRecord(record: any): void;
|
|
356
|
+
getChanges(): any;
|
|
357
|
+
_setChanges(changes: any): void;
|
|
358
|
+
};
|
|
318
359
|
addTo(property: any, value: any): void;
|
|
319
360
|
subtractFrom(property: any, value: any): void;
|
|
320
361
|
getMetadata(): import("./RecordEncoder.ts").Entry;
|
|
@@ -326,12 +367,13 @@ export declare function table(tableDefinition: TableDefinition): {
|
|
|
326
367
|
_writeInvalidate(id: import("./ResourceInterface.js").Id, partialRecord?: any, options?: any): void;
|
|
327
368
|
_writeRelocate(id: import("./ResourceInterface.js").Id, options: any): void;
|
|
328
369
|
lock(): void;
|
|
329
|
-
put(target: import("./RequestTarget.js").RequestTarget, record: any): void
|
|
370
|
+
put(target: import("./RequestTarget.js").RequestTarget, record: any): void | Promise<void>;
|
|
371
|
+
create(target: import("./RequestTarget.js").RequestTarget, record: any): void | Promise<void>;
|
|
330
372
|
patch(target: import("./RequestTarget.js").RequestTarget, recordUpdate: any): void | Promise<void>;
|
|
331
373
|
_writeUpdate(id: import("./ResourceInterface.js").Id, recordUpdate: any, fullUpdate: boolean, options?: any): void;
|
|
332
|
-
delete(target: import("./RequestTarget.js").RequestTarget): Promise<boolean
|
|
374
|
+
delete(target: import("./RequestTarget.js").RequestTarget): Promise<boolean> | boolean;
|
|
333
375
|
_writeDelete(id: import("./ResourceInterface.js").Id, options?: any): boolean;
|
|
334
|
-
search(
|
|
376
|
+
search(target: import("./RequestTarget.js").RequestTarget): AsyncIterable<any>;
|
|
335
377
|
subscribe(request: import("./ResourceInterface.js").SubscriptionRequest): Promise<{
|
|
336
378
|
listener: (recordId: import("./ResourceInterface.js").Id, auditEntry: any, localTime: number, beginTxn: boolean) => void;
|
|
337
379
|
subscriptions: [];
|
|
@@ -386,12 +428,12 @@ export declare function table(tableDefinition: TableDefinition): {
|
|
|
386
428
|
doesExist(): boolean;
|
|
387
429
|
publish(target: import("./RequestTarget.js").RequestTarget, message: any, options?: any): void;
|
|
388
430
|
_writePublish(id: import("./ResourceInterface.js").Id, message: any, options?: any): void;
|
|
389
|
-
validate(record: any, patch?:
|
|
431
|
+
validate(record: any, patch?: boolean): void;
|
|
390
432
|
getUpdatedTime(): number;
|
|
391
433
|
wasLoadedFromSource(): boolean | void;
|
|
392
|
-
readonly "__#
|
|
393
|
-
readonly "__#
|
|
394
|
-
"__#
|
|
434
|
+
readonly "__#7@#id": import("./ResourceInterface.js").Id;
|
|
435
|
+
readonly "__#7@#context": import("./ResourceInterface.js").Context;
|
|
436
|
+
"__#7@#isCollection": boolean;
|
|
395
437
|
post(newRecord: any): Promise<any>;
|
|
396
438
|
readonly isCollection: boolean;
|
|
397
439
|
connect(incomingMessages: import("./IterableEventQueue.js").IterableEventQueue, query?: {}): AsyncIterable<any>;
|
|
@@ -412,7 +454,7 @@ export declare function table(tableDefinition: TableDefinition): {
|
|
|
412
454
|
enableAuditing(auditEnabled?: boolean): void;
|
|
413
455
|
coerceId(id: string): number | string;
|
|
414
456
|
dropTable(): Promise<void>;
|
|
415
|
-
_recordRelocate(existingEntry: any, entry: any):
|
|
457
|
+
_recordRelocate(existingEntry: any, entry: any): boolean;
|
|
416
458
|
evict(id: any, existingRecord: any, existingVersion: any): Promise<void>;
|
|
417
459
|
operation(operation: any, context: any): any;
|
|
418
460
|
transformToOrderedSelect(entries: any[], select: (string | import("./ResourceInterface.js").SubSelect)[], sort: import("./ResourceInterface.js").Sort, context: import("./ResourceInterface.js").Context, readTxn: any, transformToRecord: Function): any;
|
|
@@ -509,7 +551,7 @@ export declare function table(tableDefinition: TableDefinition): {
|
|
|
509
551
|
reliesOnPrototype: boolean;
|
|
510
552
|
};
|
|
511
553
|
isCollection(resource: any): any;
|
|
512
|
-
parseQuery(search: any, query: any):
|
|
554
|
+
parseQuery(search: any, query: any): any;
|
|
513
555
|
parsePath(path: any, context: any, query: any): any;
|
|
514
556
|
};
|
|
515
557
|
export declare function dropTableMeta({ table: tableName, database: databaseName }: {
|
|
@@ -75,7 +75,7 @@ export declare class HierarchicalNavigableSmallWorld {
|
|
|
75
75
|
*
|
|
76
76
|
* @returns
|
|
77
77
|
*/
|
|
78
|
-
|
|
78
|
+
estimateCountAsSort(): number;
|
|
79
79
|
/**
|
|
80
80
|
* This is used to resolve the vector property, which should be resolved to the distance when used in a sort comparator
|
|
81
81
|
* We also want to cache distance calculations so they can be accessed efficently later
|
package/resources/search.d.ts
CHANGED
|
@@ -34,6 +34,6 @@ export declare function estimateCondition(table: any): (condition: any) => any;
|
|
|
34
34
|
* This is responsible for taking a query string (from a get()) and merging the parsed elements into a RequestTarget object.
|
|
35
35
|
* @param queryString
|
|
36
36
|
*/
|
|
37
|
-
export declare function parseQuery(queryToParse: string, query: RequestTarget):
|
|
37
|
+
export declare function parseQuery(queryToParse: string, query: RequestTarget): any;
|
|
38
38
|
export declare function flattenKey(key: any): any;
|
|
39
39
|
export declare function intersectionEstimate(store: any, left: any, right: any): number;
|