mais ajustes
This commit is contained in:
parent
14396d5ec5
commit
10a3312418
7 changed files with 59 additions and 39 deletions
25
dist/index.mjs
vendored
25
dist/index.mjs
vendored
|
|
@ -1,6 +1,6 @@
|
|||
import z from 'zod';
|
||||
import dayjsbr from 'dayjs';
|
||||
export { default as dayjsbr } from 'dayjs';
|
||||
import dayjs from 'dayjs';
|
||||
export { default as dayjs } from 'dayjs';
|
||||
import duration from 'dayjs/plugin/duration.js';
|
||||
import isSameOrAfter from 'dayjs/plugin/isSameOrAfter.js';
|
||||
import isSameOrBefore from 'dayjs/plugin/isSameOrBefore.js';
|
||||
|
|
@ -9,6 +9,7 @@ import relativeTime from 'dayjs/plugin/relativeTime.js';
|
|||
import timezone from 'dayjs/plugin/timezone.js';
|
||||
import utc from 'dayjs/plugin/utc.js';
|
||||
import weekOfYear from 'dayjs/plugin/weekOfYear.js';
|
||||
import 'dayjs/locale/pt-br.js';
|
||||
import crossFetch from 'cross-fetch';
|
||||
import { v4, v3, NIL } from 'uuid';
|
||||
|
||||
|
|
@ -85,14 +86,16 @@ const zFiltro = z.object({
|
|||
ou: z.boolean().optional()
|
||||
});
|
||||
|
||||
dayjsbr.extend(utc);
|
||||
dayjsbr.extend(timezone);
|
||||
dayjsbr.extend(weekOfYear);
|
||||
dayjsbr.extend(isSameOrBefore);
|
||||
dayjsbr.extend(isSameOrAfter);
|
||||
dayjsbr.extend(minMax);
|
||||
dayjsbr.extend(relativeTime);
|
||||
dayjsbr.extend(duration);
|
||||
dayjs.locale("pt-br");
|
||||
dayjs.extend(utc);
|
||||
dayjs.extend(timezone);
|
||||
dayjs.extend(weekOfYear);
|
||||
dayjs.extend(isSameOrBefore);
|
||||
dayjs.extend(isSameOrAfter);
|
||||
dayjs.extend(minMax);
|
||||
dayjs.extend(relativeTime);
|
||||
dayjs.extend(duration);
|
||||
const dayjsbr = dayjs;
|
||||
|
||||
const cdn_carro_de_boi = "https://carro-de-boi-idz-one.b-cdn.net";
|
||||
|
||||
|
|
@ -543,4 +546,4 @@ const uuidV3 = (chave, grupo) => {
|
|||
const uuidV4 = v4;
|
||||
const uuid = uuidV4;
|
||||
|
||||
export { TipagemRotas, aleatorio, cacheM, cacheMFixo, cacheMemoria, camposComuns, cdn_carro_de_boi, defineCwd, erUuid, esperar, extensoes, graficos_pilao, localValor, logger, nomeVariavel, objetoPg, operadores, paraObjetoRegistroPg, pgObjeto, postLogger, siglas_unidades_medida, texto_busca, tipoArquivo, tipoUsuarioResiduos, tx, umaFuncao, umaVariavel, unidades_medida, uuid, uuidV3, uuidV4, uuid_null, validarUuid, verCacheM, zFiltro, zOperadores };
|
||||
export { TipagemRotas, aleatorio, cacheM, cacheMFixo, cacheMemoria, camposComuns, cdn_carro_de_boi, dayjsbr, defineCwd, erUuid, esperar, extensoes, graficos_pilao, localValor, logger, nomeVariavel, objetoPg, operadores, paraObjetoRegistroPg, pgObjeto, postLogger, siglas_unidades_medida, texto_busca, tipoArquivo, 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