import { UserFeedback } from '@time-neko/shared/domain/feedback';
import { Storage } from '@time-neko/shared/domain/types';
import { ThrottleState } from '@time-neko/shared/throttle';

export interface FeedbackStorageData {
  feedbackToSend?: UserFeedback[];
  feedbackThrottleState?: Omit<ThrottleState, 'lastExecution'> & {
    lastExecution?: string;
  };
}

export type FeedbackStorage = Storage<FeedbackStorageData>;
