@natrave/shared-entities 1.11.0 → 1.13.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.
|
@@ -13,13 +13,14 @@ export declare class Team {
|
|
|
13
13
|
id: number;
|
|
14
14
|
name: string;
|
|
15
15
|
abbreviation: string;
|
|
16
|
-
city: string;
|
|
17
|
-
state: BrazilianState;
|
|
16
|
+
city: string | null;
|
|
17
|
+
state: BrazilianState | null;
|
|
18
18
|
neighborhood?: string;
|
|
19
19
|
instagramAccount?: string;
|
|
20
20
|
teamLogoUrl?: string;
|
|
21
21
|
gender: TournamentGender | null;
|
|
22
22
|
phone: string | null;
|
|
23
|
+
claimedAt: Date | null;
|
|
23
24
|
deletedAt: Date | null;
|
|
24
25
|
createdAt: Date;
|
|
25
26
|
updatedAt: Date;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team.entity.d.ts","sourceRoot":"","sources":["../../../src/teams/teams/team.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAYtE,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+EAA+E,CAAC;AACvH,OAAO,EAAE,6BAA6B,EAAE,MAAM,2FAA2F,CAAC;AAC1I,OAAO,EAAE,4BAA4B,EAAE,MAAM,2FAA2F,CAAC;AACzI,OAAO,EAAE,cAAc,EAAE,MAAM,2DAA2D,CAAC;AAC3F,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,qBAMa,IAAI;IAEf,EA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AAE,IAAI,GAAG,IAAI,CAAQ;IAG9B,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAGhB,eAAe,EAAE,cAAc,EAAE,CAAC;IAGlC,iBAAiB,EAAE,UAAU,EAAE,CAAC;IAGhC,WAAW,EAAE,cAAc,EAAE,CAAC;IAG9B,cAAc,EAAE,YAAY,EAAE,CAAC;IAG/B,YAAY,EAAE,eAAe,EAAE,CAAC;IAGhC,yBAAyB,EAAE,4BAA4B,EAAE,CAAC;IAG1D,QAAQ,EAAE,UAAU,EAAE,CAAC;IAGvB,8BAA8B,EAAE,6BAA6B,EAAE,CAAC;IAGhE,YAAY,EAAE,sBAAsB,EAAE,CAAC;CACxC"}
|
|
@@ -44,10 +44,10 @@ __decorateClass([
|
|
|
44
44
|
Column({ type: "varchar", length: 3, comment: "Sigla (n\xE3o-\xFAnica)." })
|
|
45
45
|
], Team.prototype, "abbreviation", 2);
|
|
46
46
|
__decorateClass([
|
|
47
|
-
Column({ type: "varchar", length: 100 })
|
|
47
|
+
Column({ type: "varchar", length: 100, nullable: true })
|
|
48
48
|
], Team.prototype, "city", 2);
|
|
49
49
|
__decorateClass([
|
|
50
|
-
Column({ type: "enum", enum: BrazilianState })
|
|
50
|
+
Column({ type: "enum", enum: BrazilianState, nullable: true })
|
|
51
51
|
], Team.prototype, "state", 2);
|
|
52
52
|
__decorateClass([
|
|
53
53
|
Column({ type: "varchar", length: 100, nullable: true })
|
|
@@ -74,6 +74,14 @@ __decorateClass([
|
|
|
74
74
|
nullable: true
|
|
75
75
|
})
|
|
76
76
|
], Team.prototype, "phone", 2);
|
|
77
|
+
__decorateClass([
|
|
78
|
+
Column({
|
|
79
|
+
name: "claimed_at",
|
|
80
|
+
type: "timestamptz",
|
|
81
|
+
nullable: true,
|
|
82
|
+
comment: "Data em que o representante assumiu o time via c\xF3digo de acesso. NULL = time ainda n\xE3o assumido."
|
|
83
|
+
})
|
|
84
|
+
], Team.prototype, "claimedAt", 2);
|
|
77
85
|
__decorateClass([
|
|
78
86
|
DeleteDateColumn({
|
|
79
87
|
name: "deleted_at",
|