Vacancy added

This commit is contained in:
libertyoms
2025-04-27 08:51:09 +02:00
parent 809f5c6ff7
commit 1be00d7a42
20 changed files with 1203 additions and 1 deletions

38
types/index.d.ts vendored
View File

@ -77,3 +77,41 @@ interface HeroButton {
interface ItemsQuery {
fields?: string[];
}
export interface Vacancy {
id: string;
title: string;
slug: string;
description: string;
department: string;
location: {
city: string;
country: string;
remote: boolean;
};
employmentType: "Full-time" | "Part-time" | "Contract" | "Internship";
experienceLevel:
| "Entry-level"
| "Mid-level"
| "Senior-level"
| "Lead"
| "Manager";
salary?: {
min: number;
max: number;
currency: string;
period: "Annual" | "Monthly" | "Hourly";
};
responsibilities: string[];
requiredQualifications: string[];
preferredQualifications?: string[];
benefits?: string[];
applicationDeadline?: string; // ISO 8601 date string
postedDate: string; // ISO 8601 date string
contactPerson?: {
name: string;
email: string;
phone?: string;
};
status: "Open" | "Closed" | "Filled";
}