ng2-rest-swagger-generator 6.0.22 → 16.0.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/README.md +46 -46
- package/assets/shared/shared_folder_info.txt +7 -0
- package/bin/ng2-rest-swagger-generator +10 -10
- package/browser/README.md +24 -0
- package/browser/esm2022/lib/helpers.mjs +389 -0
- package/browser/esm2022/lib/index.mjs +4 -0
- package/browser/esm2022/lib/models.mjs +8 -0
- package/browser/esm2022/ng2-rest-swagger-generator.mjs +5 -0
- package/browser/esm2022/public-api.mjs +2 -0
- package/browser/fesm2022/ng2-rest-swagger-generator.mjs +397 -0
- package/browser/fesm2022/ng2-rest-swagger-generator.mjs.map +1 -0
- package/browser/index.d.ts +6 -0
- package/browser/lib/helpers.d.ts +53 -0
- package/browser/lib/index.d.ts +2 -0
- package/browser/lib/models.d.ts +166 -0
- package/browser/package.json +25 -0
- package/browser/public-api.d.ts +2 -0
- package/client/README.md +24 -0
- package/client/esm2022/lib/helpers.mjs +389 -0
- package/client/esm2022/lib/index.mjs +4 -0
- package/client/esm2022/lib/models.mjs +8 -0
- package/client/esm2022/ng2-rest-swagger-generator.mjs +5 -0
- package/client/esm2022/public-api.mjs +2 -0
- package/client/fesm2022/ng2-rest-swagger-generator.mjs +397 -0
- package/client/fesm2022/ng2-rest-swagger-generator.mjs.map +1 -0
- package/client/index.d.ts +6 -0
- package/client/lib/helpers.d.ts +53 -0
- package/client/lib/index.d.ts +2 -0
- package/client/lib/models.d.ts +166 -0
- package/client/package.json +301 -5
- package/client/public-api.d.ts +2 -0
- package/generator.js +3 -3
- package/generator.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +5 -0
- package/index.js.map +1 -0
- package/{helpers.js → lib/helpers.js} +69 -58
- package/lib/helpers.js.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +5 -0
- package/lib/index.js.map +1 -0
- package/lib/models.js.map +1 -0
- package/package.json +53 -6
- package/package.json_devDependencies.json +222 -222
- package/{package.json_tnp.json → package.json_tnp.json5} +57 -41
- package/start.js +4 -4
- package/start.js.map +1 -1
- package/template.d.ts +1 -1
- package/template.js +5 -5
- package/template.js.map +1 -1
- package/tmp-environment.json +161 -126
- package/websql/README.md +24 -0
- package/websql/esm2022/lib/helpers.mjs +389 -0
- package/websql/esm2022/lib/index.mjs +4 -0
- package/websql/esm2022/lib/models.mjs +8 -0
- package/websql/esm2022/ng2-rest-swagger-generator.mjs +5 -0
- package/websql/esm2022/public-api.mjs +2 -0
- package/websql/fesm2022/ng2-rest-swagger-generator.mjs +397 -0
- package/websql/fesm2022/ng2-rest-swagger-generator.mjs.map +1 -0
- package/websql/index.d.ts +6 -0
- package/websql/lib/helpers.d.ts +53 -0
- package/websql/lib/index.d.ts +2 -0
- package/websql/lib/models.d.ts +166 -0
- package/websql/package.json +25 -0
- package/websql/public-api.d.ts +2 -0
- package/helpers.js.map +0 -1
- package/models.js.map +0 -1
- /package/{helpers.d.ts → lib/helpers.d.ts} +0 -0
- /package/{models.d.ts → lib/models.d.ts} +0 -0
- /package/{models.js → lib/models.js} +0 -0
|
@@ -1,222 +1,222 @@
|
|
|
1
|
-
{
|
|
2
|
-
"@angular-devkit/build-angular": "0.901.3",
|
|
3
|
-
"@angular-devkit/build-optimizer": "0.900.0-rc.7",
|
|
4
|
-
"@angular-devkit/schematics": "9.0.0-rc.7",
|
|
5
|
-
"@angular/animations": "9.1.3",
|
|
6
|
-
"@angular/cdk": "9.2.1",
|
|
7
|
-
"@angular/cli": "9.1.3",
|
|
8
|
-
"@angular/common": "9.1.3",
|
|
9
|
-
"@angular/compiler": "9.1.3",
|
|
10
|
-
"@angular/compiler-cli": "9.1.3",
|
|
11
|
-
"@angular/core": "9.1.3",
|
|
12
|
-
"@angular/forms": "9.1.3",
|
|
13
|
-
"@angular/http": "7.2.15",
|
|
14
|
-
"@angular/language-service": "9.1.3",
|
|
15
|
-
"@angular/material": "9.2.1",
|
|
16
|
-
"@angular/platform-browser": "9.1.3",
|
|
17
|
-
"@angular/platform-browser-dynamic": "9.1.3",
|
|
18
|
-
"@angular/pwa": "0.900.0-rc.7",
|
|
19
|
-
"@angular/router": "9.1.3",
|
|
20
|
-
"@angular/service-worker": "9.1.3",
|
|
21
|
-
"@mdi/js": "5.8.55",
|
|
22
|
-
"@ngx-formly/bootstrap": "5.5.6",
|
|
23
|
-
"@ngx-formly/core": "5.5.6",
|
|
24
|
-
"@ngx-formly/ionic": "5.5.6",
|
|
25
|
-
"@ngx-formly/material": "5.5.6",
|
|
26
|
-
"@ngx-loading-bar/core": "4.2.0",
|
|
27
|
-
"@ngx-loading-bar/http": "4.2.0",
|
|
28
|
-
"@ngx-loading-bar/router": "4.2.0",
|
|
29
|
-
"@ngx-translate/core": "11.0.1",
|
|
30
|
-
"@ngx-translate/http-loader": "4.0.0",
|
|
31
|
-
"@swimlane/ngx-datatable": "16.0.2",
|
|
32
|
-
"@types/chai": "4.1.2",
|
|
33
|
-
"@types/chokidar": "2.1.3",
|
|
34
|
-
"@types/dateformat": "1.0.1",
|
|
35
|
-
"@types/diff": "3.2.2",
|
|
36
|
-
"@types/express": "4.11.0",
|
|
37
|
-
"@types/express-fileupload": "0.1.1",
|
|
38
|
-
"@types/fs-extra": "7.0.0",
|
|
39
|
-
"@types/glob": "5.0.35",
|
|
40
|
-
"@types/http-proxy": "1.16.0",
|
|
41
|
-
"@types/http-proxy-middleware": "0.19.2",
|
|
42
|
-
"@types/inquirer": "7.3.1",
|
|
43
|
-
"@types/jasmine": "3.5.0",
|
|
44
|
-
"@types/jasminewd2": "2.0.3",
|
|
45
|
-
"@types/json-stringify-safe": "5.0.0",
|
|
46
|
-
"@types/json5": "0.0.29",
|
|
47
|
-
"@types/lockfile": "1.0.0",
|
|
48
|
-
"@types/lodash": "4.14.92",
|
|
49
|
-
"@types/lowdb": "1.0.6",
|
|
50
|
-
"@types/mocha": "5.2.5",
|
|
51
|
-
"@types/node": "12.11.1",
|
|
52
|
-
"@types/node-notifier": "5.4.0",
|
|
53
|
-
"@types/oauth2orize": "1.8.0",
|
|
54
|
-
"@types/password-hash": "1.2.19",
|
|
55
|
-
"@types/progress": "2.0.3",
|
|
56
|
-
"@types/q": "1.0.3",
|
|
57
|
-
"@types/rimraf": "2.0.2",
|
|
58
|
-
"@types/systeminformation": "3.23.0",
|
|
59
|
-
"@types/vinyl": "2.0.2",
|
|
60
|
-
"@types/watch": "1.0.0",
|
|
61
|
-
"accepts": "1.3.4",
|
|
62
|
-
"angular-tree-component": "7.0.0",
|
|
63
|
-
"axios": "0.17.1",
|
|
64
|
-
"babel-cli": "6.26.0",
|
|
65
|
-
"babel-preset-env": "1.7.0",
|
|
66
|
-
"background-worker-process": "~0.0.
|
|
67
|
-
"bcryptjs": "2.4.3",
|
|
68
|
-
"body-parser": "1.18.2",
|
|
69
|
-
"bootstrap": "4.3.1",
|
|
70
|
-
"bs4-breakpoint": "~2.0.
|
|
71
|
-
"buffer-shims": "1.0.0",
|
|
72
|
-
"button-dropdown": "~1.0.
|
|
73
|
-
"callsite-record": "4.1.3",
|
|
74
|
-
"chai": "4.2.0",
|
|
75
|
-
"check-node-version": "3.2.0",
|
|
76
|
-
"cheerio": "1.0.0-rc.3",
|
|
77
|
-
"chokidar": "3.5.1",
|
|
78
|
-
"circular-json": "0.5.1",
|
|
79
|
-
"codelyzer": "5.1.2",
|
|
80
|
-
"command-exists": "1.2.2",
|
|
81
|
-
"compression": "1.7.4",
|
|
82
|
-
"concurrently": "3.5.1",
|
|
83
|
-
"content-type": "1.0.4",
|
|
84
|
-
"cookie-parser": "1.4.3",
|
|
85
|
-
"copy-paste": "1.3.0",
|
|
86
|
-
"core-js-compat": "3.4.0",
|
|
87
|
-
"cors": "2.8.4",
|
|
88
|
-
"cpr": "3.0.1",
|
|
89
|
-
"cross-spawn": "7.0.3",
|
|
90
|
-
"dateformat": "3.0.3",
|
|
91
|
-
"detect-mocha": "0.1.0",
|
|
92
|
-
"diff": "3.2.0",
|
|
93
|
-
"element-resize-detector": "1.1.15",
|
|
94
|
-
"enquirer": "2.3.0",
|
|
95
|
-
"enum-values": "1.2.1",
|
|
96
|
-
"errorhandler": "1.5.0",
|
|
97
|
-
"eslint": "7.13.0",
|
|
98
|
-
"eslint-plugin-import": "2.22.1",
|
|
99
|
-
"eslint-plugin-jsdoc": "30.7.8",
|
|
100
|
-
"eslint-plugin-prefer-arrow": "1.2.2",
|
|
101
|
-
"express": "4.16.3",
|
|
102
|
-
"express-fileupload": "0.4.0",
|
|
103
|
-
"fbgraph": "1.4.1",
|
|
104
|
-
"file-loader": "1.1.5",
|
|
105
|
-
"fkill": "6.1.0",
|
|
106
|
-
"font-awesome": "4.7.0",
|
|
107
|
-
"fs-extra": "8.1.0",
|
|
108
|
-
"fuzzy": "0.1.3",
|
|
109
|
-
"glob": "7.1.2",
|
|
110
|
-
"gulp": "3.9.1",
|
|
111
|
-
"hammerjs": "2.0.8",
|
|
112
|
-
"hostile": "1.3.3",
|
|
113
|
-
"html-webpack-plugin": "4.3.0",
|
|
114
|
-
"http-proxy": "1.16.2",
|
|
115
|
-
"http-proxy-middleware": "0.19.1",
|
|
116
|
-
"http-server": "0.11.1",
|
|
117
|
-
"incremental-compiler": "~1.1.
|
|
118
|
-
"inquirer": "7.3.3",
|
|
119
|
-
"inquirer-autocomplete-prompt": "1.3.0",
|
|
120
|
-
"is-elevated": "3.0.0",
|
|
121
|
-
"istanbul-instrumenter-loader": "2.0.0",
|
|
122
|
-
"jasmine-core": "3.5.0",
|
|
123
|
-
"jasmine-spec-reporter": "4.2.1",
|
|
124
|
-
"json-stringify-safe": "5.0.1",
|
|
125
|
-
"json10": "~1.0.
|
|
126
|
-
"json5": "2.1.3",
|
|
127
|
-
"json5-writer": "0.2.0",
|
|
128
|
-
"karma": "5.0.0",
|
|
129
|
-
"karma-chrome-launcher": "3.1.0",
|
|
130
|
-
"karma-cli": "1.0.1",
|
|
131
|
-
"karma-coverage-istanbul-reporter": "2.1.0",
|
|
132
|
-
"karma-jasmine": "3.0.1",
|
|
133
|
-
"karma-jasmine-html-reporter": "1.4.2",
|
|
134
|
-
"lnk": "1.0.1",
|
|
135
|
-
"lockfile": "1.0.4",
|
|
136
|
-
"lodash": "4.17.4",
|
|
137
|
-
"lodash-walk-object": "~1.0.
|
|
138
|
-
"lowdb": "1.0.0",
|
|
139
|
-
"magic-renamer": "~0.0.
|
|
140
|
-
"material-design-icons": "3.0.1",
|
|
141
|
-
"method-override": "2.3.10",
|
|
142
|
-
"minimist": "1.2.0",
|
|
143
|
-
"mkdirp": "0.5.1",
|
|
144
|
-
"mocha": "5.2.0",
|
|
145
|
-
"moment": "2.22.2",
|
|
146
|
-
"ng-modal-lib": "0.0.6",
|
|
147
|
-
"ng-packagr": "5.7.1",
|
|
148
|
-
"ng-talkback": "~2.4.
|
|
149
|
-
"ng2-file-upload": "1.3.0",
|
|
150
|
-
"ng2-logger": "~8.0.
|
|
151
|
-
"ng2-rest": "~11.0.
|
|
152
|
-
"ng4-icons": "~0.0.
|
|
153
|
-
"ng4-modal": "~0.0.
|
|
154
|
-
"ngx-bootstrap": "5.2.0",
|
|
155
|
-
"ngx-breadcrumbs": "0.0.3",
|
|
156
|
-
"ngx-editor": "4.1.0",
|
|
157
|
-
"ngx-moment": "3.5.0",
|
|
158
|
-
"ngx-pipes": "2.6.0",
|
|
159
|
-
"ngx-store": "2.1.0",
|
|
160
|
-
"ngx-toastr": "11.2.1",
|
|
161
|
-
"ngx-wig": "8.0.0",
|
|
162
|
-
"node-cli-test": "0.0.2",
|
|
163
|
-
"node-cli-tester": "~0.0.
|
|
164
|
-
"node-localstorage": "2.1.6",
|
|
165
|
-
"node-notifier": "6.0.0",
|
|
166
|
-
"nodemon": "1.14.11",
|
|
167
|
-
"npm-get-dependents": "1.0.1",
|
|
168
|
-
"npm-run": "4.1.2",
|
|
169
|
-
"omelette": "0.4.5",
|
|
170
|
-
"open": "7.2.1",
|
|
171
|
-
"ora": "3.4.0",
|
|
172
|
-
"passport": "0.3.2",
|
|
173
|
-
"passport-http-bearer": "1.0.1",
|
|
174
|
-
"password-hash": "1.2.2",
|
|
175
|
-
"portfinder": "1.0.21",
|
|
176
|
-
"prettier": "2.3.2",
|
|
177
|
-
"progress": "2.0.3",
|
|
178
|
-
"prompts": "0.1.8",
|
|
179
|
-
"protractor": "5.4.3",
|
|
180
|
-
"ps-list": "6.1.0",
|
|
181
|
-
"ps-node": "0.1.6",
|
|
182
|
-
"q": "1.5.1",
|
|
183
|
-
"randomcolor": "0.5.3",
|
|
184
|
-
"record-replay-req-res-scenario": "~0.0.
|
|
185
|
-
"reflect-metadata": "0.1.10",
|
|
186
|
-
"rimraf": "2.6.2",
|
|
187
|
-
"rxjs": "6.5.4",
|
|
188
|
-
"rxjs-compat": "6.5.3",
|
|
189
|
-
"simple-git": "1.96.0",
|
|
190
|
-
"sloc": "0.2.0",
|
|
191
|
-
"socket.io": "2.4.1",
|
|
192
|
-
"sort-package-json": "1.11.0",
|
|
193
|
-
"static-columns": "~2.0.
|
|
194
|
-
"string-similarity": "4.0.2",
|
|
195
|
-
"sudo-block": "3.0.0",
|
|
196
|
-
"systeminformation": "3.45.7",
|
|
197
|
-
"task.js": "0.1.5",
|
|
198
|
-
"tnp-cli": "~2.0.
|
|
199
|
-
"tnp-config": "~1.0.
|
|
200
|
-
"tnp-core": "~1.0.
|
|
201
|
-
"tnp-db": "~0.0.
|
|
202
|
-
"tnp-helpers": "~0.0.
|
|
203
|
-
"tnp-models": "~0.0.
|
|
204
|
-
"tnp-tools": "~0.0.
|
|
205
|
-
"tnp-ui": "~0.0.
|
|
206
|
-
"ts-loader": "7.0.4",
|
|
207
|
-
"ts-node": "8.3.0",
|
|
208
|
-
"tsickle": "0.26.0",
|
|
209
|
-
"tslib": "2.2.0",
|
|
210
|
-
"tslint": "6.1.0",
|
|
211
|
-
"typeorm": "~0.2.7",
|
|
212
|
-
"typescript": "4.1.5",
|
|
213
|
-
"typescript-class-helpers": "~1.0.
|
|
214
|
-
"uglifyjs-webpack-plugin": "2.2.0",
|
|
215
|
-
"underscore": "1.9.1",
|
|
216
|
-
"uuid": "8.3.2",
|
|
217
|
-
"validator": "9.2.0",
|
|
218
|
-
"vpn-split": "~0.0.
|
|
219
|
-
"watch": "1.0.2",
|
|
220
|
-
"webpack-cli": "3.3.11",
|
|
221
|
-
"zone.js": "0.10.2"
|
|
222
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"@angular-devkit/build-angular": "0.901.3",
|
|
3
|
+
"@angular-devkit/build-optimizer": "0.900.0-rc.7",
|
|
4
|
+
"@angular-devkit/schematics": "9.0.0-rc.7",
|
|
5
|
+
"@angular/animations": "9.1.3",
|
|
6
|
+
"@angular/cdk": "9.2.1",
|
|
7
|
+
"@angular/cli": "9.1.3",
|
|
8
|
+
"@angular/common": "9.1.3",
|
|
9
|
+
"@angular/compiler": "9.1.3",
|
|
10
|
+
"@angular/compiler-cli": "9.1.3",
|
|
11
|
+
"@angular/core": "9.1.3",
|
|
12
|
+
"@angular/forms": "9.1.3",
|
|
13
|
+
"@angular/http": "7.2.15",
|
|
14
|
+
"@angular/language-service": "9.1.3",
|
|
15
|
+
"@angular/material": "9.2.1",
|
|
16
|
+
"@angular/platform-browser": "9.1.3",
|
|
17
|
+
"@angular/platform-browser-dynamic": "9.1.3",
|
|
18
|
+
"@angular/pwa": "0.900.0-rc.7",
|
|
19
|
+
"@angular/router": "9.1.3",
|
|
20
|
+
"@angular/service-worker": "9.1.3",
|
|
21
|
+
"@mdi/js": "5.8.55",
|
|
22
|
+
"@ngx-formly/bootstrap": "5.5.6",
|
|
23
|
+
"@ngx-formly/core": "5.5.6",
|
|
24
|
+
"@ngx-formly/ionic": "5.5.6",
|
|
25
|
+
"@ngx-formly/material": "5.5.6",
|
|
26
|
+
"@ngx-loading-bar/core": "4.2.0",
|
|
27
|
+
"@ngx-loading-bar/http": "4.2.0",
|
|
28
|
+
"@ngx-loading-bar/router": "4.2.0",
|
|
29
|
+
"@ngx-translate/core": "11.0.1",
|
|
30
|
+
"@ngx-translate/http-loader": "4.0.0",
|
|
31
|
+
"@swimlane/ngx-datatable": "16.0.2",
|
|
32
|
+
"@types/chai": "4.1.2",
|
|
33
|
+
"@types/chokidar": "2.1.3",
|
|
34
|
+
"@types/dateformat": "1.0.1",
|
|
35
|
+
"@types/diff": "3.2.2",
|
|
36
|
+
"@types/express": "4.11.0",
|
|
37
|
+
"@types/express-fileupload": "0.1.1",
|
|
38
|
+
"@types/fs-extra": "7.0.0",
|
|
39
|
+
"@types/glob": "5.0.35",
|
|
40
|
+
"@types/http-proxy": "1.16.0",
|
|
41
|
+
"@types/http-proxy-middleware": "0.19.2",
|
|
42
|
+
"@types/inquirer": "7.3.1",
|
|
43
|
+
"@types/jasmine": "3.5.0",
|
|
44
|
+
"@types/jasminewd2": "2.0.3",
|
|
45
|
+
"@types/json-stringify-safe": "5.0.0",
|
|
46
|
+
"@types/json5": "0.0.29",
|
|
47
|
+
"@types/lockfile": "1.0.0",
|
|
48
|
+
"@types/lodash": "4.14.92",
|
|
49
|
+
"@types/lowdb": "1.0.6",
|
|
50
|
+
"@types/mocha": "5.2.5",
|
|
51
|
+
"@types/node": "12.11.1",
|
|
52
|
+
"@types/node-notifier": "5.4.0",
|
|
53
|
+
"@types/oauth2orize": "1.8.0",
|
|
54
|
+
"@types/password-hash": "1.2.19",
|
|
55
|
+
"@types/progress": "2.0.3",
|
|
56
|
+
"@types/q": "1.0.3",
|
|
57
|
+
"@types/rimraf": "2.0.2",
|
|
58
|
+
"@types/systeminformation": "3.23.0",
|
|
59
|
+
"@types/vinyl": "2.0.2",
|
|
60
|
+
"@types/watch": "1.0.0",
|
|
61
|
+
"accepts": "1.3.4",
|
|
62
|
+
"angular-tree-component": "7.0.0",
|
|
63
|
+
"axios": "0.17.1",
|
|
64
|
+
"babel-cli": "6.26.0",
|
|
65
|
+
"babel-preset-env": "1.7.0",
|
|
66
|
+
"background-worker-process": "~0.0.35",
|
|
67
|
+
"bcryptjs": "2.4.3",
|
|
68
|
+
"body-parser": "1.18.2",
|
|
69
|
+
"bootstrap": "4.3.1",
|
|
70
|
+
"bs4-breakpoint": "~2.0.40",
|
|
71
|
+
"buffer-shims": "1.0.0",
|
|
72
|
+
"button-dropdown": "~1.0.45",
|
|
73
|
+
"callsite-record": "4.1.3",
|
|
74
|
+
"chai": "4.2.0",
|
|
75
|
+
"check-node-version": "3.2.0",
|
|
76
|
+
"cheerio": "1.0.0-rc.3",
|
|
77
|
+
"chokidar": "3.5.1",
|
|
78
|
+
"circular-json": "0.5.1",
|
|
79
|
+
"codelyzer": "5.1.2",
|
|
80
|
+
"command-exists": "1.2.2",
|
|
81
|
+
"compression": "1.7.4",
|
|
82
|
+
"concurrently": "3.5.1",
|
|
83
|
+
"content-type": "1.0.4",
|
|
84
|
+
"cookie-parser": "1.4.3",
|
|
85
|
+
"copy-paste": "1.3.0",
|
|
86
|
+
"core-js-compat": "3.4.0",
|
|
87
|
+
"cors": "2.8.4",
|
|
88
|
+
"cpr": "3.0.1",
|
|
89
|
+
"cross-spawn": "7.0.3",
|
|
90
|
+
"dateformat": "3.0.3",
|
|
91
|
+
"detect-mocha": "0.1.0",
|
|
92
|
+
"diff": "3.2.0",
|
|
93
|
+
"element-resize-detector": "1.1.15",
|
|
94
|
+
"enquirer": "2.3.0",
|
|
95
|
+
"enum-values": "1.2.1",
|
|
96
|
+
"errorhandler": "1.5.0",
|
|
97
|
+
"eslint": "7.13.0",
|
|
98
|
+
"eslint-plugin-import": "2.22.1",
|
|
99
|
+
"eslint-plugin-jsdoc": "30.7.8",
|
|
100
|
+
"eslint-plugin-prefer-arrow": "1.2.2",
|
|
101
|
+
"express": "4.16.3",
|
|
102
|
+
"express-fileupload": "0.4.0",
|
|
103
|
+
"fbgraph": "1.4.1",
|
|
104
|
+
"file-loader": "1.1.5",
|
|
105
|
+
"fkill": "6.1.0",
|
|
106
|
+
"font-awesome": "4.7.0",
|
|
107
|
+
"fs-extra": "8.1.0",
|
|
108
|
+
"fuzzy": "0.1.3",
|
|
109
|
+
"glob": "7.1.2",
|
|
110
|
+
"gulp": "3.9.1",
|
|
111
|
+
"hammerjs": "2.0.8",
|
|
112
|
+
"hostile": "1.3.3",
|
|
113
|
+
"html-webpack-plugin": "4.3.0",
|
|
114
|
+
"http-proxy": "1.16.2",
|
|
115
|
+
"http-proxy-middleware": "0.19.1",
|
|
116
|
+
"http-server": "0.11.1",
|
|
117
|
+
"incremental-compiler": "~1.1.53",
|
|
118
|
+
"inquirer": "7.3.3",
|
|
119
|
+
"inquirer-autocomplete-prompt": "1.3.0",
|
|
120
|
+
"is-elevated": "3.0.0",
|
|
121
|
+
"istanbul-instrumenter-loader": "2.0.0",
|
|
122
|
+
"jasmine-core": "3.5.0",
|
|
123
|
+
"jasmine-spec-reporter": "4.2.1",
|
|
124
|
+
"json-stringify-safe": "5.0.1",
|
|
125
|
+
"json10": "~1.0.34",
|
|
126
|
+
"json5": "2.1.3",
|
|
127
|
+
"json5-writer": "0.2.0",
|
|
128
|
+
"karma": "5.0.0",
|
|
129
|
+
"karma-chrome-launcher": "3.1.0",
|
|
130
|
+
"karma-cli": "1.0.1",
|
|
131
|
+
"karma-coverage-istanbul-reporter": "2.1.0",
|
|
132
|
+
"karma-jasmine": "3.0.1",
|
|
133
|
+
"karma-jasmine-html-reporter": "1.4.2",
|
|
134
|
+
"lnk": "1.0.1",
|
|
135
|
+
"lockfile": "1.0.4",
|
|
136
|
+
"lodash": "4.17.4",
|
|
137
|
+
"lodash-walk-object": "~1.0.35",
|
|
138
|
+
"lowdb": "1.0.0",
|
|
139
|
+
"magic-renamer": "~0.0.20",
|
|
140
|
+
"material-design-icons": "3.0.1",
|
|
141
|
+
"method-override": "2.3.10",
|
|
142
|
+
"minimist": "1.2.0",
|
|
143
|
+
"mkdirp": "0.5.1",
|
|
144
|
+
"mocha": "5.2.0",
|
|
145
|
+
"moment": "2.22.2",
|
|
146
|
+
"ng-modal-lib": "0.0.6",
|
|
147
|
+
"ng-packagr": "5.7.1",
|
|
148
|
+
"ng-talkback": "~2.4.25",
|
|
149
|
+
"ng2-file-upload": "1.3.0",
|
|
150
|
+
"ng2-logger": "~8.0.20",
|
|
151
|
+
"ng2-rest": "~11.0.42",
|
|
152
|
+
"ng4-icons": "~0.0.30",
|
|
153
|
+
"ng4-modal": "~0.0.30",
|
|
154
|
+
"ngx-bootstrap": "5.2.0",
|
|
155
|
+
"ngx-breadcrumbs": "0.0.3",
|
|
156
|
+
"ngx-editor": "4.1.0",
|
|
157
|
+
"ngx-moment": "3.5.0",
|
|
158
|
+
"ngx-pipes": "2.6.0",
|
|
159
|
+
"ngx-store": "2.1.0",
|
|
160
|
+
"ngx-toastr": "11.2.1",
|
|
161
|
+
"ngx-wig": "8.0.0",
|
|
162
|
+
"node-cli-test": "0.0.2",
|
|
163
|
+
"node-cli-tester": "~0.0.22",
|
|
164
|
+
"node-localstorage": "2.1.6",
|
|
165
|
+
"node-notifier": "6.0.0",
|
|
166
|
+
"nodemon": "1.14.11",
|
|
167
|
+
"npm-get-dependents": "1.0.1",
|
|
168
|
+
"npm-run": "4.1.2",
|
|
169
|
+
"omelette": "0.4.5",
|
|
170
|
+
"open": "7.2.1",
|
|
171
|
+
"ora": "3.4.0",
|
|
172
|
+
"passport": "0.3.2",
|
|
173
|
+
"passport-http-bearer": "1.0.1",
|
|
174
|
+
"password-hash": "1.2.2",
|
|
175
|
+
"portfinder": "1.0.21",
|
|
176
|
+
"prettier": "2.3.2",
|
|
177
|
+
"progress": "2.0.3",
|
|
178
|
+
"prompts": "0.1.8",
|
|
179
|
+
"protractor": "5.4.3",
|
|
180
|
+
"ps-list": "6.1.0",
|
|
181
|
+
"ps-node": "0.1.6",
|
|
182
|
+
"q": "1.5.1",
|
|
183
|
+
"randomcolor": "0.5.3",
|
|
184
|
+
"record-replay-req-res-scenario": "~0.0.26",
|
|
185
|
+
"reflect-metadata": "0.1.10",
|
|
186
|
+
"rimraf": "2.6.2",
|
|
187
|
+
"rxjs": "6.5.4",
|
|
188
|
+
"rxjs-compat": "6.5.3",
|
|
189
|
+
"simple-git": "1.96.0",
|
|
190
|
+
"sloc": "0.2.0",
|
|
191
|
+
"socket.io": "2.4.1",
|
|
192
|
+
"sort-package-json": "1.11.0",
|
|
193
|
+
"static-columns": "~2.0.13",
|
|
194
|
+
"string-similarity": "4.0.2",
|
|
195
|
+
"sudo-block": "3.0.0",
|
|
196
|
+
"systeminformation": "3.45.7",
|
|
197
|
+
"task.js": "0.1.5",
|
|
198
|
+
"tnp-cli": "~2.0.20",
|
|
199
|
+
"tnp-config": "~1.0.20",
|
|
200
|
+
"tnp-core": "~1.0.34",
|
|
201
|
+
"tnp-db": "~0.0.43",
|
|
202
|
+
"tnp-helpers": "~0.0.73",
|
|
203
|
+
"tnp-models": "~0.0.37",
|
|
204
|
+
"tnp-tools": "~0.0.46",
|
|
205
|
+
"tnp-ui": "~0.0.33",
|
|
206
|
+
"ts-loader": "7.0.4",
|
|
207
|
+
"ts-node": "8.3.0",
|
|
208
|
+
"tsickle": "0.26.0",
|
|
209
|
+
"tslib": "2.2.0",
|
|
210
|
+
"tslint": "6.1.0",
|
|
211
|
+
"typeorm": "~0.2.7",
|
|
212
|
+
"typescript": "4.1.5",
|
|
213
|
+
"typescript-class-helpers": "~1.0.42",
|
|
214
|
+
"uglifyjs-webpack-plugin": "2.2.0",
|
|
215
|
+
"underscore": "1.9.1",
|
|
216
|
+
"uuid": "8.3.2",
|
|
217
|
+
"validator": "9.2.0",
|
|
218
|
+
"vpn-split": "~0.0.18",
|
|
219
|
+
"watch": "1.0.2",
|
|
220
|
+
"webpack-cli": "3.3.11",
|
|
221
|
+
"zone.js": "0.10.2"
|
|
222
|
+
}
|
|
@@ -1,41 +1,57 @@
|
|
|
1
|
-
{
|
|
2
|
-
"resources": [
|
|
3
|
-
"README.md",
|
|
4
|
-
"screen.png"
|
|
5
|
-
],
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"dependencies": {},
|
|
18
|
-
"linkedFolders": []
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
},
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
1
|
+
{
|
|
2
|
+
"resources": [
|
|
3
|
+
"README.md",
|
|
4
|
+
"screen.png"
|
|
5
|
+
],
|
|
6
|
+
|
|
7
|
+
"overrided": {
|
|
8
|
+
"ignoreDepsPattern": [],
|
|
9
|
+
"includeAsDev": [],
|
|
10
|
+
|
|
11
|
+
"includeOnly": [
|
|
12
|
+
"typescript-formatter",
|
|
13
|
+
"morphi",
|
|
14
|
+
"chalk"
|
|
15
|
+
],
|
|
16
|
+
|
|
17
|
+
"dependencies": {},
|
|
18
|
+
"linkedFolders": [],
|
|
19
|
+
'npmFixes': [],
|
|
20
|
+
},
|
|
21
|
+
|
|
22
|
+
"linkedProjects": [],
|
|
23
|
+
'smartContainerBuildTarget': '',
|
|
24
|
+
'linkedRepos': [],
|
|
25
|
+
|
|
26
|
+
"libReleaseOptions": {
|
|
27
|
+
"nodts": false,
|
|
28
|
+
"obscure": false,
|
|
29
|
+
"ugly": false,
|
|
30
|
+
'includeNodeModules': false,
|
|
31
|
+
},
|
|
32
|
+
|
|
33
|
+
'smartContainerTarget': '',
|
|
34
|
+
"type": "isomorphic-lib",
|
|
35
|
+
"version": "v4",
|
|
36
|
+
'isCommandLineToolOnly': false,
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
'private': false,
|
|
39
|
+
|
|
40
|
+
"scripts": {
|
|
41
|
+
"test": "mocha --require ts-node/register src/**/*.spec.ts",
|
|
42
|
+
"test:watch": "mocha --compilers ts-node/register src/**/*.spec.ts --watch"
|
|
43
|
+
},
|
|
44
|
+
|
|
45
|
+
"description": "Generate Angualr 2 Service from swagger json",
|
|
46
|
+
"author": "Dariusz Filipiak",
|
|
47
|
+
"homepage": "https://github.com/darekf77/ng2-rest-swagger-generator#readme",
|
|
48
|
+
"main": "karma.conf.js",
|
|
49
|
+
|
|
50
|
+
"keywords": [
|
|
51
|
+
"ng2-rest",
|
|
52
|
+
"docs",
|
|
53
|
+
"documentation"
|
|
54
|
+
],
|
|
55
|
+
|
|
56
|
+
"workerPlugins": {},
|
|
57
|
+
}
|
package/start.js
CHANGED
|
@@ -19,7 +19,7 @@ function start() {
|
|
|
19
19
|
process.exit(0);
|
|
20
20
|
}
|
|
21
21
|
if (!json) {
|
|
22
|
-
console.log(chalk_1.default.red("Please specify "
|
|
22
|
+
console.log(chalk_1.default.red("Please specify ".concat(chalk_1.default.bold('--json'), " parameter")));
|
|
23
23
|
process.exit(1);
|
|
24
24
|
}
|
|
25
25
|
if (_.isString(json)) {
|
|
@@ -28,7 +28,7 @@ function start() {
|
|
|
28
28
|
json.forEach(function (f) {
|
|
29
29
|
if (fs.existsSync(f)) {
|
|
30
30
|
if (fs.lstatSync(f).isDirectory()) {
|
|
31
|
-
console.log(chalk_1.default.red("Parametr "
|
|
31
|
+
console.log(chalk_1.default.red("Parametr ".concat(chalk_1.default.bold('--json'), " with value \"").concat(f, "\" is direcory, not json.")));
|
|
32
32
|
process.exit(1);
|
|
33
33
|
}
|
|
34
34
|
pathes.push(f);
|
|
@@ -37,12 +37,12 @@ function start() {
|
|
|
37
37
|
links.push(f);
|
|
38
38
|
}
|
|
39
39
|
else {
|
|
40
|
-
console.log(chalk_1.default.red("Parametr "
|
|
40
|
+
console.log(chalk_1.default.red("Parametr ".concat(chalk_1.default.bold('--base'), " with value \"").concat(f, "\" is not a link or path")));
|
|
41
41
|
process.exit(1);
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
// console.log('enableHttps', enableHttps)
|
|
45
|
-
generator_1.run(pathes, links, s, base);
|
|
45
|
+
(0, generator_1.run)(pathes, links, s, base);
|
|
46
46
|
}
|
|
47
47
|
exports.start = start;
|
|
48
48
|
//# sourceMappingURL=start.js.map
|
package/start.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"start.js","sourceRoot":"","sources":["C:/Users/darek/projects/npm/cli-tools/ng2-rest-swagger-generator/tmp-bundle-release/bundle/project/ng2-rest-swagger-generator/src/start.ts"],"names":[],"mappings":";;;AAAA,uBAAyB;AACzB,+BAA0B;AAC1B,0BAA4B;AAE5B,yCAAkC;AAGlC,SAAgB,KAAK;IAGnB,SAAS,MAAM,CAAC,IAAY;QAC1B,IAAI,KAAK,GAAG,6EAA6E,CAAC;QAC1F,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;IAED,IAAM,MAAM,GAAG,EAAE,CAAC;IAClB,IAAM,KAAK,GAAG,EAAE,CAAA;IACZ,IAAA,KAAkG,OAAO,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAjI,SAAS,EAAT,CAAC,mBAAG,KAAK,KAAA,EAAE,IAAI,UAAA,EAAE,IAAI,UAAA,EAAE,SAAS,EAAT,CAAC,mBAAG,KAAK,KAAiG,CAAC;IAIxI,IAAI,CAAC,EAAE;QACL,IAAI,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,SAAS,GAAG,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC;QAC/E,OAAO,CAAC,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;QAC3C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;KACjB;IAGD,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,GAAG,CAAC,yBAAkB,eAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,eAAY,CAAC,CAAC,CAAA;QAC1E,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;KAChB;IAED,IAAI,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;QACpB,IAAI,GAAG,CAAC,IAAI,CAAC,CAAA;KACd;IAED,IAAI,CAAC,OAAO,CAAC,UAAA,CAAC;QAEZ,IAAI,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE;YACpB,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,EAAE;gBACjC,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,GAAG,CAAC,mBAAY,eAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,2BAAgB,CAAC,8BAA0B,CAAC,CAAC,CAAA;gBACnG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;aAChB;YAED,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;SAChB;aAAM,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE;YACpB,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;SACf;aAAM;YACL,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,GAAG,CAAC,mBAAY,eAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,2BAAgB,CAAC,6BAAyB,CAAC,CAAC,CAAA;YAClG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;SAChB;IAEH,CAAC,CAAC,CAAA;IAGF,0CAA0C;IAC1C,IAAA,eAAG,EAAC,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,CAAC,CAAA;AAC7B,CAAC;AAnDD,sBAmDC"}
|
package/template.d.ts
CHANGED
package/template.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Template = void 0;
|
|
4
|
-
var helpers_1 = require("./helpers");
|
|
4
|
+
var helpers_1 = require("./lib/helpers");
|
|
5
5
|
var Template = /** @class */ (function () {
|
|
6
6
|
function Template() {
|
|
7
7
|
}
|
|
@@ -14,19 +14,19 @@ var Template = /** @class */ (function () {
|
|
|
14
14
|
});
|
|
15
15
|
Template.indexExportsTmpl = function (fileNames) {
|
|
16
16
|
return fileNames.map(function (name) {
|
|
17
|
-
return "export * from './"
|
|
17
|
+
return "export * from './".concat(name, "';");
|
|
18
18
|
}).join('\n');
|
|
19
19
|
};
|
|
20
20
|
Template.importServicesFromFolder = function (serviceClassName, folderName) {
|
|
21
21
|
if (folderName === void 0) { folderName = 'services'; }
|
|
22
22
|
return serviceClassName.map(function (classNameService) {
|
|
23
|
-
return "import { "
|
|
23
|
+
return "import { ".concat(classNameService, " } from './").concat(folderName, "'") + '\n';
|
|
24
24
|
}).join('');
|
|
25
25
|
};
|
|
26
26
|
Template.templateModule = function (serviceClassName) {
|
|
27
27
|
var urls = helpers_1.Helpers.endpoints.join(',\n');
|
|
28
28
|
var imports = '\n' + this.importServicesFromFolder(serviceClassName) + '\n';
|
|
29
|
-
return "import { NgModule } from '@angular/core';\n import { SimpleResource } from 'ng2-rest';\n SimpleResource.doNotSerializeQueryParams = true;\n "
|
|
29
|
+
return "import { NgModule } from '@angular/core';\n import { SimpleResource } from 'ng2-rest';\n SimpleResource.doNotSerializeQueryParams = true;\n ".concat(imports, "\n\n @NgModule({\n imports: [],\n exports: [],\n declarations: [],\n providers: [\n ").concat(serviceClassName.join(',\n'), "\n ],\n })\n export class Ng2RestGenModule {\n public static enpointUrls = {\n ").concat(urls, "\n }\n\n }\n ");
|
|
30
30
|
};
|
|
31
31
|
Template.indexJSONcontent = function (swg) {
|
|
32
32
|
var serviceNames = swg.tags.map(function (tag) {
|
|
@@ -38,7 +38,7 @@ var Template = /** @class */ (function () {
|
|
|
38
38
|
};
|
|
39
39
|
Template.serviceTemplate = function (swg, tag) {
|
|
40
40
|
var className = helpers_1.Helpers.serviceFromTag.className(swg, tag);
|
|
41
|
-
return "import { Injectable } from '@angular/core';\nimport { SimpleResource } from 'ng2-rest';\nimport { Ng2RestGenModule } from '../../module';\n\n@Injectable()\nexport class "
|
|
41
|
+
return "import { Injectable } from '@angular/core';\nimport { SimpleResource } from 'ng2-rest';\nimport { Ng2RestGenModule } from '../../module';\n\n@Injectable()\nexport class ".concat(className, " {\n\n ").concat(helpers_1.Helpers.getAngularPrivatePathesByTag(swg, tag), "\n\n // public methods\n ").concat(helpers_1.Helpers.getAngularServicesMethods(swg, tag), "\n\n public static unsubscribe() {\n SimpleResource.__destroy();\n }\n\n constructor() {\n\n }\n} ");
|
|
42
42
|
};
|
|
43
43
|
return Template;
|
|
44
44
|
}());
|