jcc-express-mvc 1.2.8 → 1.3.0

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 (95) hide show
  1. package/index.d.ts +25 -0
  2. package/index.d.ts.map +1 -0
  3. package/index.js +1 -5
  4. package/lib/App.d.ts +19 -0
  5. package/lib/App.d.ts.map +1 -0
  6. package/lib/Auth/AuthMiddleware.d.ts +8 -0
  7. package/lib/Auth/AuthMiddleware.d.ts.map +1 -0
  8. package/lib/Auth/index.d.ts +16 -0
  9. package/lib/Auth/index.d.ts.map +1 -0
  10. package/lib/Command-Line/NodeArtisanCommand.d.ts +7 -0
  11. package/lib/Command-Line/NodeArtisanCommand.d.ts.map +1 -0
  12. package/lib/Command-Line/command.d.ts +11 -0
  13. package/lib/Command-Line/command.d.ts.map +1 -0
  14. package/lib/Command-Line/files/Controller.d.ts +8 -0
  15. package/lib/Command-Line/files/Controller.d.ts.map +1 -0
  16. package/lib/Command-Line/files/Migration.d.ts +3 -0
  17. package/lib/Command-Line/files/Migration.d.ts.map +1 -0
  18. package/lib/Command-Line/files/Models.d.ts +8 -0
  19. package/lib/Command-Line/files/Models.d.ts.map +1 -0
  20. package/lib/Command-Line/files/Request.d.ts +8 -0
  21. package/lib/Command-Line/files/Request.d.ts.map +1 -0
  22. package/lib/Command-Line/files/ResourcesController.d.ts +8 -0
  23. package/lib/Command-Line/files/ResourcesController.d.ts.map +1 -0
  24. package/lib/Command-Line/utils.d.ts +2 -0
  25. package/lib/Command-Line/utils.d.ts.map +1 -0
  26. package/lib/Config/Config.d.ts +8 -0
  27. package/lib/Config/Config.d.ts.map +1 -0
  28. package/lib/Error/AppError.d.ts +7 -0
  29. package/lib/Error/AppError.d.ts.map +1 -0
  30. package/lib/Error/AppErrorHandler.d.ts +10 -0
  31. package/lib/Error/AppErrorHandler.d.ts.map +1 -0
  32. package/lib/Error/Constants/error.d.ts +13 -0
  33. package/lib/Error/Constants/error.d.ts.map +1 -0
  34. package/lib/Error/Constants/index.d.ts +4 -0
  35. package/lib/Error/Constants/index.d.ts.map +1 -0
  36. package/lib/HttpKernel/HttpKernel.d.ts +7 -0
  37. package/lib/HttpKernel/HttpKernel.d.ts.map +1 -0
  38. package/lib/Interface/index.d.ts +43 -0
  39. package/lib/Interface/index.d.ts.map +1 -0
  40. package/lib/Middlewares/index.d.ts +45 -0
  41. package/lib/Middlewares/index.d.ts.map +1 -0
  42. package/lib/Middlewares/isLogin.d.ts +16 -0
  43. package/lib/Middlewares/isLogin.d.ts.map +1 -0
  44. package/lib/Passport/config.d.ts +10 -0
  45. package/lib/Passport/config.d.ts.map +1 -0
  46. package/lib/Request/FormRequest.d.ts +36 -0
  47. package/lib/Request/FormRequest.d.ts.map +1 -0
  48. package/lib/Request/request.d.ts +17 -0
  49. package/lib/Request/request.d.ts.map +1 -0
  50. package/lib/Response/index.d.ts +23 -0
  51. package/lib/Response/index.d.ts.map +1 -0
  52. package/lib/Routes/RouteBuilder.d.ts +45 -0
  53. package/lib/Routes/RouteBuilder.d.ts.map +1 -0
  54. package/lib/Routes/Router.d.ts +69 -0
  55. package/lib/Routes/Router.d.ts.map +1 -0
  56. package/lib/Server/index.d.ts +8 -0
  57. package/lib/Server/index.d.ts.map +1 -0
  58. package/lib/Services/ServiceContainer.d.ts +10 -0
  59. package/lib/Services/ServiceContainer.d.ts.map +1 -0
  60. package/lib/Services/ServiceProvider.d.ts +14 -0
  61. package/lib/Services/ServiceProvider.d.ts.map +1 -0
  62. package/lib/Templating-engine/engineHelper.d.ts +45 -0
  63. package/lib/Templating-engine/engineHelper.d.ts.map +1 -0
  64. package/lib/Templating-engine/expressions.d.ts +14 -0
  65. package/lib/Templating-engine/expressions.d.ts.map +1 -0
  66. package/lib/Templating-engine/index.d.ts +83 -0
  67. package/lib/Templating-engine/index.d.ts.map +1 -0
  68. package/lib/Type/index.d.ts +24 -0
  69. package/lib/Type/index.d.ts.map +1 -0
  70. package/lib/Validation/index.d.ts +12 -0
  71. package/lib/Validation/index.d.ts.map +1 -0
  72. package/lib/Validation/rules.d.ts +5 -0
  73. package/lib/Validation/rules.d.ts.map +1 -0
  74. package/lib/Validation/validate.d.ts +196 -0
  75. package/lib/Validation/validate.d.ts.map +1 -0
  76. package/lib/util/index.d.ts +93 -0
  77. package/lib/util/index.d.ts.map +1 -0
  78. package/package.json +2 -1
  79. package/lib/Database/src/BaseEntity.js +0 -208
  80. package/lib/Database/src/BaseModel.js +0 -44
  81. package/lib/Database/src/Builder.js +0 -430
  82. package/lib/Database/src/Cast/index.js +0 -98
  83. package/lib/Database/src/Cast/types.js +0 -25
  84. package/lib/Database/src/Date/index.js +0 -36
  85. package/lib/Database/src/Model.js +0 -53
  86. package/lib/Database/src/Query.js +0 -16
  87. package/lib/Database/src/QueryBuilder.js +0 -354
  88. package/lib/Database/src/QueryInstance.js +0 -28
  89. package/lib/Database/src/RelationBuilder.js +0 -97
  90. package/lib/Database/src/Schema/BaseSchemaEntity/index.js +0 -26
  91. package/lib/Database/src/Schema/BluePrint/index.js +0 -257
  92. package/lib/Database/src/Schema/index.js +0 -18
  93. package/lib/Database/src/db/connection.js +0 -22
  94. package/lib/Database/src/type.js +0 -2
  95. package/lib/Database/src/utils/index.js +0 -112
