@indicafix/types
Version:
useful package for type sharing in different services.
17 lines (16 loc) • 348 B
TypeScript
declare type AccessInformation = {
ip: string;
userAgent: string;
};
export interface ShortUrl {
id: string;
originalUrl: string;
shortUrl: string;
clicks: number;
accessInformation: ReadonlyArray<AccessInformation>;
description: string;
userAgent: string;
createdAt: Date;
updatedAt: Date;
}
export {};