build
This commit is contained in:
parent
7b2ba9afa8
commit
64ab623007
11 changed files with 26 additions and 13 deletions
32
src/pilao-de-dados/Pilao/pilao-api.ts
Executable file
32
src/pilao-de-dados/Pilao/pilao-api.ts
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
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[]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue