From 937b8a32287c1b014b0ba8d0deab8573bdfcbd89 Mon Sep 17 00:00:00 2001 From: Mark Choi Date: Fri, 9 Sep 2022 14:43:32 +0900 Subject: [PATCH] chore: add setVault to note trait template --- .../plugin-core/src/commands/RegisterNoteTraitCommand.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/plugin-core/src/commands/RegisterNoteTraitCommand.ts b/packages/plugin-core/src/commands/RegisterNoteTraitCommand.ts index cffc73440b..71c6b370a1 100644 --- a/packages/plugin-core/src/commands/RegisterNoteTraitCommand.ts +++ b/packages/plugin-core/src/commands/RegisterNoteTraitCommand.ts @@ -85,6 +85,15 @@ module.exports = { // setTemplate: () => { // return "root"; // }, + /** + * Specify the vault in which a new note is created. + * This method is optional, uncomment out + * the lines below if you want to specify the vault. + * @returns the name of the desired vault. + */ + // setVault: () => { + // return "vault"; + // }, }, }; `;