chyz 1.0.12-rc.28 → 1.0.12-rc.29

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/base/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- export * from "./ActionFilter"
1
+ export * from "./ActionFilter"
2
2
  export * from "./BaseObject"
3
3
  export * from "./BaseError"
4
4
  export * from "./Behavior"
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../base/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA+B;AAC/B,+CAA4B;AAC5B,8CAA2B;AAC3B,6CAA0B;AAC1B,8CAA2B;AAC3B,iDAA8B;AAC9B,+CAA4B;AAC5B,iDAA8B;AAC9B,2DAAwC;AACxC,2DAAwC;AACxC,0DAAuC;AACvC,8DAA2C;AAC3C,yDAAsC;AACtC,4DAAyC;AACzC,0CAAuB;AACvB,+CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../base/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA8B;AAC9B,+CAA4B;AAC5B,8CAA2B;AAC3B,6CAA0B;AAC1B,8CAA2B;AAC3B,iDAA8B;AAC9B,+CAA4B;AAC5B,iDAA8B;AAC9B,2DAAwC;AACxC,2DAAwC;AACxC,0DAAuC;AACvC,8DAA2C;AAC3C,yDAAsC;AACtC,4DAAyC;AACzC,0CAAuB;AACvB,+CAA4B"}
package/dist/index.js CHANGED
@@ -6,51 +6,19 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
6
6
  if (k2 === undefined) k2 = k;
7
7
  o[k2] = m[k];
8
8
  }));
9
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
- Object.defineProperty(o, "default", { enumerable: true, value: v });
11
- }) : function(o, v) {
12
- o["default"] = v;
13
- });
14
- var __importStar = (this && this.__importStar) || function (mod) {
15
- if (mod && mod.__esModule) return mod;
16
- var result = {};
17
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
- __setModuleDefault(result, mod);
19
- return result;
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
11
  };
21
12
  var __importDefault = (this && this.__importDefault) || function (mod) {
22
13
  return (mod && mod.__esModule) ? mod : { "default": mod };
23
14
  };
24
15
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.BaseChyz = exports.User = exports.Utils = exports.post = exports.get = exports.controller = exports.HttpHeaderAuth = exports.HttpBearerAuth = exports.JwtHttpBearerAuth = exports.AccessRule = exports.AccessControl = exports.RestClient = exports.Model = exports.ValidationHttpException = exports.DataErrorDbException = exports.UnauthorizedHttpException = exports.NotFoundHttpException = exports.InvalidConfigException = exports.ForbiddenHttpException = exports.DbConnection = exports.Controller = exports.Component = exports.Behavior = exports.BaseError = exports.BaseObject = exports.ActionFilter = void 0;
26
- var base_1 = require("./base");
27
- Object.defineProperty(exports, "ActionFilter", { enumerable: true, get: function () { return base_1.ActionFilter; } });
28
- Object.defineProperty(exports, "BaseObject", { enumerable: true, get: function () { return base_1.BaseObject; } });
29
- Object.defineProperty(exports, "BaseError", { enumerable: true, get: function () { return base_1.BaseError; } });
30
- Object.defineProperty(exports, "Behavior", { enumerable: true, get: function () { return base_1.Behavior; } });
31
- Object.defineProperty(exports, "Component", { enumerable: true, get: function () { return base_1.Component; } });
32
- Object.defineProperty(exports, "Controller", { enumerable: true, get: function () { return base_1.Controller; } });
33
- Object.defineProperty(exports, "DbConnection", { enumerable: true, get: function () { return base_1.DbConnection; } });
34
- Object.defineProperty(exports, "ForbiddenHttpException", { enumerable: true, get: function () { return base_1.ForbiddenHttpException; } });
35
- Object.defineProperty(exports, "InvalidConfigException", { enumerable: true, get: function () { return base_1.InvalidConfigException; } });
36
- Object.defineProperty(exports, "NotFoundHttpException", { enumerable: true, get: function () { return base_1.NotFoundHttpException; } });
37
- Object.defineProperty(exports, "UnauthorizedHttpException", { enumerable: true, get: function () { return base_1.UnauthorizedHttpException; } });
38
- Object.defineProperty(exports, "DataErrorDbException", { enumerable: true, get: function () { return base_1.DataErrorDbException; } });
39
- Object.defineProperty(exports, "ValidationHttpException", { enumerable: true, get: function () { return base_1.ValidationHttpException; } });
40
- Object.defineProperty(exports, "Model", { enumerable: true, get: function () { return base_1.Model; } });
41
- Object.defineProperty(exports, "RestClient", { enumerable: true, get: function () { return base_1.RestClient; } });
42
- var filters_1 = require("./filters");
43
- Object.defineProperty(exports, "AccessControl", { enumerable: true, get: function () { return filters_1.AccessControl; } });
44
- Object.defineProperty(exports, "AccessRule", { enumerable: true, get: function () { return filters_1.AccessRule; } });
45
- var auth_1 = require("./filters/auth");
46
- Object.defineProperty(exports, "JwtHttpBearerAuth", { enumerable: true, get: function () { return auth_1.JwtHttpBearerAuth; } });
47
- Object.defineProperty(exports, "HttpBearerAuth", { enumerable: true, get: function () { return auth_1.HttpBearerAuth; } });
48
- Object.defineProperty(exports, "HttpHeaderAuth", { enumerable: true, get: function () { return auth_1.HttpHeaderAuth; } });
49
- var decorator_1 = require("./decorator");
50
- Object.defineProperty(exports, "controller", { enumerable: true, get: function () { return decorator_1.controller; } });
51
- Object.defineProperty(exports, "get", { enumerable: true, get: function () { return decorator_1.get; } });
52
- Object.defineProperty(exports, "post", { enumerable: true, get: function () { return decorator_1.post; } });
53
- exports.Utils = __importStar(require("./requiments/Utils"));
16
+ exports.BaseChyz = exports.User = void 0;
17
+ __exportStar(require("./base"), exports);
18
+ __exportStar(require("./filters"), exports);
19
+ __exportStar(require("./filters/auth"), exports);
20
+ __exportStar(require("./decorator"), exports);
21
+ __exportStar(require("./requiments/Utils"), exports);
54
22
  var User_1 = require("./web/User");
