@infrab4a/connect 4.24.1-beta.0 → 4.24.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "4.24.1-beta.0",
3
+ "version": "4.24.1-beta.1",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Este arquivo define funções para resolver dependências circulares
3
+ * em ambiente ESM, onde não podemos usar require()
4
+ */
5
+ export declare function registerClass(name: string, classConstructor: any): void;
6
+ export declare function getClass(name: string): any;
7
+ export declare function resolveClass(name: string): () => any;
@@ -1,6 +1,7 @@
1
1
  import { add, addBusinessDays, addDays, addMonths, addYears, Duration, endOfDay, format, formatISO9075, parseISO, startOfDay, sub, subDays } from 'date-fns';
2
2
  import { chunk, each, get, isBoolean, isDate, isEmpty, isInteger, isNaN, isNil, isNumber, isObject, isString, now, omit, pick, set, sortBy, unset } from 'lodash';
3
3
  export type DateDuration = Duration;
4
+ export * from './circular-dependencies';
4
5
  export * from './decorators';
5
6
  export * from './get';
6
7
  export * from './helpers';