wasp/waspc/data/Lsp/templates/ts/query.fn.ts

13 lines
361 B
TypeScript
Raw Normal View History

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?}}