build
This commit is contained in:
parent
a6205f1ab6
commit
e580643abc
40 changed files with 329 additions and 507 deletions
15
dist-require/autenticacao/index.d.ts
vendored
15
dist-require/autenticacao/index.d.ts
vendored
|
|
@ -2,30 +2,21 @@ import { type tipoUsuarioExterno } from "./_usuarios_quipo_governo";
|
|||
export type { tipoUsuarioExterno };
|
||||
/** todas as rotas de comunicação com autenticador partem dessa variável */
|
||||
export declare const pAutenticacao: {
|
||||
validarToken: ({ ambiente, post, buscar, }: {
|
||||
validarToken: ({ ambiente, post, }: {
|
||||
ambiente: "desenvolvimento" | "producao";
|
||||
post: {
|
||||
token: string;
|
||||
};
|
||||
buscar: (url: string, post: {
|
||||
token: string;
|
||||
}) => Promise<import("p-respostas").tipoResposta<any>>;
|
||||
}) => Promise<"valido" | "erro">;
|
||||
urlAutenticacao: (ambiente: "desenvolvimento" | "producao") => string;
|
||||
codigoContaSite: ({ ambiente, post, buscar, }: {
|
||||
codigoContaSite: ({ ambiente, post, }: {
|
||||
ambiente: "desenvolvimento" | "producao";
|
||||
post: {
|
||||
site: string;
|
||||
};
|
||||
buscar: (url: string, post: {
|
||||
site: string;
|
||||
}) => Promise<import("p-respostas").tipoResposta<string>>;
|
||||
}) => Promise<import("p-respostas").tipoResposta<string>>;
|
||||
usuarios_quipo_governo: ({ token_produto, ambiente, buscar, }: {
|
||||
usuarios_quipo_governo: ({ token_produto, ambiente, }: {
|
||||
ambiente: "desenvolvimento" | "producao";
|
||||
token_produto: string;
|
||||
buscar: (url: string, headers: {
|
||||
[k: string]: string;
|
||||
}) => Promise<import("p-respostas").tipoResposta<tipoUsuarioExterno[]>>;
|
||||
}) => Promise<import("p-respostas").tipoResposta<tipoUsuarioExterno[]>>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue