axiodb 2.19.65 → 2.20.66
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/lib/Services/CRUD Operation/Delete.operation.js +1 -1
- package/lib/Services/CRUD Operation/Delete.operation.js.map +1 -1
- package/lib/Services/CRUD Operation/Reader.operation.js +1 -1
- package/lib/Services/CRUD Operation/Reader.operation.js.map +1 -1
- package/lib/Services/CRUD Operation/Update.operation.js +1 -1
- package/lib/Services/CRUD Operation/Update.operation.js.map +1 -1
- package/lib/Services/Indexation.operation.d.ts +16 -1
- package/lib/Services/Indexation.operation.js +22 -1
- package/lib/Services/Indexation.operation.js.map +1 -1
- package/lib/caching/cache.operation.d.ts +64 -0
- package/lib/caching/cache.operation.js +175 -0
- package/lib/caching/cache.operation.js.map +1 -0
- package/lib/config/DB.d.ts +1 -1
- package/lib/config/DB.js +1 -1
- package/lib/config/DB.js.map +1 -1
- package/lib/engine/Filesystem/FolderManager.js +2 -1
- package/lib/engine/Filesystem/FolderManager.js.map +1 -1
- package/lib/server/config/keys.js +10 -2
- package/lib/server/config/keys.js.map +1 -1
- package/lib/server/config/server.js +1 -0
- package/lib/server/config/server.js.map +1 -1
- package/lib/server/controller/Database/Databse.controller.d.ts +52 -0
- package/lib/server/controller/Database/Databse.controller.js +119 -0
- package/lib/server/controller/Database/Databse.controller.js.map +1 -0
- package/lib/server/public/AxioControl/.vite/manifest.json +1 -1
- package/lib/server/public/AxioControl/.vite/ssr-manifest.json +51 -0
- package/lib/server/public/AxioControl/assets/index-wYypOXlX.js +56 -0
- package/lib/server/public/AxioControl/index.html +1 -1
- package/lib/server/public/AxioControl/sw.js +1 -1
- package/lib/server/router/Router.d.ts +6 -2
- package/lib/server/router/Router.js +10 -2
- package/lib/server/router/Router.js.map +1 -1
- package/lib/server/router/Routers/DB.routes.d.ts +7 -0
- package/lib/server/router/Routers/DB.routes.js +29 -0
- package/lib/server/router/Routers/DB.routes.js.map +1 -0
- package/package.json +1 -1
- package/lib/server/public/AxioControl/assets/index-HpIfPLrM.js +0 -51
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../source/server/config/keys.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AAExB,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,+CAAY,CAAA;IACZ,mCAAqB,CAAA;AACvB,CAAC,EAHW,UAAU,0BAAV,UAAU,QAGrB;AAED,kBAAkB;AACL,QAAA,WAAW,GAAG;IACzB,MAAM,EAAE,GAAG;IACX,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC;IAC1D,eAAe,EAAE,CAAC,cAAc,EAAE,eAAe,CAAC;IAClD,eAAe,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC;IACvD,OAAO,EAAE,KAAK,EAAE,sBAAsB;IACtC,iBAAiB,EAAE,IAAI;CACxB,CAAC;AAEW,QAAA,UAAU,GAAG,cAAI,CAAC,OAAO,CAAC,SAAS,EAAE,uBAAuB,CAAC,CAAC;AAE3E,SAAS;AAEI,QAAA,eAAe,GAAG;IAC7B;QACE,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,4CAA4C;KAC1D;IACD;QACE,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,+CAA+C;KAC7D;IACD;QACE,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,+BAA+B;KAC7C;IACD;QACE,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../source/server/config/keys.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AAExB,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,+CAAY,CAAA;IACZ,mCAAqB,CAAA;AACvB,CAAC,EAHW,UAAU,0BAAV,UAAU,QAGrB;AAED,kBAAkB;AACL,QAAA,WAAW,GAAG;IACzB,MAAM,EAAE,GAAG;IACX,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC;IAC1D,eAAe,EAAE,CAAC,cAAc,EAAE,eAAe,CAAC;IAClD,eAAe,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC;IACvD,OAAO,EAAE,KAAK,EAAE,sBAAsB;IACtC,iBAAiB,EAAE,IAAI;CACxB,CAAC;AAEW,QAAA,UAAU,GAAG,cAAI,CAAC,OAAO,CAAC,SAAS,EAAE,uBAAuB,CAAC,CAAC;AAE3E,SAAS;AAEI,QAAA,eAAe,GAAG;IAC7B;QACE,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,4CAA4C;KAC1D;IACD;QACE,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,+CAA+C;KAC7D;IACD;QACE,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,+BAA+B;KAC7C;IACD;QACE,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,mBAAmB;QACzB,WAAW,EAAE,6BAA6B;KAC3C;IACD;QACE,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,yBAAyB;QAC/B,WAAW,EAAE,uBAAuB;QACpC,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;SACf;KACF;IACD;QACE,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,yBAAyB;QAC/B,WAAW,EAAE,mBAAmB;QAChC,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC"}
|
|
@@ -64,6 +64,7 @@ function createAxioDBControlServer(AxioDBInstance) {
|
|
|
64
64
|
// Register the main router with /api prefix
|
|
65
65
|
AxioDBControlServer.register(Router_1.default, {
|
|
66
66
|
prefix: "/api",
|
|
67
|
+
AxioDBInstance, // Pass the AxioDB instance to the router
|
|
67
68
|
});
|
|
68
69
|
try {
|
|
69
70
|
yield AxioDBControlServer.listen({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../../source/server/config/server.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAWA,
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../../source/server/config/server.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAWA,4CAmEC;AA9ED,sDAAsD;AACtD,sDAA8B;AAC9B,yDAAwC;AACxC,6DAA4C;AAC5C,gDAAwB;AACxB,4CAAoB;AACpB,iCAA6D;AAC7D,wEAAmD;AAEnD,8DAAsC;AAEtC,SAA8B,yBAAyB,CACrD,cAAsB;;QAEtB,MAAM,IAAA,yBAAkB,EAAC,iBAAU,CAAC,IAAI,CAAC,CAAC;QAE1C,MAAM,mBAAmB,GAAG,IAAA,iBAAO,EAAC;YAClC,MAAM,EAAE,KAAK,EAAE,0BAA0B;YACzC,UAAU,EAAE,IAAI,EAAE,kCAAkC;YACpD,SAAS,EAAE,QAAQ,EAAE,yBAAyB;SAC/C,CAAC,CAAC;QAEH,qBAAqB;QACrB,MAAM,mBAAmB,CAAC,QAAQ,CAAC,cAAW,EAAE;YAC9C,MAAM,EAAE,kBAAW,CAAC,MAAM,EAAE,oBAAoB;YAChD,OAAO,EAAE,kBAAW,CAAC,OAAO,EAAE,yBAAyB;YACvD,cAAc,EAAE,kBAAW,CAAC,eAAe,EAAE,yBAAyB;YACtE,WAAW,EAAE,kBAAW,CAAC,iBAAiB,EAAE,oBAAoB;YAChE,cAAc,EAAE,kBAAW,CAAC,eAAe,EAAE,0BAA0B;YACvE,MAAM,EAAE,kBAAW,CAAC,OAAO,EAAE,wCAAwC;SACtE,CAAC,CAAC;QAEH,yBAAyB;QACzB,mBAAmB,CAAC,oBAAoB,CACtC,kB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CAAC,IAAI,EAAE,CAC1E,CAAC;QACJ,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,mBAAmB,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YACnC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;IACH,CAAC;CAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { AxioDB } from "../../../Services/Indexation.operation";
|
|
2
|
+
import { ResponseBuilder } from "../../helper/responseBuilder.helper";
|
|
3
|
+
import { FastifyRequest } from "fastify";
|
|
4
|
+
/**
|
|
5
|
+
* Controller class for managing databases in AxioDB.
|
|
6
|
+
*
|
|
7
|
+
* This class provides methods for retrieving database information,
|
|
8
|
+
* creating new databases, and other database management operations.
|
|
9
|
+
* It acts as an interface between the API routes and the AxioDB instance.
|
|
10
|
+
*/
|
|
11
|
+
export default class DatabaseController {
|
|
12
|
+
private AxioDBInstance;
|
|
13
|
+
constructor(AxioDBInstance: AxioDB);
|
|
14
|
+
/**
|
|
15
|
+
* Retrieves a list of databases from the AxioDB instance.
|
|
16
|
+
*
|
|
17
|
+
* @returns {Promise<ResponseBuilder>} A Promise that resolves to a ResponseBuilder object
|
|
18
|
+
* containing the list of databases with an OK status code and a success message.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* const response = await databaseController.getDatabases();
|
|
22
|
+
* // Returns a ResponseBuilder with status 200 and database list
|
|
23
|
+
*/
|
|
24
|
+
getDatabases(): Promise<ResponseBuilder>;
|
|
25
|
+
/**
|
|
26
|
+
* Creates a new database with the specified name.
|
|
27
|
+
*
|
|
28
|
+
* @param request - The Fastify request object containing the database name in the body
|
|
29
|
+
* @returns A ResponseBuilder object containing the status and message of the operation
|
|
30
|
+
*
|
|
31
|
+
* @throws Will return a conflict response if database already exists
|
|
32
|
+
* @throws Will return a bad request response if name is missing, not a string, or empty
|
|
33
|
+
* @throws Will return an internal server error response if database creation fails
|
|
34
|
+
*/
|
|
35
|
+
createDatabase(request: FastifyRequest): Promise<ResponseBuilder>;
|
|
36
|
+
/**
|
|
37
|
+
* Deletes a database with the specified name.
|
|
38
|
+
*
|
|
39
|
+
* @param request - The Fastify request object containing the database name in the body
|
|
40
|
+
* @returns A ResponseBuilder object with appropriate status code and message
|
|
41
|
+
* - 200 OK if the database is successfully deleted
|
|
42
|
+
* - 404 NOT_FOUND if the database does not exist
|
|
43
|
+
* - 500 INTERNAL_SERVER_ERROR if an error occurs during deletion
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* // Example request body
|
|
47
|
+
* {
|
|
48
|
+
* "name": "myDatabase"
|
|
49
|
+
* }
|
|
50
|
+
*/
|
|
51
|
+
deleteDatabase(request: FastifyRequest): Promise<ResponseBuilder>;
|
|
52
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const outers_1 = require("outers");
|
|
16
|
+
const responseBuilder_helper_1 = __importDefault(require("../../helper/responseBuilder.helper"));
|
|
17
|
+
/**
|
|
18
|
+
* Controller class for managing databases in AxioDB.
|
|
19
|
+
*
|
|
20
|
+
* This class provides methods for retrieving database information,
|
|
21
|
+
* creating new databases, and other database management operations.
|
|
22
|
+
* It acts as an interface between the API routes and the AxioDB instance.
|
|
23
|
+
*/
|
|
24
|
+
class DatabaseController {
|
|
25
|
+
constructor(AxioDBInstance) {
|
|
26
|
+
this.AxioDBInstance = AxioDBInstance;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Retrieves a list of databases from the AxioDB instance.
|
|
30
|
+
*
|
|
31
|
+
* @returns {Promise<ResponseBuilder>} A Promise that resolves to a ResponseBuilder object
|
|
32
|
+
* containing the list of databases with an OK status code and a success message.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* const response = await databaseController.getDatabases();
|
|
36
|
+
* // Returns a ResponseBuilder with status 200 and database list
|
|
37
|
+
*/
|
|
38
|
+
getDatabases() {
|
|
39
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40
|
+
const databases = yield this.AxioDBInstance.getInstanceInfo();
|
|
41
|
+
return (0, responseBuilder_helper_1.default)(outers_1.StatusCodes.OK, "List of Databases", databases === null || databases === void 0 ? void 0 : databases.data);
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Creates a new database with the specified name.
|
|
46
|
+
*
|
|
47
|
+
* @param request - The Fastify request object containing the database name in the body
|
|
48
|
+
* @returns A ResponseBuilder object containing the status and message of the operation
|
|
49
|
+
*
|
|
50
|
+
* @throws Will return a conflict response if database already exists
|
|
51
|
+
* @throws Will return a bad request response if name is missing, not a string, or empty
|
|
52
|
+
* @throws Will return an internal server error response if database creation fails
|
|
53
|
+
*/
|
|
54
|
+
createDatabase(request) {
|
|
55
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
56
|
+
const { name } = request.body;
|
|
57
|
+
try {
|
|
58
|
+
// check if the database already exists
|
|
59
|
+
const exists = yield this.AxioDBInstance.isDatabaseExists(name);
|
|
60
|
+
if (exists) {
|
|
61
|
+
return (0, responseBuilder_helper_1.default)(outers_1.StatusCodes.CONFLICT, "Database already exists");
|
|
62
|
+
}
|
|
63
|
+
// create the database
|
|
64
|
+
if (!name) {
|
|
65
|
+
return (0, responseBuilder_helper_1.default)(outers_1.StatusCodes.BAD_REQUEST, "Database name is required");
|
|
66
|
+
}
|
|
67
|
+
if (typeof name !== "string" || name.trim() === "") {
|
|
68
|
+
return (0, responseBuilder_helper_1.default)(outers_1.StatusCodes.BAD_REQUEST, "Invalid database name");
|
|
69
|
+
}
|
|
70
|
+
yield this.AxioDBInstance.createDB(name);
|
|
71
|
+
return (0, responseBuilder_helper_1.default)(outers_1.StatusCodes.CREATED, "Database Created", {
|
|
72
|
+
Database_Name: name,
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
catch (error) {
|
|
76
|
+
console.error("Error creating database:", error);
|
|
77
|
+
return (0, responseBuilder_helper_1.default)(outers_1.StatusCodes.INTERNAL_SERVER_ERROR, "Error creating database");
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Deletes a database with the specified name.
|
|
83
|
+
*
|
|
84
|
+
* @param request - The Fastify request object containing the database name in the body
|
|
85
|
+
* @returns A ResponseBuilder object with appropriate status code and message
|
|
86
|
+
* - 200 OK if the database is successfully deleted
|
|
87
|
+
* - 404 NOT_FOUND if the database does not exist
|
|
88
|
+
* - 500 INTERNAL_SERVER_ERROR if an error occurs during deletion
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* // Example request body
|
|
92
|
+
* {
|
|
93
|
+
* "name": "myDatabase"
|
|
94
|
+
* }
|
|
95
|
+
*/
|
|
96
|
+
deleteDatabase(request) {
|
|
97
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
98
|
+
const { name } = request.body;
|
|
99
|
+
try {
|
|
100
|
+
// check if the database exists
|
|
101
|
+
const exists = yield this.AxioDBInstance.isDatabaseExists(name);
|
|
102
|
+
if (!exists) {
|
|
103
|
+
return (0, responseBuilder_helper_1.default)(outers_1.StatusCodes.NOT_FOUND, "Database not found");
|
|
104
|
+
}
|
|
105
|
+
// delete the database
|
|
106
|
+
yield this.AxioDBInstance.deleteDatabase(name);
|
|
107
|
+
return (0, responseBuilder_helper_1.default)(outers_1.StatusCodes.OK, "Database Deleted", {
|
|
108
|
+
Database_Name: name,
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
catch (error) {
|
|
112
|
+
console.error("Error deleting database:", error);
|
|
113
|
+
return (0, responseBuilder_helper_1.default)(outers_1.StatusCodes.INTERNAL_SERVER_ERROR, "Error deleting database");
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
exports.default = DatabaseController;
|
|
119
|
+
//# sourceMappingURL=Databse.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Databse.controller.js","sourceRoot":"","sources":["../../../../source/server/controller/Database/Databse.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,mCAAqC;AAErC,iGAE6C;AAG7C;;;;;;GAMG;AACH,MAAqB,kBAAkB;IAGrC,YAAY,cAAsB;QAChC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;IACvC,CAAC;IAED;;;;;;;;;OASG;IACU,YAAY;;YACvB,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,eAAe,EAAE,CAAC;YAC9D,OAAO,IAAA,gCAAa,EAAC,oBAAW,CAAC,EAAE,EAAE,mBAAmB,EAAE,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,IAAI,CAAC,CAAC;QAC7E,CAAC;KAAA;IAED;;;;;;;;;OASG;IACU,cAAc,CACzB,OAAuB;;YAEvB,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,IAAwB,CAAC;YAClD,IAAI,CAAC;gBACH,uCAAuC;gBACvC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,gBAAgB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CAAC;gBACD,sBAAsB;gBACtB,MAAM,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;gBAC/C,OAAO,IAAA,gCAAa,EAAC,oBAAW,CAAC,EAAE,EAAE,kBAAkB,EAAE;oBACvD,aAAa,EAAE,IAAI;iBACpB,CAAC,CAAC;YACL,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,OAAO,CAAC,KAAK,CAAC,0BAA0B,EAAE,KAAK,CAAC,CAAC;gBACjD,OAAO,IAAA,gCAAa,EAClB,oBAAW,CAAC,qBAAqB,EACjC,yBAAyB,CAC1B,CAAC;YACJ,CAAC;QACH,CAAC;KAAA;CACF;AAxGD,qCAwGC"}
|
|
@@ -24,6 +24,56 @@
|
|
|
24
24
|
"node_modules/@heroicons/react/outline/esm/ServerIcon.js": [],
|
|
25
25
|
"node_modules/@heroicons/react/solid/esm/ChevronDownIcon.js": [],
|
|
26
26
|
"node_modules/@heroicons/react/solid/esm/ChevronRightIcon.js": [],
|
|
27
|
+
"node_modules/axios/index.js": [],
|
|
28
|
+
"node_modules/axios/lib/adapters/adapters.js": [],
|
|
29
|
+
"node_modules/axios/lib/adapters/fetch.js": [],
|
|
30
|
+
"node_modules/axios/lib/adapters/xhr.js": [],
|
|
31
|
+
"node_modules/axios/lib/axios.js": [],
|
|
32
|
+
"node_modules/axios/lib/cancel/CancelToken.js": [],
|
|
33
|
+
"node_modules/axios/lib/cancel/CanceledError.js": [],
|
|
34
|
+
"node_modules/axios/lib/cancel/isCancel.js": [],
|
|
35
|
+
"node_modules/axios/lib/core/Axios.js": [],
|
|
36
|
+
"node_modules/axios/lib/core/AxiosError.js": [],
|
|
37
|
+
"node_modules/axios/lib/core/AxiosHeaders.js": [],
|
|
38
|
+
"node_modules/axios/lib/core/InterceptorManager.js": [],
|
|
39
|
+
"node_modules/axios/lib/core/buildFullPath.js": [],
|
|
40
|
+
"node_modules/axios/lib/core/dispatchRequest.js": [],
|
|
41
|
+
"node_modules/axios/lib/core/mergeConfig.js": [],
|
|
42
|
+
"node_modules/axios/lib/core/settle.js": [],
|
|
43
|
+
"node_modules/axios/lib/core/transformData.js": [],
|
|
44
|
+
"node_modules/axios/lib/defaults/index.js": [],
|
|
45
|
+
"node_modules/axios/lib/defaults/transitional.js": [],
|
|
46
|
+
"node_modules/axios/lib/env/data.js": [],
|
|
47
|
+
"node_modules/axios/lib/helpers/AxiosURLSearchParams.js": [],
|
|
48
|
+
"node_modules/axios/lib/helpers/HttpStatusCode.js": [],
|
|
49
|
+
"node_modules/axios/lib/helpers/bind.js": [],
|
|
50
|
+
"node_modules/axios/lib/helpers/buildURL.js": [],
|
|
51
|
+
"node_modules/axios/lib/helpers/combineURLs.js": [],
|
|
52
|
+
"node_modules/axios/lib/helpers/composeSignals.js": [],
|
|
53
|
+
"node_modules/axios/lib/helpers/cookies.js": [],
|
|
54
|
+
"node_modules/axios/lib/helpers/formDataToJSON.js": [],
|
|
55
|
+
"node_modules/axios/lib/helpers/isAbsoluteURL.js": [],
|
|
56
|
+
"node_modules/axios/lib/helpers/isAxiosError.js": [],
|
|
57
|
+
"node_modules/axios/lib/helpers/isURLSameOrigin.js": [],
|
|
58
|
+
"node_modules/axios/lib/helpers/null.js": [],
|
|
59
|
+
"node_modules/axios/lib/helpers/parseHeaders.js": [],
|
|
60
|
+
"node_modules/axios/lib/helpers/parseProtocol.js": [],
|
|
61
|
+
"node_modules/axios/lib/helpers/progressEventReducer.js": [],
|
|
62
|
+
"node_modules/axios/lib/helpers/resolveConfig.js": [],
|
|
63
|
+
"node_modules/axios/lib/helpers/speedometer.js": [],
|
|
64
|
+
"node_modules/axios/lib/helpers/spread.js": [],
|
|
65
|
+
"node_modules/axios/lib/helpers/throttle.js": [],
|
|
66
|
+
"node_modules/axios/lib/helpers/toFormData.js": [],
|
|
67
|
+
"node_modules/axios/lib/helpers/toURLEncodedForm.js": [],
|
|
68
|
+
"node_modules/axios/lib/helpers/trackStream.js": [],
|
|
69
|
+
"node_modules/axios/lib/helpers/validator.js": [],
|
|
70
|
+
"node_modules/axios/lib/platform/browser/classes/Blob.js": [],
|
|
71
|
+
"node_modules/axios/lib/platform/browser/classes/FormData.js": [],
|
|
72
|
+
"node_modules/axios/lib/platform/browser/classes/URLSearchParams.js": [],
|
|
73
|
+
"node_modules/axios/lib/platform/browser/index.js": [],
|
|
74
|
+
"node_modules/axios/lib/platform/common/utils.js": [],
|
|
75
|
+
"node_modules/axios/lib/platform/index.js": [],
|
|
76
|
+
"node_modules/axios/lib/utils.js": [],
|
|
27
77
|
"node_modules/cookie/dist/index.js": [],
|
|
28
78
|
"node_modules/react-dom/cjs/react-dom-client.production.js": [],
|
|
29
79
|
"node_modules/react-dom/cjs/react-dom.production.js": [],
|
|
@@ -43,6 +93,7 @@
|
|
|
43
93
|
"src/components/dashboard/TotalDatabasesCard.jsx": [],
|
|
44
94
|
"src/components/dashboard/TotalDocumentsCard.jsx": [],
|
|
45
95
|
"src/config/config.jsx": [],
|
|
96
|
+
"src/config/key.js": [],
|
|
46
97
|
"src/index.css": [],
|
|
47
98
|
"src/layout/Footer.jsx": [],
|
|
48
99
|
"src/layout/Header.jsx": [],
|