@promptbook/vercel
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
20 lines (19 loc) • 400 B
TypeScript
/**
* Represents items which are compared to each other
*/
export type FromtoItems = ReadonlyArray<{
/**
* The title of the item
*/
readonly title: string;
/**
* The start of the item
*
* This can mean anything, like seconds, milliseconds, dollars, etc.
*/
readonly from: number;
/**
* The end of the item
*/
readonly to: number;
}>;