@warlock.js/core 4.0.171 → 4.0.174
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/esm/application/app.d.ts
CHANGED
|
@@ -1,23 +1,13 @@
|
|
|
1
|
+
import { type DataSource } from "@warlock.js/cascade";
|
|
2
|
+
import { type FastifyInstance } from "fastify";
|
|
3
|
+
import { type Server } from "socket.io";
|
|
1
4
|
import { type Router } from "../router";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
readonly socket: Server;
|
|
8
|
-
/**
|
|
9
|
-
* HTTP Server Instance
|
|
10
|
-
* Available only if http config file exists
|
|
11
|
-
*/
|
|
12
|
-
readonly http: FastifyInstance;
|
|
13
|
-
/**
|
|
14
|
-
* Router Instance
|
|
15
|
-
*/
|
|
16
|
-
readonly router: Router;
|
|
17
|
-
/**
|
|
18
|
-
* Database Instance
|
|
19
|
-
* Available only if database config file exists
|
|
20
|
-
*/
|
|
21
|
-
readonly database: DataSource;
|
|
5
|
+
type RuntimeApplication = {
|
|
6
|
+
socket: Server;
|
|
7
|
+
http: FastifyInstance;
|
|
8
|
+
router: Router;
|
|
9
|
+
database: DataSource;
|
|
22
10
|
};
|
|
11
|
+
export declare const app: RuntimeApplication;
|
|
12
|
+
export {};
|
|
23
13
|
//# sourceMappingURL=app.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/application/app.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/application/app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,WAAW,CAAC;AAGxC,KAAK,kBAAkB,GAAG;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,eAAe,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,UAAU,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,kBA4BjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sources":["../../src/application/app.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.js","sources":["../../src/application/app.ts"],"sourcesContent":[null],"names":[],"mappings":"8CAaa,MAAA,GAAG,GAAuB;AACrC;;;AAGG;AACH,IAAA,IAAI,MAAM,GAAA;AACR,QAAA,OAAO,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;KAChC;AACD;;;AAGG;AACH,IAAA,IAAI,IAAI,GAAA;AACN,QAAA,OAAO,SAAS,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;KACrC;AACD;;AAEG;AACH,IAAA,IAAI,MAAM,GAAA;AACR,QAAA,OAAO,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;KAChC;AACD;;;AAGG;AACH,IAAA,IAAI,QAAQ,GAAA;AACV,QAAA,OAAO,SAAS,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;KACzC;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warlock.js/core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.174",
|
|
4
4
|
"description": "A robust nodejs framework for building blazing fast applications",
|
|
5
5
|
"main": "./esm/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"pluralize-esm": "^9.0.5",
|
|
32
32
|
"@mongez/supportive-is": "^2.0.4",
|
|
33
33
|
"@mongez/time-wizard": "^1.0.6",
|
|
34
|
-
"@warlock.js/auth": "4.0.
|
|
35
|
-
"@warlock.js/cache": "4.0.
|
|
36
|
-
"@warlock.js/cascade": "4.0.
|
|
37
|
-
"@warlock.js/context": "4.0.
|
|
38
|
-
"@warlock.js/logger": "4.0.
|
|
39
|
-
"@warlock.js/seal": "4.0.
|
|
34
|
+
"@warlock.js/auth": "4.0.174",
|
|
35
|
+
"@warlock.js/cache": "4.0.174",
|
|
36
|
+
"@warlock.js/cascade": "4.0.174",
|
|
37
|
+
"@warlock.js/context": "4.0.174",
|
|
38
|
+
"@warlock.js/logger": "4.0.174",
|
|
39
|
+
"@warlock.js/seal": "4.0.174",
|
|
40
40
|
"axios": "^1.14.0",
|
|
41
41
|
"chokidar": "^5.0.0",
|
|
42
42
|
"dayjs": "^1.11.19",
|