55
23
  Object.defineProperty(exports, "User", { enumerable: true, get: function () { return User_1.User; } });
56
24
  const BaseChyz_1 = __importDefault(require("./BaseChyz"));
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,+BAiBgB;AAhBZ,oGAAA,YAAY,OAAA;AACZ,kGAAA,UAAU,OAAA;AACV,iGAAA,SAAS,OAAA;AACT,gGAAA,QAAQ,OAAA;AACR,iGAAA,SAAS,OAAA;AAET,kGAAA,UAAU,OAAA;AACV,oGAAA,YAAY,OAAA;AACZ,8GAAA,sBAAsB,OAAA;AACtB,8GAAA,sBAAsB,OAAA;AACtB,6GAAA,qBAAqB,OAAA;AACrB,iHAAA,yBAAyB,OAAA;AACzB,4GAAA,oBAAoB,OAAA;AACpB,+GAAA,uBAAuB,OAAA;AACvB,6FAAA,KAAK,OAAA;AACL,kGAAA,UAAU,OAAA;AAEd,qCAAoD;AAA5C,wGAAA,aAAa,OAAA;AAAE,qGAAA,UAAU,OAAA;AACjC,uCAAiF;AAAzE,yGAAA,iBAAiB,OAAA;AAAE,sGAAA,cAAc,OAAA;AAAE,sGAAA,cAAc,OAAA;AACzD,yCAAkD;AAA1C,uGAAA,UAAU,OAAA;AAAE,gGAAA,GAAG,OAAA;AAAE,iGAAA,IAAI,OAAA;AAC7B,4DAA6C;AAE7C,mCAAgC;AAAxB,4FAAA,IAAI,OAAA;AACZ,0DAAkC;AAC1B,mBADD,kBAAQ,CACC;AAEhB,MAAM,IAAI,GAAG,IAAI,kBAAQ,EAAE,CAAC;AAC5B,kBAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,yCAAuB;AACvB,4CAA0B;AAC1B,iDAA+B;AAC/B,8CAA4B;AAC5B,qDAAmC;AAEnC,mCAAgC;AAAxB,4FAAA,IAAI,OAAA;AAEZ,0DAAkC;AAC1B,mBADD,kBAAQ,CACC;AAEhB,MAAM,IAAI,GAAG,IAAI,kBAAQ,EAAE,CAAC;AAC5B,kBAAe,IAAI,CAAC"}
package/index.ts CHANGED
@@ -1,28 +1,12 @@
1
1
  export {Request, Response, NextFunction} from "express";
2
- export {
3
- ActionFilter,
4
- BaseObject,
5
- BaseError,
6
- Behavior,
7
- Component,
8
- Configurable,
9
- Controller,
10
- DbConnection,
11
- ForbiddenHttpException,
12
- InvalidConfigException,
13
- NotFoundHttpException,
14
- UnauthorizedHttpException,
15
- DataErrorDbException,
16
- ValidationHttpException,
17
- Model,
18
- RestClient
19
- } from "./base";
20
- export {AccessControl, AccessRule} from "./filters";
21
- export {JwtHttpBearerAuth, HttpBearerAuth, HttpHeaderAuth} from "./filters/auth";
22
- export {controller, get, post} from "./decorator";
23
- export * as Utils from "./requiments/Utils";
2
+ export * from "./base";
3
+ export * from "./filters";
4
+ export * from "./filters/auth";
5
+ export * from "./decorator";
6
+ export * from "./requiments/Utils";
24
7
  export {RouteDefinition} from "./model/RouteDefinition";
25
8
  export {User} from "./web/User";
9
+
26
10
  import BaseChyz from "./BaseChyz";
27
11
  export {BaseChyz}
28
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chyz",
3
- "version": "1.0.12-rc.28",
3
+ "version": "1.0.12-rc.29",
4
4
  "description": "Nodejs MicroServis Framework",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {