@speckle/shared
Version:
Shared code between various Speckle JS packages
12 lines • 500 B
TypeScript
export type HistoryLimit = {
value: number;
unit: 'day' | 'week' | 'month';
};
export type HistoryLimits = Record<HistoryLimitTypes, HistoryLimit | null>;
export declare const HistoryLimitTypes: {
readonly versionsHistory: "versionsHistory";
readonly commentHistory: "commentHistory";
};
export type HistoryLimitTypes = (typeof HistoryLimitTypes)[keyof typeof HistoryLimitTypes];
export type GetHistoryLimits = () => Promise<HistoryLimits | null>;
//# sourceMappingURL=domain.d.ts.map