aboutsummaryrefslogtreecommitdiff
path: root/config/types.ts
blob: ec70185b29f6d81b20868c42cacd8a451342cf34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
export type Author = {
  name: string;
  handle: string;
  image?: string;
  url?: string;
  sameAs?: string[];
  jobTitle?: string;
  inSystem: boolean;
  pronouns: PronounSet;
};

export type Character = {
  name: string;
  stickerName: string;
  defaultPose: string;
  description: string;
  pronouns: PronounSet;
  stickers: string[];
};

export type Company = {
  name: string;
  url?: string;
  tagline: string;
  location: Location;
  defunct?: boolean;
};

export type Job = {
  company: Company;
  title: string;
  contract: boolean;
  startDate: string;
  endDate?: string;
  daysWorked?: number;
  daysBetween?: number;
  salary: Salary;
  leaveReason?: string;
  locations: Location[];
  highlights: string[];
  hideFromResume?: boolean;
};

export type Link = {
  url: string;
  title: string;
  description?: string;
};

export type Location = {
  city: string;
  stateOrProvince: string;
  country: string;
  remote: boolean;
};

export type NagMessage = {
  name: string;
  mood: string;
  message: string;
};

export type Person = {
  name: string;
  tags: string[];
  links: Link[];
};

export type PronounSet = {
  nominative: string;
  accusative: string;
  possessiveDeterminer: string;
  possessive: string;
  reflexive: string;
  singular: boolean;
};

export type Resume = {
  name: string;
  tagline: string;
  location: Location;
  buzzwords: string[];
  notablePublications: Link[];
};

export type Salary = {
  amount: number;
  currency: string;
  per: string;
  stock?: Stock;
};

export type Stock = {
  kind: "Grant" | "Options";
  amount: number;
  liquid: boolean;
  vestingYears: number;
  cliffYears: number;
};

export type StreamVOD = {
  title: string;
  slug: string;
  date: string;
  description: string;
  cdnPath: string;
  tags: string[];
};