import { UserAction } from "@sentrei/common/models/Activity"; import Profile from "@sentrei/common/models/Profile"; import User from "@sentrei/common/models/User"; declare namespace Notification { type Type = keyof User.NotificationSettings; type RequestType = Type | "none"; interface Email { editId: string; name: string; title: string; username: string; } interface Create { action: UserAction; activityId: string | null; type: Type; updatedAt: firebase.firestore.FieldValue; user: Profile.Response; } interface Response extends Omit { updatedAt: firebase.firestore.Timestamp; } interface Get extends Omit { id: string; updatedAt: string; } interface Snapshot extends Get { snap: firebase.firestore.DocumentSnapshot; } } export default Notification; //# sourceMappingURL=Notification.d.ts.map