We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee2fd45 commit 278b70aCopy full SHA for 278b70a
src/cli/codegen_templates/component_server.ts
@@ -5,7 +5,7 @@ export function componentServerTS(isRoot: boolean): string {
5
${header(
6
"Generated utilities for implementing server-side Convex query and mutation functions.",
7
)}
8
- import {
+ import type {
9
ActionBuilder,
10
${isRoot ? "AnyComponents," : ""}
11
HttpActionBuilder,
@@ -16,6 +16,8 @@ export function componentServerTS(isRoot: boolean): string {
16
GenericQueryCtx,
17
GenericDatabaseReader,
18
GenericDatabaseWriter,
19
+ } from "convex/server";
20
+ import {
21
actionGeneric,
22
httpActionGeneric,
23
queryGeneric,
0 commit comments