Template[]: Template type. SeeTemplate.
PluginCommAPI
getNoteSystemTemplates
Get system note templates. You can use these templates when creating note files.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get system note templates. You can use these templates when creating note files.
static getNoteSystemTemplates(): Promise<Template[] | null | undefined>;
Template[]: Template type. See Template.import { PluginCommAPI } from 'sn-plugin-lib';
/**
* Example: get system note templates.
*/
export async function exampleGetNoteSystemTemplates() {
const templates = await PluginCommAPI.getNoteSystemTemplates();
return templates ?? [];
}