Skip to content

PluginOutlines

Ready-made requests for changes to outlines. Each one is called like a function and returns an Outcome. Using them requires the write:outlines permission.

await ctx.outlines.modify({ id: outlineId, archived: true });
modify: CommandToken<{
archived?: boolean;
id: string;
note?: string;
starred?: boolean;
title?: string;
}, Outcome>;

Changes the title, the note, starred or archived of an outline. The Inbox cannot be archived.