export type ApiResponse<T> = {
    [K in keyof T]: T[K];
};

export type BaseEntity = {
    id: number;
    CreatedAt: string;
    UpdatedAt: string;
};

export type Entity<T> = {
    [K in keyof T]: T[K];
} & BaseEntity;

export type BaseAuthResponse = {
    token: string;
    refresh_token: string;
};

export type AuthResponse<T> = {
    [K in keyof T]: T[K];
} & BaseAuthResponse;

export type SelectOption = {
    label: string;
    value: string;
};
