32 lines
535 B
TypeScript
Executable file
32 lines
535 B
TypeScript
Executable file
import type { z } from "zod"
|
|
import type { zp_registrar_base_dados } from "../_enviar_registros"
|
|
|
|
/**
|
|
* {
|
|
* 'rota':{
|
|
* pr:{}// paramentros de entrada
|
|
* rs:{}// resposta
|
|
* }
|
|
* }
|
|
*/
|
|
export type tipo_pilao_api = {
|
|
/** retorna da data e hora do servido em formato iso */
|
|
estado_servidor: {
|
|
pr: {}
|
|
rs: {
|
|
data_hora: string
|
|
}
|
|
}
|
|
tabelas: {
|
|
pr: {}
|
|
rs: z.infer<typeof zp_registrar_base_dados>[]
|
|
}
|
|
|
|
unicos: {
|
|
pr: {
|
|
tabela: string
|
|
coluna: string
|
|
}
|
|
rs: any[]
|
|
}
|
|
}
|