Skip to content

Commit

Permalink
Add types with keys
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriarte committed Jun 27, 2024
1 parent 822d07d commit 2b8d8b1
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,23 @@ export interface Work {
[k: string]: unknown;
}

export interface WorkWithKeys {
name?: string;
location?: string;
description?: string;
position?: string;
url?: string;
startDate?: string;
endDate?: string;
summary?: string;
highlights?: {
key: string;
value: string;
}[];
keywords?: string[];
[k: string]: unknown;
}

export interface Publication {
name?: string;
publisher?: string;
Expand All @@ -77,6 +94,23 @@ export interface Project {
[k: string]: unknown;
}

export interface ProjectWithKeys {
name?: string;
description?: string;
highlights?: {
key: string;
value: string;
}[];
keywords?: string[];
startDate?: string;
endDate?: string;
url?: string;
roles?: string[];
entity?: string;
type?: string;
[k: string]: unknown;
}

export interface Volunteer {
organization?: string;
position?: string;
Expand All @@ -89,6 +123,21 @@ export interface Volunteer {
[k: string]: unknown;
}

export interface VolunteerWithKeys {
organization?: string;
position?: string;
url?: string;
startDate?: string;
endDate?: string;
summary?: string;
highlights?: {
key: string;
value: string;
}[];
keywords?: string[];
[k: string]: unknown;
}

export interface Certificate {
name?: string;
date?: string;
Expand All @@ -111,6 +160,22 @@ export interface Education {
[k: string]: unknown;
}

export interface EducationWithKeys {
institution?: string;
url?: string;
area?: string;
studyType?: string;
startDate?: string;
endDate?: string;
score?: string;
courses?: {
key: string;
value: string;
}[];
keywords?: string[];
[k: string]: unknown;
}

export interface Basics {
name?: string;
label?: string;
Expand Down

0 comments on commit 2b8d8b1

Please sign in to comment.