@prestizni-software/client-dem 0.2.27 → 0.2.29
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/CHANGELOG.md +4 -0
- package/CommonTypes.d.ts +2 -2
- package/CommonTypes.js +1 -1
- package/CommonTypes.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.2.29](https://github.com/Prestizni-Software/client-dem/compare/v0.2.28...v0.2.29) (2025-11-11)
|
|
6
|
+
|
|
7
|
+
### [0.2.28](https://github.com/Prestizni-Software/client-dem/compare/v0.2.27...v0.2.28) (2025-11-11)
|
|
8
|
+
|
|
5
9
|
### [0.2.27](https://github.com/Prestizni-Software/client-dem/compare/v0.2.26...v0.2.27) (2025-11-11)
|
|
6
10
|
|
|
7
11
|
### [0.2.26](https://github.com/Prestizni-Software/client-dem/compare/v0.2.25...v0.2.26) (2025-11-11)
|
package/CommonTypes.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export type ServerUpdateRequest<T> = {
|
|
|
40
40
|
value: any;
|
|
41
41
|
};
|
|
42
42
|
export declare function classProp(target: any, propertyKey: string): void;
|
|
43
|
-
export declare function classRef(where:
|
|
43
|
+
export declare function classRef(where: string): (target: any, propertyKey: string) => void;
|
|
44
44
|
export type AutoProps<T> = {
|
|
45
45
|
readonly [K in keyof T]: T[K];
|
|
46
46
|
};
|
|
@@ -48,7 +48,7 @@ export type Constructor<T> = new (...args: any[]) => T;
|
|
|
48
48
|
export type UnboxConstructor<T> = T extends new (...args: any[]) => infer I ? I : T;
|
|
49
49
|
export type NonOptional<T> = Exclude<T, null | undefined>;
|
|
50
50
|
export type DeRef<T> = {
|
|
51
|
-
[K in keyof T]: T[K] extends Ref<infer U> ?
|
|
51
|
+
[K in keyof T]: T[K] extends Ref<infer U> ? U : T[K] extends Ref<infer U> | null | undefined ? U : T[K];
|
|
52
52
|
};
|
|
53
53
|
export type RefToId<T> = {
|
|
54
54
|
[K in keyof T]: T[K] extends Ref<infer U> ? string : T[K];
|
package/CommonTypes.js
CHANGED
|
@@ -11,7 +11,7 @@ export function classProp(target, propertyKey) {
|
|
|
11
11
|
}
|
|
12
12
|
export function classRef(where) {
|
|
13
13
|
return function (target, propertyKey) {
|
|
14
|
-
Reflect.defineMetadata("isRef", where
|
|
14
|
+
Reflect.defineMetadata("isRef", where, target, propertyKey);
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=CommonTypes.js.map
|
package/CommonTypes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommonTypes.js","sourceRoot":"","sources":["../CommonTypes.ts"],"names":[],"mappings":"AAIA,OAAO,kBAAkB,CAAC;AAyC1B,SAAS,UAAU,CAAC,KAAc;IAChC,OAAO,UAAU,MAAW,EAAE,WAAmB,EAAE,UAA8B;QAC/E,UAAU,CAAC,UAAU,GAAG,KAAK,CAAC;IAChC,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,MAAW,EAAE,WAAmB;IACxD,MAAM,KAAK,GAAG,OAAO,CAAC,WAAW,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC;IACzD,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACxB,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;AACjD,CAAC;AAED,MAAM,UAAU,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"CommonTypes.js","sourceRoot":"","sources":["../CommonTypes.ts"],"names":[],"mappings":"AAIA,OAAO,kBAAkB,CAAC;AAyC1B,SAAS,UAAU,CAAC,KAAc;IAChC,OAAO,UAAU,MAAW,EAAE,WAAmB,EAAE,UAA8B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