typescript-class-helpers 13.2.12 → 16.0.14

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.
Files changed (87) hide show
  1. package/assets/shared/shared_folder_info.txt +1 -1
  2. package/browser/{esm2020 → esm2022}/lib/classname.mjs +150 -150
  3. package/browser/{esm2020 → esm2022}/lib/describe-class.mjs +71 -71
  4. package/{client/esm2020 → browser/esm2022}/lib/errors-messages.mjs +3 -3
  5. package/{client/esm2020 → browser/esm2022}/lib/index.mjs +134 -134
  6. package/browser/{esm2020 → esm2022}/lib/models.mjs +26 -26
  7. package/browser/{esm2020 → esm2022}/lib/registerd-db.mjs +5 -5
  8. package/{client/esm2020 → browser/esm2022}/lib/set-class-name.mjs +89 -89
  9. package/{client/esm2020 → browser/esm2022}/lib/storage.mjs +23 -23
  10. package/browser/{esm2020 → esm2022}/lib/symbols.mjs +7 -7
  11. package/browser/{esm2020 → esm2022}/public-api.mjs +1 -1
  12. package/{client/esm2020 → browser/esm2022}/typescript-class-helpers.mjs +4 -4
  13. package/browser/{fesm2020 → fesm2022}/typescript-class-helpers.mjs +476 -476
  14. package/browser/{typescript-class-helpers.d.ts → index.d.ts} +4 -4
  15. package/browser/lib/classname.d.ts +15 -15
  16. package/browser/lib/describe-class.d.ts +5 -5
  17. package/browser/lib/index.d.ts +32 -32
  18. package/browser/lib/models.d.ts +66 -66
  19. package/browser/lib/registerd-db.d.ts +4 -4
  20. package/browser/lib/set-class-name.d.ts +1 -1
  21. package/browser/lib/symbols.d.ts +5 -5
  22. package/browser/package.json +6 -12
  23. package/client/{esm2020 → esm2022}/lib/classname.mjs +150 -150
  24. package/client/{esm2020 → esm2022}/lib/describe-class.mjs +71 -71
  25. package/{browser/esm2020 → client/esm2022}/lib/errors-messages.mjs +3 -3
  26. package/{browser/esm2020 → client/esm2022}/lib/index.mjs +134 -134
  27. package/client/{esm2020 → esm2022}/lib/models.mjs +26 -26
  28. package/client/{esm2020 → esm2022}/lib/registerd-db.mjs +5 -5
  29. package/{browser/esm2020 → client/esm2022}/lib/set-class-name.mjs +89 -89
  30. package/{browser/esm2020 → client/esm2022}/lib/storage.mjs +23 -23
  31. package/client/{esm2020 → esm2022}/lib/symbols.mjs +7 -7
  32. package/client/{esm2020 → esm2022}/public-api.mjs +1 -1
  33. package/{browser/esm2020 → client/esm2022}/typescript-class-helpers.mjs +4 -4
  34. package/client/{fesm2020 → fesm2022}/typescript-class-helpers.mjs +476 -476
  35. package/client/{typescript-class-helpers.d.ts → index.d.ts} +4 -4
  36. package/client/lib/classname.d.ts +15 -15
  37. package/client/lib/describe-class.d.ts +5 -5
  38. package/client/lib/index.d.ts +32 -32
  39. package/client/lib/models.d.ts +66 -66
  40. package/client/lib/registerd-db.d.ts +4 -4
  41. package/client/lib/set-class-name.d.ts +1 -1
  42. package/client/lib/symbols.d.ts +5 -5
  43. package/client/package.json +89 -85
  44. package/index.d.ts +1 -1
  45. package/lib/classname.d.ts +16 -16
  46. package/lib/describe-class.d.ts +6 -6
  47. package/lib/errors-messages.d.ts +1 -1
  48. package/lib/index.d.ts +33 -33
  49. package/lib/index.js.map +1 -1
  50. package/lib/models.d.ts +68 -68
  51. package/lib/registerd-db.d.ts +5 -5
  52. package/lib/set-class-name.d.ts +2 -2
  53. package/lib/storage.d.ts +1 -1
  54. package/lib/symbols.d.ts +6 -6
  55. package/package.json +3 -3
  56. package/package.json_tnp.json5 +1 -1
  57. package/tmp-environment.json +94 -90
  58. package/websql/{esm2020 → esm2022}/lib/classname.mjs +150 -150
  59. package/websql/{esm2020 → esm2022}/lib/describe-class.mjs +71 -71
  60. package/websql/{esm2020 → esm2022}/lib/errors-messages.mjs +3 -3
  61. package/websql/{esm2020 → esm2022}/lib/index.mjs +134 -134
  62. package/websql/{esm2020 → esm2022}/lib/models.mjs +24 -24
  63. package/websql/{esm2020 → esm2022}/lib/registerd-db.mjs +5 -5
  64. package/websql/{esm2020 → esm2022}/lib/set-class-name.mjs +89 -89
  65. package/websql/{esm2020 → esm2022}/lib/storage.mjs +23 -23
  66. package/websql/{esm2020 → esm2022}/lib/symbols.mjs +7 -7
  67. package/websql/{esm2020 → esm2022}/public-api.mjs +1 -1
  68. package/websql/{esm2020 → esm2022}/typescript-class-helpers.mjs +4 -4
  69. package/websql/{fesm2020 → fesm2022}/typescript-class-helpers.mjs +474 -474
  70. package/websql/{typescript-class-helpers.d.ts → index.d.ts} +4 -4
  71. package/websql/lib/classname.d.ts +15 -15
  72. package/websql/lib/describe-class.d.ts +5 -5
  73. package/websql/lib/index.d.ts +32 -32
  74. package/websql/lib/models.d.ts +67 -67
  75. package/websql/lib/registerd-db.d.ts +4 -4
  76. package/websql/lib/set-class-name.d.ts +1 -1
  77. package/websql/lib/symbols.d.ts +5 -5
  78. package/websql/package.json +6 -12
  79. package/browser/fesm2015/typescript-class-helpers.mjs +0 -517
  80. package/browser/fesm2015/typescript-class-helpers.mjs.map +0 -1
  81. package/client/fesm2015/typescript-class-helpers.mjs +0 -517
  82. package/client/fesm2015/typescript-class-helpers.mjs.map +0 -1
  83. package/websql/fesm2015/typescript-class-helpers.mjs +0 -515
  84. package/websql/fesm2015/typescript-class-helpers.mjs.map +0 -1
  85. /package/browser/{fesm2020 → fesm2022}/typescript-class-helpers.mjs.map +0 -0
  86. /package/client/{fesm2020 → fesm2022}/typescript-class-helpers.mjs.map +0 -0
  87. /package/websql/{fesm2020 → fesm2022}/typescript-class-helpers.mjs.map +0 -0
@@ -1,6 +1,6 @@
1
1
  // @ts-nocheck
2
- /**
3
- * Generated bundle index. Do not edit.
4
- */
5
- /// <amd-module name="typescript-class-helpers" />
2
+ /**
3
+ * Generated bundle index. Do not edit.
4
+ */
5
+ /// <amd-module name="typescript-class-helpers" />
6
6
  export * from './public-api';
@@ -1,17 +1,17 @@
1
1
  // @ts-nocheck
2
- import { Models } from './models';
3
- export declare namespace CLASSNAME {
4
- function getClassConfig(target: Function, configs?: Models.ClassConfig[], callerTarget?: Function): Models.ClassConfig[];
5
- /**
6
- * PLEASE PROVIDE NAME AS TYPED STRING, NOT VARIABLE
7
- * Decorator requred for production mode
8
- * @param name Name of class
9
- */
10
- function CLASSNAME(className: string, options?: Models.CLASSNAMEOptions): any;
11
- function getClassName(target: Function, production?: boolean): string;
12
- function getObjectIndexPropertyValue(obj: any): string;
13
- function getClassFamilyByClassName(className: string): string;
14
- function getObjectClassFamily(obj: any): string;
15
- function getObjectIndexValue(obj: any): any;
16
- function getClassBy(className: string | Function): Function;
2
+ import { Models } from './models';
3
+ export declare namespace CLASSNAME {
4
+ function getClassConfig(target: Function, configs?: Models.ClassConfig[], callerTarget?: Function): Models.ClassConfig[];
5
+ /**
6
+ * PLEASE PROVIDE NAME AS TYPED STRING, NOT VARIABLE
7
+ * Decorator requred for production mode
8
+ * @param name Name of class
9
+ */
10
+ function CLASSNAME(className: string, options?: Models.CLASSNAMEOptions): any;
11
+ function getClassName(target: Function, production?: boolean): string;
12
+ function getObjectIndexPropertyValue(obj: any): string;
13
+ function getClassFamilyByClassName(className: string): string;
14
+ function getObjectClassFamily(obj: any): string;
15
+ function getObjectIndexValue(obj: any): any;
16
+ function getClassBy(className: string | Function): Function;
17
17
  }
@@ -1,7 +1,7 @@
1
1
  // @ts-nocheck
2
- export declare function describeFromClassStringify(target: Function, parent?: boolean): string[];
3
- /**
4
- * Describe fields assigne through @DefaultModelWithMapping decorator
5
- * without functions
6
- */
2
+ export declare function describeFromClassStringify(target: Function, parent?: boolean): string[];
3
+ /**
4
+ * Describe fields assigne through @DefaultModelWithMapping decorator
5
+ * without functions
6
+ */
7
7
  export declare function describeByDefaultModelsAndMapping(target: Function): string[];
@@ -1,34 +1,34 @@
1
1
  // @ts-nocheck
2
- import { CLASSNAME } from './classname';
3
- import { Models } from './models';
4
- import { setClassName } from './set-class-name';
5
- export { Models } from './models';
6
- export { SYMBOL } from './symbols';
7
- export declare class TchHelpers {
8
- static getBy(className: string | Function): Function;
9
- static getFromObject(o: Object): any;
10
- static getName(target: Function, production?: boolean): string;
11
- static getNameFromObject(o: Object): string;
12
- static getConfigs(target: Function): Models.ClassConfig[];
13
- static describeProperites(target: Function): string[];
14
- }
15
- export declare const CLASS: {
16
- NAME: typeof CLASSNAME.CLASSNAME;
17
- setName: typeof setClassName;
18
- getBy: typeof TchHelpers.getBy;
19
- getSingleton<T = any>(target: Function): T;
20
- setSingletonObj(target: Function, singletonObject: any): void;
21
- getConfigs: typeof TchHelpers.getConfigs;
22
- getConfig: (target: Function) => Models.ClassConfig;
23
- getFromObject: typeof TchHelpers.getFromObject;
24
- getName: typeof TchHelpers.getName;
25
- getNameFromObject: typeof TchHelpers.getNameFromObject;
26
- describeProperites: typeof TchHelpers.describeProperites;
27
- OBJECT: (obj: any) => {
28
- readonly indexValue: any;
29
- readonly indexProperty: string;
30
- readonly isClassObject: boolean;
31
- isEqual: (anotherObj: any, compareDeep?: boolean) => boolean;
32
- };
33
- };
2
+ import { CLASSNAME } from './classname';
3
+ import { Models } from './models';
4
+ import { setClassName } from './set-class-name';
5
+ export { Models } from './models';
6
+ export { SYMBOL } from './symbols';
7
+ export declare class TchHelpers {
8
+ static getBy(className: string | Function): Function;
9
+ static getFromObject(o: Object): any;
10
+ static getName(target: Function, production?: boolean): string;
11
+ static getNameFromObject(o: Object): string;
12
+ static getConfigs(target: Function): Models.ClassConfig[];
13
+ static describeProperites(target: Function): string[];
14
+ }
15
+ export declare const CLASS: {
16
+ NAME: typeof CLASSNAME.CLASSNAME;
17
+ setName: typeof setClassName;
18
+ getBy: typeof TchHelpers.getBy;
19
+ getSingleton<T = any>(target: Function): T;
20
+ setSingletonObj(target: Function, singletonObject: any): void;
21
+ getConfigs: typeof TchHelpers.getConfigs;
22
+ getConfig: (target: Function) => Models.ClassConfig;
23
+ getFromObject: typeof TchHelpers.getFromObject;
24
+ getName: typeof TchHelpers.getName;
25
+ getNameFromObject: typeof TchHelpers.getNameFromObject;
26
+ describeProperites: typeof TchHelpers.describeProperites;
27
+ OBJECT: (obj: any) => {
28
+ readonly indexValue: any;
29
+ readonly indexProperty: string;
30
+ readonly isClassObject: boolean;
31
+ isEqual: (anotherObj: any, compareDeep?: boolean) => boolean;
32
+ };
33
+ };
34
34
  export * from 'enum-values';
@@ -1,68 +1,68 @@
1
1
  // @ts-nocheck
2
- import { ConfigModels } from 'tnp-config/browser';
3
- export declare namespace Models {
4
- type CLASSNAMEOptions = {
5
- uniqueKey?: string;
6
- /**
7
- * autoinstance - create instance of singleton automaticly inside decorator
8
- * first-instance - use first instace of created class as decorator
9
- */
10
- singleton?: 'autoinstance' | 'first-instance' | 'last-instance' | boolean;
11
- classFamily?: string;
12
- classNameInBrowser?: string;
13
- };
14
- class ParamConfig {
15
- paramName: string;
16
- paramType: ConfigModels.ParamType;
17
- index: number;
18
- defaultType: any;
19
- expireInSeconds?: number;
20
- }
21
- class MethodConfig {
22
- methodName: string;
23
- /**
24
- * path is global in express app
25
- */
26
- global?: boolean;
27
- /**
28
- * override default content type
29
- */
30
- contentType?: any;
31
- /**
32
- * override default axiso response type
33
- */
34
- responseType?: any;
35
- path: string;
36
- descriptor: PropertyDescriptor;
37
- type: ConfigModels.HttpMethod;
38
- parameters: {
39
- [paramName: string]: ParamConfig;
40
- };
41
- }
42
- interface ClassMeta {
43
- uniqueKey?: string;
44
- className?: string;
45
- classFamily?: string;
46
- classNameInBrowser?: string;
47
- target?: Function;
48
- }
49
- class ClassConfig {
50
- browserTransformFn?: (entity: any) => any;
51
- singleton: Object;
52
- injections: {
53
- getter: Function;
54
- propertyName: string;
55
- }[];
56
- calculatedPath: string;
57
- path: string;
58
- vChildren?: ClassConfig[];
59
- vParent?: ClassConfig;
60
- classReference: Function;
61
- className?: string;
62
- uniqueKey?: string;
63
- classNameInBrowser?: string;
64
- methods: {
65
- [methodName: string]: MethodConfig;
66
- };
67
- }
2
+ import { ConfigModels } from 'tnp-config/browser';
3
+ export declare namespace Models {
4
+ type CLASSNAMEOptions = {
5
+ uniqueKey?: string;
6
+ /**
7
+ * autoinstance - create instance of singleton automaticly inside decorator
8
+ * first-instance - use first instace of created class as decorator
9
+ */
10
+ singleton?: 'autoinstance' | 'first-instance' | 'last-instance' | boolean;
11
+ classFamily?: string;
12
+ classNameInBrowser?: string;
13
+ };
14
+ class ParamConfig {
15
+ paramName: string;
16
+ paramType: ConfigModels.ParamType;
17
+ index: number;
18
+ defaultType: any;
19
+ expireInSeconds?: number;
20
+ }
21
+ class MethodConfig {
22
+ methodName: string;
23
+ /**
24
+ * path is global in express app
25
+ */
26
+ global?: boolean;
27
+ /**
28
+ * override default content type
29
+ */
30
+ contentType?: any;
31
+ /**
32
+ * override default axiso response type
33
+ */
34
+ responseType?: any;
35
+ path: string;
36
+ descriptor: PropertyDescriptor;
37
+ type: ConfigModels.HttpMethod;
38
+ parameters: {
39
+ [paramName: string]: ParamConfig;
40
+ };
41
+ }
42
+ interface ClassMeta {
43
+ uniqueKey?: string;
44
+ className?: string;
45
+ classFamily?: string;
46
+ classNameInBrowser?: string;
47
+ target?: Function;
48
+ }
49
+ class ClassConfig {
50
+ browserTransformFn?: (entity: any) => any;
51
+ singleton: Object;
52
+ injections: {
53
+ getter: Function;
54
+ propertyName: string;
55
+ }[];
56
+ calculatedPath: string;
57
+ path: string;
58
+ vChildren?: ClassConfig[];
59
+ vParent?: ClassConfig;
60
+ classReference: Function;
61
+ className?: string;
62
+ uniqueKey?: string;
63
+ classNameInBrowser?: string;
64
+ methods: {
65
+ [methodName: string]: MethodConfig;
66
+ };
67
+ }
68
68
  }
@@ -1,6 +1,6 @@
1
1
  // @ts-nocheck
2
- import { Models } from './models';
3
- export declare const registerd: {
4
- configs: Models.ClassConfig[];
5
- classes: Function[];
2
+ import { Models } from './models';
3
+ export declare const registerd: {
4
+ configs: Models.ClassConfig[];
5
+ classes: Function[];
6
6
  };
@@ -1,3 +1,3 @@
1
1
  // @ts-nocheck
2
- import { Models } from './models';
2
+ import { Models } from './models';
3
3
  export declare function setClassName(target: Function, className: string, options?: Models.CLASSNAMEOptions): (...args: any[]) => any;
@@ -1,7 +1,7 @@
1
1
  // @ts-nocheck
2
- export declare const SYMBOL: {
3
- MODELS_MAPPING: symbol;
4
- DEFAULT_MODEL: symbol;
5
- STORAGE: string;
6
- CLASSES: string;
2
+ export declare const SYMBOL: {
3
+ MODELS_MAPPING: symbol;
4
+ DEFAULT_MODEL: symbol;
5
+ STORAGE: string;
6
+ CLASSES: string;
7
7
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "typescript-class-helpers",
3
3
  "description": "Usefull helper to have in your typescript project",
4
- "version": "13.2.12",
4
+ "version": "16.0.14",
5
5
  "scripts": {
6
6
  "test": "mocha --require ts-node/register src/**/*.spec.ts",
7
7
  "test:watch": "mocha --compilers ts-node/register src/**/*.spec.ts --watch"
@@ -22,51 +22,54 @@
22
22
  "homepage": "https://github.com/darekf77/typescript-class-helpers#readme",
23
23
  "dependencies": {
24
24
  "enum-values": "1.2.1",
25
- "ng2-logger": "~13.1.24"
25
+ "ng2-logger": "~16.0.2"
26
26
  },
27
27
  "license": "MIT",
28
28
  "private": false,
29
- "lastBuildTagHash": "288bb65caaab923c211a73f8da996fef9082f692",
29
+ "lastBuildTagHash": "9431ea20d4bd4bc123933ff18708d126a07381e0",
30
30
  "devDependencies": {
31
- "@angular-devkit/build-angular": "~13.3.9",
32
- "@angular-devkit/core": "~13.3.9",
31
+ "@angular-devkit/build-angular": "~16.0.5",
32
+ "@angular-devkit/core": "~16.0.5",
33
33
  "@angular-material-extensions/fab-menu": "~6.1.0",
34
- "@angular/animations": "~13.3.0",
35
- "@angular/cdk": "~13.3.9",
36
- "@angular/cli": "~13.3.9",
37
- "@angular/common": "~13.3.0",
38
- "@angular/compiler": "~13.3.0",
39
- "@angular/compiler-cli": "~13.3.0",
40
- "@angular/core": "~13.3.0",
41
- "@angular/flex-layout": "~13.0.0-beta.38",
42
- "@angular/forms": "~13.3.0",
43
- "@angular/material": "~13.3.9",
44
- "@angular/platform-browser": "~13.3.0",
45
- "@angular/platform-browser-dynamic": "~13.3.0",
46
- "@angular/pwa": "~13.3.9",
47
- "@angular/router": "~13.3.0",
48
- "@angular/service-worker": "~13.3.11",
34
+ "@angular/animations": "~16.0.0",
35
+ "@angular/cdk": "~16.0.3",
36
+ "@angular/cli": "~16.0.5",
37
+ "@angular/common": "~16.0.0",
38
+ "@angular/compiler": "~16.0.0",
39
+ "@angular/compiler-cli": "~16.0.4",
40
+ "@angular/core": "~16.0.0",
41
+ "@angular/elements": "~16.0.4",
42
+ "@angular/forms": "~16.0.0",
43
+ "@angular/material": "~16.0.3",
44
+ "@angular/platform-browser": "~16.0.4",
45
+ "@angular/platform-browser-dynamic": "~16.0.4",
46
+ "@angular/pwa": "~16.0.5",
47
+ "@angular/router": "~16.0.0",
48
+ "@angular/service-worker": "~16.0.4",
49
49
  "@babel/cli": "7.18.6",
50
50
  "@iconify/icons-fa-solid": "1.2.2",
51
51
  "@iconify/icons-mdi": "1.2.1",
52
- "@mdi/js": "6.5.95",
53
- "@ng-matero/extensions": "13.3.2",
52
+ "@mdi/js": "7.2.96",
53
+ "@ng-matero/extensions": "16.0.0",
54
54
  "@ngneat/falso": "6.4.0",
55
- "@ngneat/hot-toast": "4",
56
- "@ngneat/overview": "3.0.0",
57
- "@ngneat/until-destroy": "9.2.3",
58
- "@ngrx/component-store": "~13.0.2",
59
- "@ngrx/data": "~13.0.2",
60
- "@ngrx/effects": "~13.0.2",
61
- "@ngrx/entity": "~13.0.2",
62
- "@ngrx/router-store": "~13.0.2",
63
- "@ngrx/schematics": "~13.0.2",
64
- "@ngrx/store": "~13.0.2",
65
- "@ngrx/store-devtools": "~13.0.2",
66
- "@ngx-formly/core": "6.0.0-next.8",
67
- "@ngx-formly/material": "6.0.0-next.8",
68
- "@ngx-translate/core": "14.0.0",
69
- "@ngx-translate/http-loader": "7.0.0",
55
+ "@ngneat/hot-toast": "5.0.1",
56
+ "@ngneat/overview": "5.0.0",
57
+ "@ngneat/spectator": "15.0.0",
58
+ "@ngrx/component-store": "~16.0.1",
59
+ "@ngrx/data": "~16.0.1",
60
+ "@ngrx/effects": "~16.0.1",
61
+ "@ngrx/entity": "~16.0.1",
62
+ "@ngrx/router-store": "~16.0.1",
63
+ "@ngrx/schematics": "~16.0.1",
64
+ "@ngrx/store": "~16.0.1",
65
+ "@ngrx/store-devtools": "~16.0.1",
66
+ "@ngx-formly/core": "6.1.7",
67
+ "@ngx-formly/material": "6.1.7",
68
+ "@ngx-translate/core": "15.0.0",
69
+ "@ngx-translate/http-loader": "8.0.0",
70
+ "@testdeck/jasmine": "0.3.3",
71
+ "@testdeck/jest": "0.3.3",
72
+ "@testdeck/mocha": "0.3.3",
70
73
  "@types/chai": "4.1.2",
71
74
  "@types/chokidar": "2.1.3",
72
75
  "@types/dateformat": "1.0.1",
@@ -78,7 +81,7 @@
78
81
  "@types/http-proxy": "1.16.0",
79
82
  "@types/http-proxy-middleware": "0.19.2",
80
83
  "@types/inquirer": "7.3.1",
81
- "@types/jasmine": "3.10.0",
84
+ "@types/jasmine": "4.3.0",
82
85
  "@types/json-stringify-safe": "5.0.0",
83
86
  "@types/json5": "0.0.29",
84
87
  "@types/lockfile": "1.0.0",
@@ -97,10 +100,10 @@
97
100
  "@types/vinyl": "2.0.2",
98
101
  "@types/watch": "1.0.0",
99
102
  "accepts": "1.3.4",
100
- "angular-material-css-vars": "5.0.0",
101
- "any-project-cli": "~13.1.26",
103
+ "angular-material-css-vars": "5.0.2",
104
+ "any-project-cli": "~13.1.28",
102
105
  "axios": "1.3.5",
103
- "background-worker-process": "~13.1.43",
106
+ "background-worker-process": "~13.1.45",
104
107
  "base32": "0.0.7",
105
108
  "bcryptjs": "2.4.3",
106
109
  "better-sqlite3": "7.6.2",
@@ -121,7 +124,7 @@
121
124
  "concurrently": "3.5.1",
122
125
  "content-type": "1.0.4",
123
126
  "cookie-parser": "1.4.3",
124
- "copy-paste": "1.3.0",
127
+ "copy-paste": "1.5.3",
125
128
  "cors": "2.8.4",
126
129
  "cpr": "3.0.1",
127
130
  "cross-spawn": "7.0.3",
@@ -140,13 +143,13 @@
140
143
  "express-session": "1.17.3",
141
144
  "file-loader": "1.1.5",
142
145
  "file-saver": "2.0.5",
143
- "firedev": "^13",
144
- "firedev-crud": "~13.1.48",
145
- "firedev-crud-deamon": "~13.1.38",
146
- "firedev-ports": "~13.1.42",
147
- "firedev-storage": "~13.2.35",
148
- "firedev-typeorm": "~13.1.30",
149
- "firedev-ui": "~13.2.7",
146
+ "firedev": "^16",
147
+ "firedev-crud": "~13.1.50",
148
+ "firedev-crud-deamon": "~13.1.40",
149
+ "firedev-ports": "~13.1.45",
150
+ "firedev-storage": "~13.2.37",
151
+ "firedev-typeorm": "~13.1.32",
152
+ "firedev-ui": "~16.0.1",
150
153
  "fkill": "6.1.0",
151
154
  "font-awesome": "4.7.0",
152
155
  "form-data": "4.0.0",
@@ -160,51 +163,51 @@
160
163
  "http-proxy-middleware": "0.19.1",
161
164
  "http-server": "0.11.1",
162
165
  "immutable": "4.3.0",
163
- "incremental-compiler": "~13.1.24",
166
+ "incremental-compiler": "~13.1.26",
164
167
  "inquirer": "7.3.3",
165
168
  "inquirer-autocomplete-prompt": "1.3.0",
166
169
  "is-elevated": "3.0.0",
167
- "isomorphic-region-loader": "~13.1.36",
170
+ "isomorphic-region-loader": "~13.1.38",
168
171
  "istanbul-instrumenter-loader": "2.0.0",
169
- "jasmine-core": "4.0.0",
172
+ "jasmine-core": "4.6.0",
170
173
  "jscodeshift": "0.6.3",
171
174
  "json-stringify-safe": "5.0.1",
172
- "json10": "~13.1.43",
173
- "json10-writer": "~13.1.39",
174
- "json5": "2.1.3",
175
+ "json10": "~13.1.45",
176
+ "json10-writer": "~13.1.41",
177
+ "json5": "2.2.1",
175
178
  "json5-writer": "0.2.0",
176
179
  "jszip": "3.10.1",
177
- "karma": "6.3.0",
178
- "karma-chrome-launcher": "3.1.0",
180
+ "karma": "6.4.0",
181
+ "karma-chrome-launcher": "3.2.0",
179
182
  "karma-cli": "1.0.1",
180
- "karma-coverage": "2.1.0",
181
- "karma-jasmine": "4.0.0",
182
- "karma-jasmine-html-reporter": "1.7.0",
183
+ "karma-coverage": "2.2.0",
184
+ "karma-jasmine": "5.1.0",
185
+ "karma-jasmine-html-reporter": "2.0.0",
183
186
  "lnk": "1.0.1",
184
187
  "localforage": "1.10.0",
185
188
  "lockfile": "1.0.4",
186
- "lodash": "4.17.4",
187
- "lodash-walk-object": "~13.1.43",
189
+ "lodash": "4.17.20",
190
+ "lodash-walk-object": "~13.1.45",
188
191
  "lowdb": "1.0.0",
189
- "magic-renamer": "~13.1.40",
192
+ "magic-renamer": "~13.1.42",
190
193
  "material-design-icons": "3.0.1",
191
194
  "method-override": "2.3.10",
192
195
  "minimist": "1.2.0",
193
196
  "mkdirp": "0.5.1",
194
197
  "mocha": "5.2.0",
195
- "moment": "2.22.2",
196
- "morphi": "~13.2.10",
197
- "ng-in-viewport": "13.0.1",
198
- "ng-packagr": "13.0.0",
198
+ "moment": "2.29.3",
199
+ "morphi": "~16.0.2",
200
+ "ng-in-viewport": "15.0.2",
201
+ "ng-packagr": "16.0.1",
199
202
  "ng-talkback": "~13.1.19",
200
- "ng2-rest": "~13.2.7",
201
- "ngx-ace-wrapper": "12",
202
- "ngx-editor": "12.2.1",
203
- "ngx-highlightjs": "6.1.3",
203
+ "ng2-rest": "~13.2.9",
204
+ "ngx-ace-wrapper": "14.0.0",
205
+ "ngx-editor": "15.3.0",
206
+ "ngx-highlightjs": "9.0.0",
204
207
  "ngx-moment": "6.0.2",
205
208
  "ngx-pipes": "3.0.0",
206
- "ngx-progressbar": "8.0.0",
207
- "ngx-scrollbar": "9.0.2",
209
+ "ngx-progressbar": "11.0.0",
210
+ "ngx-scrollbar": "12.0.0",
208
211
  "ngx-store": "3.1.1",
209
212
  "ngx-typed-js": "2.1.1",
210
213
  "node-cli-tester": "~13.1.19",
@@ -231,32 +234,33 @@
231
234
  "record-replay-req-res-scenario": "~13.1.20",
232
235
  "reflect-metadata": "0.1.10",
233
236
  "rimraf": "2.6.2",
234
- "rxjs": "~7.5.0",
237
+ "rxjs": "~7.8.0",
235
238
  "semver": "6.3.0",
236
239
  "simple-git": "1.96.0",
237
240
  "sloc": "0.2.0",
238
241
  "socket.io": "2.4.1",
239
242
  "sort-package-json": "1.11.0",
240
243
  "sql.js": "1.8.0",
241
- "static-columns": "~13.3.6",
244
+ "static-columns": "~16.0.1",
242
245
  "string-similarity": "4.0.2",
243
246
  "sudo-block": "3.0.0",
244
247
  "systeminformation": "3.45.7",
245
248
  "task.js": "0.1.5",
246
249
  "threads": "1.7.0",
247
- "tnp-cli": "~13.1.59",
248
- "tnp-config": "~13.1.75",
249
- "tnp-core": "~13.2.19",
250
- "tnp-db": "~13.1.20",
251
- "tnp-helpers": "~13.1.37",
252
- "tnp-models": "~13.1.26",
250
+ "tnp-cli": "~16.0.3",
251
+ "tnp-config": "~16.0.3",
252
+ "tnp-core": "~16.0.6",
253
+ "tnp-db": "~13.1.22",
254
+ "tnp-helpers": "~13.1.39",
255
+ "tnp-models": "~13.1.28",
253
256
  "ts-debug": "1.3.0",
254
257
  "ts-loader": "2.3.1",
255
- "ts-node": "10.7.0",
258
+ "ts-node": "10.9.1",
256
259
  "tslib": "~2.3.0",
260
+ "turndown": "7.1.2",
257
261
  "typeorm": "~0.3.10",
258
- "typescript": "~4.6.2",
259
- "typescript-class-helpers": "~13.2.11",
262
+ "typescript": "~5.0.2",
263
+ "typescript-class-helpers": "~13.2.13",
260
264
  "typescript-formatter": "~7.2.2",
261
265
  "underscore": "1.9.1",
262
266
  "uuid": "8.3.2",
@@ -265,6 +269,6 @@
265
269
  "vpn-split": "~13.1.23",
266
270
  "watch": "1.0.2",
267
271
  "yup": "1.1.1",
268
- "zone.js": "~0.11.4"
272
+ "zone.js": "~0.13.0"
269
273
  }
270
274
  }
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './lib';
1
+ export * from './lib';
@@ -1,16 +1,16 @@
1
- import { Models } from './models';
2
- export declare namespace CLASSNAME {
3
- function getClassConfig(target: Function, configs?: Models.ClassConfig[], callerTarget?: Function): Models.ClassConfig[];
4
- /**
5
- * PLEASE PROVIDE NAME AS TYPED STRING, NOT VARIABLE
6
- * Decorator requred for production mode
7
- * @param name Name of class
8
- */
9
- function CLASSNAME(className: string, options?: Models.CLASSNAMEOptions): any;
10
- function getClassName(target: Function, production?: boolean): string;
11
- function getObjectIndexPropertyValue(obj: any): string;
12
- function getClassFamilyByClassName(className: string): string;
13
- function getObjectClassFamily(obj: any): string;
14
- function getObjectIndexValue(obj: any): any;
15
- function getClassBy(className: string | Function): Function;
16
- }
1
+ import { Models } from './models';
2
+ export declare namespace CLASSNAME {
3
+ function getClassConfig(target: Function, configs?: Models.ClassConfig[], callerTarget?: Function): Models.ClassConfig[];
4
+ /**
5
+ * PLEASE PROVIDE NAME AS TYPED STRING, NOT VARIABLE
6
+ * Decorator requred for production mode
7
+ * @param name Name of class
8
+ */
9
+ function CLASSNAME(className: string, options?: Models.CLASSNAMEOptions): any;
10
+ function getClassName(target: Function, production?: boolean): string;
11
+ function getObjectIndexPropertyValue(obj: any): string;
12
+ function getClassFamilyByClassName(className: string): string;
13
+ function getObjectClassFamily(obj: any): string;
14
+ function getObjectIndexValue(obj: any): any;
15
+ function getClassBy(className: string | Function): Function;
16
+ }
@@ -1,6 +1,6 @@
1
- export declare function describeFromClassStringify(target: Function, parent?: boolean): string[];
2
- /**
3
- * Describe fields assigne through @DefaultModelWithMapping decorator
4
- * without functions
5
- */
6
- export declare function describeByDefaultModelsAndMapping(target: Function): string[];
1
+ export declare function describeFromClassStringify(target: Function, parent?: boolean): string[];
2
+ /**
3
+ * Describe fields assigne through @DefaultModelWithMapping decorator
4
+ * without functions
5
+ */
6
+ export declare function describeByDefaultModelsAndMapping(target: Function): string[];
@@ -1 +1 @@
1
- export declare const ERROR_MSG_CLASS_WITHOUT_DECORATOR = "[typescript-class-helpers][getClassName(...)](PRODUCTION MODE ERROR)\nPlease use decoartor @CLASSNAME for each entity or controller\nThis is preventing class name problem in minified code.\n\nimport { CLASS } from 'typescript-class-helpers';\n\n@CLASS.NAME('ExampleClass')\nclass ExampleClass {\n ...\n}\n";
1
+ export declare const ERROR_MSG_CLASS_WITHOUT_DECORATOR = "[typescript-class-helpers][getClassName(...)](PRODUCTION MODE ERROR)\nPlease use decoartor @CLASSNAME for each entity or controller\nThis is preventing class name problem in minified code.\n\nimport { CLASS } from 'typescript-class-helpers';\n\n@CLASS.NAME('ExampleClass')\nclass ExampleClass {\n ...\n}\n";