build
This commit is contained in:
parent
5e75cd641a
commit
8e46650e69
5 changed files with 9 additions and 6 deletions
1
dist-import/respostas.d.ts
vendored
1
dist-import/respostas.d.ts
vendored
|
|
@ -27,6 +27,7 @@ export declare const gerarRespostas: (registrarErroInterno: (op: {
|
||||||
erro: any;
|
erro: any;
|
||||||
mensagem?: string;
|
mensagem?: string;
|
||||||
local: string;
|
local: string;
|
||||||
|
__filename?: string;
|
||||||
}) => Partial<tipoRespostaErro>) => {
|
}) => Partial<tipoRespostaErro>) => {
|
||||||
/**
|
/**
|
||||||
* Gera uma resposta de sucesso
|
* Gera uma resposta de sucesso
|
||||||
|
|
|
||||||
1
dist-require/respostas.d.ts
vendored
1
dist-require/respostas.d.ts
vendored
|
|
@ -27,6 +27,7 @@ export declare const gerarRespostas: (registrarErroInterno: (op: {
|
||||||
erro: any;
|
erro: any;
|
||||||
mensagem?: string;
|
mensagem?: string;
|
||||||
local: string;
|
local: string;
|
||||||
|
__filename?: string;
|
||||||
}) => Partial<tipoRespostaErro>) => {
|
}) => Partial<tipoRespostaErro>) => {
|
||||||
/**
|
/**
|
||||||
* Gera uma resposta de sucesso
|
* Gera uma resposta de sucesso
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "p-respostas",
|
"name": "p-respostas",
|
||||||
"version": "0.16.0",
|
"version": "0.17.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
|
||||||
10
pnpm-lock.yaml
generated
10
pnpm-lock.yaml
generated
|
|
@ -23,7 +23,7 @@ importers:
|
||||||
version: 4.2.1
|
version: 4.2.1
|
||||||
p-comuns:
|
p-comuns:
|
||||||
specifier: git+http://leitura:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MTQ3NTA1NzYsImlzcyI6IkdpdG5lc3MiLCJwaWQiOjgsInRrbiI6eyJ0eXAiOiJwYXQiLCJpZCI6MzJ9fQ.OYdExOVQm5UI3wfeTaWjmD0o65Y1hrjFz5EvMB1a__U@git.idz.one:3000/git/multi-modulos-ambientais/_comuns.git#producao
|
specifier: git+http://leitura:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MTQ3NTA1NzYsImlzcyI6IkdpdG5lc3MiLCJwaWQiOjgsInRrbiI6eyJ0eXAiOiJwYXQiLCJpZCI6MzJ9fQ.OYdExOVQm5UI3wfeTaWjmD0o65Y1hrjFz5EvMB1a__U@git.idz.one:3000/git/multi-modulos-ambientais/_comuns.git#producao
|
||||||
version: git+http://leitura:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MTQ3NTA1NzYsImlzcyI6IkdpdG5lc3MiLCJwaWQiOjgsInRrbiI6eyJ0eXAiOiJwYXQiLCJpZCI6MzJ9fQ.OYdExOVQm5UI3wfeTaWjmD0o65Y1hrjFz5EvMB1a__U@git.idz.one:3000/git/multi-modulos-ambientais/_comuns.git#1813ad10fdf0c1024cca1d399c7cd2902044e38b(typescript@5.5.2)
|
version: git+http://leitura:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MTQ3NTA1NzYsImlzcyI6IkdpdG5lc3MiLCJwaWQiOjgsInRrbiI6eyJ0eXAiOiJwYXQiLCJpZCI6MzJ9fQ.OYdExOVQm5UI3wfeTaWjmD0o65Y1hrjFz5EvMB1a__U@git.idz.one:3000/git/multi-modulos-ambientais/_comuns.git#d774bd9dab964ca002798d403d2f05c5a4ccfdea(typescript@5.5.2)
|
||||||
typescript:
|
typescript:
|
||||||
specifier: ^5
|
specifier: ^5
|
||||||
version: 5.5.2
|
version: 5.5.2
|
||||||
|
|
@ -119,9 +119,9 @@ packages:
|
||||||
object-filter@1.0.2:
|
object-filter@1.0.2:
|
||||||
resolution: {integrity: sha512-NahvP2vZcy1ZiiYah30CEPw0FpDcSkSePJBMpzl5EQgCmISijiGuJm3SPYp7U+Lf2TljyaIw3E5EgkEx/TNEVA==}
|
resolution: {integrity: sha512-NahvP2vZcy1ZiiYah30CEPw0FpDcSkSePJBMpzl5EQgCmISijiGuJm3SPYp7U+Lf2TljyaIw3E5EgkEx/TNEVA==}
|
||||||
|
|
||||||
p-comuns@git+http://leitura:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MTQ3NTA1NzYsImlzcyI6IkdpdG5lc3MiLCJwaWQiOjgsInRrbiI6eyJ0eXAiOiJwYXQiLCJpZCI6MzJ9fQ.OYdExOVQm5UI3wfeTaWjmD0o65Y1hrjFz5EvMB1a__U@git.idz.one:3000/git/multi-modulos-ambientais/_comuns.git#1813ad10fdf0c1024cca1d399c7cd2902044e38b:
|
p-comuns@git+http://leitura:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MTQ3NTA1NzYsImlzcyI6IkdpdG5lc3MiLCJwaWQiOjgsInRrbiI6eyJ0eXAiOiJwYXQiLCJpZCI6MzJ9fQ.OYdExOVQm5UI3wfeTaWjmD0o65Y1hrjFz5EvMB1a__U@git.idz.one:3000/git/multi-modulos-ambientais/_comuns.git#d774bd9dab964ca002798d403d2f05c5a4ccfdea:
|
||||||
resolution: {commit: 1813ad10fdf0c1024cca1d399c7cd2902044e38b, repo: http://leitura:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MTQ3NTA1NzYsImlzcyI6IkdpdG5lc3MiLCJwaWQiOjgsInRrbiI6eyJ0eXAiOiJwYXQiLCJpZCI6MzJ9fQ.OYdExOVQm5UI3wfeTaWjmD0o65Y1hrjFz5EvMB1a__U@git.idz.one:3000/git/multi-modulos-ambientais/_comuns.git, type: git}
|
resolution: {commit: d774bd9dab964ca002798d403d2f05c5a4ccfdea, repo: http://leitura:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MTQ3NTA1NzYsImlzcyI6IkdpdG5lc3MiLCJwaWQiOjgsInRrbiI6eyJ0eXAiOiJwYXQiLCJpZCI6MzJ9fQ.OYdExOVQm5UI3wfeTaWjmD0o65Y1hrjFz5EvMB1a__U@git.idz.one:3000/git/multi-modulos-ambientais/_comuns.git, type: git}
|
||||||
version: 0.32.0
|
version: 0.40.0
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
typescript: ^5
|
typescript: ^5
|
||||||
|
|
||||||
|
|
@ -223,7 +223,7 @@ snapshots:
|
||||||
|
|
||||||
object-filter@1.0.2: {}
|
object-filter@1.0.2: {}
|
||||||
|
|
||||||
p-comuns@git+http://leitura:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MTQ3NTA1NzYsImlzcyI6IkdpdG5lc3MiLCJwaWQiOjgsInRrbiI6eyJ0eXAiOiJwYXQiLCJpZCI6MzJ9fQ.OYdExOVQm5UI3wfeTaWjmD0o65Y1hrjFz5EvMB1a__U@git.idz.one:3000/git/multi-modulos-ambientais/_comuns.git#1813ad10fdf0c1024cca1d399c7cd2902044e38b(typescript@5.5.2):
|
p-comuns@git+http://leitura:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MTQ3NTA1NzYsImlzcyI6IkdpdG5lc3MiLCJwaWQiOjgsInRrbiI6eyJ0eXAiOiJwYXQiLCJpZCI6MzJ9fQ.OYdExOVQm5UI3wfeTaWjmD0o65Y1hrjFz5EvMB1a__U@git.idz.one:3000/git/multi-modulos-ambientais/_comuns.git#d774bd9dab964ca002798d403d2f05c5a4ccfdea(typescript@5.5.2):
|
||||||
dependencies:
|
dependencies:
|
||||||
typescript: 5.5.2
|
typescript: 5.5.2
|
||||||
zod: 3.23.8
|
zod: 3.23.8
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ export const gerarRespostas = (
|
||||||
erro: any
|
erro: any
|
||||||
mensagem?: string
|
mensagem?: string
|
||||||
local: string
|
local: string
|
||||||
|
__filename?: string
|
||||||
}) => Partial<tipoRespostaErro>,
|
}) => Partial<tipoRespostaErro>,
|
||||||
) => {
|
) => {
|
||||||
const valor = <T>(valor: T, detalhes?: string[]): tipoRespostaSucesso<T> => {
|
const valor = <T>(valor: T, detalhes?: string[]): tipoRespostaSucesso<T> => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue