@the-inkwell/shared 0.1.69 → 0.1.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/types/_schema/Action.ts +61 -16
- package/src/types/_schema/Admin.ts +21 -8
- package/src/types/_schema/Campaign.ts +54 -14
- package/src/types/_schema/CampaignToPosition.ts +26 -9
- package/src/types/_schema/Candidacy.ts +59 -15
- package/src/types/_schema/CandidacyFeedback.ts +37 -11
- package/src/types/_schema/CandidacyRatingToTag.ts +26 -9
- package/src/types/_schema/Client.ts +38 -11
- package/src/types/_schema/Contract.ts +42 -12
- package/src/types/_schema/Conversation.ts +43 -12
- package/src/types/_schema/Jwt.ts +37 -11
- package/src/types/_schema/ListView.ts +52 -14
- package/src/types/_schema/Message.ts +48 -13
- package/src/types/_schema/MessageTemplate.ts +37 -12
- package/src/types/_schema/Note.ts +52 -14
- package/src/types/_schema/Otp.ts +42 -12
- package/src/types/_schema/Person.ts +233 -49
- package/src/types/_schema/PersonClub.ts +37 -12
- package/src/types/_schema/PersonEnrichment.ts +42 -12
- package/src/types/_schema/PersonNetwork.ts +37 -12
- package/src/types/_schema/PersonSkill.ts +37 -12
- package/src/types/_schema/PersonToBestPerson.ts +20 -8
- package/src/types/_schema/PersonToPersonClub.ts +20 -8
- package/src/types/_schema/PersonToPersonNetwork.ts +20 -8
- package/src/types/_schema/PersonToPersonSkill.ts +20 -8
- package/src/types/_schema/PersonToTag.ts +20 -8
- package/src/types/_schema/Position.ts +55 -14
- package/src/types/_schema/Referral.ts +53 -14
- package/src/types/_schema/ReferralPayout.ts +15 -7
- package/src/types/_schema/ReferralToIntroMessage.ts +26 -9
- package/src/types/_schema/Sender.ts +42 -13
- package/src/types/_schema/Tag.ts +32 -11
- package/src/types/_schema/WebsiteBlock.ts +30 -11
- package/src/types/_schema/WebsiteLandingPage.ts +32 -11
- package/src/types/_schema/WebsiteStaticPage.ts +37 -12
- package/src/types/models/admin/persons/index.ts +5 -4
- package/src/types/models/admin/website/index.ts +15 -9
|
@@ -3,19 +3,31 @@
|
|
|
3
3
|
|
|
4
4
|
import type { PersonId } from './Person';
|
|
5
5
|
import type { PersonNetworkId } from './PersonNetwork';
|
|
6
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
7
6
|
|
|
8
7
|
/** Represents the table public.PersonToPersonNetwork */
|
|
9
|
-
export default interface
|
|
10
|
-
personId:
|
|
8
|
+
export default interface PersonToPersonNetwork {
|
|
9
|
+
personId: PersonId;
|
|
11
10
|
|
|
12
|
-
networkId:
|
|
11
|
+
networkId: PersonNetworkId;
|
|
13
12
|
|
|
14
|
-
createdAt:
|
|
13
|
+
createdAt: Date;
|
|
15
14
|
}
|
|
16
15
|
|
|
17
|
-
|
|
16
|
+
/** Represents the initializer for the table public.PersonToPersonNetwork */
|
|
17
|
+
export interface PersonToPersonNetworkInitializer {
|
|
18
|
+
personId: PersonId;
|
|
18
19
|
|
|
19
|
-
|
|
20
|
+
networkId: PersonNetworkId;
|
|
20
21
|
|
|
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
|
+
}
|
|
@@ -3,19 +3,31 @@
|
|
|
3
3
|
|
|
4
4
|
import type { PersonId } from './Person';
|
|
5
5
|
import type { PersonSkillId } from './PersonSkill';
|
|
6
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
7
6
|
|
|
8
7
|
/** Represents the table public.PersonToPersonSkill */
|
|
9
|
-
export default interface
|
|
10
|
-
personId:
|
|
8
|
+
export default interface PersonToPersonSkill {
|
|
9
|
+
personId: PersonId;
|
|
11
10
|
|
|
12
|
-
skillId:
|
|
11
|
+
skillId: PersonSkillId;
|
|
13
12
|
|
|
14
|
-
createdAt:
|
|
13
|
+
createdAt: Date;
|
|
15
14
|
}
|
|
16
15
|
|
|
17
|
-
|
|
16
|
+
/** Represents the initializer for the table public.PersonToPersonSkill */
|
|
17
|
+
export interface PersonToPersonSkillInitializer {
|
|
18
|
+
personId: PersonId;
|
|
18
19
|
|
|
19
|
-
|
|
20
|
+
skillId: PersonSkillId;
|
|
20
21
|
|
|
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
|
+
}
|
|
@@ -3,19 +3,31 @@
|
|
|
3
3
|
|
|
4
4
|
import type { PersonId } from './Person';
|
|
5
5
|
import type { TagId } from './Tag';
|
|
6
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
7
6
|
|
|
8
7
|
/** Represents the table public.PersonToTag */
|
|
9
|
-
export default interface
|
|
10
|
-
personId:
|
|
8
|
+
export default interface PersonToTag {
|
|
9
|
+
personId: PersonId;
|
|
11
10
|
|
|
12
|
-
tagId:
|
|
11
|
+
tagId: TagId;
|
|
13
12
|
|
|
14
|
-
createdAt:
|
|
13
|
+
createdAt: Date;
|
|
15
14
|
}
|
|
16
15
|
|
|
17
|
-
|
|
16
|
+
/** Represents the initializer for the table public.PersonToTag */
|
|
17
|
+
export interface PersonToTagInitializer {
|
|
18
|
+
personId: PersonId;
|
|
18
19
|
|
|
19
|
-
|
|
20
|
+
tagId: TagId;
|
|
20
21
|
|
|
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
|
+
}
|
|
@@ -3,34 +3,75 @@
|
|
|
3
3
|
|
|
4
4
|
import type { default as PositionStatuses } from './PositionStatuses';
|
|
5
5
|
import type { ClientId } from './Client';
|
|
6
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
7
6
|
|
|
8
7
|
/** Identifier type for public.Position */
|
|
9
8
|
export type PositionId = string & { __brand: 'PositionId' };
|
|
10
9
|
|
|
11
10
|
/** Represents the table public.Position */
|
|
12
|
-
export default interface
|
|
13
|
-
id:
|
|
11
|
+
export default interface Position {
|
|
12
|
+
id: PositionId;
|
|
14
13
|
|
|
15
|
-
urlId:
|
|
14
|
+
urlId: number;
|
|
16
15
|
|
|
17
|
-
name:
|
|
16
|
+
name: string;
|
|
18
17
|
|
|
19
|
-
currentStatus:
|
|
18
|
+
currentStatus: PositionStatuses | null;
|
|
20
19
|
|
|
21
|
-
isHidden:
|
|
20
|
+
isHidden: boolean;
|
|
22
21
|
|
|
23
|
-
clientId:
|
|
22
|
+
clientId: ClientId;
|
|
24
23
|
|
|
25
|
-
createdAt:
|
|
24
|
+
createdAt: Date;
|
|
26
25
|
|
|
27
|
-
updatedAt:
|
|
26
|
+
updatedAt: Date;
|
|
28
27
|
|
|
29
|
-
deletedAt:
|
|
28
|
+
deletedAt: Date | null;
|
|
30
29
|
}
|
|
31
30
|
|
|
32
|
-
|
|
31
|
+
/** Represents the initializer for the table public.Position */
|
|
32
|
+
export interface PositionInitializer {
|
|
33
|
+
/** Default value: gen_random_uuid() */
|
|
34
|
+
id?: PositionId;
|
|
33
35
|
|
|
34
|
-
|
|
36
|
+
/** Default value: nextval('"Position_urlId_seq"'::regclass) */
|
|
37
|
+
urlId?: number;
|
|
35
38
|
|
|
36
|
-
|
|
39
|
+
name: string;
|
|
40
|
+
|
|
41
|
+
/** Default value: 'OPEN'::"PositionStatuses" */
|
|
42
|
+
currentStatus?: PositionStatuses | null;
|
|
43
|
+
|
|
44
|
+
/** Default value: false */
|
|
45
|
+
isHidden?: boolean;
|
|
46
|
+
|
|
47
|
+
clientId: ClientId;
|
|
48
|
+
|
|
49
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
50
|
+
createdAt?: Date;
|
|
51
|
+
|
|
52
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
53
|
+
updatedAt?: Date;
|
|
54
|
+
|
|
55
|
+
deletedAt?: Date | null;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/** Represents the mutator for the table public.Position */
|
|
59
|
+
export interface PositionMutator {
|
|
60
|
+
id?: PositionId;
|
|
61
|
+
|
|
62
|
+
urlId?: number;
|
|
63
|
+
|
|
64
|
+
name?: string;
|
|
65
|
+
|
|
66
|
+
currentStatus?: PositionStatuses | null;
|
|
67
|
+
|
|
68
|
+
isHidden?: boolean;
|
|
69
|
+
|
|
70
|
+
clientId?: ClientId;
|
|
71
|
+
|
|
72
|
+
createdAt?: Date;
|
|
73
|
+
|
|
74
|
+
updatedAt?: Date;
|
|
75
|
+
|
|
76
|
+
deletedAt?: Date | null;
|
|
77
|
+
}
|
|
@@ -6,34 +6,73 @@ import type { PersonId } from './Person';
|
|
|
6
6
|
import type { CandidacyId } from './Candidacy';
|
|
7
7
|
import type { CampaignId } from './Campaign';
|
|
8
8
|
import type { PositionId } from './Position';
|
|
9
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
10
9
|
|
|
11
10
|
/** Identifier type for public.Referral */
|
|
12
11
|
export type ReferralId = string & { __brand: 'ReferralId' };
|
|
13
12
|
|
|
14
13
|
/** Represents the table public.Referral */
|
|
15
|
-
export default interface
|
|
16
|
-
id:
|
|
14
|
+
export default interface Referral {
|
|
15
|
+
id: ReferralId;
|
|
17
16
|
|
|
18
|
-
source:
|
|
17
|
+
source: ReferralSources | null;
|
|
19
18
|
|
|
20
|
-
referrerId:
|
|
19
|
+
referrerId: PersonId;
|
|
21
20
|
|
|
22
|
-
candidacyId:
|
|
21
|
+
candidacyId: CandidacyId;
|
|
23
22
|
|
|
24
|
-
campaignId:
|
|
23
|
+
campaignId: CampaignId | null;
|
|
25
24
|
|
|
26
|
-
positionId:
|
|
25
|
+
positionId: PositionId;
|
|
27
26
|
|
|
28
|
-
createdAt:
|
|
27
|
+
createdAt: Date;
|
|
29
28
|
|
|
30
|
-
updatedAt:
|
|
29
|
+
updatedAt: Date;
|
|
31
30
|
|
|
32
|
-
messageId:
|
|
31
|
+
messageId: string | null;
|
|
33
32
|
}
|
|
34
33
|
|
|
35
|
-
|
|
34
|
+
/** Represents the initializer for the table public.Referral */
|
|
35
|
+
export interface ReferralInitializer {
|
|
36
|
+
/** Default value: gen_random_uuid() */
|
|
37
|
+
id?: ReferralId;
|
|
36
38
|
|
|
37
|
-
|
|
39
|
+
/** Default value: 'ADMIN'::"ReferralSources" */
|
|
40
|
+
source?: ReferralSources | null;
|
|
38
41
|
|
|
39
|
-
|
|
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
|
+
}
|
|
@@ -2,20 +2,28 @@
|
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
4
|
import type { ReferralId } from './Referral';
|
|
5
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
6
5
|
|
|
7
6
|
/** Identifier type for public.ReferralPayout */
|
|
8
7
|
export type ReferralPayoutId = string & { __brand: 'ReferralPayoutId' };
|
|
9
8
|
|
|
10
9
|
/** Represents the table public.ReferralPayout */
|
|
11
|
-
export default interface
|
|
12
|
-
id:
|
|
10
|
+
export default interface ReferralPayout {
|
|
11
|
+
id: ReferralPayoutId;
|
|
13
12
|
|
|
14
|
-
referralId:
|
|
13
|
+
referralId: ReferralId | null;
|
|
15
14
|
}
|
|
16
15
|
|
|
17
|
-
|
|
16
|
+
/** Represents the initializer for the table public.ReferralPayout */
|
|
17
|
+
export interface ReferralPayoutInitializer {
|
|
18
|
+
/** Default value: gen_random_uuid() */
|
|
19
|
+
id?: ReferralPayoutId;
|
|
18
20
|
|
|
19
|
-
|
|
21
|
+
referralId?: ReferralId | null;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** Represents the mutator for the table public.ReferralPayout */
|
|
25
|
+
export interface ReferralPayoutMutator {
|
|
26
|
+
id?: ReferralPayoutId;
|
|
20
27
|
|
|
21
|
-
|
|
28
|
+
referralId?: ReferralId | null;
|
|
29
|
+
}
|
|
@@ -3,21 +3,38 @@
|
|
|
3
3
|
|
|
4
4
|
import type { MessageId } from './Message';
|
|
5
5
|
import type { ReferralId } from './Referral';
|
|
6
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
7
6
|
|
|
8
7
|
/** Represents the table public.ReferralToIntroMessage */
|
|
9
|
-
export default interface
|
|
10
|
-
messageId:
|
|
8
|
+
export default interface ReferralToIntroMessage {
|
|
9
|
+
messageId: MessageId;
|
|
11
10
|
|
|
12
|
-
referralId:
|
|
11
|
+
referralId: ReferralId;
|
|
13
12
|
|
|
14
|
-
createdAt:
|
|
13
|
+
createdAt: Date;
|
|
15
14
|
|
|
16
|
-
updatedAt:
|
|
15
|
+
updatedAt: Date;
|
|
17
16
|
}
|
|
18
17
|
|
|
19
|
-
|
|
18
|
+
/** Represents the initializer for the table public.ReferralToIntroMessage */
|
|
19
|
+
export interface ReferralToIntroMessageInitializer {
|
|
20
|
+
messageId: MessageId;
|
|
20
21
|
|
|
21
|
-
|
|
22
|
+
referralId: ReferralId;
|
|
22
23
|
|
|
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,30 +1,59 @@
|
|
|
1
1
|
// @generated
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
5
|
-
|
|
6
4
|
/** Identifier type for public.Sender */
|
|
7
5
|
export type SenderId = string & { __brand: 'SenderId' };
|
|
8
6
|
|
|
9
7
|
/** Represents the table public.Sender */
|
|
10
|
-
export default interface
|
|
11
|
-
id:
|
|
8
|
+
export default interface Sender {
|
|
9
|
+
id: SenderId;
|
|
10
|
+
|
|
11
|
+
name: string;
|
|
12
|
+
|
|
13
|
+
email: string | null;
|
|
14
|
+
|
|
15
|
+
replyToEmail: string | null;
|
|
16
|
+
|
|
17
|
+
smsNumber: string | null;
|
|
18
|
+
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
|
|
21
|
+
updatedAt: Date;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** Represents the initializer for the table public.Sender */
|
|
25
|
+
export interface SenderInitializer {
|
|
26
|
+
/** Default value: gen_random_uuid() */
|
|
27
|
+
id?: SenderId;
|
|
12
28
|
|
|
13
|
-
name:
|
|
29
|
+
name: string;
|
|
14
30
|
|
|
15
|
-
email
|
|
31
|
+
email?: string | null;
|
|
16
32
|
|
|
17
|
-
replyToEmail
|
|
33
|
+
replyToEmail?: string | null;
|
|
18
34
|
|
|
19
|
-
smsNumber
|
|
35
|
+
smsNumber?: string | null;
|
|
20
36
|
|
|
21
|
-
|
|
37
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
38
|
+
createdAt?: Date;
|
|
22
39
|
|
|
23
|
-
|
|
40
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
41
|
+
updatedAt?: Date;
|
|
24
42
|
}
|
|
25
43
|
|
|
26
|
-
|
|
44
|
+
/** Represents the mutator for the table public.Sender */
|
|
45
|
+
export interface SenderMutator {
|
|
46
|
+
id?: SenderId;
|
|
47
|
+
|
|
48
|
+
name?: string;
|
|
49
|
+
|
|
50
|
+
email?: string | null;
|
|
27
51
|
|
|
28
|
-
|
|
52
|
+
replyToEmail?: string | null;
|
|
29
53
|
|
|
30
|
-
|
|
54
|
+
smsNumber?: string | null;
|
|
55
|
+
|
|
56
|
+
createdAt?: Date;
|
|
57
|
+
|
|
58
|
+
updatedAt?: Date;
|
|
59
|
+
}
|
package/src/types/_schema/Tag.ts
CHANGED
|
@@ -1,26 +1,47 @@
|
|
|
1
1
|
// @generated
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
5
|
-
|
|
6
4
|
/** Identifier type for public.Tag */
|
|
7
5
|
export type TagId = string & { __brand: 'TagId' };
|
|
8
6
|
|
|
9
7
|
/** Represents the table public.Tag */
|
|
10
|
-
export default interface
|
|
11
|
-
id:
|
|
8
|
+
export default interface Tag {
|
|
9
|
+
id: TagId;
|
|
10
|
+
|
|
11
|
+
slug: string;
|
|
12
|
+
|
|
13
|
+
name: string;
|
|
14
|
+
|
|
15
|
+
createdAt: Date;
|
|
16
|
+
|
|
17
|
+
updatedAt: Date;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/** Represents the initializer for the table public.Tag */
|
|
21
|
+
export interface TagInitializer {
|
|
22
|
+
/** Default value: gen_random_uuid() */
|
|
23
|
+
id?: TagId;
|
|
12
24
|
|
|
13
|
-
slug:
|
|
25
|
+
slug: string;
|
|
14
26
|
|
|
15
|
-
name:
|
|
27
|
+
name: string;
|
|
16
28
|
|
|
17
|
-
|
|
29
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
30
|
+
createdAt?: Date;
|
|
18
31
|
|
|
19
|
-
|
|
32
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
33
|
+
updatedAt?: Date;
|
|
20
34
|
}
|
|
21
35
|
|
|
22
|
-
|
|
36
|
+
/** Represents the mutator for the table public.Tag */
|
|
37
|
+
export interface TagMutator {
|
|
38
|
+
id?: TagId;
|
|
39
|
+
|
|
40
|
+
slug?: string;
|
|
23
41
|
|
|
24
|
-
|
|
42
|
+
name?: string;
|
|
25
43
|
|
|
26
|
-
|
|
44
|
+
createdAt?: Date;
|
|
45
|
+
|
|
46
|
+
updatedAt?: Date;
|
|
47
|
+
}
|
|
@@ -1,26 +1,45 @@
|
|
|
1
1
|
// @generated
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
5
|
-
|
|
6
4
|
/** Identifier type for public.WebsiteBlock */
|
|
7
5
|
export type WebsiteBlockId = string & { __brand: 'WebsiteBlockId' };
|
|
8
6
|
|
|
9
7
|
/** Represents the table public.WebsiteBlock */
|
|
10
|
-
export default interface
|
|
11
|
-
id:
|
|
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;
|
|
12
24
|
|
|
13
|
-
slug:
|
|
25
|
+
slug: string;
|
|
14
26
|
|
|
15
|
-
name:
|
|
27
|
+
name: string;
|
|
16
28
|
|
|
17
|
-
content:
|
|
29
|
+
content: string;
|
|
18
30
|
|
|
19
|
-
contentType:
|
|
31
|
+
contentType: string;
|
|
20
32
|
}
|
|
21
33
|
|
|
22
|
-
|
|
34
|
+
/** Represents the mutator for the table public.WebsiteBlock */
|
|
35
|
+
export interface WebsiteBlockMutator {
|
|
36
|
+
id?: WebsiteBlockId;
|
|
37
|
+
|
|
38
|
+
slug?: string;
|
|
23
39
|
|
|
24
|
-
|
|
40
|
+
name?: string;
|
|
25
41
|
|
|
26
|
-
|
|
42
|
+
content?: string;
|
|
43
|
+
|
|
44
|
+
contentType?: string;
|
|
45
|
+
}
|
|
@@ -1,26 +1,47 @@
|
|
|
1
1
|
// @generated
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
|
-
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
5
|
-
|
|
6
4
|
/** Identifier type for public.WebsiteLandingPage */
|
|
7
5
|
export type WebsiteLandingPageId = string & { __brand: 'WebsiteLandingPageId' };
|
|
8
6
|
|
|
9
7
|
/** Represents the table public.WebsiteLandingPage */
|
|
10
|
-
export default interface
|
|
11
|
-
id:
|
|
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;
|
|
12
24
|
|
|
13
|
-
slug:
|
|
25
|
+
slug: string;
|
|
14
26
|
|
|
15
|
-
name:
|
|
27
|
+
name: string;
|
|
16
28
|
|
|
17
|
-
|
|
29
|
+
/** Default value: '{}'::jsonb */
|
|
30
|
+
content?: unknown;
|
|
18
31
|
|
|
19
|
-
|
|
32
|
+
/** Default value: '{}'::jsonb */
|
|
33
|
+
meta?: unknown;
|
|
20
34
|
}
|
|
21
35
|
|
|
22
|
-
|
|
36
|
+
/** Represents the mutator for the table public.WebsiteLandingPage */
|
|
37
|
+
export interface WebsiteLandingPageMutator {
|
|
38
|
+
id?: WebsiteLandingPageId;
|
|
39
|
+
|
|
40
|
+
slug?: string;
|
|
23
41
|
|
|
24
|
-
|
|
42
|
+
name?: string;
|
|
25
43
|
|
|
26
|
-
|
|
44
|
+
content?: unknown;
|
|
45
|
+
|
|
46
|
+
meta?: unknown;
|
|
47
|
+
}
|