axiodb 4.32.118 → 4.32.120
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/.devin/wiki.json +305 -0
- package/package.json +3 -2
package/.devin/wiki.json
ADDED
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repo_notes": [
|
|
3
|
+
{
|
|
4
|
+
"content": ""
|
|
5
|
+
}
|
|
6
|
+
],
|
|
7
|
+
"pages": [
|
|
8
|
+
{
|
|
9
|
+
"title": "Overview",
|
|
10
|
+
"purpose": "Introduce AxioDB - an embedded NoSQL database for Node.js with MongoDB-style queries, explaining its purpose, target use cases (desktop apps, CLI tools, prototypes), and positioning as a SQLite alternative",
|
|
11
|
+
"page_notes": [
|
|
12
|
+
{
|
|
13
|
+
"content": ""
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"title": "Key Features and Capabilities",
|
|
19
|
+
"purpose": "Detail AxioDB's core features: intelligent caching, MongoDB-style queries, encryption, schema validation, worker thread processing, and the 10K-500K document scale optimization",
|
|
20
|
+
"parent": "Overview",
|
|
21
|
+
"page_notes": [
|
|
22
|
+
{
|
|
23
|
+
"content": ""
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"title": "Architecture Overview",
|
|
29
|
+
"purpose": "High-level overview of AxioDB's architecture: single instance pattern, hierarchical data model (AxioDB → Databases → Collections → Documents), and the major subsystems (storage, caching, API, GUI)",
|
|
30
|
+
"parent": "Overview",
|
|
31
|
+
"page_notes": [
|
|
32
|
+
{
|
|
33
|
+
"content": ""
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"title": "Installation and Quick Start",
|
|
39
|
+
"purpose": "Guide users through installing AxioDB from npm, basic instantiation, creating databases and collections, and performing first CRUD operations",
|
|
40
|
+
"parent": "Overview",
|
|
41
|
+
"page_notes": [
|
|
42
|
+
{
|
|
43
|
+
"content": ""
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"title": "Core Database System",
|
|
49
|
+
"purpose": "Comprehensive documentation of the embedded NoSQL database engine, covering the data model, operations, and internal architecture",
|
|
50
|
+
"page_notes": [
|
|
51
|
+
{
|
|
52
|
+
"content": ""
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"title": "Database Instance and Hierarchy",
|
|
58
|
+
"purpose": "Explain the AxioDB instance (single instance pattern), database creation via createDB(), and the three-tier hierarchy: AxioDB → Databases → Collections → Documents",
|
|
59
|
+
"parent": "Core Database System",
|
|
60
|
+
"page_notes": [
|
|
61
|
+
{
|
|
62
|
+
"content": ""
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"title": "Collections and Documents",
|
|
68
|
+
"purpose": "Document collection creation with createCollection(), collection configuration options (encryption, schema validation), document structure including auto-generated documentId, and the file-per-document storage model",
|
|
69
|
+
"parent": "Core Database System",
|
|
70
|
+
"page_notes": [
|
|
71
|
+
{
|
|
72
|
+
"content": ""
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"title": "CRUD Operations",
|
|
78
|
+
"purpose": "Comprehensive guide to Create, Read, Update, and Delete operations on documents, covering both single and bulk operations",
|
|
79
|
+
"parent": "Core Database System",
|
|
80
|
+
"page_notes": [
|
|
81
|
+
{
|
|
82
|
+
"content": ""
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"title": "Creating Documents",
|
|
88
|
+
"purpose": "Detail insert() and insertMany() methods, schema validation during insertion, auto-generation of documentId and timestamps, and encryption of document data",
|
|
89
|
+
"parent": "Core Database System",
|
|
90
|
+
"page_notes": [
|
|
91
|
+
{
|
|
92
|
+
"content": ""
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"title": "Reading and Querying",
|
|
98
|
+
"purpose": "Explain query() method, chainable Reader API (Limit, Skip, Sort, findOne, setCount, setProject), MongoDB-style query operators ($gt, $lt, $in, $regex), and fast documentId lookup",
|
|
99
|
+
"parent": "Core Database System",
|
|
100
|
+
"page_notes": [
|
|
101
|
+
{
|
|
102
|
+
"content": ""
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"title": "Updating Documents",
|
|
108
|
+
"purpose": "Document update() method and chainable Updater API, UpdateOne vs UpdateMany operations, query-based updates, and schema validation during updates",
|
|
109
|
+
"parent": "Core Database System",
|
|
110
|
+
"page_notes": [
|
|
111
|
+
{
|
|
112
|
+
"content": ""
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"title": "Deleting Documents",
|
|
118
|
+
"purpose": "Cover delete() method and chainable Deleter API, deleteOne vs deleteMany operations, and query-based deletion",
|
|
119
|
+
"parent": "Core Database System",
|
|
120
|
+
"page_notes": [
|
|
121
|
+
{
|
|
122
|
+
"content": ""
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"title": "Aggregation Pipeline",
|
|
128
|
+
"purpose": "Explain aggregate() method, MongoDB-compatible pipeline stages ($match, $group, $sort, $project, $limit, $skip, $unwind, $addFields), and use cases for data processing",
|
|
129
|
+
"parent": "Core Database System",
|
|
130
|
+
"page_notes": [
|
|
131
|
+
{
|
|
132
|
+
"content": ""
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"title": "Schema Validation",
|
|
138
|
+
"purpose": "Document SchemaTypes system, available validators (string, number, required, min, max, email), schema definition and enforcement, and validation during insert/update operations",
|
|
139
|
+
"parent": "Core Database System",
|
|
140
|
+
"page_notes": [
|
|
141
|
+
{
|
|
142
|
+
"content": ""
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"title": "Encryption and Security",
|
|
148
|
+
"purpose": "Cover AES-257 encryption at collection level, auto-generated vs custom encryption keys, encryption key management best practices, and secure storage implementation",
|
|
149
|
+
"parent": "Core Database System",
|
|
150
|
+
"page_notes": [
|
|
151
|
+
{
|
|
152
|
+
"content": ""
|
|
153
|
+
}
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"title": "File System Storage",
|
|
158
|
+
"purpose": "Explain file-per-document storage model, .axiodb file format, directory structure (AxioDB/Database/Collection/), and file system operations (FileManager, FolderManager)",
|
|
159
|
+
"parent": "Core Database System",
|
|
160
|
+
"page_notes": [
|
|
161
|
+
{
|
|
162
|
+
"content": ""
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"title": "Performance Optimization",
|
|
168
|
+
"purpose": "Overview of AxioDB's performance optimization strategies: InMemoryCache, Worker Threads for parallel processing, auto-indexing, and the Two-Pointer search algorithm",
|
|
169
|
+
"parent": "Core Database System",
|
|
170
|
+
"page_notes": [
|
|
171
|
+
{
|
|
172
|
+
"content": ""
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"title": "InMemory Cache System",
|
|
178
|
+
"purpose": "Detail the intelligent caching system, cache hit/miss flow, TTL and eviction policies, sub-millisecond response times, and cache invalidation strategies",
|
|
179
|
+
"parent": "Core Database System",
|
|
180
|
+
"page_notes": [
|
|
181
|
+
{
|
|
182
|
+
"content": ""
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"title": "Worker Threads and Parallel Processing",
|
|
188
|
+
"purpose": "Explain how AxioDB uses Node.js worker threads for multi-core processing, parallel file loading (WorkerForDataLoad), parallel search operations (WorkerForSearch), and performance benefits",
|
|
189
|
+
"parent": "Core Database System",
|
|
190
|
+
"page_notes": [
|
|
191
|
+
{
|
|
192
|
+
"content": ""
|
|
193
|
+
}
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"title": "Indexing and Query Optimization",
|
|
198
|
+
"purpose": "Cover auto-indexing on documentId for O(1) lookups, Two-Pointer search algorithm for range queries, and query optimization strategies",
|
|
199
|
+
"parent": "Core Database System",
|
|
200
|
+
"page_notes": [
|
|
201
|
+
{
|
|
202
|
+
"content": ""
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"title": "API Server",
|
|
208
|
+
"purpose": "Document the Fastify-based REST API server that provides HTTP access to AxioDB functionality, including architecture, routes, and integration with the core database",
|
|
209
|
+
"page_notes": [
|
|
210
|
+
{
|
|
211
|
+
"content": ""
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"title": "Server Architecture and Configuration",
|
|
217
|
+
"purpose": "Explain createAxioDBControlServer(), Fastify setup, middleware stack (CORS, JSON parser, multipart, static), port configuration (27018), and dependency injection of AxioDBInstance",
|
|
218
|
+
"parent": "API Server",
|
|
219
|
+
"page_notes": [
|
|
220
|
+
{
|
|
221
|
+
"content": ""
|
|
222
|
+
}
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"title": "Database Management API",
|
|
227
|
+
"purpose": "Document /api/db/* routes: listing databases, creating/deleting databases, and export/import functionality using tar.gz compression",
|
|
228
|
+
"parent": "API Server",
|
|
229
|
+
"page_notes": [
|
|
230
|
+
{
|
|
231
|
+
"content": ""
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"title": "Collection Management API",
|
|
237
|
+
"purpose": "Cover /api/collection/* routes: listing collections, creating collections with encryption/schema options, and deleting collections",
|
|
238
|
+
"parent": "API Server",
|
|
239
|
+
"page_notes": [
|
|
240
|
+
{
|
|
241
|
+
"content": ""
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"title": "Document Operations API",
|
|
247
|
+
"purpose": "Detail /api/operation/* routes for CRUD operations: creating documents (single/bulk), querying with filters and pagination, updating (by ID or query), deleting (by ID or query), and running aggregation pipelines",
|
|
248
|
+
"parent": "API Server",
|
|
249
|
+
"page_notes": [
|
|
250
|
+
{
|
|
251
|
+
"content": ""
|
|
252
|
+
}
|
|
253
|
+
]
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"title": "Response Handling and Error Patterns",
|
|
257
|
+
"purpose": "Explain standardized API responses using ResponseBuilder, SuccessInterface and ErrorInterface structures, HTTP status codes, and error handling patterns across controllers",
|
|
258
|
+
"parent": "API Server",
|
|
259
|
+
"page_notes": [
|
|
260
|
+
{
|
|
261
|
+
"content": ""
|
|
262
|
+
}
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"title": "Web GUI",
|
|
267
|
+
"purpose": "Document the React-based graphical user interface for visual database management, running on localhost:27018",
|
|
268
|
+
"page_notes": [
|
|
269
|
+
{
|
|
270
|
+
"content": ""
|
|
271
|
+
}
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"title": "GUI Architecture and Technology Stack",
|
|
276
|
+
"purpose": "Explain the GUI's React 18 + TypeScript foundation, Vite build tool, TailwindCSS styling, Zustand state management, and integration with the API server",
|
|
277
|
+
"parent": "Web GUI",
|
|
278
|
+
"page_notes": [
|
|
279
|
+
{
|
|
280
|
+
"content": ""
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"title": "Components and Routing",
|
|
286
|
+
"purpose": "Document the GUI's component structure (Layout, Pages, Modals), React Router configuration, and navigation between database, collection, and document views",
|
|
287
|
+
"parent": "Web GUI",
|
|
288
|
+
"page_notes": [
|
|
289
|
+
{
|
|
290
|
+
"content": ""
|
|
291
|
+
}
|
|
292
|
+
]
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"title": "State Management with Zustand",
|
|
296
|
+
"purpose": "Explain Zustand stores (DBInfoStore, CollectionStore, DocumentStore), state synchronization with API, and data flow between components",
|
|
297
|
+
"parent": "Web GUI",
|
|
298
|
+
"page_notes": [
|
|
299
|
+
{
|
|
300
|
+
"content": ""
|
|
301
|
+
}
|
|
302
|
+
]
|
|
303
|
+
}
|
|
304
|
+
]
|
|
305
|
+
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "axiodb",
|
|
3
|
-
"version": "4.32.
|
|
3
|
+
"version": "4.32.120",
|
|
4
4
|
"description": "The Pure JavaScript Alternative to SQLite. Embedded NoSQL database for Node.js with MongoDB-style queries, zero native dependencies, built-in InMemoryCache, and web GUI. Perfect for desktop apps, CLI tools, and embedded systems. No compilation, no platform issues—pure JavaScript from npm install to production.",
|
|
5
5
|
"main": "./lib/config/DB.js",
|
|
6
6
|
"types": "./lib/config/DB.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"test": "node ./Test/run.js",
|
|
9
9
|
"build": "tsc",
|
|
10
|
-
"lint": "eslint ."
|
|
10
|
+
"lint": "eslint .",
|
|
11
|
+
"postinstall": "bash Scripts/setup.sh"
|
|
11
12
|
},
|
|
12
13
|
"keywords": [
|
|
13
14
|
"axiodb",
|