18 lines
687 B
TypeScript
18 lines
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>;
|