@the-inkwell/shared 0.1.69 → 0.1.71
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/db.js +6 -0
- package/package.json +4 -1
- package/src/types/db.ts +487 -0
- package/src/types/models/admin/candidacies/index.ts +3 -16
- package/src/types/models/admin/persons/index.ts +4 -3
- package/src/types/models/admin/website/index.ts +3 -5
- package/src/types/models/auth/index.ts +1 -2
- package/src/types/_schema/Action.ts +0 -46
- package/src/types/_schema/ActionNames.ts +0 -11
- package/src/types/_schema/Admin.ts +0 -23
- package/src/types/_schema/Campaign.ts +0 -37
- package/src/types/_schema/CampaignStatuses.ts +0 -10
- package/src/types/_schema/CampaignToPosition.ts +0 -23
- package/src/types/_schema/Candidacy.ts +0 -40
- package/src/types/_schema/CandidacyFeedback.ts +0 -29
- package/src/types/_schema/CandidacyRatingToTag.ts +0 -23
- package/src/types/_schema/CandidacySources.ts +0 -11
- package/src/types/_schema/CandidacyStatuses.ts +0 -14
- package/src/types/_schema/Client.ts +0 -29
- package/src/types/_schema/ClientStatuses.ts +0 -10
- package/src/types/_schema/Contract.ts +0 -32
- package/src/types/_schema/Conversation.ts +0 -33
- package/src/types/_schema/EnrichmentSources.ts +0 -8
- package/src/types/_schema/Jwt.ts +0 -29
- package/src/types/_schema/ListView.ts +0 -36
- package/src/types/_schema/ListViewModels.ts +0 -11
- package/src/types/_schema/Message.ts +0 -35
- package/src/types/_schema/MessageChannels.ts +0 -9
- package/src/types/_schema/MessageTemplate.ts +0 -28
- package/src/types/_schema/Note.ts +0 -38
- package/src/types/_schema/Otp.ts +0 -31
- package/src/types/_schema/Person.ts +0 -109
- package/src/types/_schema/PersonCareerLevels.ts +0 -13
- package/src/types/_schema/PersonClub.ts +0 -28
- package/src/types/_schema/PersonDegrees.ts +0 -13
- package/src/types/_schema/PersonEnrichment.ts +0 -32
- package/src/types/_schema/PersonGenders.ts +0 -11
- package/src/types/_schema/PersonNetwork.ts +0 -28
- package/src/types/_schema/PersonSkill.ts +0 -28
- package/src/types/_schema/PersonSources.ts +0 -11
- package/src/types/_schema/PersonToBestPerson.ts +0 -20
- package/src/types/_schema/PersonToPersonClub.ts +0 -21
- package/src/types/_schema/PersonToPersonNetwork.ts +0 -21
- package/src/types/_schema/PersonToPersonSkill.ts +0 -21
- package/src/types/_schema/PersonToTag.ts +0 -21
- package/src/types/_schema/Position.ts +0 -36
- package/src/types/_schema/PositionStatuses.ts +0 -9
- package/src/types/_schema/PublicSchema.ts +0 -110
- package/src/types/_schema/Referral.ts +0 -39
- package/src/types/_schema/ReferralPayout.ts +0 -21
- package/src/types/_schema/ReferralSources.ts +0 -10
- package/src/types/_schema/ReferralToIntroMessage.ts +0 -23
- package/src/types/_schema/Sender.ts +0 -30
- package/src/types/_schema/Tag.ts +0 -26
- package/src/types/_schema/WebsiteBlock.ts +0 -26
- package/src/types/_schema/WebsiteLandingPage.ts +0 -26
- package/src/types/_schema/WebsiteStaticPage.ts +0 -28
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
5
|
-
|
|
6
|
-
/** Identifier type for public.PersonClub */
|
|
7
|
-
export type PersonClubId = string & { __brand: 'PersonClubId' };
|
|
8
|
-
|
|
9
|
-
/** Represents the table public.PersonClub */
|
|
10
|
-
export default interface PersonClubTable {
|
|
11
|
-
id: ColumnType<PersonClubId, PersonClubId | undefined, PersonClubId>;
|
|
12
|
-
|
|
13
|
-
slug: ColumnType<string, string, string>;
|
|
14
|
-
|
|
15
|
-
name: ColumnType<string, string, string>;
|
|
16
|
-
|
|
17
|
-
deletedAt: ColumnType<Date | null, Date | string | null, Date | string | null>;
|
|
18
|
-
|
|
19
|
-
createdAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
20
|
-
|
|
21
|
-
updatedAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export type PersonClub = Selectable<PersonClubTable>;
|
|
25
|
-
|
|
26
|
-
export type NewPersonClub = Insertable<PersonClubTable>;
|
|
27
|
-
|
|
28
|
-
export type PersonClubUpdate = Updateable<PersonClubTable>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
/** Represents the enum public.PersonDegrees */
|
|
5
|
-
type PersonDegrees =
|
|
6
|
-
| 'HIGH_SCHOOL'
|
|
7
|
-
| 'ASSOCIATES'
|
|
8
|
-
| 'BACHELORS'
|
|
9
|
-
| 'MASTERS'
|
|
10
|
-
| 'JURIS_DOCTORATE'
|
|
11
|
-
| 'DOCTORATE';
|
|
12
|
-
|
|
13
|
-
export default PersonDegrees;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { default as EnrichmentSources } from './EnrichmentSources';
|
|
5
|
-
import type { PersonId } from './Person';
|
|
6
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
7
|
-
|
|
8
|
-
/** Identifier type for public.PersonEnrichment */
|
|
9
|
-
export type PersonEnrichmentId = string & { __brand: 'PersonEnrichmentId' };
|
|
10
|
-
|
|
11
|
-
/** Represents the table public.PersonEnrichment */
|
|
12
|
-
export default interface PersonEnrichmentTable {
|
|
13
|
-
id: ColumnType<PersonEnrichmentId, PersonEnrichmentId | undefined, PersonEnrichmentId>;
|
|
14
|
-
|
|
15
|
-
data: ColumnType<unknown | null, unknown | null, unknown | null>;
|
|
16
|
-
|
|
17
|
-
likelihood: ColumnType<number | null, number | null, number | null>;
|
|
18
|
-
|
|
19
|
-
source: ColumnType<EnrichmentSources, EnrichmentSources, EnrichmentSources>;
|
|
20
|
-
|
|
21
|
-
personId: ColumnType<PersonId, PersonId, PersonId>;
|
|
22
|
-
|
|
23
|
-
createdAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
24
|
-
|
|
25
|
-
updatedAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export type PersonEnrichment = Selectable<PersonEnrichmentTable>;
|
|
29
|
-
|
|
30
|
-
export type NewPersonEnrichment = Insertable<PersonEnrichmentTable>;
|
|
31
|
-
|
|
32
|
-
export type PersonEnrichmentUpdate = Updateable<PersonEnrichmentTable>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
5
|
-
|
|
6
|
-
/** Identifier type for public.PersonNetwork */
|
|
7
|
-
export type PersonNetworkId = string & { __brand: 'PersonNetworkId' };
|
|
8
|
-
|
|
9
|
-
/** Represents the table public.PersonNetwork */
|
|
10
|
-
export default interface PersonNetworkTable {
|
|
11
|
-
id: ColumnType<PersonNetworkId, PersonNetworkId | undefined, PersonNetworkId>;
|
|
12
|
-
|
|
13
|
-
slug: ColumnType<string, string, string>;
|
|
14
|
-
|
|
15
|
-
name: ColumnType<string, string, string>;
|
|
16
|
-
|
|
17
|
-
deletedAt: ColumnType<Date | null, Date | string | null, Date | string | null>;
|
|
18
|
-
|
|
19
|
-
createdAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
20
|
-
|
|
21
|
-
updatedAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export type PersonNetwork = Selectable<PersonNetworkTable>;
|
|
25
|
-
|
|
26
|
-
export type NewPersonNetwork = Insertable<PersonNetworkTable>;
|
|
27
|
-
|
|
28
|
-
export type PersonNetworkUpdate = Updateable<PersonNetworkTable>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
5
|
-
|
|
6
|
-
/** Identifier type for public.PersonSkill */
|
|
7
|
-
export type PersonSkillId = string & { __brand: 'PersonSkillId' };
|
|
8
|
-
|
|
9
|
-
/** Represents the table public.PersonSkill */
|
|
10
|
-
export default interface PersonSkillTable {
|
|
11
|
-
id: ColumnType<PersonSkillId, PersonSkillId | undefined, PersonSkillId>;
|
|
12
|
-
|
|
13
|
-
slug: ColumnType<string, string, string>;
|
|
14
|
-
|
|
15
|
-
name: ColumnType<string, string, string>;
|
|
16
|
-
|
|
17
|
-
deletedAt: ColumnType<Date | null, Date | string | null, Date | string | null>;
|
|
18
|
-
|
|
19
|
-
createdAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
20
|
-
|
|
21
|
-
updatedAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export type PersonSkill = Selectable<PersonSkillTable>;
|
|
25
|
-
|
|
26
|
-
export type NewPersonSkill = Insertable<PersonSkillTable>;
|
|
27
|
-
|
|
28
|
-
export type PersonSkillUpdate = Updateable<PersonSkillTable>;
|
|
@@ -1,20 +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 { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.PersonToBestPerson */
|
|
8
|
-
export default interface PersonToBestPersonTable {
|
|
9
|
-
bestiedByPersonId: ColumnType<PersonId, PersonId, PersonId>;
|
|
10
|
-
|
|
11
|
-
bestPersonId: ColumnType<PersonId, PersonId, PersonId>;
|
|
12
|
-
|
|
13
|
-
createdAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export type PersonToBestPerson = Selectable<PersonToBestPersonTable>;
|
|
17
|
-
|
|
18
|
-
export type NewPersonToBestPerson = Insertable<PersonToBestPersonTable>;
|
|
19
|
-
|
|
20
|
-
export type PersonToBestPersonUpdate = Updateable<PersonToBestPersonTable>;
|
|
@@ -1,21 +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
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
7
|
-
|
|
8
|
-
/** Represents the table public.PersonToPersonClub */
|
|
9
|
-
export default interface PersonToPersonClubTable {
|
|
10
|
-
personId: ColumnType<PersonId, PersonId, PersonId>;
|
|
11
|
-
|
|
12
|
-
clubId: ColumnType<PersonClubId, PersonClubId, PersonClubId>;
|
|
13
|
-
|
|
14
|
-
createdAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export type PersonToPersonClub = Selectable<PersonToPersonClubTable>;
|
|
18
|
-
|
|
19
|
-
export type NewPersonToPersonClub = Insertable<PersonToPersonClubTable>;
|
|
20
|
-
|
|
21
|
-
export type PersonToPersonClubUpdate = Updateable<PersonToPersonClubTable>;
|
|
@@ -1,21 +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
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
7
|
-
|
|
8
|
-
/** Represents the table public.PersonToPersonNetwork */
|
|
9
|
-
export default interface PersonToPersonNetworkTable {
|
|
10
|
-
personId: ColumnType<PersonId, PersonId, PersonId>;
|
|
11
|
-
|
|
12
|
-
networkId: ColumnType<PersonNetworkId, PersonNetworkId, PersonNetworkId>;
|
|
13
|
-
|
|
14
|
-
createdAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export type PersonToPersonNetwork = Selectable<PersonToPersonNetworkTable>;
|
|
18
|
-
|
|
19
|
-
export type NewPersonToPersonNetwork = Insertable<PersonToPersonNetworkTable>;
|
|
20
|
-
|
|
21
|
-
export type PersonToPersonNetworkUpdate = Updateable<PersonToPersonNetworkTable>;
|
|
@@ -1,21 +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
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
7
|
-
|
|
8
|
-
/** Represents the table public.PersonToPersonSkill */
|
|
9
|
-
export default interface PersonToPersonSkillTable {
|
|
10
|
-
personId: ColumnType<PersonId, PersonId, PersonId>;
|
|
11
|
-
|
|
12
|
-
skillId: ColumnType<PersonSkillId, PersonSkillId, PersonSkillId>;
|
|
13
|
-
|
|
14
|
-
createdAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export type PersonToPersonSkill = Selectable<PersonToPersonSkillTable>;
|
|
18
|
-
|
|
19
|
-
export type NewPersonToPersonSkill = Insertable<PersonToPersonSkillTable>;
|
|
20
|
-
|
|
21
|
-
export type PersonToPersonSkillUpdate = Updateable<PersonToPersonSkillTable>;
|
|
@@ -1,21 +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
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
7
|
-
|
|
8
|
-
/** Represents the table public.PersonToTag */
|
|
9
|
-
export default interface PersonToTagTable {
|
|
10
|
-
personId: ColumnType<PersonId, PersonId, PersonId>;
|
|
11
|
-
|
|
12
|
-
tagId: ColumnType<TagId, TagId, TagId>;
|
|
13
|
-
|
|
14
|
-
createdAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export type PersonToTag = Selectable<PersonToTagTable>;
|
|
18
|
-
|
|
19
|
-
export type NewPersonToTag = Insertable<PersonToTagTable>;
|
|
20
|
-
|
|
21
|
-
export type PersonToTagUpdate = Updateable<PersonToTagTable>;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { default as PositionStatuses } from './PositionStatuses';
|
|
5
|
-
import type { ClientId } from './Client';
|
|
6
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
7
|
-
|
|
8
|
-
/** Identifier type for public.Position */
|
|
9
|
-
export type PositionId = string & { __brand: 'PositionId' };
|
|
10
|
-
|
|
11
|
-
/** Represents the table public.Position */
|
|
12
|
-
export default interface PositionTable {
|
|
13
|
-
id: ColumnType<PositionId, PositionId | undefined, PositionId>;
|
|
14
|
-
|
|
15
|
-
urlId: ColumnType<number, number | undefined, number>;
|
|
16
|
-
|
|
17
|
-
name: ColumnType<string, string, string>;
|
|
18
|
-
|
|
19
|
-
currentStatus: ColumnType<PositionStatuses | null, PositionStatuses | null, PositionStatuses | null>;
|
|
20
|
-
|
|
21
|
-
isHidden: ColumnType<boolean, boolean | undefined, boolean>;
|
|
22
|
-
|
|
23
|
-
clientId: ColumnType<ClientId, ClientId, ClientId>;
|
|
24
|
-
|
|
25
|
-
createdAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
26
|
-
|
|
27
|
-
updatedAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
28
|
-
|
|
29
|
-
deletedAt: ColumnType<Date | null, Date | string | null, Date | string | null>;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export type Position = Selectable<PositionTable>;
|
|
33
|
-
|
|
34
|
-
export type NewPosition = Insertable<PositionTable>;
|
|
35
|
-
|
|
36
|
-
export type PositionUpdate = Updateable<PositionTable>;
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { default as PersonToPersonSkillTable } from './PersonToPersonSkill';
|
|
5
|
-
import type { default as MessageTemplateTable } from './MessageTemplate';
|
|
6
|
-
import type { default as ReferralTable } from './Referral';
|
|
7
|
-
import type { default as ReferralToIntroMessageTable } from './ReferralToIntroMessage';
|
|
8
|
-
import type { default as CandidacyTable } from './Candidacy';
|
|
9
|
-
import type { default as PersonToPersonNetworkTable } from './PersonToPersonNetwork';
|
|
10
|
-
import type { default as PersonToBestPersonTable } from './PersonToBestPerson';
|
|
11
|
-
import type { default as WebsiteStaticPageTable } from './WebsiteStaticPage';
|
|
12
|
-
import type { default as PersonNetworkTable } from './PersonNetwork';
|
|
13
|
-
import type { default as ReferralPayoutTable } from './ReferralPayout';
|
|
14
|
-
import type { default as ContractTable } from './Contract';
|
|
15
|
-
import type { default as OtpTable } from './Otp';
|
|
16
|
-
import type { default as PersonClubTable } from './PersonClub';
|
|
17
|
-
import type { default as NoteTable } from './Note';
|
|
18
|
-
import type { default as PersonToTagTable } from './PersonToTag';
|
|
19
|
-
import type { default as AdminTable } from './Admin';
|
|
20
|
-
import type { default as SenderTable } from './Sender';
|
|
21
|
-
import type { default as ListViewTable } from './ListView';
|
|
22
|
-
import type { default as TagTable } from './Tag';
|
|
23
|
-
import type { default as PersonToPersonClubTable } from './PersonToPersonClub';
|
|
24
|
-
import type { default as JwtTable } from './Jwt';
|
|
25
|
-
import type { default as CampaignToPositionTable } from './CampaignToPosition';
|
|
26
|
-
import type { default as PersonSkillTable } from './PersonSkill';
|
|
27
|
-
import type { default as PersonEnrichmentTable } from './PersonEnrichment';
|
|
28
|
-
import type { default as ActionTable } from './Action';
|
|
29
|
-
import type { default as PersonTable } from './Person';
|
|
30
|
-
import type { default as WebsiteLandingPageTable } from './WebsiteLandingPage';
|
|
31
|
-
import type { default as WebsiteBlockTable } from './WebsiteBlock';
|
|
32
|
-
import type { default as PositionTable } from './Position';
|
|
33
|
-
import type { default as CampaignTable } from './Campaign';
|
|
34
|
-
import type { default as CandidacyFeedbackTable } from './CandidacyFeedback';
|
|
35
|
-
import type { default as MessageTable } from './Message';
|
|
36
|
-
import type { default as ClientTable } from './Client';
|
|
37
|
-
import type { default as ConversationTable } from './Conversation';
|
|
38
|
-
import type { default as CandidacyRatingToTagTable } from './CandidacyRatingToTag';
|
|
39
|
-
|
|
40
|
-
export default interface PublicSchema {
|
|
41
|
-
PersonToPersonSkill: PersonToPersonSkillTable;
|
|
42
|
-
|
|
43
|
-
MessageTemplate: MessageTemplateTable;
|
|
44
|
-
|
|
45
|
-
Referral: ReferralTable;
|
|
46
|
-
|
|
47
|
-
ReferralToIntroMessage: ReferralToIntroMessageTable;
|
|
48
|
-
|
|
49
|
-
Candidacy: CandidacyTable;
|
|
50
|
-
|
|
51
|
-
PersonToPersonNetwork: PersonToPersonNetworkTable;
|
|
52
|
-
|
|
53
|
-
PersonToBestPerson: PersonToBestPersonTable;
|
|
54
|
-
|
|
55
|
-
WebsiteStaticPage: WebsiteStaticPageTable;
|
|
56
|
-
|
|
57
|
-
PersonNetwork: PersonNetworkTable;
|
|
58
|
-
|
|
59
|
-
ReferralPayout: ReferralPayoutTable;
|
|
60
|
-
|
|
61
|
-
Contract: ContractTable;
|
|
62
|
-
|
|
63
|
-
Otp: OtpTable;
|
|
64
|
-
|
|
65
|
-
PersonClub: PersonClubTable;
|
|
66
|
-
|
|
67
|
-
Note: NoteTable;
|
|
68
|
-
|
|
69
|
-
PersonToTag: PersonToTagTable;
|
|
70
|
-
|
|
71
|
-
Admin: AdminTable;
|
|
72
|
-
|
|
73
|
-
Sender: SenderTable;
|
|
74
|
-
|
|
75
|
-
ListView: ListViewTable;
|
|
76
|
-
|
|
77
|
-
Tag: TagTable;
|
|
78
|
-
|
|
79
|
-
PersonToPersonClub: PersonToPersonClubTable;
|
|
80
|
-
|
|
81
|
-
Jwt: JwtTable;
|
|
82
|
-
|
|
83
|
-
CampaignToPosition: CampaignToPositionTable;
|
|
84
|
-
|
|
85
|
-
PersonSkill: PersonSkillTable;
|
|
86
|
-
|
|
87
|
-
PersonEnrichment: PersonEnrichmentTable;
|
|
88
|
-
|
|
89
|
-
Action: ActionTable;
|
|
90
|
-
|
|
91
|
-
Person: PersonTable;
|
|
92
|
-
|
|
93
|
-
WebsiteLandingPage: WebsiteLandingPageTable;
|
|
94
|
-
|
|
95
|
-
WebsiteBlock: WebsiteBlockTable;
|
|
96
|
-
|
|
97
|
-
Position: PositionTable;
|
|
98
|
-
|
|
99
|
-
Campaign: CampaignTable;
|
|
100
|
-
|
|
101
|
-
CandidacyFeedback: CandidacyFeedbackTable;
|
|
102
|
-
|
|
103
|
-
Message: MessageTable;
|
|
104
|
-
|
|
105
|
-
Client: ClientTable;
|
|
106
|
-
|
|
107
|
-
Conversation: ConversationTable;
|
|
108
|
-
|
|
109
|
-
CandidacyRatingToTag: CandidacyRatingToTagTable;
|
|
110
|
-
}
|
|
@@ -1,39 +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
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
10
|
-
|
|
11
|
-
/** Identifier type for public.Referral */
|
|
12
|
-
export type ReferralId = string & { __brand: 'ReferralId' };
|
|
13
|
-
|
|
14
|
-
/** Represents the table public.Referral */
|
|
15
|
-
export default interface ReferralTable {
|
|
16
|
-
id: ColumnType<ReferralId, ReferralId | undefined, ReferralId>;
|
|
17
|
-
|
|
18
|
-
source: ColumnType<ReferralSources | null, ReferralSources | null, ReferralSources | null>;
|
|
19
|
-
|
|
20
|
-
referrerId: ColumnType<PersonId, PersonId, PersonId>;
|
|
21
|
-
|
|
22
|
-
candidacyId: ColumnType<CandidacyId, CandidacyId, CandidacyId>;
|
|
23
|
-
|
|
24
|
-
campaignId: ColumnType<CampaignId | null, CampaignId | null, CampaignId | null>;
|
|
25
|
-
|
|
26
|
-
positionId: ColumnType<PositionId, PositionId, PositionId>;
|
|
27
|
-
|
|
28
|
-
createdAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
29
|
-
|
|
30
|
-
updatedAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
31
|
-
|
|
32
|
-
messageId: ColumnType<string | null, string | null, string | null>;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export type Referral = Selectable<ReferralTable>;
|
|
36
|
-
|
|
37
|
-
export type NewReferral = Insertable<ReferralTable>;
|
|
38
|
-
|
|
39
|
-
export type ReferralUpdate = Updateable<ReferralTable>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { ReferralId } from './Referral';
|
|
5
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
6
|
-
|
|
7
|
-
/** Identifier type for public.ReferralPayout */
|
|
8
|
-
export type ReferralPayoutId = string & { __brand: 'ReferralPayoutId' };
|
|
9
|
-
|
|
10
|
-
/** Represents the table public.ReferralPayout */
|
|
11
|
-
export default interface ReferralPayoutTable {
|
|
12
|
-
id: ColumnType<ReferralPayoutId, ReferralPayoutId | undefined, ReferralPayoutId>;
|
|
13
|
-
|
|
14
|
-
referralId: ColumnType<ReferralId | null, ReferralId | null, ReferralId | null>;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export type ReferralPayout = Selectable<ReferralPayoutTable>;
|
|
18
|
-
|
|
19
|
-
export type NewReferralPayout = Insertable<ReferralPayoutTable>;
|
|
20
|
-
|
|
21
|
-
export type ReferralPayoutUpdate = Updateable<ReferralPayoutTable>;
|
|
@@ -1,23 +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
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
7
|
-
|
|
8
|
-
/** Represents the table public.ReferralToIntroMessage */
|
|
9
|
-
export default interface ReferralToIntroMessageTable {
|
|
10
|
-
messageId: ColumnType<MessageId, MessageId, MessageId>;
|
|
11
|
-
|
|
12
|
-
referralId: ColumnType<ReferralId, ReferralId, ReferralId>;
|
|
13
|
-
|
|
14
|
-
createdAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
15
|
-
|
|
16
|
-
updatedAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export type ReferralToIntroMessage = Selectable<ReferralToIntroMessageTable>;
|
|
20
|
-
|
|
21
|
-
export type NewReferralToIntroMessage = Insertable<ReferralToIntroMessageTable>;
|
|
22
|
-
|
|
23
|
-
export type ReferralToIntroMessageUpdate = Updateable<ReferralToIntroMessageTable>;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
5
|
-
|
|
6
|
-
/** Identifier type for public.Sender */
|
|
7
|
-
export type SenderId = string & { __brand: 'SenderId' };
|
|
8
|
-
|
|
9
|
-
/** Represents the table public.Sender */
|
|
10
|
-
export default interface SenderTable {
|
|
11
|
-
id: ColumnType<SenderId, SenderId | undefined, SenderId>;
|
|
12
|
-
|
|
13
|
-
name: ColumnType<string, string, string>;
|
|
14
|
-
|
|
15
|
-
email: ColumnType<string | null, string | null, string | null>;
|
|
16
|
-
|
|
17
|
-
replyToEmail: ColumnType<string | null, string | null, string | null>;
|
|
18
|
-
|
|
19
|
-
smsNumber: ColumnType<string | null, string | null, string | null>;
|
|
20
|
-
|
|
21
|
-
createdAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
22
|
-
|
|
23
|
-
updatedAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export type Sender = Selectable<SenderTable>;
|
|
27
|
-
|
|
28
|
-
export type NewSender = Insertable<SenderTable>;
|
|
29
|
-
|
|
30
|
-
export type SenderUpdate = Updateable<SenderTable>;
|
package/src/types/_schema/Tag.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
5
|
-
|
|
6
|
-
/** Identifier type for public.Tag */
|
|
7
|
-
export type TagId = string & { __brand: 'TagId' };
|
|
8
|
-
|
|
9
|
-
/** Represents the table public.Tag */
|
|
10
|
-
export default interface TagTable {
|
|
11
|
-
id: ColumnType<TagId, TagId | undefined, TagId>;
|
|
12
|
-
|
|
13
|
-
slug: ColumnType<string, string, string>;
|
|
14
|
-
|
|
15
|
-
name: ColumnType<string, string, string>;
|
|
16
|
-
|
|
17
|
-
createdAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
18
|
-
|
|
19
|
-
updatedAt: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export type Tag = Selectable<TagTable>;
|
|
23
|
-
|
|
24
|
-
export type NewTag = Insertable<TagTable>;
|
|
25
|
-
|
|
26
|
-
export type TagUpdate = Updateable<TagTable>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
5
|
-
|
|
6
|
-
/** Identifier type for public.WebsiteBlock */
|
|
7
|
-
export type WebsiteBlockId = string & { __brand: 'WebsiteBlockId' };
|
|
8
|
-
|
|
9
|
-
/** Represents the table public.WebsiteBlock */
|
|
10
|
-
export default interface WebsiteBlockTable {
|
|
11
|
-
id: ColumnType<WebsiteBlockId, WebsiteBlockId | undefined, WebsiteBlockId>;
|
|
12
|
-
|
|
13
|
-
slug: ColumnType<string, string, string>;
|
|
14
|
-
|
|
15
|
-
name: ColumnType<string, string, string>;
|
|
16
|
-
|
|
17
|
-
content: ColumnType<string, string, string>;
|
|
18
|
-
|
|
19
|
-
contentType: ColumnType<string, string, string>;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export type WebsiteBlock = Selectable<WebsiteBlockTable>;
|
|
23
|
-
|
|
24
|
-
export type NewWebsiteBlock = Insertable<WebsiteBlockTable>;
|
|
25
|
-
|
|
26
|
-
export type WebsiteBlockUpdate = Updateable<WebsiteBlockTable>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
5
|
-
|
|
6
|
-
/** Identifier type for public.WebsiteLandingPage */
|
|
7
|
-
export type WebsiteLandingPageId = string & { __brand: 'WebsiteLandingPageId' };
|
|
8
|
-
|
|
9
|
-
/** Represents the table public.WebsiteLandingPage */
|
|
10
|
-
export default interface WebsiteLandingPageTable {
|
|
11
|
-
id: ColumnType<WebsiteLandingPageId, WebsiteLandingPageId | undefined, WebsiteLandingPageId>;
|
|
12
|
-
|
|
13
|
-
slug: ColumnType<string, string, string>;
|
|
14
|
-
|
|
15
|
-
name: ColumnType<string, string, string>;
|
|
16
|
-
|
|
17
|
-
content: ColumnType<unknown, unknown | undefined, unknown>;
|
|
18
|
-
|
|
19
|
-
meta: ColumnType<unknown, unknown | undefined, unknown>;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export type WebsiteLandingPage = Selectable<WebsiteLandingPageTable>;
|
|
23
|
-
|
|
24
|
-
export type NewWebsiteLandingPage = Insertable<WebsiteLandingPageTable>;
|
|
25
|
-
|
|
26
|
-
export type WebsiteLandingPageUpdate = Updateable<WebsiteLandingPageTable>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
5
|
-
|
|
6
|
-
/** Identifier type for public.WebsiteStaticPage */
|
|
7
|
-
export type WebsiteStaticPageId = string & { __brand: 'WebsiteStaticPageId' };
|
|
8
|
-
|
|
9
|
-
/** Represents the table public.WebsiteStaticPage */
|
|
10
|
-
export default interface WebsiteStaticPageTable {
|
|
11
|
-
id: ColumnType<WebsiteStaticPageId, WebsiteStaticPageId | undefined, WebsiteStaticPageId>;
|
|
12
|
-
|
|
13
|
-
slug: ColumnType<string, string, string>;
|
|
14
|
-
|
|
15
|
-
name: ColumnType<string, string, string>;
|
|
16
|
-
|
|
17
|
-
path: ColumnType<string, string, string>;
|
|
18
|
-
|
|
19
|
-
content: ColumnType<unknown, unknown | undefined, unknown>;
|
|
20
|
-
|
|
21
|
-
meta: ColumnType<unknown, unknown | undefined, unknown>;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export type WebsiteStaticPage = Selectable<WebsiteStaticPageTable>;
|
|
25
|
-
|
|
26
|
-
export type NewWebsiteStaticPage = Insertable<WebsiteStaticPageTable>;
|
|
27
|
-
|
|
28
|
-
export type WebsiteStaticPageUpdate = Updateable<WebsiteStaticPageTable>;
|