@the-inkwell/shared 0.1.70 → 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.
Files changed (57) hide show
  1. package/dist/src/types/db.js +6 -0
  2. package/package.json +4 -1
  3. package/src/types/db.ts +487 -0
  4. package/src/types/models/admin/candidacies/index.ts +3 -16
  5. package/src/types/models/admin/persons/index.ts +5 -5
  6. package/src/types/models/admin/website/index.ts +7 -15
  7. package/src/types/models/auth/index.ts +1 -2
  8. package/src/types/_schema/Action.ts +0 -91
  9. package/src/types/_schema/ActionNames.ts +0 -11
  10. package/src/types/_schema/Admin.ts +0 -36
  11. package/src/types/_schema/Campaign.ts +0 -77
  12. package/src/types/_schema/CampaignStatuses.ts +0 -10
  13. package/src/types/_schema/CampaignToPosition.ts +0 -40
  14. package/src/types/_schema/Candidacy.ts +0 -84
  15. package/src/types/_schema/CandidacyFeedback.ts +0 -55
  16. package/src/types/_schema/CandidacyRatingToTag.ts +0 -40
  17. package/src/types/_schema/CandidacySources.ts +0 -11
  18. package/src/types/_schema/CandidacyStatuses.ts +0 -14
  19. package/src/types/_schema/Client.ts +0 -56
  20. package/src/types/_schema/ClientStatuses.ts +0 -10
  21. package/src/types/_schema/Contract.ts +0 -62
  22. package/src/types/_schema/Conversation.ts +0 -64
  23. package/src/types/_schema/EnrichmentSources.ts +0 -8
  24. package/src/types/_schema/Jwt.ts +0 -55
  25. package/src/types/_schema/ListView.ts +0 -74
  26. package/src/types/_schema/ListViewModels.ts +0 -11
  27. package/src/types/_schema/Message.ts +0 -70
  28. package/src/types/_schema/MessageChannels.ts +0 -9
  29. package/src/types/_schema/MessageTemplate.ts +0 -53
  30. package/src/types/_schema/Note.ts +0 -76
  31. package/src/types/_schema/Otp.ts +0 -61
  32. package/src/types/_schema/Person.ts +0 -293
  33. package/src/types/_schema/PersonCareerLevels.ts +0 -13
  34. package/src/types/_schema/PersonClub.ts +0 -53
  35. package/src/types/_schema/PersonDegrees.ts +0 -13
  36. package/src/types/_schema/PersonEnrichment.ts +0 -62
  37. package/src/types/_schema/PersonGenders.ts +0 -11
  38. package/src/types/_schema/PersonNetwork.ts +0 -53
  39. package/src/types/_schema/PersonSkill.ts +0 -53
  40. package/src/types/_schema/PersonSources.ts +0 -11
  41. package/src/types/_schema/PersonToBestPerson.ts +0 -32
  42. package/src/types/_schema/PersonToPersonClub.ts +0 -33
  43. package/src/types/_schema/PersonToPersonNetwork.ts +0 -33
  44. package/src/types/_schema/PersonToPersonSkill.ts +0 -33
  45. package/src/types/_schema/PersonToTag.ts +0 -33
  46. package/src/types/_schema/Position.ts +0 -77
  47. package/src/types/_schema/PositionStatuses.ts +0 -9
  48. package/src/types/_schema/PublicSchema.ts +0 -110
  49. package/src/types/_schema/Referral.ts +0 -78
  50. package/src/types/_schema/ReferralPayout.ts +0 -29
  51. package/src/types/_schema/ReferralSources.ts +0 -10
  52. package/src/types/_schema/ReferralToIntroMessage.ts +0 -40
  53. package/src/types/_schema/Sender.ts +0 -59
  54. package/src/types/_schema/Tag.ts +0 -47
  55. package/src/types/_schema/WebsiteBlock.ts +0 -45
  56. package/src/types/_schema/WebsiteLandingPage.ts +0 -47
  57. package/src/types/_schema/WebsiteStaticPage.ts +0 -53
