diff --git a/zed/zed.xdg.symlink/snippets/typescript.json b/zed/zed.xdg.symlink/snippets/typescript.json index 4f386d9..1d1f648 100644 --- a/zed/zed.xdg.symlink/snippets/typescript.json +++ b/zed/zed.xdg.symlink/snippets/typescript.json @@ -8,7 +8,7 @@ "", "import { describe } from 'node:test'", "", - "import { createDatabase, tearDown, withFixturesIt } from '@lib/database/test'", + "import { withFixturesIt } from '@lib/database/test'", "import { createTestContext } from 'baseup/services/internal/engine/context/test'", "", "import { expect, use } from 'chai'", @@ -31,5 +31,16 @@ " $0", "})" ] + }, + "grpcimpl": { + "prefix": "grpcimpl", + "description": "gRPC implementation function", + "body": [ + "import type Context from 'baseup/services/internal/engine/context'", + "", + "export async function ${1:endpointName}(ctx: Context) {", + " $0", + "}" + ] } }