@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.
Files changed (95) hide show
  1. package/dist/src/types/_schema/Actions.js +4 -0
  2. package/dist/src/types/_schema/Admins.js +4 -0
  3. package/dist/src/types/_schema/Campaigns.js +4 -0
  4. package/dist/src/types/_schema/CampaignsToPositions.js +4 -0
  5. package/dist/src/types/_schema/Candidacies.js +4 -0
  6. package/dist/src/types/_schema/CandidacyRatingsToTags.js +4 -0
  7. package/dist/src/types/_schema/Clients.js +4 -0
  8. package/dist/src/types/_schema/Contracts.js +4 -0
  9. package/dist/src/types/_schema/Conversations.js +4 -0
  10. package/dist/src/types/_schema/Jwts.js +4 -0
  11. package/dist/src/types/_schema/ListViews.js +4 -0
  12. package/dist/src/types/_schema/MessageTemplates.js +4 -0
  13. package/dist/src/types/_schema/Messages.js +4 -0
  14. package/dist/src/types/_schema/Notes.js +4 -0
  15. package/dist/src/types/_schema/Otps.js +4 -0
  16. package/dist/src/types/_schema/PersonClubs.js +4 -0
  17. package/dist/src/types/_schema/PersonEnrichments.js +4 -0
  18. package/dist/src/types/_schema/PersonNetworks.js +4 -0
  19. package/dist/src/types/_schema/PersonSkills.js +4 -0
  20. package/dist/src/types/_schema/Persons.js +4 -0
  21. package/dist/src/types/_schema/PersonsToBestPersons.js +4 -0
  22. package/dist/src/types/_schema/PersonsToPersonClubs.js +4 -0
  23. package/dist/src/types/_schema/PersonsToPersonNetworks.js +4 -0
  24. package/dist/src/types/_schema/PersonsToPersonSkills.js +4 -0
  25. package/dist/src/types/_schema/PersonsToTags.js +4 -0
  26. package/dist/src/types/_schema/Positions.js +4 -0
  27. package/dist/src/types/_schema/ReferralPayouts.js +4 -0
  28. package/dist/src/types/_schema/Referrals.js +4 -0
  29. package/dist/src/types/_schema/ReferralsToIntroMessages.js +4 -0
  30. package/dist/src/types/_schema/Senders.js +4 -0
  31. package/dist/src/types/_schema/Tags.js +4 -0
  32. package/dist/src/types/_schema/WebsiteBlocks.js +4 -0
  33. package/dist/src/types/_schema/WebsiteLandingPages.js +4 -0
  34. package/dist/src/types/_schema/WebsiteStaticPages.js +4 -0
  35. package/package.json +1 -1
  36. package/src/types/_schema/Actions.ts +91 -0
  37. package/src/types/_schema/Admins.ts +36 -0
  38. package/src/types/_schema/{Campaign.ts → Campaigns.ts} +16 -16
  39. package/src/types/_schema/CampaignsToPositions.ts +40 -0
  40. package/src/types/_schema/{Candidacy.ts → Candidacies.ts} +19 -19
  41. package/src/types/_schema/CandidacyFeedback.ts +9 -9
  42. package/src/types/_schema/CandidacyRatingsToTags.ts +40 -0
  43. package/src/types/_schema/{Client.ts → Clients.ts} +11 -11
  44. package/src/types/_schema/Contracts.ts +62 -0
  45. package/src/types/_schema/Conversations.ts +64 -0
  46. package/src/types/_schema/Jwts.ts +55 -0
  47. package/src/types/_schema/{ListView.ts → ListViews.ts} +15 -15
  48. package/src/types/_schema/{MessageTemplate.ts → MessageTemplates.ts} +11 -11
  49. package/src/types/_schema/Messages.ts +70 -0
  50. package/src/types/_schema/Notes.ts +76 -0
  51. package/src/types/_schema/Otps.ts +61 -0
  52. package/src/types/_schema/{PersonClub.ts → PersonClubs.ts} +11 -11
  53. package/src/types/_schema/{PersonEnrichment.ts → PersonEnrichments.ts} +15 -15
  54. package/src/types/_schema/{PersonNetwork.ts → PersonNetworks.ts} +11 -11
  55. package/src/types/_schema/{PersonSkill.ts → PersonSkills.ts} +11 -11
  56. package/src/types/_schema/{Person.ts → Persons.ts} +18 -18
  57. package/src/types/_schema/PersonsToBestPersons.ts +32 -0
  58. package/src/types/_schema/PersonsToPersonClubs.ts +33 -0
  59. package/src/types/_schema/PersonsToPersonNetworks.ts +33 -0
  60. package/src/types/_schema/PersonsToPersonSkills.ts +33 -0
  61. package/src/types/_schema/PersonsToTags.ts +33 -0
  62. package/src/types/_schema/{Position.ts → Positions.ts} +16 -16
  63. package/src/types/_schema/ReferralPayouts.ts +29 -0
  64. package/src/types/_schema/Referrals.ts +78 -0
  65. package/src/types/_schema/ReferralsToIntroMessages.ts +40 -0
  66. package/src/types/_schema/{Sender.ts → Senders.ts} +11 -11
  67. package/src/types/_schema/{Tag.ts → Tags.ts} +11 -11
  68. package/src/types/_schema/WebsiteBlocks.ts +45 -0
  69. package/src/types/_schema/WebsiteLandingPages.ts +47 -0
  70. package/src/types/_schema/WebsiteStaticPages.ts +53 -0
  71. package/src/types/models/admin/candidacies/index.ts +19 -16
  72. package/src/types/models/admin/persons/index.ts +11 -5
  73. package/src/types/models/admin/website/index.ts +6 -4
  74. package/src/types/models/auth/index.ts +2 -2
  75. package/src/types/_schema/Action.ts +0 -91
  76. package/src/types/_schema/Admin.ts +0 -36
  77. package/src/types/_schema/CampaignToPosition.ts +0 -40
  78. package/src/types/_schema/CandidacyRatingToTag.ts +0 -40
  79. package/src/types/_schema/Contract.ts +0 -62
  80. package/src/types/_schema/Conversation.ts +0 -64
  81. package/src/types/_schema/Jwt.ts +0 -55
  82. package/src/types/_schema/Message.ts +0 -70
  83. package/src/types/_schema/Note.ts +0 -76
  84. package/src/types/_schema/Otp.ts +0 -61
  85. package/src/types/_schema/PersonToBestPerson.ts +0 -32
  86. package/src/types/_schema/PersonToPersonClub.ts +0 -33
  87. package/src/types/_schema/PersonToPersonNetwork.ts +0 -33
  88. package/src/types/_schema/PersonToPersonSkill.ts +0 -33
  89. package/src/types/_schema/PersonToTag.ts +0 -33
  90. package/src/types/_schema/Referral.ts +0 -78
  91. package/src/types/_schema/ReferralPayout.ts +0 -29
  92. package/src/types/_schema/ReferralToIntroMessage.ts +0 -40
  93. package/src/types/_schema/WebsiteBlock.ts +0 -45
  94. package/src/types/_schema/WebsiteLandingPage.ts +0 -47
  95. package/src/types/_schema/WebsiteStaticPage.ts +0 -53
