2021-01-14 21:33:10 +00:00
|
|
|
// License: LGPL-3.0-or-later
|
2021-02-10 22:04:05 +00:00
|
|
|
import type { IDType, HoudiniObject, HoudiniEvent } from '../../common';
|
2021-01-14 21:33:10 +00:00
|
|
|
import type Nonprofit from '..';
|
2021-04-07 21:43:58 +00:00
|
|
|
import Supporter from '..';
|
2021-01-14 21:33:10 +00:00
|
|
|
import type { User } from '../../User';
|
|
|
|
|
|
|
|
export interface SupporterNote extends HoudiniObject {
|
|
|
|
content: string;
|
|
|
|
deleted: boolean;
|
2021-02-10 22:04:05 +00:00
|
|
|
nonprofit: IDType | Nonprofit;
|
2021-01-14 21:33:10 +00:00
|
|
|
object: "supporter_note";
|
2021-02-10 22:04:05 +00:00
|
|
|
supporter: IDType | Supporter;
|
|
|
|
user: IDType | User;
|
2021-01-14 21:33:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export type SupporterNoteCreated = HoudiniEvent<'supporter_note.created', SupporterNote>;
|
|
|
|
export type SupporterNoteUpdated = HoudiniEvent<'supporter_note.updated', SupporterNote>;
|
|
|
|
export type SupporterNoteDeleted = HoudiniEvent<'supporter_note.deleted', SupporterNote>;
|