harperdb 4.5.0-alpha.1 → 4.5.0-alpha.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 +78 -78
- package/bin/lite.js +75 -75
- package/index.d.ts +1 -1
- package/launchServiceScripts/launchInstallNATSServer.js +2 -2
- package/launchServiceScripts/launchNatsIngestService.js +77 -77
- package/launchServiceScripts/launchNatsReplyService.js +78 -78
- package/launchServiceScripts/launchUpdateNodes4-0-0.js +77 -77
- package/npm-shrinkwrap.json +30 -30
- package/package.json +2 -2
- package/resources/DatabaseTransaction.d.ts +4 -0
- package/resources/RecordEncoder.d.ts +1 -1
- package/resources/Resource.d.ts +3 -5
- package/resources/Table.d.ts +66 -11
- package/resources/blob.d.ts +43 -4
- package/resources/databases.d.ts +104 -12
- package/resources/tracked.d.ts +8 -1
- package/server/jobs/jobProcess.js +77 -77
- package/server/threads/threadServer.js +77 -77
- package/studio/build-local/asset-manifest.json +2 -2
- package/studio/build-local/index.html +1 -1
- package/studio/build-local/static/js/{main.fc3cbc04.js → main.d0442481.js} +2 -2
- package/utility/scripts/restartHdb.js +77 -77
- /package/studio/build-local/static/js/{main.fc3cbc04.js.LICENSE.txt → main.d0442481.js.LICENSE.txt} +0 -0
package/resources/tracked.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export declare const OWN_DATA: unique symbol;
|
|
2
1
|
/**
|
|
3
2
|
* A tracked class cacheable, (potentially) frozen read-only record, designed to facilitate record updates,
|
|
4
3
|
* and tracks property (and sub-object/array) changes so that on commit, any property changes can be written as part of
|
|
@@ -11,6 +10,14 @@ export declare const OWN_DATA: unique symbol;
|
|
|
11
10
|
* @param type_def Type definition for determining property
|
|
12
11
|
*/
|
|
13
12
|
export declare function assignTrackedAccessors(Target: any, type_def: any): void;
|
|
13
|
+
export declare class GenericTrackedObject {
|
|
14
|
+
#private;
|
|
15
|
+
constructor(source_object: any);
|
|
16
|
+
getRecord(): any;
|
|
17
|
+
setRecord(record: any): void;
|
|
18
|
+
getChanges(): any;
|
|
19
|
+
_setChanges(changes: any): void;
|
|
20
|
+
}
|
|
14
21
|
/**
|
|
15
22
|
* Collapse the changed and transitive and source/record data into single object that
|
|
16
23
|
* can be directly serialized. Performed recursively
|