File: /var/www/quadcode.com/src/type/events.ts
import type { ILangs } from "$lib/scheme/types";
export interface IEvent {
title: string;
description: string;
startDate: string;
endDate: string;
city: string;
location: string;
linkData: {
buttonText: string;
link: string;
};
image: {
large :string;
medium :string;
mediumLarge :string;
thumbnail :string;
} | null;
tag: string;
}
export interface IEventsResponse {
totalCount: number;
events: IEvent[];
}
export interface IGetEventsConfig {
isPast: boolean,
lang?: ILangs,
past: {
offset: number,
limit: number,
}
upcoming: {
offset: number,
limit: number,
}
}