@@ -3,12 +3,12 @@
3
3
 
4
4
  import type { default as ClientStatuses } from './ClientStatuses';
5
5
 
6
- /** Identifier type for public.Client */
7
- export type ClientId = string & { __brand: 'ClientId' };
6
+ /** Identifier type for public.clients */
7
+ export type ClientsId = string | number;
8
8
 
9
- /** Represents the table public.Client */
10
- export default interface Client {
11
- id: ClientId;
9
+ /** Represents the table public.clients */
10
+ export default interface Clients {
11
+ id: ClientsId;
12
12
 
13
13
  name: string;
14
14
 
@@ -21,10 +21,10 @@ export default interface Client {
21
21
  updatedAt: Date;
22
22
  }
23
23
 
24
- /** Represents the initializer for the table public.Client */
25
- export interface ClientInitializer {
24
+ /** Represents the initializer for the table public.clients */
25
+ export interface ClientsInitializer {
26
26
  /** Default value: gen_random_uuid() */
27
- id?: ClientId;
27
+ id?: ClientsId;
28
28
 
29
29
  name: string;
30
30
 
@@ -40,9 +40,9 @@ export interface ClientInitializer {
40
40
  updatedAt?: Date;
41
41
  }
42
42
 
43
- /** Represents the mutator for the table public.Client */
44
- export interface ClientMutator {
45
- id?: ClientId;
43
+ /** Represents the mutator for the table public.clients */
44
+ export interface ClientsMutator {
45
+ id?: ClientsId;
46
46
 
47
47
  name?: string;
48
48
 
@@ -0,0 +1,62 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ import type { PositionsId } from './Positions';
5
+ import type { ClientsId } from './Clients';
6
+
7
+ /** Identifier type for public.contracts */
8
+ export type ContractsId = string | number;
9
+
10
+ /** Represents the table public.contracts */
11
+ export default interface Contracts {
12
+ id: ContractsId;
13
+
14
+ data: unknown;
15
+
16
+ documentUrl: string;
17
+
18
+ positionId: PositionsId | null;
19
+
20
+ clientId: ClientsId;
21
+
22
+ createdAt: Date;
23
+
24
+ updatedAt: Date;
25
+ }
26
+
27
+ /** Represents the initializer for the table public.contracts */
28
+ export interface ContractsInitializer {
29
+ /** Default value: gen_random_uuid() */
30
+ id?: ContractsId;
31
+
32
+ data: unknown;
33
+
34
+ documentUrl: string;
35
+
36
+ positionId?: PositionsId | null;
37
+
38
+ clientId: ClientsId;
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.contracts */
48
+ export interface ContractsMutator {
49
+ id?: ContractsId;
50
+
51
+ data?: unknown;
52
+
53
+ documentUrl?: string;
54
+
55
+ positionId?: PositionsId | null;
56
+
57
+ clientId?: ClientsId;
58
+
59
+ createdAt?: Date;
60
+
61
+ updatedAt?: Date;
62
+ }
@@ -0,0 +1,64 @@
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 { PersonsId } from './Persons';
6
+ import type { CampaignsId } from './Campaigns';
7
+
8
+ /** Identifier type for public.conversations */
9
+ export type ConversationsId = string | number;
10
+
11
+ /** Represents the table public.conversations */
12
+ export default interface Conversations {
13
+ id: ConversationsId;
14
+
15
+ urlId: number;
16
+
17
+ channel: MessageChannels;
18
+
19
+ personId: PersonsId;
20
+
21
+ campaignId: CampaignsId | null;
22
+
23
+ createdAt: Date;
24
+
25
+ updatedAt: Date;
26
+ }
27
+
28
+ /** Represents the initializer for the table public.conversations */
29
+ export interface ConversationsInitializer {
30
+ /** Default value: gen_random_uuid() */
31
+ id?: ConversationsId;
32
+
33
+ /** Default value: nextval('"conversations_urlId_seq"'::regclass) */
34
+ urlId?: number;
35
+
36
+ channel: MessageChannels;
37
+
38
+ personId: PersonsId;
39
+
40
+ campaignId?: CampaignsId | 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.conversations */
50
+ export interface ConversationsMutator {
51
+ id?: ConversationsId;
52
+
53
+ urlId?: number;
54
+
55
+ channel?: MessageChannels;
56
+
57
+ personId?: PersonsId;
58
+
59
+ campaignId?: CampaignsId | null;
60
+
61
+ createdAt?: Date;
62
+
63
+ updatedAt?: Date;
64
+ }
@@ -0,0 +1,55 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ import type { PersonsId } from './Persons';
5
+
6
+ /** Identifier type for public.jwts */
7
+ export type JwtsId = string | number;
8
+
9
+ /** Represents the table public.jwts */
10
+ export default interface Jwts {
11
+ id: JwtsId;
12
+
13
+ jti: string;
14
+
15
+ revokedAt: Date | null;
16
+
17
+ createdAt: Date;
18
+
19
+ updatedAt: Date;
20
+
21
+ personId: PersonsId;
22
+ }
23
+
24
+ /** Represents the initializer for the table public.jwts */
25
+ export interface JwtsInitializer {
26
+ /** Default value: nextval('jwts_id_seq'::regclass) */
27
+ id?: JwtsId;
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: PersonsId;
40
+ }
41
+
42
+ /** Represents the mutator for the table public.jwts */
43
+ export interface JwtsMutator {
44
+ id?: JwtsId;
45
+
46
+ jti?: string;
47
+
48
+ revokedAt?: Date | null;
49
+
50
+ createdAt?: Date;
51
+
52
+ updatedAt?: Date;
53
+
54
+ personId?: PersonsId;
55
+ }
@@ -2,14 +2,14 @@
2
2
  // This file is automatically generated by Kanel. Do not modify manually.
3
3
 
4
4
  import type { default as ListViewModels } from './ListViewModels';
5
- import type { PositionId } from './Position';
5
+ import type { PositionsId } from './Positions';
6
6
 
7
- /** Identifier type for public.ListView */
8
- export type ListViewId = string & { __brand: 'ListViewId' };
7
+ /** Identifier type for public.list_views */
8
+ export type ListViewsId = string | number;
9
9
 
10
- /** Represents the table public.ListView */
11
- export default interface ListView {
12
- id: ListViewId;
10
+ /** Represents the table public.list_views */
11
+ export default interface ListViews {
12
+ id: ListViewsId;
13
13
 
14
14
  model: ListViewModels;
15
15
 
@@ -17,7 +17,7 @@ export default interface ListView {
17
17
 
18
18
  query: unknown;
19
19
 
20
- positionId: PositionId | null;
20
+ positionId: PositionsId | null;
21
21
 
22
22
  archivedAt: Date | null;
23
23
 
@@ -28,10 +28,10 @@ export default interface ListView {
28
28
  updatedAt: Date;
29
29
  }
30
30
 
31
- /** Represents the initializer for the table public.ListView */
32
- export interface ListViewInitializer {
31
+ /** Represents the initializer for the table public.list_views */
32
+ export interface ListViewsInitializer {
33
33
  /** Default value: gen_random_uuid() */
34
- id?: ListViewId;
34
+ id?: ListViewsId;
35
35
 
36
36
  model: ListViewModels;
37
37
 
@@ -39,7 +39,7 @@ export interface ListViewInitializer {
39
39
 
40
40
  query: unknown;
41
41
 
42
- positionId?: PositionId | null;
42
+ positionId?: PositionsId | null;
43
43
 
44
44
  archivedAt?: Date | null;
45
45
 
@@ -52,9 +52,9 @@ export interface ListViewInitializer {
52
52
  updatedAt?: Date;
53
53
  }
54
54
 
55
- /** Represents the mutator for the table public.ListView */
56
- export interface ListViewMutator {
57
- id?: ListViewId;
55
+ /** Represents the mutator for the table public.list_views */
56
+ export interface ListViewsMutator {
57
+ id?: ListViewsId;
58
58
 
59
59
  model?: ListViewModels;
60
60
 
@@ -62,7 +62,7 @@ export interface ListViewMutator {
62
62
 
63
63
  query?: unknown;
64
64
 
65
- positionId?: PositionId | null;
65
+ positionId?: PositionsId | null;
66
66
 
67
67
  archivedAt?: Date | null;
68
68
 
@@ -1,12 +1,12 @@
1
1
  // @generated
2
2
  // This file is automatically generated by Kanel. Do not modify manually.
3
3
 
4
- /** Identifier type for public.MessageTemplate */
5
- export type MessageTemplateId = string & { __brand: 'MessageTemplateId' };
4
+ /** Identifier type for public.message_templates */
5
+ export type MessageTemplatesId = string | number;
6
6
 
7
- /** Represents the table public.MessageTemplate */
8
- export default interface MessageTemplate {
9
- id: MessageTemplateId;
7
+ /** Represents the table public.message_templates */
8
+ export default interface MessageTemplates {
9
+ id: MessageTemplatesId;
10
10
 
11
11
  name: string;
12
12
 
@@ -19,10 +19,10 @@ export default interface MessageTemplate {
19
19
  updatedAt: Date;
20
20
  }
21
21
 
22
- /** Represents the initializer for the table public.MessageTemplate */
23
- export interface MessageTemplateInitializer {
22
+ /** Represents the initializer for the table public.message_templates */
23
+ export interface MessageTemplatesInitializer {
24
24
  /** Default value: gen_random_uuid() */
25
- id?: MessageTemplateId;
25
+ id?: MessageTemplatesId;
26
26
 
27
27
  name: string;
28
28
 
@@ -37,9 +37,9 @@ export interface MessageTemplateInitializer {
37
37
  updatedAt?: Date;
38
38
  }
39
39
 
40
- /** Represents the mutator for the table public.MessageTemplate */
41
- export interface MessageTemplateMutator {
42
- id?: MessageTemplateId;
40
+ /** Represents the mutator for the table public.message_templates */
41
+ export interface MessageTemplatesMutator {
42
+ id?: MessageTemplatesId;
43
43
 
44
44
  name?: string;
45
45
 
@@ -0,0 +1,70 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ import type { SendersId } from './Senders';
5
+ import type { PersonsId } from './Persons';
6
+ import type { ConversationsId } from './Conversations';
7
+
8
+ /** Identifier type for public.messages */
9
+ export type MessagesId = string | number;
10
+
11
+ /** Represents the table public.messages */
12
+ export default interface Messages {
13
+ id: MessagesId;
14
+
15
+ urlId: number;
16
+
17
+ data: unknown;
18
+
19
+ adminSenderId: SendersId | null;
20
+
21
+ personId: PersonsId;
22
+
23
+ conversationId: ConversationsId;
24
+
25
+ createdAt: Date;
26
+
27
+ updatedAt: Date;
28
+ }
29
+
30
+ /** Represents the initializer for the table public.messages */
31
+ export interface MessagesInitializer {
32
+ /** Default value: gen_random_uuid() */
33
+ id?: MessagesId;
34
+
35
+ /** Default value: nextval('"messages_urlId_seq"'::regclass) */
36
+ urlId?: number;
37
+
38
+ data: unknown;
39
+
40
+ adminSenderId?: SendersId | null;
41
+
42
+ personId: PersonsId;
43
+
44
+ conversationId: ConversationsId;
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.messages */
54
+ export interface MessagesMutator {
55
+ id?: MessagesId;
56
+
57
+ urlId?: number;
58
+
59
+ data?: unknown;
60
+
61
+ adminSenderId?: SendersId | null;
62
+
63
+ personId?: PersonsId;
64
+
65
+ conversationId?: ConversationsId;
66
+
67
+ createdAt?: Date;
68
+
69
+ updatedAt?: Date;
70
+ }
@@ -0,0 +1,76 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ import type { AdminsId } from './Admins';
5
+ import type { CandidaciesId } from './Candidacies';
6
+ import type { PersonsId } from './Persons';
7
+ import type { ClientsId } from './Clients';
8
+
9
+ /** Identifier type for public.notes */
10
+ export type NotesId = string | number;
11
+
12
+ /** Represents the table public.notes */
13
+ export default interface Notes {
14
+ id: NotesId;
15
+
16
+ content: string;
17
+
18
+ adminId: AdminsId | null;
19
+
20
+ candidacyId: CandidaciesId | null;
21
+
22
+ personId: PersonsId | null;
23
+
24
+ clientId: ClientsId | null;
25
+
26
+ deletedAt: Date | null;
27
+
28
+ createdAt: Date;
29
+
30
+ updatedAt: Date;
31
+ }
32
+
33
+ /** Represents the initializer for the table public.notes */
34
+ export interface NotesInitializer {
35
+ /** Default value: gen_random_uuid() */
36
+ id?: NotesId;
37
+
38
+ content: string;
39
+
40
+ adminId?: AdminsId | null;
41
+
42
+ candidacyId?: CandidaciesId | null;
43
+
44
+ personId?: PersonsId | null;
45
+
46
+ clientId?: ClientsId | 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.notes */
58
+ export interface NotesMutator {
59
+ id?: NotesId;
60
+
61
+ content?: string;
62
+
63
+ adminId?: AdminsId | null;
64
+
65
+ candidacyId?: CandidaciesId | null;
66
+
67
+ personId?: PersonsId | null;
68
+
69
+ clientId?: ClientsId | null;
70
+
71
+ deletedAt?: Date | null;
72
+
73
+ createdAt?: Date;
74
+
75
+ updatedAt?: Date;
76
+ }
@@ -0,0 +1,61 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ import type { PersonsId } from './Persons';
5
+
6
+ /** Identifier type for public.otps */
7
+ export type OtpsId = string | number;
8
+
9
+ /** Represents the table public.otps */
10
+ export default interface Otps {
11
+ id: OtpsId;
12
+
13
+ code: string;
14
+
15
+ usedAt: Date | null;
16
+
17
+ expiresAt: Date;
18
+
19
+ createdAt: Date;
20
+
21
+ updatedAt: Date;
22
+
23
+ personId: PersonsId;
24
+ }
25
+
26
+ /** Represents the initializer for the table public.otps */
27
+ export interface OtpsInitializer {
28
+ /** Default value: nextval('otps_id_seq'::regclass) */
29
+ id?: OtpsId;
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: PersonsId;
44
+ }
45
+
46
+ /** Represents the mutator for the table public.otps */
47
+ export interface OtpsMutator {
48
+ id?: OtpsId;
49
+
50
+ code?: string;
51
+
52
+ usedAt?: Date | null;
53
+
54
+ expiresAt?: Date;
55
+
56
+ createdAt?: Date;
57
+
58
+ updatedAt?: Date;
59
+
60
+ personId?: PersonsId;
61
+ }
@@ -1,12 +1,12 @@
1
1
  // @generated
2
2
  // This file is automatically generated by Kanel. Do not modify manually.
3
3
 
4
- /** Identifier type for public.PersonClub */
5
- export type PersonClubId = string & { __brand: 'PersonClubId' };
4
+ /** Identifier type for public.person_clubs */
5
+ export type PersonClubsId = string | number;
6
6
 
7
- /** Represents the table public.PersonClub */
8
- export default interface PersonClub {
9
- id: PersonClubId;
7
+ /** Represents the table public.person_clubs */
8
+ export default interface PersonClubs {
9
+ id: PersonClubsId;
10
10
 
11
11
  slug: string;
12
12
 
@@ -19,10 +19,10 @@ export default interface PersonClub {
19
19
  updatedAt: Date;
20
20
  }
21
21
 
22
- /** Represents the initializer for the table public.PersonClub */
23
- export interface PersonClubInitializer {
22
+ /** Represents the initializer for the table public.person_clubs */
23
+ export interface PersonClubsInitializer {
24
24
  /** Default value: gen_random_uuid() */
25
- id?: PersonClubId;
25
+ id?: PersonClubsId;
26
26
 
27
27
  slug: string;
28
28
 
@@ -37,9 +37,9 @@ export interface PersonClubInitializer {
37
37
  updatedAt?: Date;
38
38
  }
39
39
 
40
- /** Represents the mutator for the table public.PersonClub */
41
- export interface PersonClubMutator {
42
- id?: PersonClubId;
40
+ /** Represents the mutator for the table public.person_clubs */
41
+ export interface PersonClubsMutator {
42
+ id?: PersonClubsId;
43
43
 
44
44
  slug?: string;
45
45
 
@@ -2,14 +2,14 @@
2
2
  // This file is automatically generated by Kanel. Do not modify manually.
3
3
 
4
4
  import type { default as EnrichmentSources } from './EnrichmentSources';
5
- import type { PersonId } from './Person';
5
+ import type { PersonsId } from './Persons';
6
6
 
7
- /** Identifier type for public.PersonEnrichment */
8
- export type PersonEnrichmentId = string & { __brand: 'PersonEnrichmentId' };
7
+ /** Identifier type for public.person_enrichments */
8
+ export type PersonEnrichmentsId = string | number;
9
9
 
10
- /** Represents the table public.PersonEnrichment */
11
- export default interface PersonEnrichment {
12
- id: PersonEnrichmentId;
10
+ /** Represents the table public.person_enrichments */
11
+ export default interface PersonEnrichments {
12
+ id: PersonEnrichmentsId;
13
13
 
14
14
  data: unknown | null;
15
15
 
@@ -17,17 +17,17 @@ export default interface PersonEnrichment {
17
17
 
18
18
  source: EnrichmentSources;
19
19
 
20
- personId: PersonId;
20
+ personId: PersonsId;
21
21
 
22
22
  createdAt: Date;
23
23
 
24
24
  updatedAt: Date;
25
25
  }
26
26
 
27
- /** Represents the initializer for the table public.PersonEnrichment */
28
- export interface PersonEnrichmentInitializer {
27
+ /** Represents the initializer for the table public.person_enrichments */
28
+ export interface PersonEnrichmentsInitializer {
29
29
  /** Default value: gen_random_uuid() */
30
- id?: PersonEnrichmentId;
30
+ id?: PersonEnrichmentsId;
31
31
 
32
32
  data?: unknown | null;
33
33
 
@@ -35,7 +35,7 @@ export interface PersonEnrichmentInitializer {
35
35
 
36
36
  source: EnrichmentSources;
37
37
 
38
- personId: PersonId;
38
+ personId: PersonsId;
39
39
 
40
40
  /** Default value: CURRENT_TIMESTAMP */
41
41
  createdAt?: Date;
@@ -44,9 +44,9 @@ export interface PersonEnrichmentInitializer {
44
44
  updatedAt?: Date;
45
45
  }
46
46
 
47
- /** Represents the mutator for the table public.PersonEnrichment */
48
- export interface PersonEnrichmentMutator {
49
- id?: PersonEnrichmentId;
47
+ /** Represents the mutator for the table public.person_enrichments */
48
+ export interface PersonEnrichmentsMutator {
49
+ id?: PersonEnrichmentsId;
50
50
 
51
51
  data?: unknown | null;
52
52
 
@@ -54,7 +54,7 @@ export interface PersonEnrichmentMutator {
54
54
 
55
55
  source?: EnrichmentSources;
56
56
 
57
- personId?: PersonId;
57
+ personId?: PersonsId;
58
58
 
59
59
  createdAt?: Date;
60
60