@the-inkwell/shared 0.1.69 → 0.1.70
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/package.json +1 -1
- package/src/types/_schema/Action.ts +61 -16
- package/src/types/_schema/Admin.ts +21 -8
- package/src/types/_schema/Campaign.ts +54 -14
- package/src/types/_schema/CampaignToPosition.ts +26 -9
- package/src/types/_schema/Candidacy.ts +59 -15
- package/src/types/_schema/CandidacyFeedback.ts +37 -11
- package/src/types/_schema/CandidacyRatingToTag.ts +26 -9
- package/src/types/_schema/Client.ts +38 -11
- package/src/types/_schema/Contract.ts +42 -12
- package/src/types/_schema/Conversation.ts +43 -12
- package/src/types/_schema/Jwt.ts +37 -11
- package/src/types/_schema/ListView.ts +52 -14
- package/src/types/_schema/Message.ts +48 -13
- package/src/types/_schema/MessageTemplate.ts +37 -12
- package/src/types/_schema/Note.ts +52 -14
- package/src/types/_schema/Otp.ts +42 -12
- package/src/types/_schema/Person.ts +233 -49
- package/src/types/_schema/PersonClub.ts +37 -12
- package/src/types/_schema/PersonEnrichment.ts +42 -12
- package/src/types/_schema/PersonNetwork.ts +37 -12
- package/src/types/_schema/PersonSkill.ts +37 -12
- package/src/types/_schema/PersonToBestPerson.ts +20 -8
- package/src/types/_schema/PersonToPersonClub.ts +20 -8
- package/src/types/_schema/PersonToPersonNetwork.ts +20 -8
- package/src/types/_schema/PersonToPersonSkill.ts +20 -8
- package/src/types/_schema/PersonToTag.ts +20 -8
- package/src/types/_schema/Position.ts +55 -14
- package/src/types/_schema/Referral.ts +53 -14
- package/src/types/_schema/ReferralPayout.ts +15 -7
- package/src/types/_schema/ReferralToIntroMessage.ts +26 -9
- package/src/types/_schema/Sender.ts +42 -13
- package/src/types/_schema/Tag.ts +32 -11
- package/src/types/_schema/WebsiteBlock.ts +30 -11
- package/src/types/_schema/WebsiteLandingPage.ts +32 -11
- package/src/types/_schema/WebsiteStaticPage.ts +37 -12
- package/src/types/models/admin/persons/index.ts +5 -4
- package/src/types/models/admin/website/index.ts +15 -9
|
@@ -6,104 +6,288 @@ 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 { ClientId } from './Client';
|
|
9
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
10
9
|
|
|
11
10
|
/** Identifier type for public.Person */
|
|
12
11
|
export type PersonId = string & { __brand: 'PersonId' };
|
|
13
12
|
|
|
14
13
|
/** Represents the table public.Person */
|
|
15
|
-
export default interface
|
|
16
|
-
id:
|
|
14
|
+
export default interface Person {
|
|
15
|
+
id: PersonId;
|
|
17
16
|
|
|
18
|
-
email:
|
|
17
|
+
email: string;
|
|
19
18
|
|
|
20
|
-
emailVerified:
|
|
19
|
+
emailVerified: boolean;
|
|
21
20
|
|
|
22
|
-
firstName:
|
|
21
|
+
firstName: string | null;
|
|
23
22
|
|
|
24
|
-
lastName:
|
|
23
|
+
lastName: string | null;
|
|
25
24
|
|
|
26
|
-
linkedInUrl:
|
|
25
|
+
linkedInUrl: string | null;
|
|
27
26
|
|
|
28
|
-
phone:
|
|
27
|
+
phone: string | null;
|
|
29
28
|
|
|
30
|
-
phoneVerified:
|
|
29
|
+
phoneVerified: boolean;
|
|
31
30
|
|
|
32
|
-
emailOptOut:
|
|
31
|
+
emailOptOut: boolean;
|
|
33
32
|
|
|
34
|
-
smsOptOut:
|
|
33
|
+
smsOptOut: boolean;
|
|
35
34
|
|
|
36
|
-
resumeUrl:
|
|
35
|
+
resumeUrl: string | null;
|
|
37
36
|
|
|
38
|
-
photoUrl:
|
|
37
|
+
photoUrl: string | null;
|
|
39
38
|
|
|
40
|
-
lat:
|
|
39
|
+
lat: number | null;
|
|
41
40
|
|
|
42
|
-
lon:
|
|
41
|
+
lon: number | null;
|
|
43
42
|
|
|
44
|
-
city:
|
|
43
|
+
city: string | null;
|
|
45
44
|
|
|
46
|
-
state:
|
|
45
|
+
state: string | null;
|
|
47
46
|
|
|
48
|
-
postalCode:
|
|
47
|
+
postalCode: string | null;
|
|
49
48
|
|
|
50
|
-
country:
|
|
49
|
+
country: string | null;
|
|
51
50
|
|
|
52
|
-
additionalEmails:
|
|
51
|
+
additionalEmails: string[] | null;
|
|
53
52
|
|
|
54
|
-
additionalPhones:
|
|
53
|
+
additionalPhones: string[] | null;
|
|
55
54
|
|
|
56
|
-
source:
|
|
55
|
+
source: PersonSources | null;
|
|
57
56
|
|
|
58
|
-
website:
|
|
57
|
+
website: string | null;
|
|
59
58
|
|
|
60
|
-
currentSalary:
|
|
59
|
+
currentSalary: number | null;
|
|
61
60
|
|
|
62
|
-
expectedSalary:
|
|
61
|
+
expectedSalary: number | null;
|
|
63
62
|
|
|
64
|
-
currentEmployer:
|
|
63
|
+
currentEmployer: string | null;
|
|
65
64
|
|
|
66
|
-
currentTitle:
|
|
65
|
+
currentTitle: string | null;
|
|
67
66
|
|
|
68
|
-
careerLevel:
|
|
67
|
+
careerLevel: PersonCareerLevels | null;
|
|
69
68
|
|
|
70
|
-
certifications:
|
|
69
|
+
certifications: string[] | null;
|
|
71
70
|
|
|
72
|
-
openToRelocate:
|
|
71
|
+
openToRelocate: boolean | null;
|
|
73
72
|
|
|
74
|
-
highestDegreeObtained:
|
|
73
|
+
highestDegreeObtained: PersonDegrees | null;
|
|
75
74
|
|
|
76
|
-
undergraduateInstitution:
|
|
75
|
+
undergraduateInstitution: string | null;
|
|
77
76
|
|
|
78
|
-
typeOfUndergraduateDegree:
|
|
77
|
+
typeOfUndergraduateDegree: string | null;
|
|
79
78
|
|
|
80
|
-
graduateInstitution:
|
|
79
|
+
graduateInstitution: string | null;
|
|
81
80
|
|
|
82
|
-
typeOfGraduateDegree:
|
|
81
|
+
typeOfGraduateDegree: string | null;
|
|
83
82
|
|
|
84
|
-
gender:
|
|
83
|
+
gender: PersonGenders | null;
|
|
85
84
|
|
|
86
|
-
howDidYouHearAboutUs:
|
|
85
|
+
howDidYouHearAboutUs: string | null;
|
|
87
86
|
|
|
88
|
-
sourcePersonId:
|
|
87
|
+
sourcePersonId: PersonId | null;
|
|
89
88
|
|
|
90
|
-
deactivatedAt:
|
|
89
|
+
deactivatedAt: Date | null;
|
|
91
90
|
|
|
92
|
-
lastSignedInAt:
|
|
91
|
+
lastSignedInAt: Date | null;
|
|
93
92
|
|
|
94
|
-
signInCount:
|
|
93
|
+
signInCount: number;
|
|
95
94
|
|
|
96
|
-
clientId:
|
|
95
|
+
clientId: ClientId | null;
|
|
97
96
|
|
|
98
|
-
deletedAt:
|
|
97
|
+
deletedAt: Date | null;
|
|
99
98
|
|
|
100
|
-
createdAt:
|
|
99
|
+
createdAt: Date;
|
|
101
100
|
|
|
102
|
-
updatedAt:
|
|
101
|
+
updatedAt: Date;
|
|
103
102
|
}
|
|
104
103
|
|
|
105
|
-
|
|
104
|
+
/** Represents the initializer for the table public.Person */
|
|
105
|
+
export interface PersonInitializer {
|
|
106
|
+
/** Default value: gen_random_uuid() */
|
|
107
|
+
id?: PersonId;
|
|
106
108
|
|
|
107
|
-
|
|
109
|
+
email: string;
|
|
108
110
|
|
|
109
|
-
|
|
111
|
+
/** Default value: false */
|
|
112
|
+
emailVerified?: boolean;
|
|
113
|
+
|
|
114
|
+
firstName?: string | null;
|
|
115
|
+
|
|
116
|
+
lastName?: string | null;
|
|
117
|
+
|
|
118
|
+
linkedInUrl?: string | null;
|
|
119
|
+
|
|
120
|
+
phone?: string | null;
|
|
121
|
+
|
|
122
|
+
/** Default value: false */
|
|
123
|
+
phoneVerified?: boolean;
|
|
124
|
+
|
|
125
|
+
/** Default value: false */
|
|
126
|
+
emailOptOut?: boolean;
|
|
127
|
+
|
|
128
|
+
/** Default value: false */
|
|
129
|
+
smsOptOut?: boolean;
|
|
130
|
+
|
|
131
|
+
resumeUrl?: string | null;
|
|
132
|
+
|
|
133
|
+
photoUrl?: string | null;
|
|
134
|
+
|
|
135
|
+
lat?: number | null;
|
|
136
|
+
|
|
137
|
+
lon?: number | null;
|
|
138
|
+
|
|
139
|
+
city?: string | null;
|
|
140
|
+
|
|
141
|
+
state?: string | null;
|
|
142
|
+
|
|
143
|
+
postalCode?: string | null;
|
|
144
|
+
|
|
145
|
+
country?: string | null;
|
|
146
|
+
|
|
147
|
+
additionalEmails?: string[] | null;
|
|
148
|
+
|
|
149
|
+
additionalPhones?: string[] | null;
|
|
150
|
+
|
|
151
|
+
/** Default value: 'STAFF'::"PersonSources" */
|
|
152
|
+
source?: PersonSources | null;
|
|
153
|
+
|
|
154
|
+
website?: string | null;
|
|
155
|
+
|
|
156
|
+
currentSalary?: number | null;
|
|
157
|
+
|
|
158
|
+
expectedSalary?: number | null;
|
|
159
|
+
|
|
160
|
+
currentEmployer?: string | null;
|
|
161
|
+
|
|
162
|
+
currentTitle?: string | null;
|
|
163
|
+
|
|
164
|
+
careerLevel?: PersonCareerLevels | null;
|
|
165
|
+
|
|
166
|
+
certifications?: string[] | null;
|
|
167
|
+
|
|
168
|
+
openToRelocate?: boolean | null;
|
|
169
|
+
|
|
170
|
+
highestDegreeObtained?: PersonDegrees | null;
|
|
171
|
+
|
|
172
|
+
undergraduateInstitution?: string | null;
|
|
173
|
+
|
|
174
|
+
typeOfUndergraduateDegree?: string | null;
|
|
175
|
+
|
|
176
|
+
graduateInstitution?: string | null;
|
|
177
|
+
|
|
178
|
+
typeOfGraduateDegree?: string | null;
|
|
179
|
+
|
|
180
|
+
gender?: PersonGenders | null;
|
|
181
|
+
|
|
182
|
+
howDidYouHearAboutUs?: string | null;
|
|
183
|
+
|
|
184
|
+
sourcePersonId?: PersonId | null;
|
|
185
|
+
|
|
186
|
+
deactivatedAt?: Date | null;
|
|
187
|
+
|
|
188
|
+
lastSignedInAt?: Date | null;
|
|
189
|
+
|
|
190
|
+
/** Default value: 0 */
|
|
191
|
+
signInCount?: number;
|
|
192
|
+
|
|
193
|
+
clientId?: ClientId | null;
|
|
194
|
+
|
|
195
|
+
deletedAt?: Date | null;
|
|
196
|
+
|
|
197
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
198
|
+
createdAt?: Date;
|
|
199
|
+
|
|
200
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
201
|
+
updatedAt?: Date;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/** Represents the mutator for the table public.Person */
|
|
205
|
+
export interface PersonMutator {
|
|
206
|
+
id?: PersonId;
|
|
207
|
+
|
|
208
|
+
email?: string;
|
|
209
|
+
|
|
210
|
+
emailVerified?: boolean;
|
|
211
|
+
|
|
212
|
+
firstName?: string | null;
|
|
213
|
+
|
|
214
|
+
lastName?: string | null;
|
|
215
|
+
|
|
216
|
+
linkedInUrl?: string | null;
|
|
217
|
+
|
|
218
|
+
phone?: string | null;
|
|
219
|
+
|
|
220
|
+
phoneVerified?: boolean;
|
|
221
|
+
|
|
222
|
+
emailOptOut?: boolean;
|
|
223
|
+
|
|
224
|
+
smsOptOut?: boolean;
|
|
225
|
+
|
|
226
|
+
resumeUrl?: string | null;
|
|
227
|
+
|
|
228
|
+
photoUrl?: string | null;
|
|
229
|
+
|
|
230
|
+
lat?: number | null;
|
|
231
|
+
|
|
232
|
+
lon?: number | null;
|
|
233
|
+
|
|
234
|
+
city?: string | null;
|
|
235
|
+
|
|
236
|
+
state?: string | null;
|
|
237
|
+
|
|
238
|
+
postalCode?: string | null;
|
|
239
|
+
|
|
240
|
+
country?: string | null;
|
|
241
|
+
|
|
242
|
+
additionalEmails?: string[] | null;
|
|
243
|
+
|
|
244
|
+
additionalPhones?: string[] | null;
|
|
245
|
+
|
|
246
|
+
source?: PersonSources | null;
|
|
247
|
+
|
|
248
|
+
website?: string | null;
|
|
249
|
+
|
|
250
|
+
currentSalary?: number | null;
|
|
251
|
+
|
|
252
|
+
expectedSalary?: number | null;
|
|
253
|
+
|
|
254
|
+
currentEmployer?: string | null;
|
|
255
|
+
|
|
256
|
+
currentTitle?: string | null;
|
|
257
|
+
|
|
258
|
+
careerLevel?: PersonCareerLevels | null;
|
|
259
|
+
|
|
260
|
+
certifications?: string[] | null;
|
|
261
|
+
|
|
262
|
+
openToRelocate?: boolean | null;
|
|
263
|
+
|
|
264
|
+
highestDegreeObtained?: PersonDegrees | null;
|
|
265
|
+
|
|
266
|
+
undergraduateInstitution?: string | null;
|
|
267
|
+
|
|
268
|
+
typeOfUndergraduateDegree?: string | null;
|
|
269
|
+
|
|
270
|
+
graduateInstitution?: string | null;
|
|
271
|
+
|
|
272
|
+
typeOfGraduateDegree?: string | null;
|
|
273
|
+
|
|
274
|
+
gender?: PersonGenders | null;
|
|
275
|
+
|
|
276
|
+
howDidYouHearAboutUs?: string | null;
|
|
277
|
+
|
|
278
|
+
sourcePersonId?: PersonId | null;
|
|
279
|
+
|
|
280
|
+
deactivatedAt?: Date | null;
|
|
281
|
+
|
|
282
|
+
lastSignedInAt?: Date | null;
|
|
283
|
+
|
|
284
|
+
signInCount?: number;
|
|
285
|
+
|
|
286
|
+
clientId?: ClientId | null;
|
|
287
|
+
|
|
288
|
+
deletedAt?: Date | null;
|
|
289
|
+
|
|
290
|
+
createdAt?: Date;
|
|
291
|
+
|
|
292
|
+
updatedAt?: Date;
|
|
293
|
+
}
|
|
@@ -1,28 +1,53 @@
|
|
|
1
1
|
// @generated
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
5
|
-
|
|
6
4
|
/** Identifier type for public.PersonClub */
|
|
7
5
|
export type PersonClubId = string & { __brand: 'PersonClubId' };
|
|
8
6
|
|
|
9
7
|
/** Represents the table public.PersonClub */
|
|
10
|
-
export default interface
|
|
11
|
-
id:
|
|
8
|
+
export default interface PersonClub {
|
|
9
|
+
id: PersonClubId;
|
|
10
|
+
|
|
11
|
+
slug: string;
|
|
12
|
+
|
|
13
|
+
name: string;
|
|
14
|
+
|
|
15
|
+
deletedAt: Date | null;
|
|
16
|
+
|
|
17
|
+
createdAt: Date;
|
|
18
|
+
|
|
19
|
+
updatedAt: Date;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** Represents the initializer for the table public.PersonClub */
|
|
23
|
+
export interface PersonClubInitializer {
|
|
24
|
+
/** Default value: gen_random_uuid() */
|
|
25
|
+
id?: PersonClubId;
|
|
12
26
|
|
|
13
|
-
slug:
|
|
27
|
+
slug: string;
|
|
14
28
|
|
|
15
|
-
name:
|
|
29
|
+
name: string;
|
|
16
30
|
|
|
17
|
-
deletedAt
|
|
31
|
+
deletedAt?: Date | null;
|
|
18
32
|
|
|
19
|
-
|
|
33
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
34
|
+
createdAt?: Date;
|
|
20
35
|
|
|
21
|
-
|
|
36
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
37
|
+
updatedAt?: Date;
|
|
22
38
|
}
|
|
23
39
|
|
|
24
|
-
|
|
40
|
+
/** Represents the mutator for the table public.PersonClub */
|
|
41
|
+
export interface PersonClubMutator {
|
|
42
|
+
id?: PersonClubId;
|
|
43
|
+
|
|
44
|
+
slug?: string;
|
|
25
45
|
|
|
26
|
-
|
|
46
|
+
name?: string;
|
|
27
47
|
|
|
28
|
-
|
|
48
|
+
deletedAt?: Date | null;
|
|
49
|
+
|
|
50
|
+
createdAt?: Date;
|
|
51
|
+
|
|
52
|
+
updatedAt?: Date;
|
|
53
|
+
}
|
|
@@ -3,30 +3,60 @@
|
|
|
3
3
|
|
|
4
4
|
import type { default as EnrichmentSources } from './EnrichmentSources';
|
|
5
5
|
import type { PersonId } from './Person';
|
|
6
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
7
6
|
|
|
8
7
|
/** Identifier type for public.PersonEnrichment */
|
|
9
8
|
export type PersonEnrichmentId = string & { __brand: 'PersonEnrichmentId' };
|
|
10
9
|
|
|
11
10
|
/** Represents the table public.PersonEnrichment */
|
|
12
|
-
export default interface
|
|
13
|
-
id:
|
|
11
|
+
export default interface PersonEnrichment {
|
|
12
|
+
id: PersonEnrichmentId;
|
|
14
13
|
|
|
15
|
-
data:
|
|
14
|
+
data: unknown | null;
|
|
16
15
|
|
|
17
|
-
likelihood:
|
|
16
|
+
likelihood: number | null;
|
|
18
17
|
|
|
19
|
-
source:
|
|
18
|
+
source: EnrichmentSources;
|
|
20
19
|
|
|
21
|
-
personId:
|
|
20
|
+
personId: PersonId;
|
|
22
21
|
|
|
23
|
-
createdAt:
|
|
22
|
+
createdAt: Date;
|
|
24
23
|
|
|
25
|
-
updatedAt:
|
|
24
|
+
updatedAt: Date;
|
|
26
25
|
}
|
|
27
26
|
|
|
28
|
-
|
|
27
|
+
/** Represents the initializer for the table public.PersonEnrichment */
|
|
28
|
+
export interface PersonEnrichmentInitializer {
|
|
29
|
+
/** Default value: gen_random_uuid() */
|
|
30
|
+
id?: PersonEnrichmentId;
|
|
29
31
|
|
|
30
|
-
|
|
32
|
+
data?: unknown | null;
|
|
31
33
|
|
|
32
|
-
|
|
34
|
+
likelihood?: number | null;
|
|
35
|
+
|
|
36
|
+
source: EnrichmentSources;
|
|
37
|
+
|
|
38
|
+
personId: PersonId;
|
|
39
|
+
|
|
40
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
41
|
+
createdAt?: Date;
|
|
42
|
+
|
|
43
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
44
|
+
updatedAt?: Date;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/** Represents the mutator for the table public.PersonEnrichment */
|
|
48
|
+
export interface PersonEnrichmentMutator {
|
|
49
|
+
id?: PersonEnrichmentId;
|
|
50
|
+
|
|
51
|
+
data?: unknown | null;
|
|
52
|
+
|
|
53
|
+
likelihood?: number | null;
|
|
54
|
+
|
|
55
|
+
source?: EnrichmentSources;
|
|
56
|
+
|
|
57
|
+
personId?: PersonId;
|
|
58
|
+
|
|
59
|
+
createdAt?: Date;
|
|
60
|
+
|
|
61
|
+
updatedAt?: Date;
|
|
62
|
+
}
|
|
@@ -1,28 +1,53 @@
|
|
|
1
1
|
// @generated
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
5
|
-
|
|
6
4
|
/** Identifier type for public.PersonNetwork */
|
|
7
5
|
export type PersonNetworkId = string & { __brand: 'PersonNetworkId' };
|
|
8
6
|
|
|
9
7
|
/** Represents the table public.PersonNetwork */
|
|
10
|
-
export default interface
|
|
11
|
-
id:
|
|
8
|
+
export default interface PersonNetwork {
|
|
9
|
+
id: PersonNetworkId;
|
|
10
|
+
|
|
11
|
+
slug: string;
|
|
12
|
+
|
|
13
|
+
name: string;
|
|
14
|
+
|
|
15
|
+
deletedAt: Date | null;
|
|
16
|
+
|
|
17
|
+
createdAt: Date;
|
|
18
|
+
|
|
19
|
+
updatedAt: Date;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** Represents the initializer for the table public.PersonNetwork */
|
|
23
|
+
export interface PersonNetworkInitializer {
|
|
24
|
+
/** Default value: gen_random_uuid() */
|
|
25
|
+
id?: PersonNetworkId;
|
|
12
26
|
|
|
13
|
-
slug:
|
|
27
|
+
slug: string;
|
|
14
28
|
|
|
15
|
-
name:
|
|
29
|
+
name: string;
|
|
16
30
|
|
|
17
|
-
deletedAt
|
|
31
|
+
deletedAt?: Date | null;
|
|
18
32
|
|
|
19
|
-
|
|
33
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
34
|
+
createdAt?: Date;
|
|
20
35
|
|
|
21
|
-
|
|
36
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
37
|
+
updatedAt?: Date;
|
|
22
38
|
}
|
|
23
39
|
|
|
24
|
-
|
|
40
|
+
/** Represents the mutator for the table public.PersonNetwork */
|
|
41
|
+
export interface PersonNetworkMutator {
|
|
42
|
+
id?: PersonNetworkId;
|
|
43
|
+
|
|
44
|
+
slug?: string;
|
|
25
45
|
|
|
26
|
-
|
|
46
|
+
name?: string;
|
|
27
47
|
|
|
28
|
-
|
|
48
|
+
deletedAt?: Date | null;
|
|
49
|
+
|
|
50
|
+
createdAt?: Date;
|
|
51
|
+
|
|
52
|
+
updatedAt?: Date;
|
|
53
|
+
}
|
|
@@ -1,28 +1,53 @@
|
|
|
1
1
|
// @generated
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
5
|
-
|
|
6
4
|
/** Identifier type for public.PersonSkill */
|
|
7
5
|
export type PersonSkillId = string & { __brand: 'PersonSkillId' };
|
|
8
6
|
|
|
9
7
|
/** Represents the table public.PersonSkill */
|
|
10
|
-
export default interface
|
|
11
|
-
id:
|
|
8
|
+
export default interface PersonSkill {
|
|
9
|
+
id: PersonSkillId;
|
|
10
|
+
|
|
11
|
+
slug: string;
|
|
12
|
+
|
|
13
|
+
name: string;
|
|
14
|
+
|
|
15
|
+
deletedAt: Date | null;
|
|
16
|
+
|
|
17
|
+
createdAt: Date;
|
|
18
|
+
|
|
19
|
+
updatedAt: Date;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** Represents the initializer for the table public.PersonSkill */
|
|
23
|
+
export interface PersonSkillInitializer {
|
|
24
|
+
/** Default value: gen_random_uuid() */
|
|
25
|
+
id?: PersonSkillId;
|
|
12
26
|
|
|
13
|
-
slug:
|
|
27
|
+
slug: string;
|
|
14
28
|
|
|
15
|
-
name:
|
|
29
|
+
name: string;
|
|
16
30
|
|
|
17
|
-
deletedAt
|
|
31
|
+
deletedAt?: Date | null;
|
|
18
32
|
|
|
19
|
-
|
|
33
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
34
|
+
createdAt?: Date;
|
|
20
35
|
|
|
21
|
-
|
|
36
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
37
|
+
updatedAt?: Date;
|
|
22
38
|
}
|
|
23
39
|
|
|
24
|
-
|
|
40
|
+
/** Represents the mutator for the table public.PersonSkill */
|
|
41
|
+
export interface PersonSkillMutator {
|
|
42
|
+
id?: PersonSkillId;
|
|
43
|
+
|
|
44
|
+
slug?: string;
|
|
25
45
|
|
|
26
|
-
|
|
46
|
+
name?: string;
|
|
27
47
|
|
|
28
|
-
|
|
48
|
+
deletedAt?: Date | null;
|
|
49
|
+
|
|
50
|
+
createdAt?: Date;
|
|
51
|
+
|
|
52
|
+
updatedAt?: Date;
|
|
53
|
+
}
|
|
@@ -2,19 +2,31 @@
|
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
4
|
import type { PersonId } from './Person';
|
|
5
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
6
5
|
|
|
7
6
|
/** Represents the table public.PersonToBestPerson */
|
|
8
|
-
export default interface
|
|
9
|
-
bestiedByPersonId:
|
|
7
|
+
export default interface PersonToBestPerson {
|
|
8
|
+
bestiedByPersonId: PersonId;
|
|
10
9
|
|
|
11
|
-
bestPersonId:
|
|
10
|
+
bestPersonId: PersonId;
|
|
12
11
|
|
|
13
|
-
createdAt:
|
|
12
|
+
createdAt: Date;
|
|
14
13
|
}
|
|
15
14
|
|
|
16
|
-
|
|
15
|
+
/** Represents the initializer for the table public.PersonToBestPerson */
|
|
16
|
+
export interface PersonToBestPersonInitializer {
|
|
17
|
+
bestiedByPersonId: PersonId;
|
|
17
18
|
|
|
18
|
-
|
|
19
|
+
bestPersonId: PersonId;
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
22
|
+
createdAt?: Date;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** Represents the mutator for the table public.PersonToBestPerson */
|
|
26
|
+
export interface PersonToBestPersonMutator {
|
|
27
|
+
bestiedByPersonId?: PersonId;
|
|
28
|
+
|
|
29
|
+
bestPersonId?: PersonId;
|
|
30
|
+
|
|
31
|
+
createdAt?: Date;
|
|
32
|
+
}
|
|
@@ -3,19 +3,31 @@
|
|
|
3
3
|
|
|
4
4
|
import type { PersonId } from './Person';
|
|
5
5
|
import type { PersonClubId } from './PersonClub';
|
|
6
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
7
6
|
|
|
8
7
|
/** Represents the table public.PersonToPersonClub */
|
|
9
|
-
export default interface
|
|
10
|
-
personId:
|
|
8
|
+
export default interface PersonToPersonClub {
|
|
9
|
+
personId: PersonId;
|
|
11
10
|
|
|
12
|
-
clubId:
|
|
11
|
+
clubId: PersonClubId;
|
|
13
12
|
|
|
14
|
-
createdAt:
|
|
13
|
+
createdAt: Date;
|
|
15
14
|
}
|
|
16
15
|
|
|
17
|
-
|
|
16
|
+
/** Represents the initializer for the table public.PersonToPersonClub */
|
|
17
|
+
export interface PersonToPersonClubInitializer {
|
|
18
|
+
personId: PersonId;
|
|
18
19
|
|
|
19
|
-
|
|
20
|
+
clubId: PersonClubId;
|
|
20
21
|
|
|
21
|
-
|
|
22
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
23
|
+
createdAt?: Date;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** Represents the mutator for the table public.PersonToPersonClub */
|
|
27
|
+
export interface PersonToPersonClubMutator {
|
|
28
|
+
personId?: PersonId;
|
|
29
|
+
|
|
30
|
+
clubId?: PersonClubId;
|
|
31
|
+
|
|
32
|
+
createdAt?: Date;
|
|
33
|
+
}
|