@the-inkwell/shared 0.1.104 → 0.1.106

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.
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // @generated
3
+ // This file is automatically generated by Kanel. Do not modify manually.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // @generated
3
+ // This file is automatically generated by Kanel. Do not modify manually.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-inkwell/shared",
3
- "version": "0.1.104",
3
+ "version": "0.1.106",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin & Saimon Alam)",
@@ -0,0 +1,9 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ /** Represents the enum public.Industries */
5
+ type Industries =
6
+ | 'ACCOUNTING'
7
+ | 'TECHNOLOGY';
8
+
9
+ export default Industries;
@@ -6,6 +6,7 @@ import type { default as PersonCareerLevels } from './PersonCareerLevels';
6
6
  import type { default as PersonDegrees } from './PersonDegrees';
7
7
  import type { default as PersonGenders } from './PersonGenders';
8
8
  import type { ClientsId } from './Clients';
9
+ import type { default as Industries } from './Industries';
9
10
 
10
11
  /** Identifier type for public.persons */
11
12
  export type PersonsId = string;
@@ -99,6 +100,8 @@ export default interface Persons {
99
100
  createdAt: Date;
100
101
 
101
102
  updatedAt: Date;
103
+
104
+ industries: Industries[] | null;
102
105
  }
103
106
 
104
107
  /** Represents the initializer for the table public.persons */
@@ -199,6 +202,8 @@ export interface PersonsInitializer {
199
202
 
200
203
  /** Default value: CURRENT_TIMESTAMP */
201
204
  updatedAt?: Date;
205
+
206
+ industries?: Industries[] | null;
202
207
  }
203
208
 
204
209
  /** Represents the mutator for the table public.persons */
@@ -290,4 +295,6 @@ export interface PersonsMutator {
290
295
  createdAt?: Date;
291
296
 
292
297
  updatedAt?: Date;
298
+
299
+ industries?: Industries[] | null;
293
300
  }
@@ -3,6 +3,7 @@
3
3
 
4
4
  import type { default as PositionStatuses } from './PositionStatuses';
5
5
  import type { ClientsId } from './Clients';
6
+ import type { default as Industries } from './Industries';
6
7
 
7
8
  /** Identifier type for public.positions */
8
9
  export type PositionsId = string;
@@ -26,6 +27,14 @@ export default interface Positions {
26
27
  updatedAt: Date;
27
28
 
28
29
  deletedAt: Date | null;
30
+
31
+ startedAt: Date | null;
32
+
33
+ endedAt: Date | null;
34
+
35
+ description: string | null;
36
+
37
+ industries: Industries[] | null;
29
38
  }
30
39
 
31
40
  /** Represents the initializer for the table public.positions */
@@ -53,6 +62,14 @@ export interface PositionsInitializer {
53
62
  updatedAt?: Date;
54
63
 
55
64
  deletedAt?: Date | null;
65
+
66
+ startedAt?: Date | null;
67
+
68
+ endedAt?: Date | null;
69
+
70
+ description?: string | null;
71
+
72
+ industries?: Industries[] | null;
56
73
  }
57
74
 
58
75
  /** Represents the mutator for the table public.positions */
@@ -74,4 +91,12 @@ export interface PositionsMutator {
74
91
  updatedAt?: Date;
75
92
 
76
93
  deletedAt?: Date | null;
94
+
95
+ startedAt?: Date | null;
96
+
97
+ endedAt?: Date | null;
98
+
99
+ description?: string | null;
100
+
101
+ industries?: Industries[] | null;
77
102
  }
@@ -0,0 +1,33 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ import type { PositionsId } from './Positions';
5
+ import type { TagsId } from './Tags';
6
+
7
+ /** Represents the table public.positions_to_tags */
8
+ export default interface PositionsToTags {
9
+ positionId: PositionsId;
10
+
11
+ tagId: TagsId;
12
+
13
+ createdAt: Date;
14
+ }
15
+
16
+ /** Represents the initializer for the table public.positions_to_tags */
17
+ export interface PositionsToTagsInitializer {
18
+ positionId: PositionsId;
19
+
20
+ tagId: TagsId;
21
+
22
+ /** Default value: CURRENT_TIMESTAMP */
23
+ createdAt?: Date;
24
+ }
25
+
26
+ /** Represents the mutator for the table public.positions_to_tags */
27
+ export interface PositionsToTagsMutator {
28
+ positionId?: PositionsId;
29
+
30
+ tagId?: TagsId;
31
+
32
+ createdAt?: Date;
33
+ }