add event template for nsite event

This commit is contained in:
hzrd149 2025-03-06 12:30:55 +00:00
parent a780a57500
commit 2ed579783d

View File

@ -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}}"],
],
}),
},
];