@bluealba/pae-core 5.3.0 → 5.4.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.
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bluealba/pae-core",
3
3
  "description": "Core package for the PAE project",
4
- "version": "5.3.0",
4
+ "version": "5.4.0",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "files": [
@@ -2,6 +2,7 @@ export type ApiKeyResponseDTO = {
2
2
  id: number;
3
3
  name: string;
4
4
  displayName?: string;
5
+ description?: string;
5
6
  createdAt: string;
6
7
  createdBy: string;
7
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"api-key-response.dto.d.ts","sourceRoot":"","sources":["../../../../src/authentication/dto/api-key-response.dto.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAA"}
1
+ {"version":3,"file":"api-key-response.dto.d.ts","sourceRoot":"","sources":["../../../../src/authentication/dto/api-key-response.dto.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAA"}
@@ -1,5 +1,6 @@
1
1
  export type CreateApiKeyRequest = {
2
2
  user: string;
3
3
  displayName?: string;
4
+ description?: string;
4
5
  };
5
6
  //# sourceMappingURL=create-api-key-request.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-api-key-request.d.ts","sourceRoot":"","sources":["../../../../src/authentication/dto/create-api-key-request.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAA"}
1
+ {"version":3,"file":"create-api-key-request.d.ts","sourceRoot":"","sources":["../../../../src/authentication/dto/create-api-key-request.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAA"}
@@ -3,6 +3,7 @@ export declare class ApiKey {
3
3
  id: number;
4
4
  username: string;
5
5
  displayName?: string;
6
+ description?: string;
6
7
  createdAt: Date;
7
8
  createdBy: string;
8
9
  static fromDTO(dto: ApiKeyResponseDTO): ApiKey;
@@ -1 +1 @@
1
- {"version":3,"file":"api-key.entity.d.ts","sourceRoot":"","sources":["../../../../src/authentication/entities/api-key.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,qBAAa,MAAM;IACjB,EAAE,EAAE,MAAM,CAAK;IACf,QAAQ,EAAE,MAAM,CAAM;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,IAAI,CAAc;IAC7B,SAAS,EAAE,MAAM,CAAM;IAEvB,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,iBAAiB,GAAG,MAAM;CAS/C"}
1
+ {"version":3,"file":"api-key.entity.d.ts","sourceRoot":"","sources":["../../../../src/authentication/entities/api-key.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,qBAAa,MAAM;IACjB,EAAE,EAAE,MAAM,CAAK;IACf,QAAQ,EAAE,MAAM,CAAM;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,IAAI,CAAc;IAC7B,SAAS,EAAE,MAAM,CAAM;IAEvB,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,iBAAiB,GAAG,MAAM;CAU/C"}
@@ -13,6 +13,7 @@ class ApiKey {
13
13
  apiKey.id = dto.id;
14
14
  apiKey.username = dto.name;
15
15
  apiKey.displayName = dto.displayName;
16
+ apiKey.description = dto.description;
16
17
  apiKey.createdAt = new Date(dto.createdAt);
17
18
  apiKey.createdBy = dto.createdBy;
18
19
  return apiKey;
@@ -1 +1 @@
1
- {"version":3,"file":"api-key.entity.js","sourceRoot":"","sources":["../../../../src/authentication/entities/api-key.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,MAAM;IAAnB;QACE,OAAE,GAAW,CAAC,CAAC;QACf,aAAQ,GAAW,EAAE,CAAC;QAEtB,cAAS,GAAS,IAAI,IAAI,EAAE,CAAC;QAC7B,cAAS,GAAW,EAAE,CAAC;IAWzB,CAAC;IATC,MAAM,CAAC,OAAO,CAAC,GAAsB;QACnC,MAAM,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;QAC5B,MAAM,CAAC,EAAE,GAAG,GAAG,CAAC,EAAE,CAAC;QACnB,MAAM,CAAC,QAAQ,GAAG,GAAG,CAAC,IAAI,CAAC;QAC3B,MAAM,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC;QACrC,MAAM,CAAC,SAAS,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAC3C,MAAM,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QACjC,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAhBD,wBAgBC"}
1
+ {"version":3,"file":"api-key.entity.js","sourceRoot":"","sources":["../../../../src/authentication/entities/api-key.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,MAAM;IAAnB;QACE,OAAE,GAAW,CAAC,CAAC;QACf,aAAQ,GAAW,EAAE,CAAC;QAGtB,cAAS,GAAS,IAAI,IAAI,EAAE,CAAC;QAC7B,cAAS,GAAW,EAAE,CAAC;IAYzB,CAAC;IAVC,MAAM,CAAC,OAAO,CAAC,GAAsB;QACnC,MAAM,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;QAC5B,MAAM,CAAC,EAAE,GAAG,GAAG,CAAC,EAAE,CAAC;QACnB,MAAM,CAAC,QAAQ,GAAG,GAAG,CAAC,IAAI,CAAC;QAC3B,MAAM,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC;QACrC,MAAM,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC;QACrC,MAAM,CAAC,SAAS,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAC3C,MAAM,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QACjC,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAlBD,wBAkBC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bluealba/pae-core",
3
3
  "description": "Core package for the PAE project",
4
- "version": "5.3.0",
4
+ "version": "5.4.0",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "files": [