@natrave/shared-entities 8.40.0 → 8.41.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.
@@ -1 +1 @@
1
- {"version":3,"file":"feed-outbox.entity.d.ts","sourceRoot":"","sources":["../../../src/feed/feed-outbox/feed-outbox.entity.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAe5C,qBAIa,UAAU;IAKrB,EAAE,EAAE,MAAM,CAAC;IAQX,SAAS,EAAE,MAAM,CAAC;IAQlB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IASpC,MAAM,EAAE,gBAAgB,CAAC;IAOzB,QAAQ,EAAE,MAAM,CAAC;IAQjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAQzB,WAAW,EAAE,IAAI,CAAC;IAQlB,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IAQzB,SAAS,EAAE,IAAI,CAAC;CACjB"}
1
+ {"version":3,"file":"feed-outbox.entity.d.ts","sourceRoot":"","sources":["../../../src/feed/feed-outbox/feed-outbox.entity.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAe5C,qBAOa,UAAU;IAKrB,EAAE,EAAE,MAAM,CAAC;IAQX,SAAS,EAAE,MAAM,CAAC;IAQlB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IASpC,MAAM,EAAE,gBAAgB,CAAC;IAOzB,QAAQ,EAAE,MAAM,CAAC;IAQjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAQzB,WAAW,EAAE,IAAI,CAAC;IAQlB,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IAQzB,SAAS,EAAE,IAAI,CAAC;CACjB"}
@@ -86,6 +86,9 @@ FeedOutbox = __decorateClass([
86
86
  Entity("feed_outbox"),
87
87
  Index("IDX_feed_outbox_pending", ["status", "availableAt"], {
88
88
  where: `"status" = 'PENDING'`
89
+ }),
90
+ Index("IDX_feed_outbox_failed", ["id"], {
91
+ where: `"status" = 'FAILED'`
89
92
  })
90
93
  ], FeedOutbox);
91
94
  export {
@@ -5,6 +5,8 @@ export declare class TeamSponsor {
5
5
  teamId: number;
6
6
  name: string;
7
7
  instagramAccount: string | null;
8
+ description: string | null;
9
+ website: string | null;
8
10
  logoUrl: string;
9
11
  tier: TeamSponsorTier;
10
12
  position: number;
@@ -1 +1 @@
1
- {"version":3,"file":"team-sponsor.entity.d.ts","sourceRoot":"","sources":["../../../src/teams/team-sponsor/team-sponsor.entity.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAWjE,qBAGa,WAAW;IAEtB,EAAE,EAAE,MAAM,CAAC;IAIX,MAAM,EAAE,MAAM,CAAC;IAIf,IAAI,EAAE,MAAM,CAAC;IAIb,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAIhC,OAAO,EAAE,MAAM,CAAC;IAGhB,IAAI,EAAE,eAAe,CAAC;IAItB,QAAQ,EAAE,MAAM,CAAC;IASjB,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IAIvC,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAKvB,IAAI,EAAE,IAAI,CAAC;CACZ"}
1
+ {"version":3,"file":"team-sponsor.entity.d.ts","sourceRoot":"","sources":["../../../src/teams/team-sponsor/team-sponsor.entity.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAWjE,qBAGa,WAAW;IAEtB,EAAE,EAAE,MAAM,CAAC;IAIX,MAAM,EAAE,MAAM,CAAC;IAIf,IAAI,EAAE,MAAM,CAAC;IAIb,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAIhC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAI3B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAIvB,OAAO,EAAE,MAAM,CAAC;IAGhB,IAAI,EAAE,eAAe,CAAC;IAItB,QAAQ,EAAE,MAAM,CAAC;IASjB,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IAIvC,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAKvB,IAAI,EAAE,IAAI,CAAC;CACZ"}
@@ -35,6 +35,12 @@ __decorateClass([
35
35
  __decorateClass([
36
36
  Column({ name: "instagram_account", type: "varchar", length: 100, nullable: true })
37
37
  ], TeamSponsor.prototype, "instagramAccount", 2);
38
+ __decorateClass([
39
+ Column({ type: "varchar", length: 200, nullable: true })
40
+ ], TeamSponsor.prototype, "description", 2);
41
+ __decorateClass([
42
+ Column({ type: "varchar", length: 255, nullable: true })
43
+ ], TeamSponsor.prototype, "website", 2);
38
44
  __decorateClass([
39
45
  Column({ name: "logo_url", type: "text" })
40
46
  ], TeamSponsor.prototype, "logoUrl", 2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natrave/shared-entities",
3
- "version": "8.40.0",
3
+ "version": "8.41.0",
4
4
  "description": "Entidades compartilhadass da NaTrave",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.js",