b2m-utils 0.0.211 → 0.0.212

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.
@@ -4,6 +4,7 @@ import CteAuditValue from "../CteAuditedValue";
4
4
  import CteChat from "../CteChat";
5
5
  import CteCost from "../CteCost";
6
6
  import CteStatus from "../CteStatus";
7
+ import CteTagRelation from "../CteTagRelation";
7
8
  import CteType from "../CteType";
8
9
  import CteVehicleType from "../CteVehicleType";
9
10
  import Dates from "../Dates";
@@ -117,5 +118,6 @@ export type Cte = {
117
118
  users?: User;
118
119
  cte_chats?: CteChat[];
119
120
  invoice_ctes?: InvoiceCte[];
121
+ cte_tag_relations?: CteTagRelation[];
120
122
  } & Dates;
121
123
  export default Cte;
@@ -0,0 +1,14 @@
1
+ import CteTagRelation from "../CteTagRelation";
2
+ import Dates from "../Dates";
3
+ import Domain from "../Domain";
4
+ export type CteTag = {
5
+ id: number;
6
+ domainId: number;
7
+ name: string;
8
+ color?: string;
9
+ description?: string;
10
+ deletedAt?: string;
11
+ cte_tag_relations?: CteTagRelation[];
12
+ domain?: Domain;
13
+ } & Dates;
14
+ export default CteTag;
@@ -0,0 +1,14 @@
1
+ import Cte from "../Cte";
2
+ import CteTag from "../CteTag";
3
+ import User from "../User";
4
+ export type CteTagRelation = {
5
+ id: number;
6
+ cteId: number;
7
+ tagId: number;
8
+ createdByUserId?: number;
9
+ createdAt: string;
10
+ cte?: Cte;
11
+ cte_tag?: CteTag;
12
+ user?: User;
13
+ };
14
+ export default CteTagRelation;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "b2m-utils",
3
- "version": "0.0.211",
3
+ "version": "0.0.212",
4
4
  "description": "B2M Utils",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.esm.js",