@the-inkwell/shared 0.1.129 → 0.1.130
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/Campaigns.ts +6 -6
- package/src/types/_schema/Candidacies.ts +13 -13
- package/src/types/_schema/Messages.ts +13 -13
- package/src/types/_schema/Networks.ts +6 -6
- package/src/types/_schema/PersonGenders.ts +1 -1
- package/src/types/_schema/PersonSources.ts +2 -2
- package/src/types/_schema/Persons.ts +8 -8
- package/src/types/_schema/PositionStatuses.ts +1 -0
- package/src/types/_schema/Positions.ts +35 -29
- package/src/types/_schema/ReferralSources.ts +4 -3
- package/src/types/_schema/Referrals.ts +15 -16
- package/src/types/_schema/ReferralsToMessages.ts +7 -7
- package/src/types/_schema/Clubs.ts +0 -53
- package/src/types/_schema/PersonsToClubs.ts +0 -33
package/package.json
CHANGED
|
@@ -14,6 +14,8 @@ export default interface Campaigns {
|
|
|
14
14
|
|
|
15
15
|
urlId: number;
|
|
16
16
|
|
|
17
|
+
name: string;
|
|
18
|
+
|
|
17
19
|
status: CampaignStatuses;
|
|
18
20
|
|
|
19
21
|
messageTemplateId: MessageTemplatesId | null;
|
|
@@ -27,8 +29,6 @@ export default interface Campaigns {
|
|
|
27
29
|
deletedAt: Date | null;
|
|
28
30
|
|
|
29
31
|
updatedAt: Date;
|
|
30
|
-
|
|
31
|
-
name: string;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
/** Represents the initializer for the table public.campaigns */
|
|
@@ -39,6 +39,8 @@ export interface CampaignsInitializer {
|
|
|
39
39
|
/** Default value: nextval('"campaigns_urlId_seq"'::regclass) */
|
|
40
40
|
urlId?: number;
|
|
41
41
|
|
|
42
|
+
name: string;
|
|
43
|
+
|
|
42
44
|
/** Default value: 'DRAFT'::"CampaignStatuses" */
|
|
43
45
|
status?: CampaignStatuses;
|
|
44
46
|
|
|
@@ -55,8 +57,6 @@ export interface CampaignsInitializer {
|
|
|
55
57
|
|
|
56
58
|
/** Default value: CURRENT_TIMESTAMP */
|
|
57
59
|
updatedAt?: Date;
|
|
58
|
-
|
|
59
|
-
name: string;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
/** Represents the mutator for the table public.campaigns */
|
|
@@ -65,6 +65,8 @@ export interface CampaignsMutator {
|
|
|
65
65
|
|
|
66
66
|
urlId?: number;
|
|
67
67
|
|
|
68
|
+
name?: string;
|
|
69
|
+
|
|
68
70
|
status?: CampaignStatuses;
|
|
69
71
|
|
|
70
72
|
messageTemplateId?: MessageTemplatesId | null;
|
|
@@ -78,6 +80,4 @@ export interface CampaignsMutator {
|
|
|
78
80
|
deletedAt?: Date | null;
|
|
79
81
|
|
|
80
82
|
updatedAt?: Date;
|
|
81
|
-
|
|
82
|
-
name?: string;
|
|
83
83
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
4
|
import type { default as CandidacyStatuses } from './CandidacyStatuses';
|
|
5
|
+
import type { default as CandidacyRatingReasons } from './CandidacyRatingReasons';
|
|
5
6
|
import type { default as CandidacySources } from './CandidacySources';
|
|
6
7
|
import type { PersonsId } from './Persons';
|
|
7
8
|
import type { PositionsId } from './Positions';
|
|
8
|
-
import type { default as CandidacyRatingReasons } from './CandidacyRatingReasons';
|
|
9
9
|
|
|
10
10
|
/** Identifier type for public.candidacies */
|
|
11
11
|
export type CandidaciesId = string;
|
|
@@ -16,8 +16,12 @@ export default interface Candidacies {
|
|
|
16
16
|
|
|
17
17
|
status: CandidacyStatuses | null;
|
|
18
18
|
|
|
19
|
+
networkId: string | null;
|
|
20
|
+
|
|
19
21
|
rating: number | null;
|
|
20
22
|
|
|
23
|
+
ratingReasons: CandidacyRatingReasons[] | null;
|
|
24
|
+
|
|
21
25
|
ratingNotes: string | null;
|
|
22
26
|
|
|
23
27
|
source: CandidacySources | null;
|
|
@@ -31,10 +35,6 @@ export default interface Candidacies {
|
|
|
31
35
|
createdAt: Date;
|
|
32
36
|
|
|
33
37
|
updatedAt: Date;
|
|
34
|
-
|
|
35
|
-
ratingReasons: CandidacyRatingReasons[] | null;
|
|
36
|
-
|
|
37
|
-
networkId: string | null;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/** Represents the initializer for the table public.candidacies */
|
|
@@ -45,8 +45,12 @@ export interface CandidaciesInitializer {
|
|
|
45
45
|
/** Default value: 'SUBMITTED'::"CandidacyStatuses" */
|
|
46
46
|
status?: CandidacyStatuses | null;
|
|
47
47
|
|
|
48
|
+
networkId?: string | null;
|
|
49
|
+
|
|
48
50
|
rating?: number | null;
|
|
49
51
|
|
|
52
|
+
ratingReasons?: CandidacyRatingReasons[] | null;
|
|
53
|
+
|
|
50
54
|
ratingNotes?: string | null;
|
|
51
55
|
|
|
52
56
|
/** Default value: 'STAFF'::"CandidacySources" */
|
|
@@ -63,10 +67,6 @@ export interface CandidaciesInitializer {
|
|
|
63
67
|
|
|
64
68
|
/** Default value: CURRENT_TIMESTAMP */
|
|
65
69
|
updatedAt?: Date;
|
|
66
|
-
|
|
67
|
-
ratingReasons?: CandidacyRatingReasons[] | null;
|
|
68
|
-
|
|
69
|
-
networkId?: string | null;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
/** Represents the mutator for the table public.candidacies */
|
|
@@ -75,8 +75,12 @@ export interface CandidaciesMutator {
|
|
|
75
75
|
|
|
76
76
|
status?: CandidacyStatuses | null;
|
|
77
77
|
|
|
78
|
+
networkId?: string | null;
|
|
79
|
+
|
|
78
80
|
rating?: number | null;
|
|
79
81
|
|
|
82
|
+
ratingReasons?: CandidacyRatingReasons[] | null;
|
|
83
|
+
|
|
80
84
|
ratingNotes?: string | null;
|
|
81
85
|
|
|
82
86
|
source?: CandidacySources | null;
|
|
@@ -90,8 +94,4 @@ export interface CandidaciesMutator {
|
|
|
90
94
|
createdAt?: Date;
|
|
91
95
|
|
|
92
96
|
updatedAt?: Date;
|
|
93
|
-
|
|
94
|
-
ratingReasons?: CandidacyRatingReasons[] | null;
|
|
95
|
-
|
|
96
|
-
networkId?: string | null;
|
|
97
97
|
}
|
|
@@ -16,17 +16,17 @@ export default interface Messages {
|
|
|
16
16
|
|
|
17
17
|
data: unknown;
|
|
18
18
|
|
|
19
|
+
isOpen: boolean;
|
|
20
|
+
|
|
19
21
|
adminSenderId: SendersId | null;
|
|
20
22
|
|
|
21
23
|
personId: PersonsId;
|
|
22
24
|
|
|
25
|
+
campaignId: CampaignsId | null;
|
|
26
|
+
|
|
23
27
|
createdAt: Date;
|
|
24
28
|
|
|
25
29
|
updatedAt: Date;
|
|
26
|
-
|
|
27
|
-
isOpen: boolean;
|
|
28
|
-
|
|
29
|
-
campaignId: CampaignsId | null;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/** Represents the initializer for the table public.messages */
|
|
@@ -39,20 +39,20 @@ export interface MessagesInitializer {
|
|
|
39
39
|
|
|
40
40
|
data: unknown;
|
|
41
41
|
|
|
42
|
+
/** Default value: true */
|
|
43
|
+
isOpen?: boolean;
|
|
44
|
+
|
|
42
45
|
adminSenderId?: SendersId | null;
|
|
43
46
|
|
|
44
47
|
personId: PersonsId;
|
|
45
48
|
|
|
49
|
+
campaignId?: CampaignsId | null;
|
|
50
|
+
|
|
46
51
|
/** Default value: CURRENT_TIMESTAMP */
|
|
47
52
|
createdAt?: Date;
|
|
48
53
|
|
|
49
54
|
/** Default value: CURRENT_TIMESTAMP */
|
|
50
55
|
updatedAt?: Date;
|
|
51
|
-
|
|
52
|
-
/** Default value: true */
|
|
53
|
-
isOpen?: boolean;
|
|
54
|
-
|
|
55
|
-
campaignId?: CampaignsId | null;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
/** Represents the mutator for the table public.messages */
|
|
@@ -63,15 +63,15 @@ export interface MessagesMutator {
|
|
|
63
63
|
|
|
64
64
|
data?: unknown;
|
|
65
65
|
|
|
66
|
+
isOpen?: boolean;
|
|
67
|
+
|
|
66
68
|
adminSenderId?: SendersId | null;
|
|
67
69
|
|
|
68
70
|
personId?: PersonsId;
|
|
69
71
|
|
|
72
|
+
campaignId?: CampaignsId | null;
|
|
73
|
+
|
|
70
74
|
createdAt?: Date;
|
|
71
75
|
|
|
72
76
|
updatedAt?: Date;
|
|
73
|
-
|
|
74
|
-
isOpen?: boolean;
|
|
75
|
-
|
|
76
|
-
campaignId?: CampaignsId | null;
|
|
77
77
|
}
|
|
@@ -8,6 +8,8 @@ export type NetworksId = string;
|
|
|
8
8
|
export default interface Networks {
|
|
9
9
|
id: NetworksId;
|
|
10
10
|
|
|
11
|
+
partnerId: string | null;
|
|
12
|
+
|
|
11
13
|
slug: string;
|
|
12
14
|
|
|
13
15
|
name: string;
|
|
@@ -17,8 +19,6 @@ export default interface Networks {
|
|
|
17
19
|
createdAt: Date;
|
|
18
20
|
|
|
19
21
|
updatedAt: Date;
|
|
20
|
-
|
|
21
|
-
partnerId: string | null;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/** Represents the initializer for the table public.networks */
|
|
@@ -26,6 +26,8 @@ export interface NetworksInitializer {
|
|
|
26
26
|
/** Default value: gen_random_uuid() */
|
|
27
27
|
id?: NetworksId;
|
|
28
28
|
|
|
29
|
+
partnerId?: string | null;
|
|
30
|
+
|
|
29
31
|
slug: string;
|
|
30
32
|
|
|
31
33
|
name: string;
|
|
@@ -37,14 +39,14 @@ export interface NetworksInitializer {
|
|
|
37
39
|
|
|
38
40
|
/** Default value: CURRENT_TIMESTAMP */
|
|
39
41
|
updatedAt?: Date;
|
|
40
|
-
|
|
41
|
-
partnerId?: string | null;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
/** Represents the mutator for the table public.networks */
|
|
45
45
|
export interface NetworksMutator {
|
|
46
46
|
id?: NetworksId;
|
|
47
47
|
|
|
48
|
+
partnerId?: string | null;
|
|
49
|
+
|
|
48
50
|
slug?: string;
|
|
49
51
|
|
|
50
52
|
name?: string;
|
|
@@ -54,6 +56,4 @@ export interface NetworksMutator {
|
|
|
54
56
|
createdAt?: Date;
|
|
55
57
|
|
|
56
58
|
updatedAt?: Date;
|
|
57
|
-
|
|
58
|
-
partnerId?: string | null;
|
|
59
59
|
}
|
|
@@ -5,8 +5,8 @@ import type { default as PersonSources } from './PersonSources';
|
|
|
5
5
|
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
|
-
import type { ClientsId } from './Clients';
|
|
9
8
|
import type { default as JobFunctions } from './JobFunctions';
|
|
9
|
+
import type { ClientsId } from './Clients';
|
|
10
10
|
|
|
11
11
|
/** Identifier type for public.persons */
|
|
12
12
|
export type PersonsId = string;
|
|
@@ -85,6 +85,8 @@ export default interface Persons {
|
|
|
85
85
|
|
|
86
86
|
howDidYouHearAboutUs: string | null;
|
|
87
87
|
|
|
88
|
+
jobFunctions: JobFunctions[] | null;
|
|
89
|
+
|
|
88
90
|
sourcePersonId: PersonsId | null;
|
|
89
91
|
|
|
90
92
|
deactivatedAt: Date | null;
|
|
@@ -100,8 +102,6 @@ export default interface Persons {
|
|
|
100
102
|
createdAt: Date;
|
|
101
103
|
|
|
102
104
|
updatedAt: Date;
|
|
103
|
-
|
|
104
|
-
jobFunctions: JobFunctions[] | null;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
/** Represents the initializer for the table public.persons */
|
|
@@ -151,7 +151,7 @@ export interface PersonsInitializer {
|
|
|
151
151
|
|
|
152
152
|
additionalPhones?: string[] | null;
|
|
153
153
|
|
|
154
|
-
/** Default value: '
|
|
154
|
+
/** Default value: 'SOURCED'::"PersonSources" */
|
|
155
155
|
source?: PersonSources | null;
|
|
156
156
|
|
|
157
157
|
website?: string | null;
|
|
@@ -184,6 +184,8 @@ export interface PersonsInitializer {
|
|
|
184
184
|
|
|
185
185
|
howDidYouHearAboutUs?: string | null;
|
|
186
186
|
|
|
187
|
+
jobFunctions?: JobFunctions[] | null;
|
|
188
|
+
|
|
187
189
|
sourcePersonId?: PersonsId | null;
|
|
188
190
|
|
|
189
191
|
deactivatedAt?: Date | null;
|
|
@@ -202,8 +204,6 @@ export interface PersonsInitializer {
|
|
|
202
204
|
|
|
203
205
|
/** Default value: CURRENT_TIMESTAMP */
|
|
204
206
|
updatedAt?: Date;
|
|
205
|
-
|
|
206
|
-
jobFunctions?: JobFunctions[] | null;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
/** Represents the mutator for the table public.persons */
|
|
@@ -280,6 +280,8 @@ export interface PersonsMutator {
|
|
|
280
280
|
|
|
281
281
|
howDidYouHearAboutUs?: string | null;
|
|
282
282
|
|
|
283
|
+
jobFunctions?: JobFunctions[] | null;
|
|
284
|
+
|
|
283
285
|
sourcePersonId?: PersonsId | null;
|
|
284
286
|
|
|
285
287
|
deactivatedAt?: Date | null;
|
|
@@ -295,6 +297,4 @@ export interface PersonsMutator {
|
|
|
295
297
|
createdAt?: Date;
|
|
296
298
|
|
|
297
299
|
updatedAt?: Date;
|
|
298
|
-
|
|
299
|
-
jobFunctions?: JobFunctions[] | null;
|
|
300
300
|
}
|
|
@@ -18,25 +18,27 @@ export default interface Positions {
|
|
|
18
18
|
|
|
19
19
|
status: PositionStatuses | null;
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
description: string | null;
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
location: string | null;
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
isHidden: boolean;
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
clientId: ClientsId;
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
jobFunctions: JobFunctions[] | null;
|
|
30
30
|
|
|
31
31
|
startedAt: Date | null;
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
hiredAt: Date | null;
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
canceledAt: Date | null;
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
createdAt: Date;
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
updatedAt: Date;
|
|
40
|
+
|
|
41
|
+
deletedAt: Date | null;
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
/** Represents the initializer for the table public.positions */
|
|
@@ -49,14 +51,26 @@ export interface PositionsInitializer {
|
|
|
49
51
|
|
|
50
52
|
name: string;
|
|
51
53
|
|
|
52
|
-
/** Default value: '
|
|
54
|
+
/** Default value: 'PENDING'::"PositionStatuses" */
|
|
53
55
|
status?: PositionStatuses | null;
|
|
54
56
|
|
|
57
|
+
description?: string | null;
|
|
58
|
+
|
|
59
|
+
location?: string | null;
|
|
60
|
+
|
|
55
61
|
/** Default value: false */
|
|
56
62
|
isHidden?: boolean;
|
|
57
63
|
|
|
58
64
|
clientId: ClientsId;
|
|
59
65
|
|
|
66
|
+
jobFunctions?: JobFunctions[] | null;
|
|
67
|
+
|
|
68
|
+
startedAt?: Date | null;
|
|
69
|
+
|
|
70
|
+
hiredAt?: Date | null;
|
|
71
|
+
|
|
72
|
+
canceledAt?: Date | null;
|
|
73
|
+
|
|
60
74
|
/** Default value: CURRENT_TIMESTAMP */
|
|
61
75
|
createdAt?: Date;
|
|
62
76
|
|
|
@@ -64,16 +78,6 @@ export interface PositionsInitializer {
|
|
|
64
78
|
updatedAt?: Date;
|
|
65
79
|
|
|
66
80
|
deletedAt?: Date | null;
|
|
67
|
-
|
|
68
|
-
startedAt?: Date | null;
|
|
69
|
-
|
|
70
|
-
endedAt?: Date | null;
|
|
71
|
-
|
|
72
|
-
description?: string | null;
|
|
73
|
-
|
|
74
|
-
location?: string | null;
|
|
75
|
-
|
|
76
|
-
jobFunctions?: JobFunctions[] | null;
|
|
77
81
|
}
|
|
78
82
|
|
|
79
83
|
/** Represents the mutator for the table public.positions */
|
|
@@ -86,23 +90,25 @@ export interface PositionsMutator {
|
|
|
86
90
|
|
|
87
91
|
status?: PositionStatuses | null;
|
|
88
92
|
|
|
89
|
-
|
|
93
|
+
description?: string | null;
|
|
90
94
|
|
|
91
|
-
|
|
95
|
+
location?: string | null;
|
|
92
96
|
|
|
93
|
-
|
|
97
|
+
isHidden?: boolean;
|
|
94
98
|
|
|
95
|
-
|
|
99
|
+
clientId?: ClientsId;
|
|
96
100
|
|
|
97
|
-
|
|
101
|
+
jobFunctions?: JobFunctions[] | null;
|
|
98
102
|
|
|
99
103
|
startedAt?: Date | null;
|
|
100
104
|
|
|
101
|
-
|
|
105
|
+
hiredAt?: Date | null;
|
|
102
106
|
|
|
103
|
-
|
|
107
|
+
canceledAt?: Date | null;
|
|
104
108
|
|
|
105
|
-
|
|
109
|
+
createdAt?: Date;
|
|
106
110
|
|
|
107
|
-
|
|
111
|
+
updatedAt?: Date;
|
|
112
|
+
|
|
113
|
+
deletedAt?: Date | null;
|
|
108
114
|
}
|
|
@@ -14,7 +14,9 @@ export type ReferralsId = string;
|
|
|
14
14
|
export default interface Referrals {
|
|
15
15
|
id: ReferralsId;
|
|
16
16
|
|
|
17
|
-
source: ReferralSources
|
|
17
|
+
source: ReferralSources;
|
|
18
|
+
|
|
19
|
+
networkId: string | null;
|
|
18
20
|
|
|
19
21
|
referrerId: PersonsId;
|
|
20
22
|
|
|
@@ -24,15 +26,13 @@ export default interface Referrals {
|
|
|
24
26
|
|
|
25
27
|
positionId: PositionsId;
|
|
26
28
|
|
|
29
|
+
deletedAt: Date | null;
|
|
30
|
+
|
|
27
31
|
createdAt: Date;
|
|
28
32
|
|
|
29
33
|
updatedAt: Date;
|
|
30
34
|
|
|
31
35
|
messageId: string | null;
|
|
32
|
-
|
|
33
|
-
deletedAt: Date | null;
|
|
34
|
-
|
|
35
|
-
networkId: string | null;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/** Represents the initializer for the table public.referrals */
|
|
@@ -40,8 +40,9 @@ export interface ReferralsInitializer {
|
|
|
40
40
|
/** Default value: gen_random_uuid() */
|
|
41
41
|
id?: ReferralsId;
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
source: ReferralSources;
|
|
44
|
+
|
|
45
|
+
networkId?: string | null;
|
|
45
46
|
|
|
46
47
|
referrerId: PersonsId;
|
|
47
48
|
|
|
@@ -51,6 +52,8 @@ export interface ReferralsInitializer {
|
|
|
51
52
|
|
|
52
53
|
positionId: PositionsId;
|
|
53
54
|
|
|
55
|
+
deletedAt?: Date | null;
|
|
56
|
+
|
|
54
57
|
/** Default value: CURRENT_TIMESTAMP */
|
|
55
58
|
createdAt?: Date;
|
|
56
59
|
|
|
@@ -58,17 +61,15 @@ export interface ReferralsInitializer {
|
|
|
58
61
|
updatedAt?: Date;
|
|
59
62
|
|
|
60
63
|
messageId?: string | null;
|
|
61
|
-
|
|
62
|
-
deletedAt?: Date | null;
|
|
63
|
-
|
|
64
|
-
networkId?: string | null;
|
|
65
64
|
}
|
|
66
65
|
|
|
67
66
|
/** Represents the mutator for the table public.referrals */
|
|
68
67
|
export interface ReferralsMutator {
|
|
69
68
|
id?: ReferralsId;
|
|
70
69
|
|
|
71
|
-
source?: ReferralSources
|
|
70
|
+
source?: ReferralSources;
|
|
71
|
+
|
|
72
|
+
networkId?: string | null;
|
|
72
73
|
|
|
73
74
|
referrerId?: PersonsId;
|
|
74
75
|
|
|
@@ -78,13 +79,11 @@ export interface ReferralsMutator {
|
|
|
78
79
|
|
|
79
80
|
positionId?: PositionsId;
|
|
80
81
|
|
|
82
|
+
deletedAt?: Date | null;
|
|
83
|
+
|
|
81
84
|
createdAt?: Date;
|
|
82
85
|
|
|
83
86
|
updatedAt?: Date;
|
|
84
87
|
|
|
85
88
|
messageId?: string | null;
|
|
86
|
-
|
|
87
|
-
deletedAt?: Date | null;
|
|
88
|
-
|
|
89
|
-
networkId?: string | null;
|
|
90
89
|
}
|
|
@@ -10,11 +10,11 @@ export default interface ReferralsToMessages {
|
|
|
10
10
|
|
|
11
11
|
referralId: ReferralsId;
|
|
12
12
|
|
|
13
|
+
isIntro: boolean;
|
|
14
|
+
|
|
13
15
|
createdAt: Date;
|
|
14
16
|
|
|
15
17
|
updatedAt: Date;
|
|
16
|
-
|
|
17
|
-
isIntro: boolean;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/** Represents the initializer for the table public.referrals_to_messages */
|
|
@@ -23,14 +23,14 @@ export interface ReferralsToMessagesInitializer {
|
|
|
23
23
|
|
|
24
24
|
referralId: ReferralsId;
|
|
25
25
|
|
|
26
|
+
/** Default value: false */
|
|
27
|
+
isIntro?: boolean;
|
|
28
|
+
|
|
26
29
|
/** Default value: CURRENT_TIMESTAMP */
|
|
27
30
|
createdAt?: Date;
|
|
28
31
|
|
|
29
32
|
/** Default value: CURRENT_TIMESTAMP */
|
|
30
33
|
updatedAt?: Date;
|
|
31
|
-
|
|
32
|
-
/** Default value: false */
|
|
33
|
-
isIntro?: boolean;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/** Represents the mutator for the table public.referrals_to_messages */
|
|
@@ -39,9 +39,9 @@ export interface ReferralsToMessagesMutator {
|
|
|
39
39
|
|
|
40
40
|
referralId?: ReferralsId;
|
|
41
41
|
|
|
42
|
+
isIntro?: boolean;
|
|
43
|
+
|
|
42
44
|
createdAt?: Date;
|
|
43
45
|
|
|
44
46
|
updatedAt?: Date;
|
|
45
|
-
|
|
46
|
-
isIntro?: boolean;
|
|
47
47
|
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
/** Identifier type for public.clubs */
|
|
5
|
-
export type ClubsId = string;
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.clubs */
|
|
8
|
-
export default interface Clubs {
|
|
9
|
-
id: ClubsId;
|
|
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.clubs */
|
|
23
|
-
export interface ClubsInitializer {
|
|
24
|
-
/** Default value: gen_random_uuid() */
|
|
25
|
-
id?: ClubsId;
|
|
26
|
-
|
|
27
|
-
slug: string;
|
|
28
|
-
|
|
29
|
-
name: string;
|
|
30
|
-
|
|
31
|
-
deletedAt?: Date | null;
|
|
32
|
-
|
|
33
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
34
|
-
createdAt?: Date;
|
|
35
|
-
|
|
36
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
37
|
-
updatedAt?: Date;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/** Represents the mutator for the table public.clubs */
|
|
41
|
-
export interface ClubsMutator {
|
|
42
|
-
id?: ClubsId;
|
|
43
|
-
|
|
44
|
-
slug?: string;
|
|
45
|
-
|
|
46
|
-
name?: string;
|
|
47
|
-
|
|
48
|
-
deletedAt?: Date | null;
|
|
49
|
-
|
|
50
|
-
createdAt?: Date;
|
|
51
|
-
|
|
52
|
-
updatedAt?: Date;
|
|
53
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { PersonsId } from './Persons';
|
|
5
|
-
import type { ClubsId } from './Clubs';
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.persons_to_clubs */
|
|
8
|
-
export default interface PersonsToClubs {
|
|
9
|
-
personId: PersonsId;
|
|
10
|
-
|
|
11
|
-
clubId: ClubsId;
|
|
12
|
-
|
|
13
|
-
createdAt: Date;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/** Represents the initializer for the table public.persons_to_clubs */
|
|
17
|
-
export interface PersonsToClubsInitializer {
|
|
18
|
-
personId: PersonsId;
|
|
19
|
-
|
|
20
|
-
clubId: ClubsId;
|
|
21
|
-
|
|
22
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
23
|
-
createdAt?: Date;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/** Represents the mutator for the table public.persons_to_clubs */
|
|
27
|
-
export interface PersonsToClubsMutator {
|
|
28
|
-
personId?: PersonsId;
|
|
29
|
-
|
|
30
|
-
clubId?: ClubsId;
|
|
31
|
-
|
|
32
|
-
createdAt?: Date;
|
|
33
|
-
}
|