package/index.d.ts ADDED
@@ -0,0 +1,25 @@
1
+ import appConfig from "./lib/Config/Config";
2
+ import Kernel from "./lib/HttpKernel/HttpKernel";
3
+ import Authentication from "./lib/Auth";
4
+ import { AppRequest, AppResponse, AppNext } from "./lib/Interface";
5
+ import { FormRequest as AppFormRequest } from "./lib/Request/FormRequest";
6
+ import { bcrypt as appBcrypt, verifyHash as appVerifyHash, jwtSign as appJwtSign, jwtVerify as appjwtVerify } from "./lib/util";
7
+ import { NodeArtisanCommand } from "./lib/Command-Line/NodeArtisanCommand";
8
+ export declare const Route: import("./lib/Routes/Router").Router<any>;
9
+ export declare const ApiRoute: import("./lib/Routes/Router").Router<any>;
10
+ export declare const server: any;
11
+ export declare const HttpKernel: typeof Kernel;
12
+ export declare const config: typeof appConfig;
13
+ export declare const Auth: typeof Authentication;
14
+ export declare const auth: (request: AppRequest, response: AppResponse, next: AppNext) => any;
15
+ export declare const apiAuth: (request: AppRequest, response: AppResponse, next: AppNext) => any;
16
+ export declare const FormRequest: typeof AppFormRequest;
17
+ export declare const bcrypt: typeof appBcrypt;
18
+ export declare const jwtSign: typeof appJwtSign;
19
+ export declare const jwtVerify: typeof appjwtVerify;
20
+ export declare const verifyHash: typeof appVerifyHash;
21
+ export declare const artisanCommand: typeof NodeArtisanCommand;
22
+ export type Request = AppRequest;
23
+ export type Response = AppResponse;
24
+ export type Next = AppNext;
25
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../framework/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,qBAAqB,CAAC;AAE5C,OAAO,MAAM,MAAM,6BAA6B,CAAC;AACjD,OAAO,cAAc,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EACL,MAAM,IAAI,SAAS,EACnB,UAAU,IAAI,aAAa,EAC3B,OAAO,IAAI,UAAU,EACrB,SAAS,IAAI,YAAY,EAC1B,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAE3E,eAAO,MAAM,KAAK,2CAAkB,CAAC;AACrC,eAAO,MAAM,QAAQ,2CAAkB,CAAC;AACxC,eAAO,MAAM,MAAM,KAAmB,CAAC;AACvC,eAAO,MAAM,UAAU,eAAS,CAAC;AACjC,eAAO,MAAM,MAAM,EAAE,OAAO,SAAqB,CAAC;AAClD,eAAO,MAAM,IAAI,EAAE,OAAO,cAA+B,CAAC;AAC1D,eAAO,MAAM,IAAI,oEAAsB,CAAC;AACxC,eAAO,MAAM,OAAO,oEAAyB,CAAC;AAC9C,eAAO,MAAM,WAAW,EAAE,OAAO,cAA+B,CAAC;AACjE,eAAO,MAAM,MAAM,EAAE,OAAO,SAAqB,CAAC;AAClD,eAAO,MAAM,OAAO,EAAE,OAAO,UAAuB,CAAC;AACrD,eAAO,MAAM,SAAS,EAAE,OAAO,YAA2B,CAAC;AAC3D,eAAO,MAAM,UAAU,EAAE,OAAO,aAA6B,CAAC;AAC9D,eAAO,MAAM,cAAc,EAAE,OAAO,kBAAuC,CAAC;AAG5E,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC;AACjC,MAAM,MAAM,QAAQ,GAAG,WAAW,CAAC;AACnC,MAAM,MAAM,IAAI,GAAG,OAAO,CAAC"}
package/index.js CHANGED
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.artisanCommand = exports.Schema = exports.Model = exports.verifyHash = exports.jwtVerify = exports.jwtSign = exports.bcrypt = exports.FormRequest = exports.apiAuth = exports.auth = exports.Auth = exports.config = exports.HttpKernel = exports.server = exports.ApiRoute = exports.Route = void 0;
6
+ exports.artisanCommand = exports.verifyHash = exports.jwtVerify = exports.jwtSign = exports.bcrypt = exports.FormRequest = exports.apiAuth = exports.auth = exports.Auth = exports.config = exports.HttpKernel = exports.server = exports.ApiRoute = exports.Route = void 0;
7
7
  const Config_1 = __importDefault(require("./lib/Config/Config"));