@@ -1,40 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- import type { MessageId } from './Message';
5
- import type { ReferralId } from './Referral';
6
-
7
- /** Represents the table public.ReferralToIntroMessage */
8
- export default interface ReferralToIntroMessage {
9
- messageId: MessageId;
10
-
11
- referralId: ReferralId;
12
-
13
- createdAt: Date;
14
-
15
- updatedAt: Date;
16
- }
17
-
18
- /** Represents the initializer for the table public.ReferralToIntroMessage */
19
- export interface ReferralToIntroMessageInitializer {
20
- messageId: MessageId;
21
-
22
- referralId: ReferralId;
23
-
24
- /** Default value: CURRENT_TIMESTAMP */
25
- createdAt?: Date;
26
-
27
- /** Default value: CURRENT_TIMESTAMP */
28
- updatedAt?: Date;
29
- }
30
-
31
- /** Represents the mutator for the table public.ReferralToIntroMessage */
32
- export interface ReferralToIntroMessageMutator {
33
- messageId?: MessageId;
34
-
35
- referralId?: ReferralId;
36
-
37
- createdAt?: Date;
38
-
39
- updatedAt?: Date;
40
- }
@@ -1,59 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- /** Identifier type for public.Sender */
5
- export type SenderId = string & { __brand: 'SenderId' };
6
-
7
- /** Represents the table public.Sender */
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;
28
-
29
- name: string;
30
-
31
- email?: string | null;
32
-
33
- replyToEmail?: string | null;
34
-
35
- smsNumber?: string | null;
36
-
37
- /** Default value: CURRENT_TIMESTAMP */
38
- createdAt?: Date;
39
-
40
- /** Default value: CURRENT_TIMESTAMP */
41
- updatedAt?: Date;
42
- }
43
-
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;
51
-
52
- replyToEmail?: string | null;
53
-
54
- smsNumber?: string | null;
55
-
56
- createdAt?: Date;
57
-
58
- updatedAt?: Date;
59
- }
@@ -1,47 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- /** Identifier type for public.Tag */
5
- export type TagId = string & { __brand: 'TagId' };
6
-
7
- /** Represents the table public.Tag */
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;
24
-
25
- slug: string;
26
-
27
- name: string;
28
-
29
- /** Default value: CURRENT_TIMESTAMP */
30
- createdAt?: Date;
31
-
32
- /** Default value: CURRENT_TIMESTAMP */
33
- updatedAt?: Date;
34
- }
35
-
36
- /** Represents the mutator for the table public.Tag */
37
- export interface TagMutator {
38
- id?: TagId;
39
-
40
- slug?: string;
41
-
42
- name?: string;
43
-
44
- createdAt?: Date;
45
-
46
- updatedAt?: Date;
47
- }
@@ -1,45 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- /** Identifier type for public.WebsiteBlock */
5
- export type WebsiteBlockId = string & { __brand: 'WebsiteBlockId' };
6
-
7
- /** Represents the table public.WebsiteBlock */
8
- export default interface WebsiteBlock {
9
- id: WebsiteBlockId;
10
-
11
- slug: string;
12
-
13
- name: string;
14
-
15
- content: string;
16
-
17
- contentType: string;
18
- }
19
-
20
- /** Represents the initializer for the table public.WebsiteBlock */
21
- export interface WebsiteBlockInitializer {
22
- /** Default value: gen_random_uuid() */
23
- id?: WebsiteBlockId;
24
-
25
- slug: string;
26
-
27
- name: string;
28
-
29
- content: string;
30
-
31
- contentType: string;
32
- }
33
-
34
- /** Represents the mutator for the table public.WebsiteBlock */
35
- export interface WebsiteBlockMutator {
36
- id?: WebsiteBlockId;
37
-
38
- slug?: string;
39
-
40
- name?: string;
41
-
42
- content?: string;
43
-
44
- contentType?: string;
45
- }
@@ -1,47 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- /** Identifier type for public.WebsiteLandingPage */
5
- export type WebsiteLandingPageId = string & { __brand: 'WebsiteLandingPageId' };
6
-
7
- /** Represents the table public.WebsiteLandingPage */
8
- export default interface WebsiteLandingPage {
9
- id: WebsiteLandingPageId;
10
-
11
- slug: string;
12
-
13
- name: string;
14
-
15
- content: unknown;
16
-
17
- meta: unknown;
18
- }
19
-
20
- /** Represents the initializer for the table public.WebsiteLandingPage */
21
- export interface WebsiteLandingPageInitializer {
22
- /** Default value: gen_random_uuid() */
23
- id?: WebsiteLandingPageId;
24
-
25
- slug: string;
26
-
27
- name: string;
28
-
29
- /** Default value: '{}'::jsonb */
30
- content?: unknown;
31
-
32
- /** Default value: '{}'::jsonb */
33
- meta?: unknown;
34
- }
35
-
36
- /** Represents the mutator for the table public.WebsiteLandingPage */
37
- export interface WebsiteLandingPageMutator {
38
- id?: WebsiteLandingPageId;
39
-
40
- slug?: string;
41
-
42
- name?: string;
43
-
44
- content?: unknown;
45
-
46
- meta?: unknown;
47
- }
@@ -1,53 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- /** Identifier type for public.WebsiteStaticPage */
5
- export type WebsiteStaticPageId = string & { __brand: 'WebsiteStaticPageId' };
6
-
7
- /** Represents the table public.WebsiteStaticPage */
8
- export default interface WebsiteStaticPage {
9
- id: WebsiteStaticPageId;
10
-
11
- slug: string;
12
-
13
- name: string;
14
-
15
- path: string;
16
-
17
- content: unknown;
18
-
19
- meta: unknown;
20
- }
21
-
22
- /** Represents the initializer for the table public.WebsiteStaticPage */
23
- export interface WebsiteStaticPageInitializer {
24
- /** Default value: gen_random_uuid() */
25
- id?: WebsiteStaticPageId;
26
-
27
- slug: string;
28
-
29
- name: string;
30
-
31
- path: string;
32
-
33
- /** Default value: '{}'::jsonb */
34
- content?: unknown;
35
-
36
- /** Default value: '{}'::jsonb */
37
- meta?: unknown;
38
- }
39
-
40
- /** Represents the mutator for the table public.WebsiteStaticPage */
41
- export interface WebsiteStaticPageMutator {
42
- id?: WebsiteStaticPageId;
43
-
44
- slug?: string;
45
-
46
- name?: string;
47
-
48
- path?: string;
49
-
50
- content?: unknown;
51
-
52
- meta?: unknown;
53
- }