@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.
- package/dist/decorator/adapter.d.ts +1 -1
- package/dist/decorator/dto/classProxy.d.ts +1 -1
- package/dist/decorator/dto/index.d.ts +1 -1
- package/dist/decorator/dto/instance.d.ts +2 -4
- package/dist/decorator/dto/map.d.ts +1 -1
- package/dist/http-client.js +1060 -1
- package/dist/http-client.js.map +64 -5
- package/package.json +57 -57
- package/dist/util/datetime.d.ts +0 -2
- package/dist/util/index.d.ts +0 -2
- package/dist/util/reflection.d.ts +0 -5
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Constructor } from '
|
|
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 { Descriptors } from '
|
|
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.
|
|
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
|
/**
|