8
8
  const App_1 = require("./lib/App");
9
9
  const HttpKernel_1 = __importDefault(require("./lib/HttpKernel/HttpKernel"));
@@ -11,8 +11,6 @@ const Auth_1 = __importDefault(require("./lib/Auth"));
11
11
  const AuthMiddleware_1 = require("./lib/Auth/AuthMiddleware");
12
12
  const FormRequest_1 = require("./lib/Request/FormRequest");
13
13
  const util_1 = require("./lib/util");
14
- const Schema_1 = require("./lib/Database/src/Schema");
15
- const Model_1 = require("./lib/Database/src/Model");
16
14
  const NodeArtisanCommand_1 = require("./lib/Command-Line/NodeArtisanCommand");
17
15
  exports.Route = App_1.app.webRoutes();
18
16
  exports.ApiRoute = App_1.app.apiRoutes();
@@ -27,6 +25,4 @@ exports.bcrypt = util_1.bcrypt;
27
25
  exports.jwtSign = util_1.jwtSign;
28
26
  exports.jwtVerify = util_1.jwtVerify;
29
27
  exports.verifyHash = util_1.verifyHash;
30
- exports.Model = Model_1.Model;
31
- exports.Schema = Schema_1.Schema;
32
28
  exports.artisanCommand = NodeArtisanCommand_1.NodeArtisanCommand;
