internalização de libs
This commit is contained in:
parent
2cac8492fa
commit
42d5e978c9
7 changed files with 78 additions and 105 deletions
|
|
@ -1,13 +1,5 @@
|
|||
import z from 'zod';
|
||||
import dayjs from 'dayjs';
|
||||
import duration from 'dayjs/plugin/duration';
|
||||
import isSameOrAfter from 'dayjs/plugin/isSameOrAfter';
|
||||
import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
|
||||
import minMax from 'dayjs/plugin/minMax';
|
||||
import relativeTime from 'dayjs/plugin/relativeTime';
|
||||
import timezone from 'dayjs/plugin/timezone';
|
||||
import utc from 'dayjs/plugin/utc';
|
||||
import weekOfYear from 'dayjs/plugin/weekOfYear';
|
||||
export { ManipulateType, default as dayjsbr } from 'dayjs';
|
||||
import { v4 } from 'uuid';
|
||||
|
||||
declare const aleatorio: (tamanho?: number) => string;
|
||||
|
|
@ -97,33 +89,6 @@ declare const zFiltro: z.ZodObject<{
|
|||
ou: z.ZodOptional<z.ZodBoolean>;
|
||||
}, z.core.$strip>;
|
||||
|
||||
/**
|
||||
*
|
||||
* dayjsbr.ts
|
||||
*import dayjs from "dayjs"
|
||||
*import "dayjs/locale/pt-br"
|
||||
*import duration from "dayjs/plugin/duration"
|
||||
*import isSameOrAfter from "dayjs/plugin/isSameOrAfter"
|
||||
*import isSameOrBefore from "dayjs/plugin/isSameOrBefore"
|
||||
*import minMax from "dayjs/plugin/minMax"
|
||||
*import relativeTime from "dayjs/plugin/relativeTime"
|
||||
*import timezone from "dayjs/plugin/timezone"
|
||||
*import utc from "dayjs/plugin/utc"
|
||||
*import weekOfYear from "dayjs/plugin/weekOfYear"
|
||||
|
||||
|
||||
*/
|
||||
declare const criarDayjsbr: (edayjs: typeof dayjs, op: {
|
||||
duration: typeof duration;
|
||||
isSameOrAfter: typeof isSameOrAfter;
|
||||
isSameOrBefore: typeof isSameOrBefore;
|
||||
minMax: typeof minMax;
|
||||
relativeTime: typeof relativeTime;
|
||||
timezone: typeof timezone;
|
||||
utc: typeof utc;
|
||||
weekOfYear: typeof weekOfYear;
|
||||
}) => typeof dayjs;
|
||||
|
||||
declare const cdn_carro_de_boi = "https://carro-de-boi-idz-one.b-cdn.net";
|
||||
|
||||
type tiposArquivo = "imagem" | "documento" | "vídeo" | "outros";
|
||||
|
|
@ -343,4 +308,4 @@ declare const nomeVariavel: (v: {
|
|||
[key: string]: any;
|
||||
}) => string;
|
||||
|
||||
export { TipagemRotas, type TipoLoggerSessao, aleatorio, cacheM, cacheMFixo, cacheMemoria, camposComuns, cdn_carro_de_boi, criarDayjsbr, defineCwd, erUuid, esperar, extensoes, graficos_pilao, type interfaceConsulta, localValor, logger, nomeVariavel, objetoPg, operadores, paraObjetoRegistroPg, pgObjeto, postLogger, siglas_unidades_medida, texto_busca, tipoArquivo, type tipoFiltro, type tipoLogger, type tipoLoggerLog, type tipoLokiObjeto, tipoUsuarioResiduos, tx, umaFuncao, umaVariavel, unidades_medida, uuid, uuidV3, uuidV4, uuid_null, validarUuid, verCacheM, zFiltro, zOperadores };
|
||||
export { TipagemRotas, type TipoLoggerSessao, aleatorio, cacheM, cacheMFixo, cacheMemoria, camposComuns, cdn_carro_de_boi, defineCwd, erUuid, esperar, extensoes, graficos_pilao, type interfaceConsulta, localValor, logger, nomeVariavel, objetoPg, operadores, paraObjetoRegistroPg, pgObjeto, postLogger, siglas_unidades_medida, texto_busca, tipoArquivo, type tipoFiltro, type tipoLogger, type tipoLoggerLog, type tipoLokiObjeto, tipoUsuarioResiduos, tx, umaFuncao, umaVariavel, unidades_medida, uuid, uuidV3, uuidV4, uuid_null, validarUuid, verCacheM, zFiltro, zOperadores };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue