@natrave/shared-entities 1.4.82 → 1.4.84
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/user-events/index.d.ts +0 -1
- package/dist/user-events/index.d.ts.map +1 -1
- package/dist/user-events/index.js +0 -1
- package/dist/user-events/user-domain-events/user-domain-event.entity.d.ts +1 -1
- package/dist/user-events/user-domain-events/user-domain-event.entity.d.ts.map +1 -1
- package/dist/user-events/user-domain-events/user-domain-event.entity.js +6 -2
- package/dist/user-events/user-event-views/user-event-view.entity.d.ts +1 -1
- package/dist/user-events/user-event-views/user-event-view.entity.d.ts.map +1 -1
- package/dist/user-events/user-event-views/user-event-view.entity.js +11 -3
- package/package.json +16 -15
- package/dist/user-events/enums/domain-entity-type.enum.d.ts +0 -4
- package/dist/user-events/enums/domain-entity-type.enum.d.ts.map +0 -1
- package/dist/user-events/enums/domain-entity-type.enum.js +0 -7
- package/dist/user-events/enums/index.d.ts +0 -5
- package/dist/user-events/enums/index.d.ts.map +0 -1
- package/dist/user-events/enums/index.js +0 -10
- package/dist/user-events/enums/user-domain-event-type.enum.d.ts +0 -4
- package/dist/user-events/enums/user-domain-event-type.enum.d.ts.map +0 -1
- package/dist/user-events/enums/user-domain-event-type.enum.js +0 -7
- package/dist/user-events/enums/user-event-display-type.enum.d.ts +0 -4
- package/dist/user-events/enums/user-event-display-type.enum.d.ts.map +0 -1
- package/dist/user-events/enums/user-event-display-type.enum.js +0 -7
- package/dist/user-events/enums/user-event-view-status.enum.d.ts +0 -5
- package/dist/user-events/enums/user-event-view-status.enum.d.ts.map +0 -1
- package/dist/user-events/enums/user-event-view-status.enum.js +0 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/user-events/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/user-events/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-domain-event.entity.d.ts","sourceRoot":"","sources":["../../../src/user-events/user-domain-events/user-domain-event.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user-domain-event.entity.d.ts","sourceRoot":"","sources":["../../../src/user-events/user-domain-events/user-domain-event.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAYpF,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,qBAIa,eAAe;IAE1B,EAAE,EAAE,MAAM,CAAC;IAOX,MAAM,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,mBAAmB,CAAC;IAG1B,UAAU,EAAE,gBAAgB,CAAC;IAG7B,QAAQ,EAAE,MAAM,CAAC;IAGjB,UAAU,EAAE,IAAI,CAAC;IAGjB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAIhB,IAAI,EAAE,IAAI,CAAC;CACZ"}
|
|
@@ -8,6 +8,7 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
8
8
|
if (kind && result) __defProp(target, key, result);
|
|
9
9
|
return result;
|
|
10
10
|
};
|
|
11
|
+
import { DomainEntityType, UserDomainEventType } from "@natrave/user-domain-events";
|
|
11
12
|
import {
|
|
12
13
|
Column,
|
|
13
14
|
CreateDateColumn,
|
|
@@ -19,14 +20,17 @@ import {
|
|
|
19
20
|
UpdateDateColumn
|
|
20
21
|
} from "typeorm";
|
|
21
22
|
import { User } from "../../app-auth/index.js";
|
|
22
|
-
import { DomainEntityType, UserDomainEventType } from "../enums/index.js";
|
|
23
23
|
let UserDomainEvent = class {
|
|
24
24
|
};
|
|
25
25
|
__decorateClass([
|
|
26
26
|
PrimaryGeneratedColumn({ type: "bigint" })
|
|
27
27
|
], UserDomainEvent.prototype, "id", 2);
|
|
28
28
|
__decorateClass([
|
|
29
|
-
Column({
|
|
29
|
+
Column({
|
|
30
|
+
name: "user_id",
|
|
31
|
+
type: "uuid",
|
|
32
|
+
comment: "Identificador do usu\xE1rio associado ao evento."
|
|
33
|
+
})
|
|
30
34
|
], UserDomainEvent.prototype, "userId", 2);
|
|
31
35
|
__decorateClass([
|
|
32
36
|
Column({ name: "type", type: "enum", enum: UserDomainEventType })
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { UserEventDisplayType, UserEventViewStatus } from '@natrave/user-domain-events';
|
|
1
2
|
import { User } from '../../app-auth';
|
|
2
|
-
import { UserEventDisplayType, UserEventViewStatus } from '../enums';
|
|
3
3
|
import { UserDomainEvent } from '../user-domain-events';
|
|
4
4
|
export declare class UserEventView {
|
|
5
5
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-event-view.entity.d.ts","sourceRoot":"","sources":["../../../src/user-events/user-event-views/user-event-view.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user-event-view.entity.d.ts","sourceRoot":"","sources":["../../../src/user-events/user-event-views/user-event-view.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAYxF,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,qBAMa,aAAa;IAExB,EAAE,EAAE,MAAM,CAAC;IAOX,MAAM,EAAE,MAAM,CAAC;IAOf,iBAAiB,EAAE,MAAM,CAAC;IAG1B,OAAO,EAAE,MAAM,CAAC;IAGhB,WAAW,EAAE,oBAAoB,CAAC;IAQlC,MAAM,EAAE,mBAAmB,CAAC;IAG5B,QAAQ,EAAE,MAAM,CAAC;IAIjB,SAAS,EAAE,MAAM,CAAC;IAGlB,aAAa,EAAE,IAAI,GAAG,IAAI,CAAC;IAG3B,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAGvB,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;IAGrB,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IAGzB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAIhB,IAAI,EAAE,IAAI,CAAC;IAIX,eAAe,EAAE,eAAe,CAAC;CAClC"}
|
|
@@ -8,6 +8,7 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
8
8
|
if (kind && result) __defProp(target, key, result);
|
|
9
9
|
return result;
|
|
10
10
|
};
|
|
11
|
+
import { UserEventDisplayType, UserEventViewStatus } from "@natrave/user-domain-events";
|
|
11
12
|
import {
|
|
12
13
|
Column,
|
|
13
14
|
CreateDateColumn,
|
|
@@ -19,7 +20,6 @@ import {
|
|
|
19
20
|
UpdateDateColumn
|
|
20
21
|
} from "typeorm";
|
|
21
22
|
import { User } from "../../app-auth/index.js";
|
|
22
|
-
import { UserEventDisplayType, UserEventViewStatus } from "../enums/index.js";
|
|
23
23
|
import { UserDomainEvent } from "../user-domain-events/index.js";
|
|
24
24
|
let UserEventView = class {
|
|
25
25
|
};
|
|
@@ -27,10 +27,18 @@ __decorateClass([
|
|
|
27
27
|
PrimaryGeneratedColumn({ type: "bigint" })
|
|
28
28
|
], UserEventView.prototype, "id", 2);
|
|
29
29
|
__decorateClass([
|
|
30
|
-
Column({
|
|
30
|
+
Column({
|
|
31
|
+
name: "user_id",
|
|
32
|
+
type: "uuid",
|
|
33
|
+
comment: "Identificador do usu\xE1rio associado a visualiza\xE7\xE3o."
|
|
34
|
+
})
|
|
31
35
|
], UserEventView.prototype, "userId", 2);
|
|
32
36
|
__decorateClass([
|
|
33
|
-
Column({
|
|
37
|
+
Column({
|
|
38
|
+
name: "user_domain_event_id",
|
|
39
|
+
type: "bigint",
|
|
40
|
+
comment: "Identificador do evento associado \xE0 visualiza\xE7\xE3o."
|
|
41
|
+
})
|
|
34
42
|
], UserEventView.prototype, "userDomainEventId", 2);
|
|
35
43
|
__decorateClass([
|
|
36
44
|
Column({ name: "view_key", type: "varchar", length: 100 })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@natrave/shared-entities",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.84",
|
|
4
4
|
"description": "Entidades compartilhadass da NaTrave",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -25,30 +25,31 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"private": false,
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@changesets/cli": "^2.29.
|
|
29
|
-
"@eslint/js": "^9.
|
|
30
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
31
|
-
"@typescript-eslint/parser": "^8.
|
|
32
|
-
"esbuild": "^0.
|
|
33
|
-
"eslint": "^9.
|
|
28
|
+
"@changesets/cli": "^2.29.8",
|
|
29
|
+
"@eslint/js": "^9.39.2",
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "^8.51.0",
|
|
31
|
+
"@typescript-eslint/parser": "^8.51.0",
|
|
32
|
+
"esbuild": "^0.27.2",
|
|
33
|
+
"eslint": "^9.39.2",
|
|
34
34
|
"eslint-config-prettier": "^10.1.8",
|
|
35
35
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
36
36
|
"eslint-plugin-import": "^2.32.0",
|
|
37
|
-
"eslint-plugin-prettier": "^5.5.
|
|
38
|
-
"eslint-plugin-unused-imports": "^4.
|
|
39
|
-
"glob": "^
|
|
37
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
38
|
+
"eslint-plugin-unused-imports": "^4.3.0",
|
|
39
|
+
"glob": "^13.0.0",
|
|
40
40
|
"husky": "^9.1.7",
|
|
41
|
-
"lint-staged": "^16.
|
|
42
|
-
"prettier": "^3.
|
|
41
|
+
"lint-staged": "^16.2.7",
|
|
42
|
+
"prettier": "^3.7.4",
|
|
43
43
|
"ts-node": "^10.9.2"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@natrave/auth-service-types": "^1.1.63",
|
|
47
47
|
"@natrave/facility-service-types": "^0.0.9",
|
|
48
|
-
"@natrave/notification-service-types": "^1.1.
|
|
49
|
-
"@natrave/tournaments-service-types": "^1.
|
|
48
|
+
"@natrave/notification-service-types": "^1.1.73",
|
|
49
|
+
"@natrave/tournaments-service-types": "^1.4.4",
|
|
50
|
+
"@natrave/user-domain-events": "^0.1.2",
|
|
50
51
|
"reflect-metadata": "^0.2.2",
|
|
51
|
-
"typeorm": "^0.3.
|
|
52
|
+
"typeorm": "^0.3.28"
|
|
52
53
|
},
|
|
53
54
|
"scripts": {
|
|
54
55
|
"build:types": "tsc --emitDeclarationOnly",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"domain-entity-type.enum.d.ts","sourceRoot":"","sources":["../../../src/user-events/enums/domain-entity-type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IAC1B,UAAU,eAAe;CAC1B"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { UserDomainEventType } from './user-domain-event-type.enum';
|
|
2
|
-
export { DomainEntityType } from './domain-entity-type.enum';
|
|
3
|
-
export { UserEventDisplayType } from './user-event-display-type.enum';
|
|
4
|
-
export { UserEventViewStatus } from './user-event-view-status.enum';
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/user-events/enums/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { UserDomainEventType } from "./user-domain-event-type.enum.js";
|
|
2
|
-
import { DomainEntityType } from "./domain-entity-type.enum.js";
|
|
3
|
-
import { UserEventDisplayType } from "./user-event-display-type.enum.js";
|
|
4
|
-
import { UserEventViewStatus } from "./user-event-view-status.enum.js";
|
|
5
|
-
export {
|
|
6
|
-
DomainEntityType,
|
|
7
|
-
UserDomainEventType,
|
|
8
|
-
UserEventDisplayType,
|
|
9
|
-
UserEventViewStatus
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-domain-event-type.enum.d.ts","sourceRoot":"","sources":["../../../src/user-events/enums/user-domain-event-type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB;IAC7B,2BAA2B,gCAAgC;CAC5D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-event-display-type.enum.d.ts","sourceRoot":"","sources":["../../../src/user-events/enums/user-event-display-type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,UAAU,eAAe;CAC1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-event-view-status.enum.d.ts","sourceRoot":"","sources":["../../../src/user-events/enums/user-event-view-status.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB;IAC7B,OAAO,YAAY;IACnB,KAAK,UAAU;CAChB"}
|