harperdb 4.5.7 → 4.6.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/README.md +22 -22
  2. package/bin/harperdb.js +79 -80
  3. package/bin/lite.js +77 -78
  4. package/config/yaml/defaultConfig.yaml +1 -0
  5. package/index.d.ts +8 -8
  6. package/index.js +5 -5
  7. package/json/systemSchema.json +13 -1
  8. package/launchServiceScripts/launchInstallNATSServer.js +2 -2
  9. package/launchServiceScripts/launchNatsIngestService.js +77 -78
  10. package/launchServiceScripts/launchNatsReplyService.js +77 -78
  11. package/launchServiceScripts/launchUpdateNodes4-0-0.js +77 -78
  12. package/npm-shrinkwrap.json +40 -40
  13. package/package.json +2 -2
  14. package/resources/DatabaseTransaction.d.ts +8 -8
  15. package/resources/ErrorResource.d.ts +2 -2
  16. package/resources/IterableEventQueue.d.ts +1 -1
  17. package/resources/RecordEncoder.d.ts +6 -6
  18. package/resources/Resource.d.ts +16 -16
  19. package/resources/ResourceInterface.d.ts +27 -12
  20. package/resources/Resources.d.ts +5 -5
  21. package/resources/Table.d.ts +72 -72
  22. package/resources/analytics/hostnames.d.ts +483 -0
  23. package/resources/analytics/metadata.d.ts +9 -0
  24. package/resources/analytics/read.d.ts +26 -0
  25. package/resources/{analytics.d.ts → analytics/write.d.ts} +33 -27
  26. package/resources/auditStore.d.ts +15 -15
  27. package/resources/crdt.d.ts +4 -4
  28. package/resources/databases.d.ts +99 -99
  29. package/resources/search.d.ts +8 -8
  30. package/resources/tracked.d.ts +6 -6
  31. package/resources/transaction.d.ts +3 -3
  32. package/resources/transactionBroadcast.d.ts +5 -5
  33. package/security/auth.d.ts +9 -0
  34. package/security/tokenAuthentication.d.ts +35 -0
  35. package/server/Server.d.ts +3 -2
  36. package/server/jobs/jobProcess.js +77 -78
  37. package/server/operationsServer.d.ts +30 -0
  38. package/server/replication/knownNodes.d.ts +35 -0
  39. package/server/replication/nodeIdMapping.d.ts +6 -0
  40. package/server/replication/replicationConnection.d.ts +58 -0
  41. package/server/replication/replicator.d.ts +65 -0
  42. package/server/replication/setNode.d.ts +15 -0
  43. package/server/replication/subscriptionManager.d.ts +13 -0
  44. package/server/serverHelpers/Headers.d.ts +2 -2
  45. package/server/serverHelpers/OperationFunctionObject.d.ts +8 -0
  46. package/server/serverHelpers/contentTypes.d.ts +7 -7
  47. package/server/serverHelpers/serverUtilities.d.ts +23 -0
  48. package/server/status.d.ts +12 -0
  49. package/server/threads/threadServer.js +78 -79
  50. package/studio/build-local/asset-manifest.json +33 -33
  51. package/studio/build-local/index.html +1 -1
  52. package/studio/build-local/static/js/{153.4789ff87.chunk.js → 101.de926db6.chunk.js} +2 -2
  53. package/studio/build-local/static/js/{833.52829e9a.chunk.js → 833.475ee615.chunk.js} +1 -1
  54. package/studio/build-local/static/js/{browse-csvupload.952e3db5.chunk.js → browse-csvupload.cfcf1c79.chunk.js} +1 -1
  55. package/studio/build-local/static/js/{browse-datatable.571e41b5.chunk.js → browse-datatable.85de5169.chunk.js} +1 -1
  56. package/studio/build-local/static/js/{browse-entitymanager.f32bbc12.chunk.js → browse-entitymanager.dddb5da8.chunk.js} +1 -1
  57. package/studio/build-local/static/js/{browse-jsonviewer.f7c88853.chunk.js → browse-jsonviewer.059b4189.chunk.js} +1 -1
  58. package/studio/build-local/static/js/{custom-functions.fce857f6.chunk.js → custom-functions.2c2e634c.chunk.js} +1 -1
  59. package/studio/build-local/static/js/{instance-cluster.989f54d0.chunk.js → instance-cluster.daef89d8.chunk.js} +1 -1
  60. package/studio/build-local/static/js/{instance-config.41346a1c.chunk.js → instance-config.ba645bea.chunk.js} +1 -1
  61. package/studio/build-local/static/js/{instance-logs.70be591c.chunk.js → instance-logs.33ace406.chunk.js} +1 -1
  62. package/studio/build-local/static/js/{instance-roles.00c558b1.chunk.js → instance-roles.0276d83f.chunk.js} +1 -1
  63. package/studio/build-local/static/js/{instance-status.3e2a5f15.chunk.js → instance-status.2f3aaaf7.chunk.js} +1 -1
  64. package/studio/build-local/static/js/{instance-users-datatable.536f91b4.chunk.js → instance-users-datatable.f75cf637.chunk.js} +1 -1
  65. package/studio/build-local/static/js/{instance-users-edit.4d42f079.chunk.js → instance-users-edit.3a3bc76f.chunk.js} +1 -1
  66. package/studio/build-local/static/js/{instance-users.c8146c89.chunk.js → instance-users.70ee5db2.chunk.js} +1 -1
  67. package/studio/build-local/static/js/{instance.25742318.chunk.js → instance.0bbb9d0e.chunk.js} +1 -1
  68. package/studio/build-local/static/js/{instances.a3850b41.chunk.js → instances.e86d288b.chunk.js} +1 -1
  69. package/studio/build-local/static/js/main.24eae3d8.js +2 -0
  70. package/studio/build-local/static/js/{offline-app.ac5f38b0.chunk.js → offline-app.edb4be85.chunk.js} +1 -1
  71. package/studio/build-local/static/js/{online-app.3d563d0e.chunk.js → online-app.45440c0e.chunk.js} +1 -1
  72. package/studio/build-local/static/js/{organization-billing.8a2cd6ec.chunk.js → organization-billing.3ff0b995.chunk.js} +1 -1
  73. package/studio/build-local/static/js/{organization-users.138f50eb.chunk.js → organization-users.710f96e7.chunk.js} +1 -1
  74. package/studio/build-local/static/js/{organization.000a9206.chunk.js → organization.1aa3da8e.chunk.js} +1 -1
  75. package/studio/build-local/static/js/{organizations.73f9a526.chunk.js → organizations.259e09d3.chunk.js} +1 -1
  76. package/studio/build-local/static/js/{profile.9dc96422.chunk.js → profile.c1840496.chunk.js} +1 -1
  77. package/studio/build-local/static/js/{resetPassword.6198e026.chunk.js → resetPassword.37769fbe.chunk.js} +1 -1
  78. package/studio/build-local/static/js/{roles-jsonviewer.7ad3544a.chunk.js → roles-jsonviewer.b8cc0628.chunk.js} +1 -1
  79. package/studio/build-local/static/js/{signIn.c7a547bb.chunk.js → signIn.061b438e.chunk.js} +1 -1
  80. package/studio/build-local/static/js/{signUp.9c346cab.chunk.js → signUp.cabe1d80.chunk.js} +1 -1
  81. package/studio/build-local/static/js/{structure-reloader.71285544.chunk.js → structure-reloader.fd360bad.chunk.js} +1 -1
  82. package/studio/build-local/static/js/{topnav.491ca3cb.chunk.js → topnav.1fce7836.chunk.js} +1 -1
  83. package/studio/build-local/static/js/{updatePassword.452f5cbc.chunk.js → updatePassword.dc41627a.chunk.js} +1 -1
  84. package/utility/hdbTerms.d.ts +7 -0
  85. package/utility/password.d.ts +20 -0
  86. package/utility/scripts/restartHdb.js +77 -78
  87. package/studio/build-local/static/js/main.4ff4a176.js +0 -2
  88. /package/studio/build-local/static/js/{153.4789ff87.chunk.js.LICENSE.txt → 101.de926db6.chunk.js.LICENSE.txt} +0 -0
  89. /package/studio/build-local/static/js/{main.4ff4a176.js.LICENSE.txt → main.24eae3d8.js.LICENSE.txt} +0 -0
