wasp/waspc/data/Lsp/templates/ts/query.fn.ts
2024-01-29 16:05:56 +01:00

13 lines
361 B
TypeScript

import { {{upperDeclName}} } from 'wasp/server/queries/types'
type {{upperDeclName}}Input = void
type {{upperDeclName}}Output = void
{{#named?}}export {{/named?}}const {{name}}: {{upperDeclName}}<{{upperDeclName}}Input, {{upperDeclName}}Output> = async (args, context) => {
// Implementation goes here
}
{{#default?}}
export default {{name}}
{{/default?}}