Skip to main content
static getNoteSystemTemplates(): Promise<Template[] | null | undefined>;
Returns
  • Template[]: Template type. See Template.

Example

import { PluginCommAPI } from 'sn-plugin-lib';

/**
 * Example: get system note templates.
 */
export async function exampleGetNoteSystemTemplates() {
 const templates = await PluginCommAPI.getNoteSystemTemplates();
 return templates ?? [];
}