mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 10:15:52 +01:00
chore(client/ts): port services/note_create
This commit is contained in:
@@ -41,13 +41,13 @@ const TPL = `
|
||||
</div>
|
||||
</div>`;
|
||||
|
||||
interface CallbackData {
|
||||
export interface ChooseNoteTypeResponse {
|
||||
success: boolean;
|
||||
noteType?: string;
|
||||
templateNoteId?: string;
|
||||
}
|
||||
|
||||
type Callback = (data: CallbackData) => void;
|
||||
type Callback = (data: ChooseNoteTypeResponse) => void;
|
||||
|
||||
export default class NoteTypeChooserDialog extends BasicWidget {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user