@natrave/shared-entities 1.2.28 → 1.2.30
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/central-auth/index.d.ts +3 -0
- package/dist/central-auth/index.d.ts.map +1 -0
- package/dist/central-auth/index.js +2 -0
- package/dist/central-auth/organization-users/index.d.ts +2 -0
- package/dist/central-auth/organization-users/index.d.ts.map +1 -0
- package/dist/central-auth/organization-users/index.js +4 -0
- package/dist/central-auth/organization-users/organization-user.entity.d.ts +17 -0
- package/dist/central-auth/organization-users/organization-user.entity.d.ts.map +1 -0
- package/dist/central-auth/organization-users/organization-user.entity.js +111 -0
- package/dist/central-auth/organizations/index.d.ts +2 -0
- package/dist/central-auth/organizations/index.d.ts.map +1 -0
- package/dist/central-auth/organizations/index.js +4 -0
- package/dist/central-auth/organizations/organization.entity.d.ts +16 -0
- package/dist/central-auth/organizations/organization.entity.d.ts.map +1 -0
- package/dist/central-auth/organizations/organization.entity.js +92 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/tournaments/tournaments/tournament.entity.d.ts +1 -1
- package/dist/tournaments/tournaments/tournament.entity.d.ts.map +1 -1
- package/dist/tournaments/tournaments/tournament.entity.js +1 -1
- package/package.json +4 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/central-auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAEhC,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/central-auth/organization-users/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IOrganizationUser, OrganizationUserStatus } from '@natrave/auth-service-types';
|
|
2
|
+
import { Organization } from '../organizations';
|
|
3
|
+
export declare class OrganizationUser implements IOrganizationUser {
|
|
4
|
+
id: number;
|
|
5
|
+
organizationId: number;
|
|
6
|
+
firstName: string;
|
|
7
|
+
lastName: string;
|
|
8
|
+
document: string | null;
|
|
9
|
+
email: string;
|
|
10
|
+
phone: string;
|
|
11
|
+
status: OrganizationUserStatus;
|
|
12
|
+
externalId: string;
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
updatedAt: Date;
|
|
15
|
+
organization: Organization;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=organization-user.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization-user.entity.d.ts","sourceRoot":"","sources":["../../../src/central-auth/organization-users/organization-user.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAWxF,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAOhD,qBACa,gBAAiB,YAAW,iBAAiB;IAExD,EAAE,EAAE,MAAM,CAAC;IAOX,cAAc,EAAE,MAAM,CAAC;IAQvB,SAAS,EAAE,MAAM,CAAC;IAQlB,QAAQ,EAAE,MAAM,CAAC;IAQjB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAOxB,KAAK,EAAE,MAAM,CAAC;IAOd,KAAK,EAAE,MAAM,CAAC;IAQd,MAAM,EAAE,sBAAsB,CAAC;IAU/B,UAAU,EAAE,MAAM,CAAC;IAOnB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAShB,YAAY,EAAE,YAAY,CAAC;CAC5B"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
4
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
5
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
6
|
+
if (decorator = decorators[i])
|
|
7
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8
|
+
if (kind && result) __defProp(target, key, result);
|
|
9
|
+
return result;
|
|
10
|
+
};
|
|
11
|
+
import { OrganizationUserStatus } from "@natrave/auth-service-types";
|
|
12
|
+
import {
|
|
13
|
+
Column,
|
|
14
|
+
CreateDateColumn,
|
|
15
|
+
Entity,
|
|
16
|
+
JoinColumn,
|
|
17
|
+
ManyToOne,
|
|
18
|
+
PrimaryGeneratedColumn,
|
|
19
|
+
UpdateDateColumn
|
|
20
|
+
} from "typeorm";
|
|
21
|
+
import { Organization } from "../organizations/index.js";
|
|
22
|
+
let OrganizationUser = class {
|
|
23
|
+
};
|
|
24
|
+
__decorateClass([
|
|
25
|
+
PrimaryGeneratedColumn({ comment: "Identificador \xFAnico do usu\xE1rio da organiza\xE7\xE3o." })
|
|
26
|
+
], OrganizationUser.prototype, "id", 2);
|
|
27
|
+
__decorateClass([
|
|
28
|
+
Column({
|
|
29
|
+
name: "organization_id",
|
|
30
|
+
type: "int",
|
|
31
|
+
comment: "Identificador \xFAnico da Organiza\xE7\xE3o \xE0 qual o usu\xE1rio pertence."
|
|
32
|
+
})
|
|
33
|
+
], OrganizationUser.prototype, "organizationId", 2);
|
|
34
|
+
__decorateClass([
|
|
35
|
+
Column({
|
|
36
|
+
name: "first_name",
|
|
37
|
+
type: "varchar",
|
|
38
|
+
length: 100,
|
|
39
|
+
comment: "Primeiro nome do usu\xE1rio."
|
|
40
|
+
})
|
|
41
|
+
], OrganizationUser.prototype, "firstName", 2);
|
|
42
|
+
__decorateClass([
|
|
43
|
+
Column({
|
|
44
|
+
name: "last_name",
|
|
45
|
+
type: "varchar",
|
|
46
|
+
length: 100,
|
|
47
|
+
comment: "Sobrenome do usu\xE1rio."
|
|
48
|
+
})
|
|
49
|
+
], OrganizationUser.prototype, "lastName", 2);
|
|
50
|
+
__decorateClass([
|
|
51
|
+
Column({
|
|
52
|
+
type: "varchar",
|
|
53
|
+
length: 20,
|
|
54
|
+
nullable: true,
|
|
55
|
+
comment: "Documento fiscal (CPF ou CNPJ)."
|
|
56
|
+
})
|
|
57
|
+
], OrganizationUser.prototype, "document", 2);
|
|
58
|
+
__decorateClass([
|
|
59
|
+
Column({
|
|
60
|
+
type: "varchar",
|
|
61
|
+
length: 255,
|
|
62
|
+
comment: "E-mail \xFAnico usado para login."
|
|
63
|
+
})
|
|
64
|
+
], OrganizationUser.prototype, "email", 2);
|
|
65
|
+
__decorateClass([
|
|
66
|
+
Column({
|
|
67
|
+
type: "varchar",
|
|
68
|
+
length: 20,
|
|
69
|
+
comment: "Telefone do usu\xE1rio no formato +55XXXXXXXXXXX."
|
|
70
|
+
})
|
|
71
|
+
], OrganizationUser.prototype, "phone", 2);
|
|
72
|
+
__decorateClass([
|
|
73
|
+
Column({
|
|
74
|
+
type: "enum",
|
|
75
|
+
enum: OrganizationUserStatus,
|
|
76
|
+
comment: "Status do usu\xE1rio na plataforma, definindo seu n\xEDvel de acesso aos servi\xE7os dispon\xEDveis."
|
|
77
|
+
})
|
|
78
|
+
], OrganizationUser.prototype, "status", 2);
|
|
79
|
+
__decorateClass([
|
|
80
|
+
Column({
|
|
81
|
+
name: "external_id",
|
|
82
|
+
type: "varchar",
|
|
83
|
+
length: 255,
|
|
84
|
+
unique: true,
|
|
85
|
+
comment: "Identificador externo do usu\xE1rio, usado para integra\xE7\xE3o com provedores de autentica\xE7\xE3o como Clerk."
|
|
86
|
+
})
|
|
87
|
+
], OrganizationUser.prototype, "externalId", 2);
|
|
88
|
+
__decorateClass([
|
|
89
|
+
CreateDateColumn({
|
|
90
|
+
name: "created_at",
|
|
91
|
+
type: "timestamptz",
|
|
92
|
+
comment: "Data de cria\xE7\xE3o do registro."
|
|
93
|
+
})
|
|
94
|
+
], OrganizationUser.prototype, "createdAt", 2);
|
|
95
|
+
__decorateClass([
|
|
96
|
+
UpdateDateColumn({
|
|
97
|
+
name: "updated_at",
|
|
98
|
+
type: "timestamptz",
|
|
99
|
+
comment: "Data da \xFAltima atualiza\xE7\xE3o do registro."
|
|
100
|
+
})
|
|
101
|
+
], OrganizationUser.prototype, "updatedAt", 2);
|
|
102
|
+
__decorateClass([
|
|
103
|
+
ManyToOne(() => Organization, (organization) => organization.users, { onDelete: "CASCADE" }),
|
|
104
|
+
JoinColumn({ name: "organization_id" })
|
|
105
|
+
], OrganizationUser.prototype, "organization", 2);
|
|
106
|
+
OrganizationUser = __decorateClass([
|
|
107
|
+
Entity("organization_users")
|
|
108
|
+
], OrganizationUser);
|
|
109
|
+
export {
|
|
110
|
+
OrganizationUser
|
|
111
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/central-auth/organizations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IOrganization, OrganizationStatus, OrganizationType } from '@natrave/auth-service-types';
|
|
2
|
+
import { OrganizationUser } from '../organization-users/organization-user.entity';
|
|
3
|
+
export declare class Organization implements IOrganization {
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
document: string | null;
|
|
7
|
+
email: string;
|
|
8
|
+
phone: string;
|
|
9
|
+
type: OrganizationType;
|
|
10
|
+
status: OrganizationStatus;
|
|
11
|
+
externalId: string;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
updatedAt: Date;
|
|
14
|
+
users: OrganizationUser[];
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=organization.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization.entity.d.ts","sourceRoot":"","sources":["../../../src/central-auth/organizations/organization.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAUlG,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AASlF,qBACa,YAAa,YAAW,aAAa;IAEhD,EAAE,EAAE,MAAM,CAAC;IAOX,IAAI,EAAE,MAAM,CAAC;IAQb,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxB,KAAK,EAAE,MAAM,CAAC;IAGd,KAAK,EAAE,MAAM,CAAC;IAOd,IAAI,EAAE,gBAAgB,CAAC;IAOvB,MAAM,EAAE,kBAAkB,CAAC;IAU3B,UAAU,EAAE,MAAM,CAAC;IAOnB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAQhB,KAAK,EAAE,gBAAgB,EAAE,CAAC;CAC3B"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
4
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
5
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
6
|
+
if (decorator = decorators[i])
|
|
7
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8
|
+
if (kind && result) __defProp(target, key, result);
|
|
9
|
+
return result;
|
|
10
|
+
};
|
|
11
|
+
import { OrganizationStatus, OrganizationType } from "@natrave/auth-service-types";
|
|
12
|
+
import {
|
|
13
|
+
Column,
|
|
14
|
+
CreateDateColumn,
|
|
15
|
+
Entity,
|
|
16
|
+
OneToMany,
|
|
17
|
+
PrimaryGeneratedColumn,
|
|
18
|
+
UpdateDateColumn
|
|
19
|
+
} from "typeorm";
|
|
20
|
+
import { OrganizationUser } from "../organization-users/organization-user.entity.js";
|
|
21
|
+
let Organization = class {
|
|
22
|
+
};
|
|
23
|
+
__decorateClass([
|
|
24
|
+
PrimaryGeneratedColumn({ comment: "Identificador \xFAnico da organiza\xE7\xE3o." })
|
|
25
|
+
], Organization.prototype, "id", 2);
|
|
26
|
+
__decorateClass([
|
|
27
|
+
Column({
|
|
28
|
+
type: "varchar",
|
|
29
|
+
length: 255,
|
|
30
|
+
comment: "Nome da organiza\xE7\xE3o (empresa, pessoa ou grupo)."
|
|
31
|
+
})
|
|
32
|
+
], Organization.prototype, "name", 2);
|
|
33
|
+
__decorateClass([
|
|
34
|
+
Column({
|
|
35
|
+
type: "varchar",
|
|
36
|
+
length: 20,
|
|
37
|
+
nullable: true,
|
|
38
|
+
comment: "Documento fiscal (CPF ou CNPJ)."
|
|
39
|
+
})
|
|
40
|
+
], Organization.prototype, "document", 2);
|
|
41
|
+
__decorateClass([
|
|
42
|
+
Column({ type: "varchar", length: 255, comment: "E-mail principal para contato." })
|
|
43
|
+
], Organization.prototype, "email", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
Column({ type: "varchar", length: 20, comment: "Telefone principal para contato." })
|
|
46
|
+
], Organization.prototype, "phone", 2);
|
|
47
|
+
__decorateClass([
|
|
48
|
+
Column({
|
|
49
|
+
type: "enum",
|
|
50
|
+
enum: OrganizationType,
|
|
51
|
+
comment: "Tipo da organiza\xE7\xE3o, como escola de futebol, quadra, federa\xE7\xE3o, etc."
|
|
52
|
+
})
|
|
53
|
+
], Organization.prototype, "type", 2);
|
|
54
|
+
__decorateClass([
|
|
55
|
+
Column({
|
|
56
|
+
type: "enum",
|
|
57
|
+
enum: OrganizationStatus,
|
|
58
|
+
comment: "Status da organiza\xE7\xE3o na plataforma."
|
|
59
|
+
})
|
|
60
|
+
], Organization.prototype, "status", 2);
|
|
61
|
+
__decorateClass([
|
|
62
|
+
Column({
|
|
63
|
+
name: "external_id",
|
|
64
|
+
type: "varchar",
|
|
65
|
+
length: 255,
|
|
66
|
+
unique: true,
|
|
67
|
+
comment: "Identificador externo da organiza\xE7\xE3o, usado para integra\xE7\xE3o com provedores como Clerk."
|
|
68
|
+
})
|
|
69
|
+
], Organization.prototype, "externalId", 2);
|
|
70
|
+
__decorateClass([
|
|
71
|
+
CreateDateColumn({
|
|
72
|
+
name: "created_at",
|
|
73
|
+
type: "timestamptz",
|
|
74
|
+
comment: "Data de cria\xE7\xE3o do registro."
|
|
75
|
+
})
|
|
76
|
+
], Organization.prototype, "createdAt", 2);
|
|
77
|
+
__decorateClass([
|
|
78
|
+
UpdateDateColumn({
|
|
79
|
+
name: "updated_at",
|
|
80
|
+
type: "timestamptz",
|
|
81
|
+
comment: "Data da \xFAltima atualiza\xE7\xE3o do registro."
|
|
82
|
+
})
|
|
83
|
+
], Organization.prototype, "updatedAt", 2);
|
|
84
|
+
__decorateClass([
|
|
85
|
+
OneToMany(() => OrganizationUser, (user) => user.organization)
|
|
86
|
+
], Organization.prototype, "users", 2);
|
|
87
|
+
Organization = __decorateClass([
|
|
88
|
+
Entity("organizations")
|
|
89
|
+
], Organization);
|
|
90
|
+
export {
|
|
91
|
+
Organization
|
|
92
|
+
};
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAE9B,cAAc,YAAY,CAAC;AAE3B,cAAc,YAAY,CAAC;AAE3B,cAAc,cAAc,CAAC;AAE7B,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAE9B,cAAc,YAAY,CAAC;AAE3B,cAAc,YAAY,CAAC;AAE3B,cAAc,cAAc,CAAC;AAE7B,cAAc,WAAW,CAAC;AAE1B,cAAc,gBAAgB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BrazilianState, ITournament, TournamentGender, TournamentModality, TournamentStatus } from '@natrave/tournaments-service-types';
|
|
2
|
-
import { TournamentBracket } from '
|
|
2
|
+
import { TournamentBracket } from '../tournament-brackets/tournament-bracket.entity';
|
|
3
3
|
import { TournamentCoupon } from '../tournament-coupons';
|
|
4
4
|
import { TournamentFacility } from '../tournament-facilities';
|
|
5
5
|
import { TournamentFormatConfig } from '../tournament-format-configs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tournament.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournaments/tournament.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,oCAAoC,CAAC;AAa5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"tournament.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournaments/tournament.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,oCAAoC,CAAC;AAa5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAWrD,qBACa,UAAW,YAAW,WAAW;IAE5C,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAQb,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAQ1B,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGtB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAQ5B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAQhC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAQ9B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAQrB,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IAO9B,MAAM,EAAE,gBAAgB,CAAC;IASzB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAShC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAS3B,MAAM,EAAE,gBAAgB,CAAC;IAQzB,QAAQ,EAAE,kBAAkB,CAAC;IAQ7B,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAOvB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAQhB,WAAW,EAAE,qBAAqB,CAAC;IAGnC,KAAK,EAAE,cAAc,EAAE,CAAC;IAGxB,MAAM,EAAE,eAAe,EAAE,CAAC;IAG1B,IAAI,EAAE,cAAc,CAAC;IAGrB,UAAU,EAAE,oBAAoB,CAAC;IAGjC,MAAM,EAAE,sBAAsB,CAAC;IAG/B,UAAU,EAAE,mBAAmB,EAAE,CAAC;IAGlC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAG9B,OAAO,EAAE,eAAe,EAAE,CAAC;IAG3B,oBAAoB,EAAE,kBAAkB,EAAE,CAAC;IAG3C,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAG5B,mBAAmB,EAAE,2BAA2B,EAAE,CAAC;IAGnD,QAAQ,EAAE,iBAAiB,EAAE,CAAC;CAC/B"}
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
PrimaryGeneratedColumn,
|
|
26
26
|
UpdateDateColumn
|
|
27
27
|
} from "typeorm";
|
|
28
|
-
import { TournamentBracket } from "
|
|
28
|
+
import { TournamentBracket } from "../tournament-brackets/tournament-bracket.entity.js";
|
|
29
29
|
import { TournamentCoupon } from "../tournament-coupons/index.js";
|
|
30
30
|
import { TournamentFacility } from "../tournament-facilities/index.js";
|
|
31
31
|
import { TournamentFormatConfig } from "../tournament-format-configs/index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@natrave/shared-entities",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.30",
|
|
4
4
|
"description": "Entidades compartilhadass da NaTrave",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@typescript-eslint/parser": "^8.29.1",
|
|
32
32
|
"esbuild": "^0.25.2",
|
|
33
33
|
"eslint": "^9.24.0",
|
|
34
|
-
"eslint-config-prettier": "^10.1.
|
|
34
|
+
"eslint-config-prettier": "^10.1.2",
|
|
35
35
|
"eslint-import-resolver-typescript": "^4.3.2",
|
|
36
36
|
"eslint-plugin-import": "^2.31.0",
|
|
37
37
|
"eslint-plugin-prettier": "^5.2.6",
|
|
@@ -43,7 +43,8 @@
|
|
|
43
43
|
"ts-node": "^10.9.2"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@natrave/
|
|
46
|
+
"@natrave/auth-service-types": "^1.1.50",
|
|
47
|
+
"@natrave/tournaments-service-types": "^1.1.47",
|
|
47
48
|
"reflect-metadata": "^0.2.2",
|
|
48
49
|
"typeorm": "^0.3.22"
|
|
49
50
|
},
|