@the-inkwell/shared 0.1.74 → 0.1.76
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 +19 -16
- package/src/types/models/admin/persons/index.ts +11 -5
- package/src/types/models/admin/website/index.ts +6 -4
- package/src/types/models/auth/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
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// @generated
|
|
2
|
+
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
+
|
|
4
|
+
/** Identifier type for public.website_blocks */
|
|
5
|
+
export type WebsiteBlocksId = string | number;
|
|
6
|
+
|
|
7
|
+
/** Represents the table public.website_blocks */
|
|
8
|
+
export default interface WebsiteBlocks {
|
|
9
|
+
id: WebsiteBlocksId;
|
|
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.website_blocks */
|
|
21
|
+
export interface WebsiteBlocksInitializer {
|
|
22
|
+
/** Default value: gen_random_uuid() */
|
|
23
|
+
id?: WebsiteBlocksId;
|
|
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.website_blocks */
|
|
35
|
+
export interface WebsiteBlocksMutator {
|
|
36
|
+
id?: WebsiteBlocksId;
|
|
37
|
+
|
|
38
|
+
slug?: string;
|
|
39
|
+
|
|
40
|
+
name?: string;
|
|
41
|
+
|
|
42
|
+
content?: string;
|
|
43
|
+
|
|
44
|
+
contentType?: string;
|
|
45
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// @generated
|
|
2
|
+
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
+
|
|
4
|
+
/** Identifier type for public.website_landing_pages */
|
|
5
|
+
export type WebsiteLandingPagesId = string | number;
|
|
6
|
+
|
|
7
|
+
/** Represents the table public.website_landing_pages */
|
|
8
|
+
export default interface WebsiteLandingPages {
|
|
9
|
+
id: WebsiteLandingPagesId;
|
|
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.website_landing_pages */
|
|
21
|
+
export interface WebsiteLandingPagesInitializer {
|
|
22
|
+
/** Default value: gen_random_uuid() */
|
|
23
|
+
id?: WebsiteLandingPagesId;
|
|
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.website_landing_pages */
|
|
37
|
+
export interface WebsiteLandingPagesMutator {
|
|
38
|
+
id?: WebsiteLandingPagesId;
|
|
39
|
+
|
|
40
|
+
slug?: string;
|
|
41
|
+
|
|
42
|
+
name?: string;
|
|
43
|
+
|
|
44
|
+
content?: unknown;
|
|
45
|
+
|
|
46
|
+
meta?: unknown;
|
|
47
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// @generated
|
|
2
|
+
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
+
|
|
4
|
+
/** Identifier type for public.website_static_pages */
|
|
5
|
+
export type WebsiteStaticPagesId = string | number;
|
|
6
|
+
|
|
7
|
+
/** Represents the table public.website_static_pages */
|
|
8
|
+
export default interface WebsiteStaticPages {
|
|
9
|
+
id: WebsiteStaticPagesId;
|
|
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.website_static_pages */
|
|
23
|
+
export interface WebsiteStaticPagesInitializer {
|
|
24
|
+
/** Default value: gen_random_uuid() */
|
|
25
|
+
id?: WebsiteStaticPagesId;
|
|
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.website_static_pages */
|
|
41
|
+
export interface WebsiteStaticPagesMutator {
|
|
42
|
+
id?: WebsiteStaticPagesId;
|
|
43
|
+
|
|
44
|
+
slug?: string;
|
|
45
|
+
|
|
46
|
+
name?: string;
|
|
47
|
+
|
|
48
|
+
path?: string;
|
|
49
|
+
|
|
50
|
+
content?: unknown;
|
|
51
|
+
|
|
52
|
+
meta?: unknown;
|
|
53
|
+
}
|
|
@@ -1,26 +1,29 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type
|
|
1
|
+
import type Actions from '../../../_schema/Actions'
|
|
2
|
+
import type Candidacies from '../../../_schema/Candidacies'
|
|
3
3
|
import type CandidacyFeedback from '../../../_schema/CandidacyFeedback'
|
|
4
|
-
import type
|
|
5
|
-
import type
|
|
6
|
-
import type
|
|
7
|
-
import type
|
|
4
|
+
import type Notes from '../../../_schema/Notes'
|
|
5
|
+
import type Persons from '../../../_schema/Persons'
|
|
6
|
+
import type Referrals from '../../../_schema/Referrals'
|
|
7
|
+
import type Tags from '../../../_schema/Tags'
|
|
8
8
|
import { type ListRequest, type ListResponse } from '../../../utils'
|
|
9
9
|
|
|
10
|
+
export type AdminCandidacy = Candidacies & {
|
|
11
|
+
referral?: Pick<Referrals, 'id'>
|
|
12
|
+
person?: Pick<Persons, 'id' | 'firstName' | 'lastName' | 'photoUrl'>
|
|
13
|
+
candidacyRatingToTags?: {
|
|
14
|
+
tag: Pick<Tags, 'id' | 'name'>[]
|
|
15
|
+
}[]
|
|
16
|
+
actions?: Pick<Actions, 'id' | 'name'>[]
|
|
17
|
+
candidacyFeedbacks?: Pick<CandidacyFeedback, 'id' | 'content'>[]
|
|
18
|
+
notes?: Pick<Notes, 'id' | 'content'>[]
|
|
19
|
+
}
|
|
20
|
+
|
|
10
21
|
// detail
|
|
11
22
|
|
|
12
|
-
export type AdminCandidacy = Candidacy
|
|
13
23
|
export type AdminCandidacyQueryParams = Pick<AdminCandidacy, 'id'>
|
|
14
|
-
export type AdminCandidacyResponse = AdminCandidacy
|
|
15
|
-
referral?: Pick<Referral, 'id'>
|
|
16
|
-
person: Pick<Person, 'id' | 'firstName' | 'lastName' | 'photoUrl'>
|
|
17
|
-
ratingTags?: Pick<Tag, 'id' | 'name'>[]
|
|
18
|
-
actions?: Pick<Action, 'id' | 'name'>[]
|
|
19
|
-
feedbacks?: Pick<CandidacyFeedback, 'id' | 'content'>[]
|
|
20
|
-
notes?: Pick<Note, 'id' | 'content'>[]
|
|
21
|
-
}
|
|
24
|
+
export type AdminCandidacyResponse = AdminCandidacy
|
|
22
25
|
|
|
23
26
|
// list
|
|
24
27
|
|
|
25
|
-
export type AdminCandidacyList = ListResponse<AdminCandidacy>
|
|
26
28
|
export type AdminCandidacyListInput = ListRequest
|
|
29
|
+
export type AdminCandidacyListResponse = ListResponse<AdminCandidacy>
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type {
|
|
1
|
+
import type Persons from '../../../_schema/Persons'
|
|
2
|
+
import type {
|
|
3
|
+
PersonsMutator,
|
|
4
|
+
PersonsInitializer
|
|
5
|
+
} from '../../../_schema/Persons'
|
|
3
6
|
import { type ListRequest, type ListResponse } from '../../../utils'
|
|
4
7
|
|
|
8
|
+
type AdminPersonMutator = PersonsMutator
|
|
9
|
+
type AdminPersonInitializer = PersonsInitializer
|
|
10
|
+
export type AdminPerson = Persons
|
|
11
|
+
|
|
5
12
|
// detail
|
|
6
13
|
|
|
7
|
-
export type AdminPerson = Person
|
|
8
14
|
export type AdminPersonQueryParams = Pick<AdminPerson, 'id'>
|
|
9
15
|
export type AdminPersonResponse = AdminPerson
|
|
10
16
|
|
|
@@ -16,7 +22,7 @@ export type AdminPersonListResponse = ListResponse<AdminPerson>
|
|
|
16
22
|
// create
|
|
17
23
|
|
|
18
24
|
export type AdminPersonCreateInput = Pick<
|
|
19
|
-
|
|
25
|
+
AdminPersonInitializer,
|
|
20
26
|
'firstName' | 'lastName' | 'email' | 'phone' | 'linkedInUrl' | 'photoUrl'
|
|
21
27
|
>
|
|
22
28
|
export type AdminPersonCreateResponse = Pick<AdminPerson, 'id'>
|
|
@@ -24,7 +30,7 @@ export type AdminPersonCreateResponse = Pick<AdminPerson, 'id'>
|
|
|
24
30
|
// update
|
|
25
31
|
|
|
26
32
|
export type AdminPersonUpdateInput = Pick<
|
|
27
|
-
|
|
33
|
+
AdminPersonMutator,
|
|
28
34
|
'firstName' | 'lastName' | 'email' | 'phone' | 'linkedInUrl' | 'photoUrl'
|
|
29
35
|
>
|
|
30
36
|
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import type WebsiteStaticPage from '../../../_schema/
|
|
2
|
-
import type {
|
|
1
|
+
import type WebsiteStaticPage from '../../../_schema/WebsiteStaticPages'
|
|
2
|
+
import type { WebsiteStaticPagesMutator } from '../../../_schema/WebsiteStaticPages'
|
|
3
3
|
import { type ListResponse } from '../../../utils'
|
|
4
4
|
|
|
5
|
+
type AdminWebsiteStaticPageMutator = WebsiteStaticPagesMutator
|
|
6
|
+
export type AdminWebsiteStaticPage = WebsiteStaticPage
|
|
7
|
+
|
|
5
8
|
// detail
|
|
6
9
|
|
|
7
|
-
export type AdminWebsiteStaticPage = WebsiteStaticPage
|
|
8
10
|
export type AdminWebsiteStaticPageQueryParams = Pick<WebsiteStaticPage, 'slug'>
|
|
9
11
|
export type AdminWebsiteStaticPageResponse = AdminWebsiteStaticPage
|
|
10
12
|
|
|
@@ -17,6 +19,6 @@ export type AdminWebsiteStaticPageListResponse = AdminWebsiteStaticPageList
|
|
|
17
19
|
// update
|
|
18
20
|
|
|
19
21
|
export type AdminWebsiteStaticPageUpdateInput = Pick<
|
|
20
|
-
|
|
22
|
+
AdminWebsiteStaticPageMutator,
|
|
21
23
|
'content' | 'meta'
|
|
22
24
|
>
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { CandidacyId } from './Candidacy';
|
|
5
|
-
import type { ClientId } from './Client';
|
|
6
|
-
import type { MessageId } from './Message';
|
|
7
|
-
import type { NoteId } from './Note';
|
|
8
|
-
import type { PersonId } from './Person';
|
|
9
|
-
import type { PositionId } from './Position';
|
|
10
|
-
import type { ReferralId } from './Referral';
|
|
11
|
-
import type { default as ActionNames } from './ActionNames';
|
|
12
|
-
|
|
13
|
-
/** Identifier type for public.Action */
|
|
14
|
-
export type ActionId = string & { __brand: 'ActionId' };
|
|
15
|
-
|
|
16
|
-
/** Represents the table public.Action */
|
|
17
|
-
export default interface Action {
|
|
18
|
-
id: ActionId;
|
|
19
|
-
|
|
20
|
-
candidacyId: CandidacyId | null;
|
|
21
|
-
|
|
22
|
-
clientId: ClientId | null;
|
|
23
|
-
|
|
24
|
-
messageId: MessageId | null;
|
|
25
|
-
|
|
26
|
-
noteId: NoteId | null;
|
|
27
|
-
|
|
28
|
-
personId: PersonId | null;
|
|
29
|
-
|
|
30
|
-
positionId: PositionId | null;
|
|
31
|
-
|
|
32
|
-
referralId: ReferralId | null;
|
|
33
|
-
|
|
34
|
-
data: unknown;
|
|
35
|
-
|
|
36
|
-
createdAt: Date;
|
|
37
|
-
|
|
38
|
-
name: ActionNames;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/** Represents the initializer for the table public.Action */
|
|
42
|
-
export interface ActionInitializer {
|
|
43
|
-
/** Default value: gen_random_uuid() */
|
|
44
|
-
id?: ActionId;
|
|
45
|
-
|
|
46
|
-
candidacyId?: CandidacyId | null;
|
|
47
|
-
|
|
48
|
-
clientId?: ClientId | null;
|
|
49
|
-
|
|
50
|
-
messageId?: MessageId | null;
|
|
51
|
-
|
|
52
|
-
noteId?: NoteId | null;
|
|
53
|
-
|
|
54
|
-
personId?: PersonId | null;
|
|
55
|
-
|
|
56
|
-
positionId?: PositionId | null;
|
|
57
|
-
|
|
58
|
-
referralId?: ReferralId | null;
|
|
59
|
-
|
|
60
|
-
data: unknown;
|
|
61
|
-
|
|
62
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
63
|
-
createdAt?: Date;
|
|
64
|
-
|
|
65
|
-
name: ActionNames;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/** Represents the mutator for the table public.Action */
|
|
69
|
-
export interface ActionMutator {
|
|
70
|
-
id?: ActionId;
|
|
71
|
-
|
|
72
|
-
candidacyId?: CandidacyId | null;
|
|
73
|
-
|
|
74
|
-
clientId?: ClientId | null;
|
|
75
|
-
|
|
76
|
-
messageId?: MessageId | null;
|
|
77
|
-
|
|
78
|
-
noteId?: NoteId | null;
|
|
79
|
-
|
|
80
|
-
personId?: PersonId | null;
|
|
81
|
-
|
|
82
|
-
positionId?: PositionId | null;
|
|
83
|
-
|
|
84
|
-
referralId?: ReferralId | null;
|
|
85
|
-
|
|
86
|
-
data?: unknown;
|
|
87
|
-
|
|
88
|
-
createdAt?: Date;
|
|
89
|
-
|
|
90
|
-
name?: ActionNames;
|
|
91
|
-
}
|
|
@@ -1,36 +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.Admin */
|
|
7
|
-
export type AdminId = string & { __brand: 'AdminId' };
|
|
8
|
-
|
|
9
|
-
/** Represents the table public.Admin */
|
|
10
|
-
export default interface Admin {
|
|
11
|
-
id: AdminId;
|
|
12
|
-
|
|
13
|
-
personId: PersonId;
|
|
14
|
-
|
|
15
|
-
createdAt: Date;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/** Represents the initializer for the table public.Admin */
|
|
19
|
-
export interface AdminInitializer {
|
|
20
|
-
/** Default value: gen_random_uuid() */
|
|
21
|
-
id?: AdminId;
|
|
22
|
-
|
|
23
|
-
personId: PersonId;
|
|
24
|
-
|
|
25
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
26
|
-
createdAt?: Date;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/** Represents the mutator for the table public.Admin */
|
|
30
|
-
export interface AdminMutator {
|
|
31
|
-
id?: AdminId;
|
|
32
|
-
|
|
33
|
-
personId?: PersonId;
|
|
34
|
-
|
|
35
|
-
createdAt?: Date;
|
|
36
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { CampaignId } from './Campaign';
|
|
5
|
-
import type { PositionId } from './Position';
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.CampaignToPosition */
|
|
8
|
-
export default interface CampaignToPosition {
|
|
9
|
-
campaignId: CampaignId;
|
|
10
|
-
|
|
11
|
-
positionId: PositionId;
|
|
12
|
-
|
|
13
|
-
createdAt: Date;
|
|
14
|
-
|
|
15
|
-
updatedAt: Date;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/** Represents the initializer for the table public.CampaignToPosition */
|
|
19
|
-
export interface CampaignToPositionInitializer {
|
|
20
|
-
campaignId: CampaignId;
|
|
21
|
-
|
|
22
|
-
positionId: PositionId;
|
|
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.CampaignToPosition */
|
|
32
|
-
export interface CampaignToPositionMutator {
|
|
33
|
-
campaignId?: CampaignId;
|
|
34
|
-
|
|
35
|
-
positionId?: PositionId;
|
|
36
|
-
|
|
37
|
-
createdAt?: Date;
|
|
38
|
-
|
|
39
|
-
updatedAt?: Date;
|
|
40
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { TagId } from './Tag';
|
|
5
|
-
import type { CandidacyId } from './Candidacy';
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.CandidacyRatingToTag */
|
|
8
|
-
export default interface CandidacyRatingToTag {
|
|
9
|
-
tagId: TagId;
|
|
10
|
-
|
|
11
|
-
candidacyId: CandidacyId;
|
|
12
|
-
|
|
13
|
-
createdAt: Date;
|
|
14
|
-
|
|
15
|
-
updatedAt: Date;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/** Represents the initializer for the table public.CandidacyRatingToTag */
|
|
19
|
-
export interface CandidacyRatingToTagInitializer {
|
|
20
|
-
tagId: TagId;
|
|
21
|
-
|
|
22
|
-
candidacyId: CandidacyId;
|
|
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.CandidacyRatingToTag */
|
|
32
|
-
export interface CandidacyRatingToTagMutator {
|
|
33
|
-
tagId?: TagId;
|
|
34
|
-
|
|
35
|
-
candidacyId?: CandidacyId;
|
|
36
|
-
|
|
37
|
-
createdAt?: Date;
|
|
38
|
-
|
|
39
|
-
updatedAt?: Date;
|
|
40
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { PositionId } from './Position';
|
|
5
|
-
import type { ClientId } from './Client';
|
|
6
|
-
|
|
7
|
-
/** Identifier type for public.Contract */
|
|
8
|
-
export type ContractId = string & { __brand: 'ContractId' };
|
|
9
|
-
|
|
10
|
-
/** Represents the table public.Contract */
|
|
11
|
-
export default interface Contract {
|
|
12
|
-
id: ContractId;
|
|
13
|
-
|
|
14
|
-
data: unknown;
|
|
15
|
-
|
|
16
|
-
documentUrl: string;
|
|
17
|
-
|
|
18
|
-
positionId: PositionId | null;
|
|
19
|
-
|
|
20
|
-
clientId: ClientId;
|
|
21
|
-
|
|
22
|
-
createdAt: Date;
|
|
23
|
-
|
|
24
|
-
updatedAt: Date;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/** Represents the initializer for the table public.Contract */
|
|
28
|
-
export interface ContractInitializer {
|
|
29
|
-
/** Default value: gen_random_uuid() */
|
|
30
|
-
id?: ContractId;
|
|
31
|
-
|
|
32
|
-
data: unknown;
|
|
33
|
-
|
|
34
|
-
documentUrl: string;
|
|
35
|
-
|
|
36
|
-
positionId?: PositionId | null;
|
|
37
|
-
|
|
38
|
-
clientId: ClientId;
|
|
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.Contract */
|
|
48
|
-
export interface ContractMutator {
|
|
49
|
-
id?: ContractId;
|
|
50
|
-
|
|
51
|
-
data?: unknown;
|
|
52
|
-
|
|
53
|
-
documentUrl?: string;
|
|
54
|
-
|
|
55
|
-
positionId?: PositionId | null;
|
|
56
|
-
|
|
57
|
-
clientId?: ClientId;
|
|
58
|
-
|
|
59
|
-
createdAt?: Date;
|
|
60
|
-
|
|
61
|
-
updatedAt?: Date;
|
|
62
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { default as MessageChannels } from './MessageChannels';
|
|
5
|
-
import type { PersonId } from './Person';
|
|
6
|
-
import type { CampaignId } from './Campaign';
|
|
7
|
-
|
|
8
|
-
/** Identifier type for public.Conversation */
|
|
9
|
-
export type ConversationId = string & { __brand: 'ConversationId' };
|
|
10
|
-
|
|
11
|
-
/** Represents the table public.Conversation */
|
|
12
|
-
export default interface Conversation {
|
|
13
|
-
id: ConversationId;
|
|
14
|
-
|
|
15
|
-
urlId: number;
|
|
16
|
-
|
|
17
|
-
channel: MessageChannels;
|
|
18
|
-
|
|
19
|
-
personId: PersonId;
|
|
20
|
-
|
|
21
|
-
campaignId: CampaignId | null;
|
|
22
|
-
|
|
23
|
-
createdAt: Date;
|
|
24
|
-
|
|
25
|
-
updatedAt: Date;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/** Represents the initializer for the table public.Conversation */
|
|
29
|
-
export interface ConversationInitializer {
|
|
30
|
-
/** Default value: gen_random_uuid() */
|
|
31
|
-
id?: ConversationId;
|
|
32
|
-
|
|
33
|
-
/** Default value: nextval('"Conversation_urlId_seq"'::regclass) */
|
|
34
|
-
urlId?: number;
|
|
35
|
-
|
|
36
|
-
channel: MessageChannels;
|
|
37
|
-
|
|
38
|
-
personId: PersonId;
|
|
39
|
-
|
|
40
|
-
campaignId?: CampaignId | null;
|
|
41
|
-
|
|
42
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
43
|
-
createdAt?: Date;
|
|
44
|
-
|
|
45
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
46
|
-
updatedAt?: Date;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/** Represents the mutator for the table public.Conversation */
|
|
50
|
-
export interface ConversationMutator {
|
|
51
|
-
id?: ConversationId;
|
|
52
|
-
|
|
53
|
-
urlId?: number;
|
|
54
|
-
|
|
55
|
-
channel?: MessageChannels;
|
|
56
|
-
|
|
57
|
-
personId?: PersonId;
|
|
58
|
-
|
|
59
|
-
campaignId?: CampaignId | null;
|
|
60
|
-
|
|
61
|
-
createdAt?: Date;
|
|
62
|
-
|
|
63
|
-
updatedAt?: Date;
|
|
64
|
-
}
|
package/src/types/_schema/Jwt.ts
DELETED
|
@@ -1,55 +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.Jwt */
|
|
7
|
-
export type JwtId = number & { __brand: 'JwtId' };
|
|
8
|
-
|
|
9
|
-
/** Represents the table public.Jwt */
|
|
10
|
-
export default interface Jwt {
|
|
11
|
-
id: JwtId;
|
|
12
|
-
|
|
13
|
-
jti: string;
|
|
14
|
-
|
|
15
|
-
revokedAt: Date | null;
|
|
16
|
-
|
|
17
|
-
createdAt: Date;
|
|
18
|
-
|
|
19
|
-
updatedAt: Date;
|
|
20
|
-
|
|
21
|
-
personId: PersonId;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/** Represents the initializer for the table public.Jwt */
|
|
25
|
-
export interface JwtInitializer {
|
|
26
|
-
/** Default value: nextval('"Jwt_id_seq"'::regclass) */
|
|
27
|
-
id?: JwtId;
|
|
28
|
-
|
|
29
|
-
jti: string;
|
|
30
|
-
|
|
31
|
-
revokedAt?: Date | null;
|
|
32
|
-
|
|
33
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
34
|
-
createdAt?: Date;
|
|
35
|
-
|
|
36
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
37
|
-
updatedAt?: Date;
|
|
38
|
-
|
|
39
|
-
personId: PersonId;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/** Represents the mutator for the table public.Jwt */
|
|
43
|
-
export interface JwtMutator {
|
|
44
|
-
id?: JwtId;
|
|
45
|
-
|
|
46
|
-
jti?: string;
|
|
47
|
-
|
|
48
|
-
revokedAt?: Date | null;
|
|
49
|
-
|
|
50
|
-
createdAt?: Date;
|
|
51
|
-
|
|
52
|
-
updatedAt?: Date;
|
|
53
|
-
|
|
54
|
-
personId?: PersonId;
|
|
55
|
-
}
|