44 lines
668 B
TypeScript
44 lines
668 B
TypeScript
// @generated automatically by Rapid-web (https://rapid.cincinnati.ventures). DO NOT CHANGE OR EDIT THIS FILE!
|
|
|
|
export interface Handlers {
|
|
queries: {
|
|
"index": {
|
|
output: any
|
|
type: 'query'
|
|
isDynamic: false
|
|
},
|
|
|
|
"hello": {
|
|
output: HelloResponse
|
|
type: 'query'
|
|
isDynamic: false
|
|
},
|
|
},
|
|
mutations: {
|
|
"echo": {
|
|
output: string
|
|
type: 'post'
|
|
isDynamic: false
|
|
}
|
|
},
|
|
}
|
|
|
|
export const routes = {
|
|
"index": {
|
|
url: '/',
|
|
type: 'query',
|
|
},
|
|
"hello": {
|
|
url: '/hello',
|
|
type: 'query',
|
|
},
|
|
"echo": {
|
|
url: '/echo',
|
|
type: 'post',
|
|
},
|
|
} as const
|
|
|
|
export interface HelloResponse {
|
|
plain: string;
|
|
colored: string;
|
|
} |