package/lib/App.d.ts ADDED
@@ -0,0 +1,19 @@
1
+ import { Router } from "./Routes/Router";
2
+ import { HttpSever } from "./Server";
3
+ declare class App extends HttpSever {
4
+ constructor();
5
+ webRoutes(): Router<any>;
6
+ /**
7
+ * Method to define API routes.
8
+ * @returns {object} - Instance of Routes class for API routes.
9
+ */
10
+ apiRoutes(): Router<any>;
11
+ /**
12
+ * Method to configure and start the server.
13
+ * @returns {object} - Object containing server run method and server instance.
14
+ */
15
+ httpServer(): any;
16
+ }
17
+ export declare const app: App;
18
+ export {};
19
+ //# sourceMappingURL=App.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../framework/lib/App.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAGzC,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAIrC,cAAM,GAAI,SAAQ,SAAS;;IAQlB,SAAS,IAAI,MAAM,CAAC,GAAG,CAAC;IAI/B;;;OAGG;IACI,SAAS,IAAI,MAAM,CAAC,GAAG,CAAC;IAI/B;;;OAGG;IACI,UAAU,IAAI,GAAG;CAYzB;AAED,eAAO,MAAM,GAAG,KAAY,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { AppNext, AppRequest, AppResponse } from "../Interface";
2
+ declare class AuthMiddleware {
3
+ apiAuth(request: AppRequest, response: AppResponse, next: AppNext): any;
4
+ auth(request: AppRequest, response: AppResponse, next: AppNext): any;
5
+ }
6
+ export declare const authMiddleware: AuthMiddleware;
7
+ export {};
8
+ //# sourceMappingURL=AuthMiddleware.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthMiddleware.d.ts","sourceRoot":"","sources":["../../../framework/lib/Auth/AuthMiddleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhE,cAAM,cAAc;IACX,OAAO,CACZ,OAAO,EAAE,UAAU,EACnB,QAAQ,EAAE,WAAW,EACrB,IAAI,EAAE,OAAO,GACZ,GAAG;IA0BN,IAAI,CAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,GAAG,GAAG;CAUrE;AAED,eAAO,MAAM,cAAc,gBAAuB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { AppNext, AppRequest, AppResponse } from "../Interface";
2
+ declare module "express-session" {
3
+ interface SessionData {
4
+ appRedirect?: string;
5
+ isLoggedIn?: boolean;
6
+ }
7
+ }
8
+ declare class Authentication {
9
+ static login(data?: {}, password?: string): Promise<false | Error | undefined>;
10
+ static isAdmin(req: AppRequest, res: AppResponse, next: AppNext): Promise<AppResponse | undefined>;
11
+ static verifyEmail(req: AppRequest, res: AppResponse, next: AppNext): Promise<AppResponse | undefined>;
12
+ static attempt(req: AppRequest, res: AppResponse, next: AppNext): any;
13
+ static logout(req: AppRequest, res: AppResponse, next: AppNext): void;
14
+ }
15
+ export default Authentication;
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../framework/lib/Auth/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAKhE,OAAO,QAAQ,iBAAiB,CAAC;IAC/B,UAAU,WAAW;QACnB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,UAAU,CAAC,EAAE,OAAO,CAAC;KAEtB;CACF;AAED,cAAM,cAAc;WAEL,KAAK,CAAC,IAAI,KAAK,EAAE,QAAQ,SAAK;WAe9B,OAAO,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO;WAgCxD,WAAW,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO;IAmBzE,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO;WAiBjD,MAAM,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO;CAQtE;AAED,eAAe,cAAc,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ Function to parse command line arguments and execute corresponding commands
3
+ @param {commandArg} commandArg -string
4
+ @returns {any} -any
5
+ * */
6
+ export declare const NodeArtisanCommand: (commandArg?: Array<any>) => any;
7
+ //# sourceMappingURL=NodeArtisanCommand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NodeArtisanCommand.d.ts","sourceRoot":"","sources":["../../../framework/lib/Command-Line/NodeArtisanCommand.ts"],"names":[],"mappings":"AAEA;;;;MAIM;AACN,eAAO,MAAM,kBAAkB,gBAAgB,KAAK,CAAC,GAAG,CAAC,KAAQ,GAmFhE,CAAC"}
@@ -0,0 +1,11 @@
1
+ declare class Command {
2
+ addWeb(controllerName: string, modelName?: boolean): any;
3
+ addApi(controllerName: string, modelName?: boolean): any;
4
+ addModel(modelName: string): any;
5
+ addRequest(requestName: string): any;
6
+ addMigration(migrationName: string): any;
7
+ notFound(): any;
8
+ }
9
+ declare const _default: Command;
10
+ export default _default;
11
+ //# sourceMappingURL=command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../framework/lib/Command-Line/command.ts"],"names":[],"mappings":"AAaA,cAAM,OAAO;IAEX,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,SAAS,UAAQ,GAAG,GAAG;IA2BtD,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,SAAS,UAAQ,GAAG,GAAG;IA6BtD,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,GAAG;IAehC,UAAU,CAAC,WAAW,EAAE,MAAM,GAAG,GAAG;IAmBpC,YAAY,CAAC,aAAa,EAAE,MAAM,GAAG,GAAG;IAuBxC,QAAQ,IAAI,GAAG;CAGhB;;AAED,wBAA6B"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Function to create a controller file
3
+ * @param name string
4
+ * @returns string
5
+ */
6
+ declare const createController: (name: string) => string;
7
+ export default createController;
8
+ //# sourceMappingURL=Controller.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Controller.d.ts","sourceRoot":"","sources":["../../../../framework/lib/Command-Line/files/Controller.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,QAAA,MAAM,gBAAgB,SAAU,MAAM,KAAG,MAoExC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const createMigration: (table: string) => string;
2
+ export default createMigration;
3
+ //# sourceMappingURL=Migration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Migration.d.ts","sourceRoot":"","sources":["../../../../framework/lib/Command-Line/files/Migration.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,eAAe,UAAW,MAAM,KAAG,MAaxC,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Function to create a model file
3
+ * @param name - string
4
+ * @returns string
5
+ */
6
+ declare const createModel: (name: string) => string;
7
+ export default createModel;
8
+ //# sourceMappingURL=Models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Models.d.ts","sourceRoot":"","sources":["../../../../framework/lib/Command-Line/files/Models.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,QAAA,MAAM,WAAW,SAAU,MAAM,KAAG,MAYnC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Function to create a request file
3
+ * @param name - string
4
+ * @returns string
5
+ */
6
+ declare const createRequest: (fileName: string) => string;
7
+ export default createRequest;
8
+ //# sourceMappingURL=Request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.d.ts","sourceRoot":"","sources":["../../../../framework/lib/Command-Line/files/Request.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,QAAA,MAAM,aAAa,aAAc,MAAM,KAAG,MAwBzC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Function to create a resources file
3
+ * @param name - string
4
+ * @returns string
5
+ */
6
+ declare const resourceController: (controller: string, model?: string | boolean) => string;
7
+ export default resourceController;
8
+ //# sourceMappingURL=ResourcesController.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResourcesController.d.ts","sourceRoot":"","sources":["../../../../framework/lib/Command-Line/files/ResourcesController.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,QAAA,MAAM,kBAAkB,eAAgB,MAAM,UAAU,MAAM,GAAG,OAAO,WAoEvE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const formatDate: () => string;
2
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../framework/lib/Command-Line/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,cAUtB,CAAC"}
@@ -0,0 +1,8 @@
1
+ declare class Config {
2
+ private config;
3
+ constructor();
4
+ get(key: string, defaultValue?: string): string;
5
+ }
6
+ declare const _default: Config;
7
+ export default _default;
8
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../framework/lib/Config/Config.ts"],"names":[],"mappings":"AAGA,cAAM,MAAM;IACV,OAAO,CAAC,MAAM,CAAwC;;IAO/C,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,YAAY,GAAE,MAAW,GAAG,MAAM;CAG3D;;AAED,wBAA4B"}
@@ -0,0 +1,7 @@
1
+ export declare class AppError extends Error {
2
+ message: string;
3
+ type?: string;
4
+ errorFile?: string;
5
+ constructor(message: string | any, type?: string, errorFile?: string);
6
+ }
7
+ //# sourceMappingURL=AppError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppError.d.ts","sourceRoot":"","sources":["../../../framework/lib/Error/AppError.ts"],"names":[],"mappings":"AAAA,qBAAa,QAAS,SAAQ,KAAK;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;gBACd,OAAO,EAAE,MAAM,GAAG,GAAG,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM;CAMrE"}
@@ -0,0 +1,10 @@
1
+ import { Application } from "express";
2
+ import { AppNext, AppRequest, AppResponse } from "../Interface";
3
+ import { AppError } from "./AppError";
4
+ export declare class AppErrorHandler {
5
+ private app;
6
+ constructor(app: Application);
7
+ errorRoutesHandler(): Application;
8
+ handler(err: AppError, req: AppRequest, res: AppResponse, next: AppNext): any;
9
+ }
10
+ //# sourceMappingURL=AppErrorHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppErrorHandler.d.ts","sourceRoot":"","sources":["../../../framework/lib/Error/AppErrorHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,qBAAa,eAAe;IAC1B,OAAO,CAAC,GAAG,CAAc;gBACb,GAAG,EAAE,WAAW;IAIrB,kBAAkB;IAMzB,OAAO,CAAC,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO;CAuBxE"}
@@ -0,0 +1,13 @@
1
+ export declare const API_VALIDATION_ERROR: string;
2
+ export declare const VALIDATION_ERROR: string;
3
+ export declare const ROUTE_CALLBACK_ERROR: string;
4
+ export declare const ROUTE_BUILDER_ERROR: string;
5
+ export declare const SERVICE_CONTAINER_ERROR: string;
6
+ export declare const DEFAULT_ENGINE_ERROR: string;
7
+ export declare const VALIDATION_METHOD_ERROR: string;
8
+ export declare const VALIDATION_RULE_ERROR: string;
9
+ export declare const JWT_VERIFY_ERROR: string;
10
+ export declare const JWT_SIGN_ERROR: string;
11
+ export declare const PASSPORT_LOCAL_STRATEGY_ERROR: string;
12
+ export declare const PASSPORT_DESERIALIZE_ERROR: string;
13
+ //# sourceMappingURL=error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../framework/lib/Error/Constants/error.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,EAAE,MAAgC,CAAC;AAEpE,eAAO,MAAM,gBAAgB,EAAE,MAA4B,CAAC;AAE5D,eAAO,MAAM,oBAAoB,EAAE,MAAyB,CAAC;AAE7D,eAAO,MAAM,mBAAmB,EAAE,MAAwB,CAAC;AAE3D,eAAO,MAAM,uBAAuB,EAAE,MAA4B,CAAC;AAEnE,eAAO,MAAM,oBAAoB,EAAE,MAA0B,CAAC;AAE9D,eAAO,MAAM,uBAAuB,EAAE,MAA4B,CAAC;AAEnE,eAAO,MAAM,qBAAqB,EAAE,MAA2B,CAAC;AAEhE,eAAO,MAAM,gBAAgB,EAAE,MAA2B,CAAC;AAE3D,eAAO,MAAM,cAAc,EAAE,MAAmB,CAAC;AAEjD,eAAO,MAAM,6BAA6B,EAAE,MAA+B,CAAC;AAE5E,eAAO,MAAM,0BAA0B,EAAE,MAAqC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const PORT: string;
2
+ export declare const TEMPLATE_ENGINE: string;
3
+ export declare const JWT_SECRET: string;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../framework/lib/Error/Constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,EAAE,MAAe,CAAC;AAEnC,eAAO,MAAM,eAAe,EAAE,MAA0B,CAAC;AAEzD,eAAO,MAAM,UAAU,EAAE,MAAqB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { ExpressCallback, KernelMiddleware } from "../Type";
2
+ declare class HttpKernel {
3
+ protected middleware: Array<ExpressCallback>;
4
+ protected middlewares: KernelMiddleware;
5
+ }
6
+ export default HttpKernel;
7
+ //# sourceMappingURL=HttpKernel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HttpKernel.d.ts","sourceRoot":"","sources":["../../../framework/lib/HttpKernel/HttpKernel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE5D,cAAM,UAAU;IACd,SAAS,CAAC,UAAU,EAAE,KAAK,CAAC,eAAe,CAAC,CAAM;IAElD,SAAS,CAAC,WAAW,EAAE,gBAAgB,CAGrC;CACH;AAED,eAAe,UAAU,CAAC"}
@@ -0,0 +1,43 @@
1
+ import { NextFunction, Request, RequestHandler, Response } from "express";
2
+ import { ObjectType } from "../Type";
3
+ export interface ExpressCallback {
4
+ (request: AppRequest, response: AppResponse, next: NextFunction): any;
5
+ }
6
+ export interface AsynCallback {
7
+ (req: Request, response: Response, next: NextFunction): RequestHandler;
8
+ }
9
+ export interface AppRequest extends Request {
10
+ user: {
11
+ [key: string]: string;
12
+ };
13
+ previsiousUrls: Array<any>;
14
+ flash(): {
15
+ [key: string]: string[];
16
+ };
17
+ flash(message: string): string[];
18
+ flash(type: string, message: string[] | string): number;
19
+ flash(type: string, format: string, ...args: any[]): number;
20
+ id: string;
21
+ /**
22
+ Adds an validate method to the request object for validation
23
+ @param {validationData} - Data to validate
24
+ @returns {Promise<object>} - Validated Data
25
+ */
26
+ validate: {
27
+ (validation: ObjectType): any;
28
+ };
29
+ /**
30
+ Adds an apiValidate method to the request object for API validation
31
+ @param {validationData} - Data to validate
32
+ @returns {Promise<object>} - Validated Data
33
+ */
34
+ apiValidate: {
35
+ (validation: ObjectType): any;
36
+ };
37
+ }
38
+ export interface AppResponse extends Response {
39
+ redirectBack: () => any;
40
+ }
41
+ export interface AppNext extends NextFunction {
42
+ }
43
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../framework/lib/Interface/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,MAAM,WAAW,eAAe;IAC9B,CAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,IAAI,EAAE,YAAY,GAAG,GAAG,CAAC;CACvE;AAED,MAAM,WAAW,YAAY;IAC3B,CAAC,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,GAAG,cAAc,CAAC;CACxE;AAED,MAAM,WAAW,UAAW,SAAQ,OAAO;IAEzC,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAChC,cAAc,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IAC3B,KAAK,IAAI;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,CAAC;IACrC,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACjC,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,MAAM,CAAC;IACxD,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,MAAM,CAAC;IAC5D,EAAE,EAAE,MAAM,CAAC;IACX;;;;KAIC;IACD,QAAQ,EAAE;QAAE,CAAC,UAAU,EAAE,UAAU,GAAG,GAAG,CAAA;KAAE,CAAC;IAE5C;;;;KAIC;IACD,WAAW,EAAE;QAAE,CAAC,UAAU,EAAE,UAAU,GAAG,GAAG,CAAA;KAAE,CAAC;CAChD;AAED,MAAM,WAAW,WAAY,SAAQ,QAAQ;IAC3C,YAAY,EAAE,MAAM,GAAG,CAAC;CACzB;AAED,MAAM,WAAW,OAAQ,SAAQ,YAAY;CAAG"}
@@ -0,0 +1,45 @@
1
+ import express, { Application } from "express";
2
+ declare const Kernel: any;
3
+ export declare class Middleware extends Kernel {
4
+ private app;
5
+ private express;
6
+ constructor(appExpress: typeof express, app: Application);
7
+ /**
8
+ * Middleware for parsing incoming request bodies.
9
+ * @returns {object} - Express application instance.
10
+ */
11
+ private expressBodyParser;
12
+ /**
13
+ * Serve static files.
14
+ * @returns {object} - Express application instance.
15
+ */
16
+ private staticFiles;
17
+ /**
18
+ * Initialize Passport for authentication.
19
+ * @returns {object} - Express application instance.
20
+ */
21
+ /**
22
+ * Set up the default templating engine.
23
+ * @param {object} app - The Express application instance.
24
+ * @returns {object} - Express application instance.
25
+ */
26
+ private defaultTemplatingEngine;
27
+ /**
28
+ * Initialize Passport for authentication.
29
+ * @returns {object} - Express application instance.
30
+ */
31
+ private passportMiddleware;
32
+ /**
33
+ * Apply global middlewares.
34
+ * @returns {Array<object>} - Array of middleware instances applied.
35
+ */
36
+ private globalMiddlewares;
37
+ /**
38
+ * Set up the templating engine based on configuration.
39
+ * @returns {object} - Express application instance.
40
+ */
41
+ private setEngine;
42
+ private handle;
43
+ }
44
+ export {};
45
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../framework/lib/Middlewares/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,EAAE,EAAE,WAAW,EAAkB,MAAM,SAAS,CAAC;AAU/D,QAAA,MAAQ,MAAM,KAAsD,CAAC;AAKrE,qBAAa,UAAW,SAAQ,MAAM;IAEpC,OAAO,CAAC,GAAG,CAAc;IACzB,OAAO,CAAC,OAAO,CAAiB;gBACpB,UAAU,EAAE,OAAO,OAAO,EAAE,GAAG,EAAE,WAAW;IAOxD;;;OAGG;IACH,OAAO,CAAC,iBAAiB;IAKzB;;;OAGG;IACH,OAAO,CAAC,WAAW;IASnB;;;OAGG;IAOH;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAM/B;;;OAGG;IACH,OAAO,CAAC,kBAAkB;IAO1B;;;OAGG;IACH,OAAO,CAAC,iBAAiB;IAMzB;;;OAGG;IACH,OAAO,CAAC,SAAS;IAejB,OAAO,CAAC,MAAM;CAef"}
@@ -0,0 +1,16 @@
1
+ import { Application } from "express";
2
+ export declare class isLogIn {
3
+ private app;
4
+ /**
5
+ * Initializes the middleware.
6
+ * @param {object} app - The Express application instance.
7
+ */
8
+ constructor(app: Application);
9
+ /**
10
+ * Handler method to check if the user is authenticated and trying to access login or register routes.
11
+ * @param {object} app - The Express application instance.
12
+ * @returns {function} - Express middleware function.
13
+ */
14
+ private handler;
15
+ }
16
+ //# sourceMappingURL=isLogin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isLogin.d.ts","sourceRoot":"","sources":["../../../framework/lib/Middlewares/isLogin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,qBAAa,OAAO;IAKN,OAAO,CAAC,GAAG;IAJvB;;;OAGG;gBACiB,GAAG,EAAE,WAAW;IAIpC;;;;OAIG;IACH,OAAO,CAAC,OAAO;CAYhB"}
@@ -0,0 +1,10 @@
1
+ import passportType from "passport";
2
+ export declare class PassportAuth {
3
+ /**
4
+ * Configures Passport.js to use a local authentication strategy.
5
+ * This strategy validates user credentials against the local database.
6
+ * @param {Object} passport - Passport.js instance.
7
+ */
8
+ localPassport(passport: typeof passportType): void;
9
+ }
10
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../framework/lib/Passport/config.ts"],"names":[],"mappings":"AACA,OAAO,YAAY,MAAM,UAAU,CAAC;AAYpC,qBAAa,YAAY;IACvB;;;;OAIG;IACI,aAAa,CAAC,QAAQ,EAAE,OAAO,YAAY;CAsDnD"}
@@ -0,0 +1,36 @@
1
+ import { ObjectType } from "../Type";
2
+ import { AppRequest } from "../Interface";
3
+ export declare class FormRequest {
4
+ protected req: AppRequest;
5
+ constructor(req: AppRequest);
6
+ /**
7
+ * Retrieves a query parameter from the request.
8
+ * @param {string} name - Name of the query parameter.
9
+ * @returns {string} - Value of the query parameter.
10
+ */
11
+ protected query(name: string): any;
12
+ /**
13
+ * Retrieves a route parameter from the request.
14
+ * @param {string} name - Name of the route parameter.
15
+ * @returns {string} - Value of the route parameter.
16
+ */
17
+ protected route(name: string): string;
18
+ /**
19
+ * Retrieves the request body.
20
+ * @returns {Object} - Request body object.
21
+ */
22
+ protected request(): ObjectType;
23
+ /**
24
+ * Validates form data using the validation method provided by the request object.
25
+ * @param {Object} formData - Data to be validated.
26
+ * @returns {Promise} - Promise resolving with validation result.
27
+ */
28
+ protected validate(formData: ObjectType): Promise<Record<any, ObjectType>>;
29
+ /**
30
+ * Validates API data using the validation method provided by the request object.
31
+ * @param {Object} formData - Data to be validated.
32
+ * @returns {Promise} - Promise resolving with validation result.
33
+ */
34
+ protected apiValidate(formData: ObjectType): Promise<Record<any, ObjectType>>;
35
+ }
36
+ //# sourceMappingURL=FormRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormRequest.d.ts","sourceRoot":"","sources":["../../../framework/lib/Request/FormRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,WAAW;IACtB,SAAS,CAAC,GAAG,EAAE,UAAU,CAAC;gBACd,GAAG,EAAE,UAAU;IAO3B;;;;OAIG;IACH,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG;IAIlC;;;;OAIG;IACH,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAIrC;;;OAGG;IACH,SAAS,CAAC,OAAO,IAAI,UAAU;IAI/B;;;;OAIG;cACa,QAAQ,CACtB,QAAQ,EAAE,UAAU,GACnB,OAAO,CAAC,MAAM,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;IAInC;;;;OAIG;cACa,WAAW,CACzB,QAAQ,EAAE,UAAU,GACnB,OAAO,CAAC,MAAM,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;CAGpC"}
@@ -0,0 +1,17 @@
1
+ import { AppResponse, AppRequest } from "../Interface";
2
+ /**
3
+ * Initializes a Request object.
4
+ * This class helps in handling validation errors and provides methods for validation.
5
+ * @param {Object} request - The HTTP request object.
6
+ * @param {Object} response - The HTTP response object.
7
+ */
8
+ export declare class HttpRequest {
9
+ constructor(request: AppRequest, response: AppResponse);
10
+ /**
11
+ * Sets up validation error handling and adds validation methods to the request object.
12
+ * @param {Object} request - The HTTP request object.
13
+ * @param {Object} response - The HTTP response object.
14
+ */
15
+ private validationErrors;
16
+ }
17
+ //# sourceMappingURL=request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../framework/lib/Request/request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAOvD;;;;;GAKG;AACH,qBAAa,WAAW;gBACV,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW;IAItD;;;;OAIG;IACH,OAAO,CAAC,gBAAgB;CAoBzB"}
@@ -0,0 +1,23 @@
1
+ import { AppRequest, AppResponse } from "../Interface";
2
+ /**
3
+ * Initializes a Response object.
4
+ * This class manages the response behavior, including tracking visited URLs and handling redirection.
5
+ * @param {Object} request - The HTTP request object.
6
+ * @param {Object} response - The HTTP response object.
7
+ */
8
+ export declare class HttpResponse {
9
+ private request;
10
+ private response;
11
+ constructor(request: AppRequest, response: AppResponse);
12
+ /**
13
+ * Tracks visited URLs and stores them in the reqUrls array.
14
+ * Excludes "/favicon.ico" and "/js/app.js" from tracking.
15
+ */
16
+ protected visitedUrls(): void;
17
+ /**
18
+ * Redirects the response to the previous URL visited.
19
+ * If there are no previous URLs, redirects to the current URL.
20
+ */
21
+ private redirectBack;
22
+ }
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../framework/lib/Response/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGvD;;;;;GAKG;AACH,qBAAa,YAAY;IACvB,OAAO,CAAC,OAAO,CAAa;IAC5B,OAAO,CAAC,QAAQ,CAAc;gBAElB,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW;IAWtD;;;OAGG;IACH,SAAS,CAAC,WAAW;IAcrB;;;OAGG;IACH,OAAO,CAAC,YAAY;CAKrB"}
@@ -0,0 +1,45 @@
1
+ import { Application, RequestHandler } from "express";
2
+ import { ExpressCallback } from "../Interface";
3
+ import { AppPath } from "../Type";
4
+ export declare class RouteBuilder {
5
+ private app;
6
+ private prefixUrl?;
7
+ private basePath;
8
+ private static controller;
9
+ private static middleware;
10
+ constructor(app: Application, appPath: AppPath);
11
+ /**
12
+ *
13
+ * @param {*} path
14
+ * @returns
15
+ */
16
+ protected resolvePath(path: string): string;
17
+ /**
18
+ * Replaces route parameters enclosed in curly braces with corresponding placeholders.
19
+ * For example, converts "{name}" to ":name".
20
+ *
21
+ * @param {string} path - The path containing route parameters.
22
+ * @returns {string} - The path with route parameters replaced by placeholders.
23
+ */
24
+ private replaceRouteParameters;
25
+ /**
26
+ * Sets the middlewares for the route group.
27
+ * @param {function|array} middleware - Route middlewares.
28
+ */
29
+ static setMiddle(middleware?: Array<any> | ExpressCallback): void;
30
+ /**
31
+ * Sets the controller for the route group.
32
+ * @param {object} controller - The controller object.
33
+ */
34
+ static setController(controller: any): void;
35
+ validateCallback(callback: RequestHandler | Array<any>): RequestHandler;
36
+ controllerValidator(): boolean;
37
+ /**
38
+ * Helper method for defining routes.
39
+ * @param {string} httpMethod - The HTTP method for the route.
40
+ * @param {string} url - The route path.
41
+ * @param {string} callback - The callback function or method name.
42
+ */
43
+ buildRoute<T>(httpMethod: keyof Application, url: string, callback: RequestHandler | string): any;
44
+ }
45
+ //# sourceMappingURL=RouteBuilder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RouteBuilder.d.ts","sourceRoot":"","sources":["../../../framework/lib/Routes/RouteBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAQlC,qBAAa,YAAY;IACvB,OAAO,CAAC,GAAG,CAAc;IACzB,OAAO,CAAC,SAAS,CAAC,CAAS;IAC3B,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,MAAM,CAAC,UAAU,CAAM;IAE/B,OAAO,CAAC,MAAM,CAAC,UAAU,CAA+B;gBAEtD,GAAG,EAAE,WAAW,EAChB,OAAO,EAAE,OAAO;IASlB;;;;OAIG;IACH,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAM3C;;;;;;OAMG;IACH,OAAO,CAAC,sBAAsB;IAK9B;;;OAGG;WACW,SAAS,CAAC,UAAU,GAAE,KAAK,CAAC,GAAG,CAAC,GAAG,eAAoB;IAIrE;;;OAGG;WACW,aAAa,CAAC,UAAU,EAAE,GAAG;IAI3C,gBAAgB,CAAC,QAAQ,EAAE,cAAc,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,cAAc;IAevE,mBAAmB,IAAI,OAAO;IAM9B;;;;;OAKG;IACI,UAAU,CAAC,CAAC,EACjB,UAAU,EAAE,MAAM,WAAW,EAC7B,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,cAAc,GAAG,MAAM;CAmCpC"}