export interface INotification { id: number; title: string; description: string; sendToNotificationPage?: boolean; path?: string; } // Quelles sont les données utiles pour le user ??? export interface IUser { id: string; information?: any; } // Quelles sont les données utiles pour les messages ??? export interface IMessage { id: string; message: any; } export interface UserDiff { new_state_merkle_root: string; // TODO add a merkle proof that the new_value belongs to that state field: string; previous_value: string; new_value: string; notify_user: boolean; need_validation: boolean; // validated: bool, proof: any; // This is only validation (or refusal) for that specific diff, not the whole state. It can't be commited as such }