mais ajustes
This commit is contained in:
parent
14396d5ec5
commit
10a3312418
7 changed files with 59 additions and 39 deletions
26
dist/index.cjs
vendored
26
dist/index.cjs
vendored
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
const z = require('zod');
|
||||
const dayjsbr = require('dayjs');
|
||||
const dayjs = require('dayjs');
|
||||
const duration = require('dayjs/plugin/duration.js');
|
||||
const isSameOrAfter = require('dayjs/plugin/isSameOrAfter.js');
|
||||
const isSameOrBefore = require('dayjs/plugin/isSameOrBefore.js');
|
||||
|
|
@ -10,13 +10,14 @@ const relativeTime = require('dayjs/plugin/relativeTime.js');
|
|||
const timezone = require('dayjs/plugin/timezone.js');
|
||||
const utc = require('dayjs/plugin/utc.js');
|
||||
const weekOfYear = require('dayjs/plugin/weekOfYear.js');
|
||||
require('dayjs/locale/pt-br.js');
|
||||
const crossFetch = require('cross-fetch');
|
||||
const uuid$1 = require('uuid');
|
||||
|
||||
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
||||
|
||||
const z__default = /*#__PURE__*/_interopDefaultCompat(z);
|
||||
const dayjsbr__default = /*#__PURE__*/_interopDefaultCompat(dayjsbr);
|
||||
const dayjs__default = /*#__PURE__*/_interopDefaultCompat(dayjs);
|
||||
const duration__default = /*#__PURE__*/_interopDefaultCompat(duration);
|
||||
const isSameOrAfter__default = /*#__PURE__*/_interopDefaultCompat(isSameOrAfter);
|
||||
const isSameOrBefore__default = /*#__PURE__*/_interopDefaultCompat(isSameOrBefore);
|
||||
|
|
@ -100,14 +101,16 @@ const zFiltro = z__default.object({
|
|||
ou: z__default.boolean().optional()
|
||||
});
|
||||
|
||||
dayjsbr__default.extend(utc__default);
|
||||
dayjsbr__default.extend(timezone__default);
|
||||
dayjsbr__default.extend(weekOfYear__default);
|
||||
dayjsbr__default.extend(isSameOrBefore__default);
|
||||
dayjsbr__default.extend(isSameOrAfter__default);
|
||||
dayjsbr__default.extend(minMax__default);
|
||||
dayjsbr__default.extend(relativeTime__default);
|
||||
dayjsbr__default.extend(duration__default);
|
||||
dayjs__default.locale("pt-br");
|
||||
dayjs__default.extend(utc__default);
|
||||
dayjs__default.extend(timezone__default);
|
||||
dayjs__default.extend(weekOfYear__default);
|
||||
dayjs__default.extend(isSameOrBefore__default);
|
||||
dayjs__default.extend(isSameOrAfter__default);
|
||||
dayjs__default.extend(minMax__default);
|
||||
dayjs__default.extend(relativeTime__default);
|
||||
dayjs__default.extend(duration__default);
|
||||
const dayjsbr = dayjs__default;
|
||||
|
||||
const cdn_carro_de_boi = "https://carro-de-boi-idz-one.b-cdn.net";
|
||||
|
||||
|
|
@ -558,7 +561,7 @@ const uuidV3 = (chave, grupo) => {
|
|||
const uuidV4 = uuid$1.v4;
|
||||
const uuid = uuidV4;
|
||||
|
||||
exports.dayjsbr = dayjsbr__default;
|
||||
exports.dayjs = dayjs__default;
|
||||
exports.TipagemRotas = TipagemRotas;
|
||||
exports.aleatorio = aleatorio;
|
||||
exports.cacheM = cacheM;
|
||||
|
|
@ -566,6 +569,7 @@ exports.cacheMFixo = cacheMFixo;
|
|||
exports.cacheMemoria = cacheMemoria;
|
||||
exports.camposComuns = camposComuns;
|
||||
exports.cdn_carro_de_boi = cdn_carro_de_boi;
|
||||
exports.dayjsbr = dayjsbr;
|
||||
exports.defineCwd = defineCwd;
|
||||
exports.erUuid = erUuid;
|
||||
exports.esperar = esperar;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue