@basmilius/http-client 1.5.5 → 1.7.0

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.
@@ -1,2 +1,2 @@
1
- import type { Constructor } from '../util';
1
+ import type { Constructor } from '@basmilius/utils';
2
2
  export default function <T extends Constructor>(Parent: T): T;
@@ -1,4 +1,4 @@
1
- import type { Constructor } from '../../util';
1
+ import type { Constructor } from '@basmilius/utils';
2
2
  import type DtoInstance from './instance';
3
3
  declare const _default: {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Constructor } from '../../util';
1
+ import { type Constructor } from '@basmilius/utils';
2
2
  import type DtoInstance from './instance';
3
3
  /**
4
4
  * Provides reactivity to the decorated class.
@@ -1,4 +1,4 @@
1
- import type { Descriptors } from '../../util';
1
+ import type { Descriptors } from '@basmilius/utils';
2
2
  import type { ARGS, CHILDREN, DESCRIPTORS, DIRTY, NAME, PARENT, PARENT_KEY, PROPERTIES, TRACK, TRIGGER } from './symbols';
3
3
  export default interface DtoInstance<T> extends Function {
4
4
  [ARGS]: any[];
@@ -13,9 +13,7 @@ export default interface DtoInstance<T> extends Function {
13
13
  [TRIGGER]: (instance: DtoInstance<unknown>, key: string | symbol, value: unknown, oldValue?: unknown) => void;
14
14
  /**
15
15
  * Clones the DTO starting with the original arguments
16
- * and replaces them with the current values. Unfortunately
17
- * this is the only way at this point. It's a good thing
18
- * we don't need cloning a lot :)
16
+ * and replaces them with the current values.
19
17
  */
20
18
  clone(): DtoInstance<T>;
21
19
  /**
@@ -1,3 +1,3 @@
1
- import type { Constructor } from '../../util';
1
+ import type { Constructor } from '@basmilius/utils';
2
2
  import type DtoInstance from './instance';
3
3
  export declare const DTO_CLASS_MAP: Record<string, Constructor<DtoInstance<unknown>>>;