mirror of
https://github.com/standardnotes/server
synced 2026-07-14 09:01:33 -04:00
9 lines
262 B
TypeScript
9 lines
262 B
TypeScript
import { Period } from './Period'
|
|
|
|
export interface PeriodKeyGeneratorInterface {
|
|
getPeriodKey(period: Period): string
|
|
getDailyKey(date?: Date): string
|
|
convertPeriodKeyToPeriod(periodKey: string): Period
|
|
getDiscretePeriodKeys(period: Period): string[]
|
|
}
|