package/README.md CHANGED
@@ -1,33 +1,33 @@
1
- <img src="https://hdb-marketing.s3.amazonaws.com/GRYHORIZ_HDB_Drk_Gry.png" width="692" height="156">
1
+ <img src="https://cdn.prod.website-files.com/6374050260446c42f94dc90f/68017805c782145469de5f0f_Harper%20Logo.png" width="30%">
2
2
 
3
3
  ## Contents
4
4
 
5
- 1. [HarperDB Overview](#harperdb-overview)
6
- 2. [HarperDB Studio](#harperdb-studio)
7
- 3. [HarperDB APIs](#harperdb-apis)
5
+ 1. [Harper Overview](#harper-overview)
6
+ 2. [Harper Studio](#harper-studio)
7
+ 3. [Harper APIs](#harper-apis)
8
8
  4. [Documentation and Support](#documentation-and-support)
9
9
  5. [Prerequisites](#prerequisites)
10
- 6. [Installing HarperDB](#installing-harperdb)
10
+ 6. [Installing Harper](#installing-harper)
11
11
 
12
- ## HarperDB Overview
12
+ ## Harper Overview
13
13
 
14
- HarperDB eliminates the complexity typically synonymous with distributed services by combining an ultra-fast document data store, in-memory cache, real-time message broker, and your application components into a single distributed technology. When clustered and geo-distributed, HarperDB nodes instantly synchronize data creating a real-time service fabric, ensuring low-latency in-region responses for clients worldwide. In addition to massive cost savings at scale, HarperDB’s REST, GraphQL, SQL, and real-time interfaces make light work of servicing frontend requirements. Install and manage on your hardware with npm, or have us host your services with HarperDB Cloud. For questions, reach us at [hello@harperdb.io](mailto:hello@harperdb.io).
14
+ Harper eliminates the complexity typically synonymous with distributed services by combining an ultra-fast document data store, in-memory cache, real-time message broker, and your application components into a single distributed technology. When clustered and geo-distributed, Harper nodes instantly synchronize data creating a real-time service fabric, ensuring low-latency in-region responses for clients worldwide. In addition to massive cost savings at scale, Harper’s REST, GraphQL, SQL, and real-time interfaces make light work of servicing frontend requirements. Install and manage on your hardware with npm, or have us host your services with Harper Cloud. For questions, reach us at [hello@harperdb.io](mailto:hello@harperdb.io).
15
15
 
16
- [Learn more about HarperDB](https://www.harperdb.io/?utm_source=repo&utm_medium=npm)
16
+ [Learn more about Harper](https://www.harpersystems.dev/?utm_source=repo&utm_medium=npm)
17
17
 
18
- ## HarperDB Studio
18
+ ## Harper Studio
19
19
 
20
- Every Installation of HarperDB can be administered online using HarperDB Studio. This web-based interface provides you the ability to set up new schemas and tables, configure users and roles, manage data replication, and purchase and deploy enterprise licenses.
20
+ Every Installation of Harper can be administered online using Harper Studio. This web-based interface provides you the ability to set up new schemas and tables, configure users and roles, manage data replication, and purchase and deploy enterprise licenses.
21
21
 
22
- - Simplify Administration – handle all HarperDB administration tasks from one simple interface
22
+ - Simplify Administration – handle all Harper administration tasks from one simple interface
23
23
 
24
- [HarperDB Studio](https://studio.harperdb.io/sign-up)
24
+ [Harper Studio](https://studio.harperdb.io/sign-up)
25
25
 
26
- ## HarperDB APIs
26
+ ## Harper APIs
27
27
 
28
- The preferred way to interact with HarperDB for typical querying, accessing, and updating data (CRUD) operations is through the REST interface, described in the REST documentation.
28
+ The preferred way to interact with Harper for typical querying, accessing, and updating data (CRUD) operations is through the REST interface, described in the REST documentation.
29
29
 
30
- The complete [HarperDB Operations API documentation](https://docs.harperdb.io/docs/operations-api) provides important administrative functions. Generally it is recommended that use the [RESTful interface](https://docs.harperdb.io/docs/rest/) as your primary interface for scalable and performant data interaction for building production applications, and the operations API for administrative purposes.
30
+ The complete [Harper Operations API documentation](https://docs.harperdb.io/docs/operations-api) provides important administrative functions. Generally it is recommended that use the [RESTful interface](https://docs.harperdb.io/docs/rest/) as your primary interface for scalable and performant data interaction for building production applications, and the operations API for administrative purposes.
31
31
 
32
32
  ## Documentation and Support
33
33
 
@@ -37,16 +37,16 @@ The complete [HarperDB Operations API documentation](https://docs.harperdb.io/do
37
37
 
38
38
  ## Prerequisites
39
39
 
40
- HarperDB requires Node.js 14 or higher. Our fully tested and supported Node.js version is 18.15.0.
40
+ Harper requires Node.js 14 or higher. Our fully tested and supported Node.js version is 18.15.0.
41
41
 
42
- HarperDB has been tested on the following platforms
42
+ Harper has been tested on the following platforms
43
43
 
44
44
  - Linux on AMD64
45
45
  - Linux on ARM64
46
46
  - MacOS on Intel
47
47
  - MacOS on Apple silicon (Rosetta AMD64 emulation required for Node.js versions older than Node.js 16)
48
48
 
49
- Other UNIX-like operating systems and other CPU architectures may be able to run HarperDB, but these have not been tested and may require the following
49
+ Other UNIX-like operating systems and other CPU architectures may be able to run Harper, but these have not been tested and may require the following
50
50
 
51
51
  - GCC
52
52
  - Make
@@ -54,16 +54,16 @@ Other UNIX-like operating systems and other CPU architectures may be able to run
54
54
  - Xcode (macOS)
55
55
  - Go 1.19.1
56
56
 
57
- HarperDB can run natively on Windows 10 & 11. HarperDB running on Windows is only intended for evaluation or development purposes.
57
+ Harper can run natively on Windows 10 & 11. Harper running on Windows is only intended for evaluation or development purposes.
58
58
 
59
- ## Installing HarperDB
59
+ ## Installing Harper
60
60
 
61
61
  ```
62
62
  npm install -g harperdb
63
63
  harperdb
64
64
  ```
65
65
 
66
- HarperDB will prompt you for configuration options during install, and then automatically start after install.
66
+ Harper will prompt you for configuration options during install, and then automatically start after install.
67
67
 
68
68
  ---
69
- d43230ef54ed61bff1028d11ae47871ac44d7904
69
+ a288f59c0b352f39d0f4b197958180788e8aa941