@zola_do/authorization 0.1.33 → 0.1.37

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.
@@ -1,4 +1,7 @@
1
- import { ORGANIZATION_TYPE_ENUM } from '@zola_do/core';
1
+ declare enum ORGANIZATION_TYPE_ENUM {
2
+ PORTAL = "PORTAL",
3
+ BACKOFFICE = "BACK-OFFICE"
4
+ }
2
5
  export declare class OrganizationDto {
3
6
  id: string;
4
7
  name: string;
@@ -34,3 +37,4 @@ export declare class CurrentUserDto extends UserDto {
34
37
  email: string;
35
38
  origin: ORGANIZATION_TYPE_ENUM;
36
39
  }
40
+ export {};
@@ -1,6 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CurrentUserDto = exports.AccountDto = exports.UserDto = exports.OrganizationDto = void 0;
4
+ var ORGANIZATION_TYPE_ENUM;
5
+ (function (ORGANIZATION_TYPE_ENUM) {
6
+ ORGANIZATION_TYPE_ENUM["PORTAL"] = "PORTAL";
7
+ ORGANIZATION_TYPE_ENUM["BACKOFFICE"] = "BACK-OFFICE";
8
+ })(ORGANIZATION_TYPE_ENUM || (ORGANIZATION_TYPE_ENUM = {}));
4
9
  class OrganizationDto {
5
10
  }
6
11
  exports.OrganizationDto = OrganizationDto;
@@ -1 +1 @@
1
- {"version":3,"file":"auth.model.js","sourceRoot":"","sources":["../../src/models/auth.model.ts"],"names":[],"mappings":";;;AAEA,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,OAAO;CAMnB;AAND,0BAMC;AAED,MAAa,UAAU;CAWtB;AAXD,gCAWC;AAED,MAAa,cAAe,SAAQ,OAAO;CAQ1C;AARD,wCAQC"}
1
+ {"version":3,"file":"auth.model.js","sourceRoot":"","sources":["../../src/models/auth.model.ts"],"names":[],"mappings":";;;AAAA,IAAK,sBAGJ;AAHD,WAAK,sBAAsB;IACzB,2CAAiB,CAAA;IACjB,oDAA0B,CAAA;AAC5B,CAAC,EAHI,sBAAsB,KAAtB,sBAAsB,QAG1B;AACD,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,OAAO;CAMnB;AAND,0BAMC;AAED,MAAa,UAAU;CAWtB;AAXD,gCAWC;AAED,MAAa,cAAe,SAAQ,OAAO;CAQ1C;AARD,wCAQC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zola_do/authorization",
3
- "version": "0.1.33",
3
+ "version": "0.1.37",
4
4
  "description": "JWT auth, guards, strategies for NestJS",
5
5
  "author": "zolaDO",
6
6
  "license": "ISC",
@@ -41,7 +41,6 @@
41
41
  }
42
42
  },
43
43
  "dependencies": {
44
- "@zola_do/core": "^0.1.9",
45
44
  "bcrypt": "^6.0.0",
46
45
  "jsonwebtoken": "^9.0.3"
47
46
  },
@@ -50,5 +49,28 @@
50
49
  "@types/passport-jwt": "^4.0.1",
51
50
  "rimraf": "^6.1.3",
52
51
  "typescript": "^5.9.3"
53
- }
52
+ },
53
+ "repository": {
54
+ "directory": "packages/authorization",
55
+ "type": "git",
56
+ "url": "https://github.com/zola0031/zola-nestjs-shared.git"
57
+ },
58
+ "homepage": "https://github.com/zola0031/zola-nestjs-shared#readme",
59
+ "bugs": {
60
+ "url": "https://github.com/zola0031/zola-nestjs-shared/issues"
61
+ },
62
+ "keywords": [
63
+ "nestjs",
64
+ "typescript",
65
+ "library",
66
+ "shared",
67
+ "monorepo",
68
+ "zola_do",
69
+ "authorization",
70
+ "auth",
71
+ "jwt",
72
+ "guards",
73
+ "permissions",
74
+ "security"
75
+ ]
54
76
  }