houdini/docs/event_definitions/Nonprofit/Supporter/SupporterNote.ts
2021-01-17 17:08:52 -06:00

18 lines
No EOL
687 B
TypeScript

// License: LGPL-3.0-or-later
import type { IdType, HoudiniObject, HoudiniEvent } from '../../common';
import type Nonprofit from '..';
import Supporter from '.';
import type { User } from '../../User';
export interface SupporterNote extends HoudiniObject {
content: string;
deleted: boolean;
nonprofit: IdType | Nonprofit;
object: "supporter_note";
supporter: IdType | Supporter;
user: IdType | User;
}
export type SupporterNoteCreated = HoudiniEvent<'supporter_note.created', SupporterNote>;
export type SupporterNoteUpdated = HoudiniEvent<'supporter_note.updated', SupporterNote>;
export type SupporterNoteDeleted = HoudiniEvent<'supporter_note.deleted', SupporterNote>;