mirror of
https://github.com/standardnotes/server
synced 2026-01-16 20:04:32 -05: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[]
|
|
}
|