diff --git a/src/views/tools/event-publisher/templates.ts b/src/views/tools/event-publisher/templates.ts index 1e6079cf5..eb53b91f1 100644 --- a/src/views/tools/event-publisher/templates.ts +++ b/src/views/tools/event-publisher/templates.ts @@ -35,4 +35,20 @@ export const TEMPLATES: { name: string; variables: Variable[]; template: () => L ], }), }, + { + name: "nsite file", + variables: [ + { name: "path", type: "string", value: "/path/to/file" }, + { name: "hash", type: "string", value: "299b798c4c72e90b28138b460097ab17e777b38acd7ec8572e1507cd10181198" }, + ], + template: () => ({ + content: "", + created_at: "now", + kind: 34128, + tags: [ + ["d", "{{path}}"], + ["x", "{{hash}}"], + ], + }), + }, ];