diff --git a/types/StickerContext.d.ts b/types/StickerContext.d.ts index 02f623f..1d2e246 100644 --- a/types/StickerContext.d.ts +++ b/types/StickerContext.d.ts @@ -1,3 +1,28 @@ interface StickersContextState { stickersMonth: StickerDays; + addEditSticker: (date: Date, sticker: ValidStickerVal) => void; +} + +type StickerVal = -2 | -1 | 0 | 1 | 2 | null; + +type ValidStickerVal = -2 | -1 | 0 | 1 | 2; + +interface AddEditStickerProps { + date: Date; + sticker: ValidStickerVal; +} + +interface Sticker { + id: string; + date: Date; + sticker: StickerVal; + edited: boolean; + manual: boolean; +} + +type StickerDays = Sticker[]; + +interface MonthSticker { + date: Date; + month: Sticker[]; }