cecon-interfaces 1.5.82 → 1.5.83

Sign up to get free protection for your applications and to get access to all the features.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.82",
3
+ "version": "1.5.83",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1 +1,2 @@
1
1
  export * from './payload';
2
+ export * from './permissions';
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./payload"), exports);
18
+ __exportStar(require("./permissions"), exports);
@@ -0,0 +1 @@
1
+ export { PayioPermissionEntity } from './permission.entity';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PayioPermissionEntity = void 0;
4
+ var permission_entity_1 = require("./permission.entity");
5
+ Object.defineProperty(exports, "PayioPermissionEntity", { enumerable: true, get: function () { return permission_entity_1.PayioPermissionEntity; } });
@@ -0,0 +1,10 @@
1
+ import { IPayioPermission } from '../interfaces/i-permission';
2
+ export declare class PayioPermissionEntity implements IPayioPermission {
3
+ createdAt: Date;
4
+ description: string;
5
+ id: string;
6
+ isActive: boolean;
7
+ name: string;
8
+ updatedAt: Date;
9
+ constructor(data?: Partial<PayioPermissionEntity>);
10
+ }
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PayioPermissionEntity = void 0;
4
+ var PayioPermissionEntity = /** @class */ (function () {
5
+ // #endregion Properties (6)
6
+ // #region Constructors (1)
7
+ function PayioPermissionEntity(data) {
8
+ // #region Properties (6)
9
+ this.createdAt = new Date();
10
+ this.description = '';
11
+ this.id = '';
12
+ this.isActive = true;
13
+ this.name = '';
14
+ this.updatedAt = new Date();
15
+ if (data) {
16
+ for (var key in data) {
17
+ if (data.hasOwnProperty(key) && key in this) {
18
+ this[key] = data[key];
19
+ }
20
+ }
21
+ }
22
+ }
23
+ return PayioPermissionEntity;
24
+ }());
25
+ exports.PayioPermissionEntity = PayioPermissionEntity;
@@ -0,0 +1,2 @@
1
+ export * from './entities';
2
+ export * from './interfaces';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,8 @@
1
+ export interface IPayioPermission {
2
+ id: string;
3
+ name: string;
4
+ description: string;
5
+ isActive: boolean;
6
+ createdAt: Date;
7
+ updatedAt: Date;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { IPayioPermission } from './i-permission';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.82",
3
+ "version": "1.5.83",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",