@phongnt3099/thienphucdental-api 1.1.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 +3 -0
- package/nswag/refresh.bat +1 -0
- package/nswag/service.config.nswag +228 -0
- package/nswag/service.extensions.ts +1 -0
- package/package.json +122 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"..\node_modules\.bin\nswag" run
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
{
|
|
2
|
+
"runtime": "Default",
|
|
3
|
+
"defaultVariables": null,
|
|
4
|
+
"documentGenerator": {
|
|
5
|
+
"fromDocument": {
|
|
6
|
+
"url": "https://localhost:44301/swagger/v1/swagger.json",
|
|
7
|
+
"output": null,
|
|
8
|
+
"newLineBehavior": "Auto"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"codeGenerators": {
|
|
12
|
+
"openApiToTypeScriptClient": {
|
|
13
|
+
"className": "{controller}ServiceProxy",
|
|
14
|
+
"moduleName": "",
|
|
15
|
+
"namespace": "",
|
|
16
|
+
"typeScriptVersion": 4.3,
|
|
17
|
+
"template": "Angular",
|
|
18
|
+
"promiseType": "Promise",
|
|
19
|
+
"httpClass": "HttpClient",
|
|
20
|
+
"withCredentials": false,
|
|
21
|
+
"useSingletonProvider": false,
|
|
22
|
+
"injectionTokenType": "InjectionToken",
|
|
23
|
+
"rxJsVersion": 7.0,
|
|
24
|
+
"dateTimeType": "Luxon",
|
|
25
|
+
"nullValue": "Undefined",
|
|
26
|
+
"generateClientClasses": true,
|
|
27
|
+
"generateClientInterfaces": false,
|
|
28
|
+
"generateOptionalParameters": false,
|
|
29
|
+
"exportTypes": true,
|
|
30
|
+
"wrapDtoExceptions": false,
|
|
31
|
+
"exceptionClass": "ApiException",
|
|
32
|
+
"clientBaseClass": null,
|
|
33
|
+
"wrapResponses": false,
|
|
34
|
+
"wrapResponseMethods": [],
|
|
35
|
+
"generateResponseClasses": true,
|
|
36
|
+
"responseClass": "SwaggerResponse",
|
|
37
|
+
"protectedMethods": [],
|
|
38
|
+
"configurationClass": null,
|
|
39
|
+
"useTransformOptionsMethod": false,
|
|
40
|
+
"useTransformResultMethod": false,
|
|
41
|
+
"generateDtoTypes": true,
|
|
42
|
+
"operationGenerationMode": "MultipleClientsFromPathSegments",
|
|
43
|
+
"markOptionalProperties": false,
|
|
44
|
+
"generateCloneMethod": false,
|
|
45
|
+
"typeStyle": "Class",
|
|
46
|
+
"enumStyle": "Enum",
|
|
47
|
+
"useLeafType": false,
|
|
48
|
+
"classTypes": [],
|
|
49
|
+
"extendedClasses": [],
|
|
50
|
+
"extensionCode": "service.extensions.ts",
|
|
51
|
+
"generateDefaultValues": true,
|
|
52
|
+
"excludedTypeNames": [],
|
|
53
|
+
"excludedParameterNames": [],
|
|
54
|
+
"handleReferences": false,
|
|
55
|
+
"generateTypeCheckFunctions": false,
|
|
56
|
+
"generateConstructorInterface": true,
|
|
57
|
+
"convertConstructorInterfaceData": false,
|
|
58
|
+
"importRequiredTypes": true,
|
|
59
|
+
"useGetBaseUrlMethod": false,
|
|
60
|
+
"baseUrlTokenName": "API_BASE_URL",
|
|
61
|
+
"queryNullValue": "",
|
|
62
|
+
"useAbortSignal": false,
|
|
63
|
+
"inlineNamedDictionaries": false,
|
|
64
|
+
"inlineNamedAny": false,
|
|
65
|
+
"includeHttpContext": false,
|
|
66
|
+
"templateDirectory": null,
|
|
67
|
+
"typeNameGeneratorType": null,
|
|
68
|
+
"propertyNameGeneratorType": null,
|
|
69
|
+
"enumNameGeneratorType": null,
|
|
70
|
+
"serviceHost": null,
|
|
71
|
+
"serviceSchemes": null,
|
|
72
|
+
"output": "../src/shared/service-proxies/service-proxies.ts",
|
|
73
|
+
"newLineBehavior": "Auto"
|
|
74
|
+
},
|
|
75
|
+
"openApiToCSharpClient": {
|
|
76
|
+
"clientBaseClass": null,
|
|
77
|
+
"configurationClass": null,
|
|
78
|
+
"generateClientClasses": true,
|
|
79
|
+
"generateClientInterfaces": false,
|
|
80
|
+
"clientBaseInterface": null,
|
|
81
|
+
"injectHttpClient": false,
|
|
82
|
+
"disposeHttpClient": true,
|
|
83
|
+
"protectedMethods": [],
|
|
84
|
+
"generateExceptionClasses": true,
|
|
85
|
+
"exceptionClass": "SwaggerException",
|
|
86
|
+
"wrapDtoExceptions": true,
|
|
87
|
+
"useHttpClientCreationMethod": false,
|
|
88
|
+
"httpClientType": "System.Net.Http.HttpClient",
|
|
89
|
+
"useHttpRequestMessageCreationMethod": false,
|
|
90
|
+
"useBaseUrl": true,
|
|
91
|
+
"generateBaseUrlProperty": true,
|
|
92
|
+
"generateSyncMethods": false,
|
|
93
|
+
"generatePrepareRequestAndProcessResponseAsAsyncMethods": false,
|
|
94
|
+
"exposeJsonSerializerSettings": false,
|
|
95
|
+
"clientClassAccessModifier": "public",
|
|
96
|
+
"typeAccessModifier": "public",
|
|
97
|
+
"generateContractsOutput": false,
|
|
98
|
+
"contractsNamespace": null,
|
|
99
|
+
"contractsOutputFilePath": null,
|
|
100
|
+
"parameterDateTimeFormat": "s",
|
|
101
|
+
"parameterDateFormat": "yyyy-MM-dd",
|
|
102
|
+
"generateUpdateJsonSerializerSettingsMethod": true,
|
|
103
|
+
"useRequestAndResponseSerializationSettings": false,
|
|
104
|
+
"serializeTypeInformation": false,
|
|
105
|
+
"queryNullValue": "",
|
|
106
|
+
"className": "{controller}Client",
|
|
107
|
+
"operationGenerationMode": "MultipleClientsFromOperationId",
|
|
108
|
+
"additionalNamespaceUsages": [],
|
|
109
|
+
"additionalContractNamespaceUsages": [],
|
|
110
|
+
"generateOptionalParameters": false,
|
|
111
|
+
"generateJsonMethods": true,
|
|
112
|
+
"enforceFlagEnums": false,
|
|
113
|
+
"parameterArrayType": "System.Collections.Generic.IEnumerable",
|
|
114
|
+
"parameterDictionaryType": "System.Collections.Generic.IDictionary",
|
|
115
|
+
"responseArrayType": "System.Collections.ObjectModel.ObservableCollection",
|
|
116
|
+
"responseDictionaryType": "System.Collections.Generic.Dictionary",
|
|
117
|
+
"wrapResponses": false,
|
|
118
|
+
"wrapResponseMethods": [],
|
|
119
|
+
"generateResponseClasses": true,
|
|
120
|
+
"responseClass": "SwaggerResponse",
|
|
121
|
+
"namespace": "MyNamespace",
|
|
122
|
+
"requiredPropertiesMustBeDefined": true,
|
|
123
|
+
"dateType": "System.DateTime",
|
|
124
|
+
"jsonConverters": null,
|
|
125
|
+
"anyType": "object",
|
|
126
|
+
"dateTimeType": "System.DateTime",
|
|
127
|
+
"timeType": "System.TimeSpan",
|
|
128
|
+
"timeSpanType": "System.TimeSpan",
|
|
129
|
+
"arrayType": "System.Collections.ObjectModel.ObservableCollection",
|
|
130
|
+
"arrayInstanceType": "System.Collections.ObjectModel.Collection",
|
|
131
|
+
"dictionaryType": "System.Collections.Generic.Dictionary",
|
|
132
|
+
"dictionaryInstanceType": "System.Collections.Generic.Dictionary",
|
|
133
|
+
"arrayBaseType": "System.Collections.ObjectModel.ObservableCollection",
|
|
134
|
+
"dictionaryBaseType": "System.Collections.Generic.Dictionary",
|
|
135
|
+
"classStyle": "Inpc",
|
|
136
|
+
"jsonLibrary": "NewtonsoftJson",
|
|
137
|
+
"generateDefaultValues": true,
|
|
138
|
+
"generateDataAnnotations": true,
|
|
139
|
+
"excludedTypeNames": [],
|
|
140
|
+
"excludedParameterNames": [],
|
|
141
|
+
"handleReferences": false,
|
|
142
|
+
"generateImmutableArrayProperties": false,
|
|
143
|
+
"generateImmutableDictionaryProperties": false,
|
|
144
|
+
"jsonSerializerSettingsTransformationMethod": null,
|
|
145
|
+
"inlineNamedArrays": false,
|
|
146
|
+
"inlineNamedDictionaries": false,
|
|
147
|
+
"inlineNamedTuples": true,
|
|
148
|
+
"inlineNamedAny": false,
|
|
149
|
+
"generateDtoTypes": true,
|
|
150
|
+
"generateOptionalPropertiesAsNullable": false,
|
|
151
|
+
"generateNullableReferenceTypes": false,
|
|
152
|
+
"templateDirectory": null,
|
|
153
|
+
"typeNameGeneratorType": null,
|
|
154
|
+
"propertyNameGeneratorType": null,
|
|
155
|
+
"enumNameGeneratorType": null,
|
|
156
|
+
"serviceHost": null,
|
|
157
|
+
"serviceSchemes": null,
|
|
158
|
+
"output": null,
|
|
159
|
+
"newLineBehavior": "Auto"
|
|
160
|
+
},
|
|
161
|
+
"openApiToCSharpController": {
|
|
162
|
+
"controllerBaseClass": null,
|
|
163
|
+
"controllerStyle": "Partial",
|
|
164
|
+
"controllerTarget": "AspNet",
|
|
165
|
+
"useCancellationToken": false,
|
|
166
|
+
"useActionResultType": false,
|
|
167
|
+
"generateModelValidationAttributes": false,
|
|
168
|
+
"routeNamingStrategy": "None",
|
|
169
|
+
"basePath": null,
|
|
170
|
+
"className": "{controller}",
|
|
171
|
+
"operationGenerationMode": "MultipleClientsFromOperationId",
|
|
172
|
+
"additionalNamespaceUsages": [
|
|
173
|
+
"System.Web.Http"
|
|
174
|
+
],
|
|
175
|
+
"additionalContractNamespaceUsages": [],
|
|
176
|
+
"generateOptionalParameters": false,
|
|
177
|
+
"generateJsonMethods": true,
|
|
178
|
+
"enforceFlagEnums": false,
|
|
179
|
+
"parameterArrayType": "System.Collections.Generic.IEnumerable",
|
|
180
|
+
"parameterDictionaryType": "System.Collections.Generic.IDictionary",
|
|
181
|
+
"responseArrayType": "System.Collections.ObjectModel.ObservableCollection",
|
|
182
|
+
"responseDictionaryType": "System.Collections.Generic.Dictionary",
|
|
183
|
+
"wrapResponses": false,
|
|
184
|
+
"wrapResponseMethods": [],
|
|
185
|
+
"generateResponseClasses": true,
|
|
186
|
+
"responseClass": "SwaggerResponse",
|
|
187
|
+
"namespace": "MyNamespace",
|
|
188
|
+
"requiredPropertiesMustBeDefined": true,
|
|
189
|
+
"dateType": "System.DateTime",
|
|
190
|
+
"jsonConverters": null,
|
|
191
|
+
"anyType": "object",
|
|
192
|
+
"dateTimeType": "System.DateTime",
|
|
193
|
+
"timeType": "System.TimeSpan",
|
|
194
|
+
"timeSpanType": "System.TimeSpan",
|
|
195
|
+
"arrayType": "System.Collections.Generic.IEnumerable",
|
|
196
|
+
"arrayInstanceType": "System.Collections.ObjectModel.Collection",
|
|
197
|
+
"dictionaryType": "System.Collections.Generic.Dictionary",
|
|
198
|
+
"dictionaryInstanceType": "System.Collections.Generic.Dictionary",
|
|
199
|
+
"arrayBaseType": "System.Collections.ObjectModel.ObservableCollection",
|
|
200
|
+
"dictionaryBaseType": "System.Collections.Generic.Dictionary",
|
|
201
|
+
"classStyle": "Inpc",
|
|
202
|
+
"jsonLibrary": "NewtonsoftJson",
|
|
203
|
+
"generateDefaultValues": true,
|
|
204
|
+
"generateDataAnnotations": true,
|
|
205
|
+
"excludedTypeNames": [],
|
|
206
|
+
"excludedParameterNames": [],
|
|
207
|
+
"handleReferences": false,
|
|
208
|
+
"generateImmutableArrayProperties": false,
|
|
209
|
+
"generateImmutableDictionaryProperties": false,
|
|
210
|
+
"jsonSerializerSettingsTransformationMethod": null,
|
|
211
|
+
"inlineNamedArrays": false,
|
|
212
|
+
"inlineNamedDictionaries": false,
|
|
213
|
+
"inlineNamedTuples": true,
|
|
214
|
+
"inlineNamedAny": false,
|
|
215
|
+
"generateDtoTypes": true,
|
|
216
|
+
"generateOptionalPropertiesAsNullable": false,
|
|
217
|
+
"generateNullableReferenceTypes": false,
|
|
218
|
+
"templateDirectory": null,
|
|
219
|
+
"typeNameGeneratorType": null,
|
|
220
|
+
"propertyNameGeneratorType": null,
|
|
221
|
+
"enumNameGeneratorType": null,
|
|
222
|
+
"serviceHost": null,
|
|
223
|
+
"serviceSchemes": null,
|
|
224
|
+
"output": null,
|
|
225
|
+
"newLineBehavior": "Auto"
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/package.json
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@phongnt3099/thienphucdental-api",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
|
+
"files": [
|
|
7
|
+
"nswag/**/*"
|
|
8
|
+
],
|
|
9
|
+
"scripts": {
|
|
10
|
+
"ng": "ng",
|
|
11
|
+
"publish": "gulp build && ng build --configuration production",
|
|
12
|
+
"lint": "eslint -c .eslintrc.js --ext .ts src",
|
|
13
|
+
"post-publish": "shx mv ./wwwroot/dist/* ./wwwroot/",
|
|
14
|
+
"publish-k8s": "gulp build && ng build --configuration k8s --verbose",
|
|
15
|
+
"start": "ng serve --host 0.0.0.0 --port 4200",
|
|
16
|
+
"hmr": "gulp buildDev && ng serve --host 0.0.0.0 --port 4200 --hmr",
|
|
17
|
+
"test": "gulp buildDev && ng test",
|
|
18
|
+
"create-dynamic-bundles": "gulp buildDev",
|
|
19
|
+
"nswag": "cd nswag/ && refresh.bat"
|
|
20
|
+
},
|
|
21
|
+
"private": false,
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@angular-eslint/eslint-plugin": "^17.2.1",
|
|
24
|
+
"@angular/animations": "^17.1.2",
|
|
25
|
+
"@angular/cdk": "^17.1.2",
|
|
26
|
+
"@angular/common": "^17.1.2",
|
|
27
|
+
"@angular/compiler": "^17.1.2",
|
|
28
|
+
"@angular/core": "^17.1.2",
|
|
29
|
+
"@angular/forms": "^17.1.2",
|
|
30
|
+
"@angular/platform-browser": "^17.1.2",
|
|
31
|
+
"@angular/platform-browser-dynamic": "^17.1.2",
|
|
32
|
+
"@angular/platform-server": "^17.1.2",
|
|
33
|
+
"@angular/router": "^17.1.2",
|
|
34
|
+
"@awaismirza/angular2-counto": "^0.0.2",
|
|
35
|
+
"@azure/msal-browser": "^3.7.1",
|
|
36
|
+
"@craftsjs/perfect-scrollbar": "^5.1.0",
|
|
37
|
+
"@fullcalendar/angular": "^6.1.20",
|
|
38
|
+
"@fullcalendar/core": "^6.1.9",
|
|
39
|
+
"@fullcalendar/daygrid": "^6.1.20",
|
|
40
|
+
"@fullcalendar/interaction": "^6.1.20",
|
|
41
|
+
"@fullcalendar/timegrid": "^6.1.20",
|
|
42
|
+
"@microsoft/signalr": "^8.0.0",
|
|
43
|
+
"@popperjs/core": "^2.11.8",
|
|
44
|
+
"@swimlane/ngx-charts": "^20.5.0",
|
|
45
|
+
"abp-ng2-module": "^10.0.0",
|
|
46
|
+
"abp-web-resources": "^5.9.1",
|
|
47
|
+
"adal-angular": "^1.0.18",
|
|
48
|
+
"angular-gridster2": "^17.0.0",
|
|
49
|
+
"angular-imask": "^7.1.3",
|
|
50
|
+
"angular-oauth2-oidc": "^17.0.1",
|
|
51
|
+
"animate.css": "^4.1.1",
|
|
52
|
+
"chart.js": "^4.4.0",
|
|
53
|
+
"cookieconsent": "^3.1.1",
|
|
54
|
+
"core-js": "^3.35.1",
|
|
55
|
+
"core-util-is": "^1.0.3",
|
|
56
|
+
"famfamfam-flags": "^1.0.0",
|
|
57
|
+
"js-cookie": "^3.0.5",
|
|
58
|
+
"just-compare": "^2.3.0",
|
|
59
|
+
"localforage": "^1.10.0",
|
|
60
|
+
"lodash-es": "^4.17.21",
|
|
61
|
+
"luxon": "^3.4.4",
|
|
62
|
+
"ng-recaptcha": "^13.2.1",
|
|
63
|
+
"ng2-file-upload": "^5.0.0",
|
|
64
|
+
"ngx-bootstrap": "^12.0.0",
|
|
65
|
+
"ngx-image-cropper": "^7.1.2",
|
|
66
|
+
"ngx-spinner": "^16.0.2",
|
|
67
|
+
"object-path": "^0.11.8",
|
|
68
|
+
"perfect-scrollbar": "^1.5.5",
|
|
69
|
+
"primeicons": "^6.0.1",
|
|
70
|
+
"primeng": "^17.5.0",
|
|
71
|
+
"push.js": "^1.0.12",
|
|
72
|
+
"quill": "^1.3.7",
|
|
73
|
+
"rtl-detect": "^1.1.2",
|
|
74
|
+
"rxjs": "^7.8.1",
|
|
75
|
+
"simple-line-icons": "^2.5.5",
|
|
76
|
+
"sweetalert2": "^11.10.5",
|
|
77
|
+
"tippy.js": "^6.3.7",
|
|
78
|
+
"tslib": "^2.6.2",
|
|
79
|
+
"zone.js": "~0.14.2"
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"@angular-devkit/build-angular": "^17.1.2",
|
|
83
|
+
"@angular/cli": "^17.1.2",
|
|
84
|
+
"@angular/compiler-cli": "^17.1.2",
|
|
85
|
+
"@angularclass/hmr": "^3.0.0",
|
|
86
|
+
"@angularclass/hmr-loader": "^3.0.4",
|
|
87
|
+
"@types/jasmine": "~5.1.2",
|
|
88
|
+
"@types/jasminewd2": "^2.0.13",
|
|
89
|
+
"@types/lodash-es": "^4.17.11",
|
|
90
|
+
"@types/luxon": "^3.4.2",
|
|
91
|
+
"@types/node": "^20.11.16",
|
|
92
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
93
|
+
"@typescript-eslint/parser": "^6.21.0",
|
|
94
|
+
"codelyzer": "^6.0.2",
|
|
95
|
+
"eslint": "^8.54.0",
|
|
96
|
+
"eslint-config-prettier": "^9.0.0",
|
|
97
|
+
"eslint-plugin-import": "^2.29.0",
|
|
98
|
+
"eslint-plugin-prettier": "^5.0.1",
|
|
99
|
+
"globby": "^11.0.4",
|
|
100
|
+
"gulp": "^4.0.2",
|
|
101
|
+
"gulp-clean-css": "^4.3.0",
|
|
102
|
+
"gulp-concat": "^2.6.1",
|
|
103
|
+
"gulp-less": "^5.0.0",
|
|
104
|
+
"gulp-postcss": "^10.0.0",
|
|
105
|
+
"gulp-uglify": "^3.0.2",
|
|
106
|
+
"jasmine-core": "~5.1.1",
|
|
107
|
+
"jasmine-spec-reporter": "~7.0.0",
|
|
108
|
+
"karma": "~6.4.2",
|
|
109
|
+
"karma-chrome-launcher": "~3.2.0",
|
|
110
|
+
"karma-cli": "~2.0.0",
|
|
111
|
+
"karma-coverage-istanbul-reporter": "~3.0.3",
|
|
112
|
+
"karma-jasmine": "~5.1.0",
|
|
113
|
+
"karma-jasmine-html-reporter": "^2.1.0",
|
|
114
|
+
"merge-stream": "^2.0.0",
|
|
115
|
+
"nswag": "^14.0.3",
|
|
116
|
+
"postcss-url": "^10.1.3",
|
|
117
|
+
"prettier": "^3.2.5",
|
|
118
|
+
"shx": "^0.3.4",
|
|
119
|
+
"ts-node": "~10.9.1",
|
|
120
|
+
"typescript": "5.2.2"
|
|
121
|
+
}
|
|
122
|
+
}
|