@the-inkwell/shared 0.1.73 → 0.1.75
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/dist/src/types/_schema/Actions.js +4 -0
- package/dist/src/types/_schema/Admins.js +4 -0
- package/dist/src/types/_schema/Campaigns.js +4 -0
- package/dist/src/types/_schema/CampaignsToPositions.js +4 -0
- package/dist/src/types/_schema/Candidacies.js +4 -0
- package/dist/src/types/_schema/CandidacyRatingsToTags.js +4 -0
- package/dist/src/types/_schema/Clients.js +4 -0
- package/dist/src/types/_schema/Contracts.js +4 -0
- package/dist/src/types/_schema/Conversations.js +4 -0
- package/dist/src/types/_schema/Jwts.js +4 -0
- package/dist/src/types/_schema/ListViews.js +4 -0
- package/dist/src/types/_schema/MessageTemplates.js +4 -0
- package/dist/src/types/_schema/Messages.js +4 -0
- package/dist/src/types/_schema/Notes.js +4 -0
- package/dist/src/types/_schema/Otps.js +4 -0
- package/dist/src/types/_schema/PersonClubs.js +4 -0
- package/dist/src/types/_schema/PersonEnrichments.js +4 -0
- package/dist/src/types/_schema/PersonNetworks.js +4 -0
- package/dist/src/types/_schema/PersonSkills.js +4 -0
- package/dist/src/types/_schema/Persons.js +4 -0
- package/dist/src/types/_schema/PersonsToBestPersons.js +4 -0
- package/dist/src/types/_schema/PersonsToPersonClubs.js +4 -0
- package/dist/src/types/_schema/PersonsToPersonNetworks.js +4 -0
- package/dist/src/types/_schema/PersonsToPersonSkills.js +4 -0
- package/dist/src/types/_schema/PersonsToTags.js +4 -0
- package/dist/src/types/_schema/Positions.js +4 -0
- package/dist/src/types/_schema/ReferralPayouts.js +4 -0
- package/dist/src/types/_schema/Referrals.js +4 -0
- package/dist/src/types/_schema/ReferralsToIntroMessages.js +4 -0
- package/dist/src/types/_schema/Senders.js +4 -0
- package/dist/src/types/_schema/Tags.js +4 -0
- package/dist/src/types/_schema/WebsiteBlocks.js +4 -0
- package/dist/src/types/_schema/WebsiteLandingPages.js +4 -0
- package/dist/src/types/_schema/WebsiteStaticPages.js +4 -0
- package/package.json +1 -1
- package/src/types/_schema/Actions.ts +91 -0
- package/src/types/_schema/Admins.ts +36 -0
- package/src/types/_schema/{Campaign.ts → Campaigns.ts} +16 -16
- package/src/types/_schema/CampaignsToPositions.ts +40 -0
- package/src/types/_schema/{Candidacy.ts → Candidacies.ts} +19 -19
- package/src/types/_schema/CandidacyFeedback.ts +9 -9
- package/src/types/_schema/CandidacyRatingsToTags.ts +40 -0
- package/src/types/_schema/{Client.ts → Clients.ts} +11 -11
- package/src/types/_schema/Contracts.ts +62 -0
- package/src/types/_schema/Conversations.ts +64 -0
- package/src/types/_schema/Jwts.ts +55 -0
- package/src/types/_schema/{ListView.ts → ListViews.ts} +15 -15
- package/src/types/_schema/{MessageTemplate.ts → MessageTemplates.ts} +11 -11
- package/src/types/_schema/Messages.ts +70 -0
- package/src/types/_schema/Notes.ts +76 -0
- package/src/types/_schema/Otps.ts +61 -0
- package/src/types/_schema/{PersonClub.ts → PersonClubs.ts} +11 -11
- package/src/types/_schema/{PersonEnrichment.ts → PersonEnrichments.ts} +15 -15
- package/src/types/_schema/{PersonNetwork.ts → PersonNetworks.ts} +11 -11
- package/src/types/_schema/{PersonSkill.ts → PersonSkills.ts} +11 -11
- package/src/types/_schema/{Person.ts → Persons.ts} +18 -18
- package/src/types/_schema/PersonsToBestPersons.ts +32 -0
- package/src/types/_schema/PersonsToPersonClubs.ts +33 -0
- package/src/types/_schema/PersonsToPersonNetworks.ts +33 -0
- package/src/types/_schema/PersonsToPersonSkills.ts +33 -0
- package/src/types/_schema/PersonsToTags.ts +33 -0
- package/src/types/_schema/{Position.ts → Positions.ts} +16 -16
- package/src/types/_schema/ReferralPayouts.ts +29 -0
- package/src/types/_schema/Referrals.ts +78 -0
- package/src/types/_schema/ReferralsToIntroMessages.ts +40 -0
- package/src/types/_schema/{Sender.ts → Senders.ts} +11 -11
- package/src/types/_schema/{Tag.ts → Tags.ts} +11 -11
- package/src/types/_schema/WebsiteBlocks.ts +45 -0
- package/src/types/_schema/WebsiteLandingPages.ts +47 -0
- package/src/types/_schema/WebsiteStaticPages.ts +53 -0
- package/src/types/models/admin/candidacies/index.ts +7 -7
- package/src/types/models/admin/persons/index.ts +11 -5
- package/src/types/models/admin/website/index.ts +5 -3
- package/src/types/models/auth/index.ts +2 -2
- package/src/types/utils/index.ts +2 -2
- package/src/types/_schema/Action.ts +0 -91
- package/src/types/_schema/Admin.ts +0 -36
- package/src/types/_schema/CampaignToPosition.ts +0 -40
- package/src/types/_schema/CandidacyRatingToTag.ts +0 -40
- package/src/types/_schema/Contract.ts +0 -62
- package/src/types/_schema/Conversation.ts +0 -64
- package/src/types/_schema/Jwt.ts +0 -55
- package/src/types/_schema/Message.ts +0 -70
- package/src/types/_schema/Note.ts +0 -76
- package/src/types/_schema/Otp.ts +0 -61
- package/src/types/_schema/PersonToBestPerson.ts +0 -32
- package/src/types/_schema/PersonToPersonClub.ts +0 -33
- package/src/types/_schema/PersonToPersonNetwork.ts +0 -33
- package/src/types/_schema/PersonToPersonSkill.ts +0 -33
- package/src/types/_schema/PersonToTag.ts +0 -33
- package/src/types/_schema/Referral.ts +0 -78
- package/src/types/_schema/ReferralPayout.ts +0 -29
- package/src/types/_schema/ReferralToIntroMessage.ts +0 -40
- package/src/types/_schema/WebsiteBlock.ts +0 -45
- package/src/types/_schema/WebsiteLandingPage.ts +0 -47
- package/src/types/_schema/WebsiteStaticPage.ts +0 -53
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { SenderId } from './Sender';
|
|
5
|
-
import type { PersonId } from './Person';
|
|
6
|
-
import type { ConversationId } from './Conversation';
|
|
7
|
-
|
|
8
|
-
/** Identifier type for public.Message */
|
|
9
|
-
export type MessageId = string & { __brand: 'MessageId' };
|
|
10
|
-
|
|
11
|
-
/** Represents the table public.Message */
|
|
12
|
-
export default interface Message {
|
|
13
|
-
id: MessageId;
|
|
14
|
-
|
|
15
|
-
urlId: number;
|
|
16
|
-
|
|
17
|
-
data: unknown;
|
|
18
|
-
|
|
19
|
-
adminSenderId: SenderId | null;
|
|
20
|
-
|
|
21
|
-
personId: PersonId;
|
|
22
|
-
|
|
23
|
-
conversationId: ConversationId;
|
|
24
|
-
|
|
25
|
-
createdAt: Date;
|
|
26
|
-
|
|
27
|
-
updatedAt: Date;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/** Represents the initializer for the table public.Message */
|
|
31
|
-
export interface MessageInitializer {
|
|
32
|
-
/** Default value: gen_random_uuid() */
|
|
33
|
-
id?: MessageId;
|
|
34
|
-
|
|
35
|
-
/** Default value: nextval('"Message_urlId_seq"'::regclass) */
|
|
36
|
-
urlId?: number;
|
|
37
|
-
|
|
38
|
-
data: unknown;
|
|
39
|
-
|
|
40
|
-
adminSenderId?: SenderId | null;
|
|
41
|
-
|
|
42
|
-
personId: PersonId;
|
|
43
|
-
|
|
44
|
-
conversationId: ConversationId;
|
|
45
|
-
|
|
46
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
47
|
-
createdAt?: Date;
|
|
48
|
-
|
|
49
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
50
|
-
updatedAt?: Date;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/** Represents the mutator for the table public.Message */
|
|
54
|
-
export interface MessageMutator {
|
|
55
|
-
id?: MessageId;
|
|
56
|
-
|
|
57
|
-
urlId?: number;
|
|
58
|
-
|
|
59
|
-
data?: unknown;
|
|
60
|
-
|
|
61
|
-
adminSenderId?: SenderId | null;
|
|
62
|
-
|
|
63
|
-
personId?: PersonId;
|
|
64
|
-
|
|
65
|
-
conversationId?: ConversationId;
|
|
66
|
-
|
|
67
|
-
createdAt?: Date;
|
|
68
|
-
|
|
69
|
-
updatedAt?: Date;
|
|
70
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { AdminId } from './Admin';
|
|
5
|
-
import type { CandidacyId } from './Candidacy';
|
|
6
|
-
import type { PersonId } from './Person';
|
|
7
|
-
import type { ClientId } from './Client';
|
|
8
|
-
|
|
9
|
-
/** Identifier type for public.Note */
|
|
10
|
-
export type NoteId = string & { __brand: 'NoteId' };
|
|
11
|
-
|
|
12
|
-
/** Represents the table public.Note */
|
|
13
|
-
export default interface Note {
|
|
14
|
-
id: NoteId;
|
|
15
|
-
|
|
16
|
-
content: string;
|
|
17
|
-
|
|
18
|
-
adminId: AdminId | null;
|
|
19
|
-
|
|
20
|
-
candidacyId: CandidacyId | null;
|
|
21
|
-
|
|
22
|
-
personId: PersonId | null;
|
|
23
|
-
|
|
24
|
-
clientId: ClientId | null;
|
|
25
|
-
|
|
26
|
-
deletedAt: Date | null;
|
|
27
|
-
|
|
28
|
-
createdAt: Date;
|
|
29
|
-
|
|
30
|
-
updatedAt: Date;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/** Represents the initializer for the table public.Note */
|
|
34
|
-
export interface NoteInitializer {
|
|
35
|
-
/** Default value: gen_random_uuid() */
|
|
36
|
-
id?: NoteId;
|
|
37
|
-
|
|
38
|
-
content: string;
|
|
39
|
-
|
|
40
|
-
adminId?: AdminId | null;
|
|
41
|
-
|
|
42
|
-
candidacyId?: CandidacyId | null;
|
|
43
|
-
|
|
44
|
-
personId?: PersonId | null;
|
|
45
|
-
|
|
46
|
-
clientId?: ClientId | null;
|
|
47
|
-
|
|
48
|
-
deletedAt?: Date | null;
|
|
49
|
-
|
|
50
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
51
|
-
createdAt?: Date;
|
|
52
|
-
|
|
53
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
54
|
-
updatedAt?: Date;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/** Represents the mutator for the table public.Note */
|
|
58
|
-
export interface NoteMutator {
|
|
59
|
-
id?: NoteId;
|
|
60
|
-
|
|
61
|
-
content?: string;
|
|
62
|
-
|
|
63
|
-
adminId?: AdminId | null;
|
|
64
|
-
|
|
65
|
-
candidacyId?: CandidacyId | null;
|
|
66
|
-
|
|
67
|
-
personId?: PersonId | null;
|
|
68
|
-
|
|
69
|
-
clientId?: ClientId | null;
|
|
70
|
-
|
|
71
|
-
deletedAt?: Date | null;
|
|
72
|
-
|
|
73
|
-
createdAt?: Date;
|
|
74
|
-
|
|
75
|
-
updatedAt?: Date;
|
|
76
|
-
}
|
package/src/types/_schema/Otp.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { PersonId } from './Person';
|
|
5
|
-
|
|
6
|
-
/** Identifier type for public.Otp */
|
|
7
|
-
export type OtpId = number & { __brand: 'OtpId' };
|
|
8
|
-
|
|
9
|
-
/** Represents the table public.Otp */
|
|
10
|
-
export default interface Otp {
|
|
11
|
-
id: OtpId;
|
|
12
|
-
|
|
13
|
-
code: string;
|
|
14
|
-
|
|
15
|
-
usedAt: Date | null;
|
|
16
|
-
|
|
17
|
-
expiresAt: Date;
|
|
18
|
-
|
|
19
|
-
createdAt: Date;
|
|
20
|
-
|
|
21
|
-
updatedAt: Date;
|
|
22
|
-
|
|
23
|
-
personId: PersonId;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/** Represents the initializer for the table public.Otp */
|
|
27
|
-
export interface OtpInitializer {
|
|
28
|
-
/** Default value: nextval('"Otp_id_seq"'::regclass) */
|
|
29
|
-
id?: OtpId;
|
|
30
|
-
|
|
31
|
-
code: string;
|
|
32
|
-
|
|
33
|
-
usedAt?: Date | null;
|
|
34
|
-
|
|
35
|
-
expiresAt: Date;
|
|
36
|
-
|
|
37
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
38
|
-
createdAt?: Date;
|
|
39
|
-
|
|
40
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
41
|
-
updatedAt?: Date;
|
|
42
|
-
|
|
43
|
-
personId: PersonId;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/** Represents the mutator for the table public.Otp */
|
|
47
|
-
export interface OtpMutator {
|
|
48
|
-
id?: OtpId;
|
|
49
|
-
|
|
50
|
-
code?: string;
|
|
51
|
-
|
|
52
|
-
usedAt?: Date | null;
|
|
53
|
-
|
|
54
|
-
expiresAt?: Date;
|
|
55
|
-
|
|
56
|
-
createdAt?: Date;
|
|
57
|
-
|
|
58
|
-
updatedAt?: Date;
|
|
59
|
-
|
|
60
|
-
personId?: PersonId;
|
|
61
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { PersonId } from './Person';
|
|
5
|
-
|
|
6
|
-
/** Represents the table public.PersonToBestPerson */
|
|
7
|
-
export default interface PersonToBestPerson {
|
|
8
|
-
bestiedByPersonId: PersonId;
|
|
9
|
-
|
|
10
|
-
bestPersonId: PersonId;
|
|
11
|
-
|
|
12
|
-
createdAt: Date;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/** Represents the initializer for the table public.PersonToBestPerson */
|
|
16
|
-
export interface PersonToBestPersonInitializer {
|
|
17
|
-
bestiedByPersonId: PersonId;
|
|
18
|
-
|
|
19
|
-
bestPersonId: PersonId;
|
|
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
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { PersonId } from './Person';
|
|
5
|
-
import type { PersonClubId } from './PersonClub';
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.PersonToPersonClub */
|
|
8
|
-
export default interface PersonToPersonClub {
|
|
9
|
-
personId: PersonId;
|
|
10
|
-
|
|
11
|
-
clubId: PersonClubId;
|
|
12
|
-
|
|
13
|
-
createdAt: Date;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/** Represents the initializer for the table public.PersonToPersonClub */
|
|
17
|
-
export interface PersonToPersonClubInitializer {
|
|
18
|
-
personId: PersonId;
|
|
19
|
-
|
|
20
|
-
clubId: PersonClubId;
|
|
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
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { PersonId } from './Person';
|
|
5
|
-
import type { PersonNetworkId } from './PersonNetwork';
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.PersonToPersonNetwork */
|
|
8
|
-
export default interface PersonToPersonNetwork {
|
|
9
|
-
personId: PersonId;
|
|
10
|
-
|
|
11
|
-
networkId: PersonNetworkId;
|
|
12
|
-
|
|
13
|
-
createdAt: Date;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/** Represents the initializer for the table public.PersonToPersonNetwork */
|
|
17
|
-
export interface PersonToPersonNetworkInitializer {
|
|
18
|
-
personId: PersonId;
|
|
19
|
-
|
|
20
|
-
networkId: PersonNetworkId;
|
|
21
|
-
|
|
22
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
23
|
-
createdAt?: Date;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/** Represents the mutator for the table public.PersonToPersonNetwork */
|
|
27
|
-
export interface PersonToPersonNetworkMutator {
|
|
28
|
-
personId?: PersonId;
|
|
29
|
-
|
|
30
|
-
networkId?: PersonNetworkId;
|
|
31
|
-
|
|
32
|
-
createdAt?: Date;
|
|
33
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { PersonId } from './Person';
|
|
5
|
-
import type { PersonSkillId } from './PersonSkill';
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.PersonToPersonSkill */
|
|
8
|
-
export default interface PersonToPersonSkill {
|
|
9
|
-
personId: PersonId;
|
|
10
|
-
|
|
11
|
-
skillId: PersonSkillId;
|
|
12
|
-
|
|
13
|
-
createdAt: Date;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/** Represents the initializer for the table public.PersonToPersonSkill */
|
|
17
|
-
export interface PersonToPersonSkillInitializer {
|
|
18
|
-
personId: PersonId;
|
|
19
|
-
|
|
20
|
-
skillId: PersonSkillId;
|
|
21
|
-
|
|
22
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
23
|
-
createdAt?: Date;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/** Represents the mutator for the table public.PersonToPersonSkill */
|
|
27
|
-
export interface PersonToPersonSkillMutator {
|
|
28
|
-
personId?: PersonId;
|
|
29
|
-
|
|
30
|
-
skillId?: PersonSkillId;
|
|
31
|
-
|
|
32
|
-
createdAt?: Date;
|
|
33
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { PersonId } from './Person';
|
|
5
|
-
import type { TagId } from './Tag';
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.PersonToTag */
|
|
8
|
-
export default interface PersonToTag {
|
|
9
|
-
personId: PersonId;
|
|
10
|
-
|
|
11
|
-
tagId: TagId;
|
|
12
|
-
|
|
13
|
-
createdAt: Date;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/** Represents the initializer for the table public.PersonToTag */
|
|
17
|
-
export interface PersonToTagInitializer {
|
|
18
|
-
personId: PersonId;
|
|
19
|
-
|
|
20
|
-
tagId: TagId;
|
|
21
|
-
|
|
22
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
23
|
-
createdAt?: Date;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/** Represents the mutator for the table public.PersonToTag */
|
|
27
|
-
export interface PersonToTagMutator {
|
|
28
|
-
personId?: PersonId;
|
|
29
|
-
|
|
30
|
-
tagId?: TagId;
|
|
31
|
-
|
|
32
|
-
createdAt?: Date;
|
|
33
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { default as ReferralSources } from './ReferralSources';
|
|
5
|
-
import type { PersonId } from './Person';
|
|
6
|
-
import type { CandidacyId } from './Candidacy';
|
|
7
|
-
import type { CampaignId } from './Campaign';
|
|
8
|
-
import type { PositionId } from './Position';
|
|
9
|
-
|
|
10
|
-
/** Identifier type for public.Referral */
|
|
11
|
-
export type ReferralId = string & { __brand: 'ReferralId' };
|
|
12
|
-
|
|
13
|
-
/** Represents the table public.Referral */
|
|
14
|
-
export default interface Referral {
|
|
15
|
-
id: ReferralId;
|
|
16
|
-
|
|
17
|
-
source: ReferralSources | null;
|
|
18
|
-
|
|
19
|
-
referrerId: PersonId;
|
|
20
|
-
|
|
21
|
-
candidacyId: CandidacyId;
|
|
22
|
-
|
|
23
|
-
campaignId: CampaignId | null;
|
|
24
|
-
|
|
25
|
-
positionId: PositionId;
|
|
26
|
-
|
|
27
|
-
createdAt: Date;
|
|
28
|
-
|
|
29
|
-
updatedAt: Date;
|
|
30
|
-
|
|
31
|
-
messageId: string | null;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/** Represents the initializer for the table public.Referral */
|
|
35
|
-
export interface ReferralInitializer {
|
|
36
|
-
/** Default value: gen_random_uuid() */
|
|
37
|
-
id?: ReferralId;
|
|
38
|
-
|
|
39
|
-
/** Default value: 'ADMIN'::"ReferralSources" */
|
|
40
|
-
source?: ReferralSources | null;
|
|
41
|
-
|
|
42
|
-
referrerId: PersonId;
|
|
43
|
-
|
|
44
|
-
candidacyId: CandidacyId;
|
|
45
|
-
|
|
46
|
-
campaignId?: CampaignId | null;
|
|
47
|
-
|
|
48
|
-
positionId: PositionId;
|
|
49
|
-
|
|
50
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
51
|
-
createdAt?: Date;
|
|
52
|
-
|
|
53
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
54
|
-
updatedAt?: Date;
|
|
55
|
-
|
|
56
|
-
messageId?: string | null;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/** Represents the mutator for the table public.Referral */
|
|
60
|
-
export interface ReferralMutator {
|
|
61
|
-
id?: ReferralId;
|
|
62
|
-
|
|
63
|
-
source?: ReferralSources | null;
|
|
64
|
-
|
|
65
|
-
referrerId?: PersonId;
|
|
66
|
-
|
|
67
|
-
candidacyId?: CandidacyId;
|
|
68
|
-
|
|
69
|
-
campaignId?: CampaignId | null;
|
|
70
|
-
|
|
71
|
-
positionId?: PositionId;
|
|
72
|
-
|
|
73
|
-
createdAt?: Date;
|
|
74
|
-
|
|
75
|
-
updatedAt?: Date;
|
|
76
|
-
|
|
77
|
-
messageId?: string | null;
|
|
78
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { ReferralId } from './Referral';
|
|
5
|
-
|
|
6
|
-
/** Identifier type for public.ReferralPayout */
|
|
7
|
-
export type ReferralPayoutId = string & { __brand: 'ReferralPayoutId' };
|
|
8
|
-
|
|
9
|
-
/** Represents the table public.ReferralPayout */
|
|
10
|
-
export default interface ReferralPayout {
|
|
11
|
-
id: ReferralPayoutId;
|
|
12
|
-
|
|
13
|
-
referralId: ReferralId | null;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/** Represents the initializer for the table public.ReferralPayout */
|
|
17
|
-
export interface ReferralPayoutInitializer {
|
|
18
|
-
/** Default value: gen_random_uuid() */
|
|
19
|
-
id?: ReferralPayoutId;
|
|
20
|
-
|
|
21
|
-
referralId?: ReferralId | null;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/** Represents the mutator for the table public.ReferralPayout */
|
|
25
|
-
export interface ReferralPayoutMutator {
|
|
26
|
-
id?: ReferralPayoutId;
|
|
27
|
-
|
|
28
|
-
referralId?: ReferralId | null;
|
|
29
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { MessageId } from './Message';
|
|
5
|
-
import type { ReferralId } from './Referral';
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.ReferralToIntroMessage */
|
|
8
|
-
export default interface ReferralToIntroMessage {
|
|
9
|
-
messageId: MessageId;
|
|
10
|
-
|
|
11
|
-
referralId: ReferralId;
|
|
12
|
-
|
|
13
|
-
createdAt: Date;
|
|
14
|
-
|
|
15
|
-
updatedAt: Date;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/** Represents the initializer for the table public.ReferralToIntroMessage */
|
|
19
|
-
export interface ReferralToIntroMessageInitializer {
|
|
20
|
-
messageId: MessageId;
|
|
21
|
-
|
|
22
|
-
referralId: ReferralId;
|
|
23
|
-
|
|
24
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
25
|
-
createdAt?: Date;
|
|
26
|
-
|
|
27
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
28
|
-
updatedAt?: Date;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/** Represents the mutator for the table public.ReferralToIntroMessage */
|
|
32
|
-
export interface ReferralToIntroMessageMutator {
|
|
33
|
-
messageId?: MessageId;
|
|
34
|
-
|
|
35
|
-
referralId?: ReferralId;
|
|
36
|
-
|
|
37
|
-
createdAt?: Date;
|
|
38
|
-
|
|
39
|
-
updatedAt?: Date;
|
|
40
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
/** Identifier type for public.WebsiteBlock */
|
|
5
|
-
export type WebsiteBlockId = string & { __brand: 'WebsiteBlockId' };
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.WebsiteBlock */
|
|
8
|
-
export default interface WebsiteBlock {
|
|
9
|
-
id: WebsiteBlockId;
|
|
10
|
-
|
|
11
|
-
slug: string;
|
|
12
|
-
|
|
13
|
-
name: string;
|
|
14
|
-
|
|
15
|
-
content: string;
|
|
16
|
-
|
|
17
|
-
contentType: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/** Represents the initializer for the table public.WebsiteBlock */
|
|
21
|
-
export interface WebsiteBlockInitializer {
|
|
22
|
-
/** Default value: gen_random_uuid() */
|
|
23
|
-
id?: WebsiteBlockId;
|
|
24
|
-
|
|
25
|
-
slug: string;
|
|
26
|
-
|
|
27
|
-
name: string;
|
|
28
|
-
|
|
29
|
-
content: string;
|
|
30
|
-
|
|
31
|
-
contentType: string;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/** Represents the mutator for the table public.WebsiteBlock */
|
|
35
|
-
export interface WebsiteBlockMutator {
|
|
36
|
-
id?: WebsiteBlockId;
|
|
37
|
-
|
|
38
|
-
slug?: string;
|
|
39
|
-
|
|
40
|
-
name?: string;
|
|
41
|
-
|
|
42
|
-
content?: string;
|
|
43
|
-
|
|
44
|
-
contentType?: string;
|
|
45
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
/** Identifier type for public.WebsiteLandingPage */
|
|
5
|
-
export type WebsiteLandingPageId = string & { __brand: 'WebsiteLandingPageId' };
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.WebsiteLandingPage */
|
|
8
|
-
export default interface WebsiteLandingPage {
|
|
9
|
-
id: WebsiteLandingPageId;
|
|
10
|
-
|
|
11
|
-
slug: string;
|
|
12
|
-
|
|
13
|
-
name: string;
|
|
14
|
-
|
|
15
|
-
content: unknown;
|
|
16
|
-
|
|
17
|
-
meta: unknown;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/** Represents the initializer for the table public.WebsiteLandingPage */
|
|
21
|
-
export interface WebsiteLandingPageInitializer {
|
|
22
|
-
/** Default value: gen_random_uuid() */
|
|
23
|
-
id?: WebsiteLandingPageId;
|
|
24
|
-
|
|
25
|
-
slug: string;
|
|
26
|
-
|
|
27
|
-
name: string;
|
|
28
|
-
|
|
29
|
-
/** Default value: '{}'::jsonb */
|
|
30
|
-
content?: unknown;
|
|
31
|
-
|
|
32
|
-
/** Default value: '{}'::jsonb */
|
|
33
|
-
meta?: unknown;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/** Represents the mutator for the table public.WebsiteLandingPage */
|
|
37
|
-
export interface WebsiteLandingPageMutator {
|
|
38
|
-
id?: WebsiteLandingPageId;
|
|
39
|
-
|
|
40
|
-
slug?: string;
|
|
41
|
-
|
|
42
|
-
name?: string;
|
|
43
|
-
|
|
44
|
-
content?: unknown;
|
|
45
|
-
|
|
46
|
-
meta?: unknown;
|
|
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.WebsiteStaticPage */
|
|
5
|
-
export type WebsiteStaticPageId = string & { __brand: 'WebsiteStaticPageId' };
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.WebsiteStaticPage */
|
|
8
|
-
export default interface WebsiteStaticPage {
|
|
9
|
-
id: WebsiteStaticPageId;
|
|
10
|
-
|
|
11
|
-
slug: string;
|
|
12
|
-
|
|
13
|
-
name: string;
|
|
14
|
-
|
|
15
|
-
path: string;
|
|
16
|
-
|
|
17
|
-
content: unknown;
|
|
18
|
-
|
|
19
|
-
meta: unknown;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/** Represents the initializer for the table public.WebsiteStaticPage */
|
|
23
|
-
export interface WebsiteStaticPageInitializer {
|
|
24
|
-
/** Default value: gen_random_uuid() */
|
|
25
|
-
id?: WebsiteStaticPageId;
|
|
26
|
-
|
|
27
|
-
slug: string;
|
|
28
|
-
|
|
29
|
-
name: string;
|
|
30
|
-
|
|
31
|
-
path: string;
|
|
32
|
-
|
|
33
|
-
/** Default value: '{}'::jsonb */
|
|
34
|
-
content?: unknown;
|
|
35
|
-
|
|
36
|
-
/** Default value: '{}'::jsonb */
|
|
37
|
-
meta?: unknown;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/** Represents the mutator for the table public.WebsiteStaticPage */
|
|
41
|
-
export interface WebsiteStaticPageMutator {
|
|
42
|
-
id?: WebsiteStaticPageId;
|
|
43
|
-
|
|
44
|
-
slug?: string;
|
|
45
|
-
|
|
46
|
-
name?: string;
|
|
47
|
-
|
|
48
|
-
path?: string;
|
|
49
|
-
|
|
50
|
-
content?: unknown;
|
|
51
|
-
|
|
52
|
-
meta?: unknown;
|
|
53
|
-
}
|