web-core-tcm 0.0.29 → 0.0.34
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/src/api/algorithm/alova/implement/comprehensiveAlgorithm.d.ts +7 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +31 -0
- package/dist/src/api/algorithm/alova/implement/index.d.ts +5 -0
- package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.d.ts +16 -0
- package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +26 -0
- package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.d.ts +5 -0
- package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +21 -0
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.d.ts +5 -0
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +26 -0
- package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.d.ts +7 -0
- package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +19 -0
- package/dist/src/api/algorithm/alova/index.d.ts +6 -0
- package/dist/src/api/algorithm/alova/index.js +47 -0
- package/dist/src/api/algorithm/comprehensiveAlgorithm.d.ts +11 -4
- package/dist/src/api/algorithm/comprehensiveAlgorithm.js +26 -14
- package/dist/src/api/algorithm/index.d.ts +1 -5
- package/dist/src/api/algorithm/index.js +26 -60
- package/dist/src/api/algorithm/inquiriesAlgorithm.d.ts +20 -13
- package/dist/src/api/algorithm/inquiriesAlgorithm.js +27 -7
- package/dist/src/api/algorithm/inspectionsAlgorithm.d.ts +9 -2
- package/dist/src/api/algorithm/inspectionsAlgorithm.js +18 -8
- package/dist/src/api/algorithm/lisemsAlgorithm.d.ts +9 -2
- package/dist/src/api/algorithm/lisemsAlgorithm.js +16 -11
- package/dist/src/api/algorithm/pulsationsAlgorithm.d.ts +11 -4
- package/dist/src/api/algorithm/pulsationsAlgorithm.js +18 -6
- package/dist/src/api/authorization/alova/globals.d.ts +377 -0
- package/dist/src/api/check/alova/globals.d.ts +1240 -0
- package/dist/src/api/check/alova/index.js +1 -1
- package/dist/src/api/check/check.d.ts +1 -1
- package/dist/src/api/check/check.js +1 -1
- package/dist/src/api/{patient → core}/core.d.ts +7 -2
- package/dist/src/api/{patient → core}/core.js +27 -17
- package/dist/src/api/device/device.d.ts +5 -0
- package/dist/src/api/doctor/alova/globals.d.ts +542 -0
- package/dist/src/api/doctor/alova/index.js +1 -1
- package/dist/src/api/doctor/doctor.d.ts +1 -1
- package/dist/src/api/doctor/doctor.js +1 -1
- package/dist/src/api/oauth/alova/globals.d.ts +443 -0
- package/dist/src/api/outpatient/alova/globals.d.ts +668 -0
- package/dist/src/api/outpatient/alova/implement/outpatient.d.ts +1 -1
- package/dist/src/api/outpatient/alova/index.js +1 -1
- package/dist/src/api/outpatient/outpatient.d.ts +1 -1
- package/dist/src/api/outpatient/outpatient.js +1 -1
- package/dist/src/api/patient/alova/globals.d.ts +1673 -0
- package/dist/src/api/patient/alova/implement/meta.d.ts +1 -1
- package/dist/src/api/patient/alova/implement/meta.js +58 -58
- package/dist/src/api/patient/alova/implement/patient.d.ts +1 -1
- package/dist/src/api/patient/alova/index.js +8 -6
- package/dist/src/api/patient/index.d.ts +1 -1
- package/dist/src/api/patient/index.js +36 -35
- package/dist/src/api/patient/meta.d.ts +1 -1
- package/dist/src/api/patient/meta.js +1 -1
- package/dist/src/api/patient/patient.d.ts +1 -1
- package/dist/src/api/patient/patient.js +1 -1
- package/dist/src/api/prescription/alova/globals.d.ts +951 -0
- package/dist/src/api/prescription/alova/index.js +1 -1
- package/dist/src/api/prescription/herbal.d.ts +1 -1
- package/dist/src/api/prescription/herbal.js +1 -1
- package/dist/src/api/prescription/prescription.d.ts +1 -1
- package/dist/src/api/prescription/prescription.js +1 -1
- package/dist/src/api/scientist/alova/globals.d.ts +430 -0
- package/dist/src/api/scientist/alova/index.js +1 -1
- package/dist/src/api/scientist/scientist.d.ts +1 -1
- package/dist/src/api/scientist/scientist.js +1 -1
- package/dist/src/env.d.ts +7 -0
- package/dist/src/pages/LoginPage.vue.d.ts +2 -0
- package/dist/src/util/s256.d.ts +2 -0
- package/package.json +2 -3
|
@@ -3,7 +3,7 @@ import o from "../../../../node_modules/alova/dist/adapter/fetch.esm.js";
|
|
|
3
3
|
import { createApis as r, mountApis as t, withConfigType as i } from "./createApis.js";
|
|
4
4
|
import { responded as p, onAuthRequired as a } from "../../config/alova/index.js";
|
|
5
5
|
import { getServiceEndpoint as n, ServiceType as s } from "../../config/index.js";
|
|
6
|
-
import "../../
|
|
6
|
+
import "../../core/core.js";
|
|
7
7
|
const c = e({
|
|
8
8
|
baseURL: n(s.Prescription),
|
|
9
9
|
requestAdapter: o(),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NetworkObject as u } from "../
|
|
1
|
+
import { NetworkObject as u } from "../core/core.js";
|
|
2
2
|
import { Builder as f } from "../../../node_modules/builder-pattern/dist/index.js";
|
|
3
3
|
import { Doctor as t } from "../doctor/doctor.js";
|
|
4
4
|
class e extends u {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Herbal } from './herbal';
|
|
2
2
|
import { PrescriptionState } from './alova/globals';
|
|
3
|
-
import { Page, NetworkObject } from '../
|
|
3
|
+
import { Page, NetworkObject } from '../core/core';
|
|
4
4
|
import { IBuilder } from 'builder-pattern';
|
|
5
5
|
import { Doctor } from '../doctor/doctor';
|
|
6
6
|
export declare abstract class Prescription extends NetworkObject {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Herbal as u } from "./herbal.js";
|
|
2
|
-
import { NetworkObject as s } from "../
|
|
2
|
+
import { NetworkObject as s } from "../core/core.js";
|
|
3
3
|
import { Builder as d } from "../../../node_modules/builder-pattern/dist/index.js";
|
|
4
4
|
import { Doctor as i } from "../doctor/doctor.js";
|
|
5
5
|
class a extends s {
|
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
import { Alova, AlovaMethodCreateConfig, AlovaGenerics, Method } from 'alova';
|
|
2
|
+
import { $$userConfigMap, alovaInstance } from './index';
|
|
3
|
+
import { default as apiDefinitions } from './apiDefinitions';
|
|
4
|
+
type CollapsedAlova = typeof alovaInstance;
|
|
5
|
+
type UserMethodConfigMap = typeof $$userConfigMap;
|
|
6
|
+
|
|
7
|
+
type Alova2MethodConfig<Responded> =
|
|
8
|
+
CollapsedAlova extends Alova<
|
|
9
|
+
AlovaGenerics<
|
|
10
|
+
any,
|
|
11
|
+
any,
|
|
12
|
+
infer RequestConfig,
|
|
13
|
+
infer Response,
|
|
14
|
+
infer ResponseHeader,
|
|
15
|
+
infer L1Cache,
|
|
16
|
+
infer L2Cache,
|
|
17
|
+
infer SE
|
|
18
|
+
>
|
|
19
|
+
>
|
|
20
|
+
? Omit<
|
|
21
|
+
AlovaMethodCreateConfig<
|
|
22
|
+
AlovaGenerics<
|
|
23
|
+
Responded,
|
|
24
|
+
any,
|
|
25
|
+
RequestConfig,
|
|
26
|
+
Response,
|
|
27
|
+
ResponseHeader,
|
|
28
|
+
L1Cache,
|
|
29
|
+
L2Cache,
|
|
30
|
+
SE
|
|
31
|
+
>,
|
|
32
|
+
any,
|
|
33
|
+
Responded
|
|
34
|
+
>,
|
|
35
|
+
'params'
|
|
36
|
+
>
|
|
37
|
+
: never;
|
|
38
|
+
|
|
39
|
+
// Extract the return type of transform function that define in $$userConfigMap, if it not exists, use the default type.
|
|
40
|
+
type ExtractUserDefinedTransformed<
|
|
41
|
+
DefinitionKey extends keyof typeof apiDefinitions,
|
|
42
|
+
Default,
|
|
43
|
+
> = DefinitionKey extends keyof UserMethodConfigMap
|
|
44
|
+
? UserMethodConfigMap[DefinitionKey]['transform'] extends (...args: any[]) => any
|
|
45
|
+
? Awaited<ReturnType<UserMethodConfigMap[DefinitionKey]['transform']>>
|
|
46
|
+
: Default
|
|
47
|
+
: Default;
|
|
48
|
+
type Alova2Method<
|
|
49
|
+
Responded,
|
|
50
|
+
DefinitionKey extends keyof typeof apiDefinitions,
|
|
51
|
+
CurrentConfig extends Alova2MethodConfig<any>,
|
|
52
|
+
> =
|
|
53
|
+
CollapsedAlova extends Alova<
|
|
54
|
+
AlovaGenerics<
|
|
55
|
+
any,
|
|
56
|
+
any,
|
|
57
|
+
infer RequestConfig,
|
|
58
|
+
infer Response,
|
|
59
|
+
infer ResponseHeader,
|
|
60
|
+
infer L1Cache,
|
|
61
|
+
infer L2Cache,
|
|
62
|
+
infer SE
|
|
63
|
+
>
|
|
64
|
+
>
|
|
65
|
+
? Method<
|
|
66
|
+
AlovaGenerics<
|
|
67
|
+
CurrentConfig extends undefined
|
|
68
|
+
? ExtractUserDefinedTransformed<DefinitionKey, Responded>
|
|
69
|
+
: CurrentConfig['transform'] extends (...args: any[]) => any
|
|
70
|
+
? Awaited<ReturnType<CurrentConfig['transform']>>
|
|
71
|
+
: ExtractUserDefinedTransformed<DefinitionKey, Responded>,
|
|
72
|
+
any,
|
|
73
|
+
RequestConfig,
|
|
74
|
+
Response,
|
|
75
|
+
ResponseHeader,
|
|
76
|
+
L1Cache,
|
|
77
|
+
L2Cache,
|
|
78
|
+
SE
|
|
79
|
+
>
|
|
80
|
+
>
|
|
81
|
+
: never;
|
|
82
|
+
|
|
83
|
+
export interface ScientistState {
|
|
84
|
+
id?: string;
|
|
85
|
+
name?: string;
|
|
86
|
+
createdTimestamp?: string;
|
|
87
|
+
updatedTimestamp?: string;
|
|
88
|
+
identityNumber?: string;
|
|
89
|
+
gender?: string;
|
|
90
|
+
phoneNumber?: string;
|
|
91
|
+
birthdate?: string;
|
|
92
|
+
}
|
|
93
|
+
export interface SortObject {
|
|
94
|
+
empty?: boolean;
|
|
95
|
+
sorted?: boolean;
|
|
96
|
+
unsorted?: boolean;
|
|
97
|
+
}
|
|
98
|
+
export interface PageableObject {
|
|
99
|
+
offset?: number;
|
|
100
|
+
sort?: SortObject;
|
|
101
|
+
pageSize?: number;
|
|
102
|
+
paged?: boolean;
|
|
103
|
+
pageNumber?: number;
|
|
104
|
+
unpaged?: boolean;
|
|
105
|
+
}
|
|
106
|
+
export interface PageScientistState {
|
|
107
|
+
totalPages?: number;
|
|
108
|
+
totalElements?: number;
|
|
109
|
+
size?: number;
|
|
110
|
+
content?: ScientistState[];
|
|
111
|
+
number?: number;
|
|
112
|
+
sort?: SortObject;
|
|
113
|
+
numberOfElements?: number;
|
|
114
|
+
pageable?: PageableObject;
|
|
115
|
+
first?: boolean;
|
|
116
|
+
last?: boolean;
|
|
117
|
+
empty?: boolean;
|
|
118
|
+
}
|
|
119
|
+
declare global {
|
|
120
|
+
interface scientistApi {
|
|
121
|
+
scientistStateRestful: {
|
|
122
|
+
/**
|
|
123
|
+
* ---
|
|
124
|
+
*
|
|
125
|
+
* [GET]
|
|
126
|
+
*
|
|
127
|
+
* **path:** /科研/服务/{id}
|
|
128
|
+
*
|
|
129
|
+
* ---
|
|
130
|
+
*
|
|
131
|
+
* **Path Parameters**
|
|
132
|
+
* ```ts
|
|
133
|
+
* type PathParameters = {
|
|
134
|
+
* id: string
|
|
135
|
+
* }
|
|
136
|
+
* ```
|
|
137
|
+
*
|
|
138
|
+
* ---
|
|
139
|
+
*
|
|
140
|
+
* **Response**
|
|
141
|
+
* ```ts
|
|
142
|
+
* type Response = {
|
|
143
|
+
* id?: string
|
|
144
|
+
* name?: string
|
|
145
|
+
* createdTimestamp?: string
|
|
146
|
+
* updatedTimestamp?: string
|
|
147
|
+
* identityNumber?: string
|
|
148
|
+
* gender?: string
|
|
149
|
+
* phoneNumber?: string
|
|
150
|
+
* birthdate?: string
|
|
151
|
+
* }
|
|
152
|
+
* ```
|
|
153
|
+
*/
|
|
154
|
+
getScientistState<
|
|
155
|
+
Config extends Alova2MethodConfig<ScientistState> & {
|
|
156
|
+
pathParams: {
|
|
157
|
+
id: string;
|
|
158
|
+
};
|
|
159
|
+
},
|
|
160
|
+
>(
|
|
161
|
+
config: Config,
|
|
162
|
+
): Alova2Method<ScientistState, 'scientistStateRestful.getScientistState', Config>;
|
|
163
|
+
/**
|
|
164
|
+
* ---
|
|
165
|
+
*
|
|
166
|
+
* [PUT]
|
|
167
|
+
*
|
|
168
|
+
* **path:** /科研/服务/{id}
|
|
169
|
+
*
|
|
170
|
+
* ---
|
|
171
|
+
*
|
|
172
|
+
* **Path Parameters**
|
|
173
|
+
* ```ts
|
|
174
|
+
* type PathParameters = {
|
|
175
|
+
* id: string
|
|
176
|
+
* }
|
|
177
|
+
* ```
|
|
178
|
+
*
|
|
179
|
+
* ---
|
|
180
|
+
*
|
|
181
|
+
* **RequestBody**
|
|
182
|
+
* ```ts
|
|
183
|
+
* type RequestBody = {
|
|
184
|
+
* id?: string
|
|
185
|
+
* name?: string
|
|
186
|
+
* createdTimestamp?: string
|
|
187
|
+
* updatedTimestamp?: string
|
|
188
|
+
* identityNumber?: string
|
|
189
|
+
* gender?: string
|
|
190
|
+
* phoneNumber?: string
|
|
191
|
+
* birthdate?: string
|
|
192
|
+
* }
|
|
193
|
+
* ```
|
|
194
|
+
*
|
|
195
|
+
* ---
|
|
196
|
+
*
|
|
197
|
+
* **Response**
|
|
198
|
+
* ```ts
|
|
199
|
+
* type Response = {
|
|
200
|
+
* id?: string
|
|
201
|
+
* name?: string
|
|
202
|
+
* createdTimestamp?: string
|
|
203
|
+
* updatedTimestamp?: string
|
|
204
|
+
* identityNumber?: string
|
|
205
|
+
* gender?: string
|
|
206
|
+
* phoneNumber?: string
|
|
207
|
+
* birthdate?: string
|
|
208
|
+
* }
|
|
209
|
+
* ```
|
|
210
|
+
*/
|
|
211
|
+
putScientistState<
|
|
212
|
+
Config extends Alova2MethodConfig<ScientistState> & {
|
|
213
|
+
pathParams: {
|
|
214
|
+
id: string;
|
|
215
|
+
};
|
|
216
|
+
data: ScientistState;
|
|
217
|
+
},
|
|
218
|
+
>(
|
|
219
|
+
config: Config,
|
|
220
|
+
): Alova2Method<ScientistState, 'scientistStateRestful.putScientistState', Config>;
|
|
221
|
+
/**
|
|
222
|
+
* ---
|
|
223
|
+
*
|
|
224
|
+
* [DELETE]
|
|
225
|
+
*
|
|
226
|
+
* **path:** /科研/服务/{id}
|
|
227
|
+
*
|
|
228
|
+
* ---
|
|
229
|
+
*
|
|
230
|
+
* **Path Parameters**
|
|
231
|
+
* ```ts
|
|
232
|
+
* type PathParameters = {
|
|
233
|
+
* id: string
|
|
234
|
+
* }
|
|
235
|
+
* ```
|
|
236
|
+
*
|
|
237
|
+
* ---
|
|
238
|
+
*
|
|
239
|
+
* **Response**
|
|
240
|
+
* ```ts
|
|
241
|
+
* type Response = null
|
|
242
|
+
* ```
|
|
243
|
+
*/
|
|
244
|
+
deleteScientistState<
|
|
245
|
+
Config extends Alova2MethodConfig<null> & {
|
|
246
|
+
pathParams: {
|
|
247
|
+
id: string;
|
|
248
|
+
};
|
|
249
|
+
},
|
|
250
|
+
>(
|
|
251
|
+
config: Config,
|
|
252
|
+
): Alova2Method<null, 'scientistStateRestful.deleteScientistState', Config>;
|
|
253
|
+
/**
|
|
254
|
+
* ---
|
|
255
|
+
*
|
|
256
|
+
* [GET]
|
|
257
|
+
*
|
|
258
|
+
* **path:** /科研/服务
|
|
259
|
+
*
|
|
260
|
+
* ---
|
|
261
|
+
*
|
|
262
|
+
* **Query Parameters**
|
|
263
|
+
* ```ts
|
|
264
|
+
* type QueryParameters = {
|
|
265
|
+
* name?: string
|
|
266
|
+
* phoneNumber?: string
|
|
267
|
+
* pageSize: number
|
|
268
|
+
* page: number
|
|
269
|
+
* }
|
|
270
|
+
* ```
|
|
271
|
+
*
|
|
272
|
+
* ---
|
|
273
|
+
*
|
|
274
|
+
* **Response**
|
|
275
|
+
* ```ts
|
|
276
|
+
* type Response = {
|
|
277
|
+
* totalPages?: number
|
|
278
|
+
* totalElements?: number
|
|
279
|
+
* size?: number
|
|
280
|
+
* // [items] start
|
|
281
|
+
* // [items] end
|
|
282
|
+
* content?: Array<{
|
|
283
|
+
* id?: string
|
|
284
|
+
* name?: string
|
|
285
|
+
* createdTimestamp?: string
|
|
286
|
+
* updatedTimestamp?: string
|
|
287
|
+
* identityNumber?: string
|
|
288
|
+
* gender?: string
|
|
289
|
+
* phoneNumber?: string
|
|
290
|
+
* birthdate?: string
|
|
291
|
+
* }>
|
|
292
|
+
* number?: number
|
|
293
|
+
* sort?: {
|
|
294
|
+
* empty?: boolean
|
|
295
|
+
* sorted?: boolean
|
|
296
|
+
* unsorted?: boolean
|
|
297
|
+
* }
|
|
298
|
+
* numberOfElements?: number
|
|
299
|
+
* pageable?: {
|
|
300
|
+
* offset?: number
|
|
301
|
+
* sort?: {
|
|
302
|
+
* empty?: boolean
|
|
303
|
+
* sorted?: boolean
|
|
304
|
+
* unsorted?: boolean
|
|
305
|
+
* }
|
|
306
|
+
* pageSize?: number
|
|
307
|
+
* paged?: boolean
|
|
308
|
+
* pageNumber?: number
|
|
309
|
+
* unpaged?: boolean
|
|
310
|
+
* }
|
|
311
|
+
* first?: boolean
|
|
312
|
+
* last?: boolean
|
|
313
|
+
* empty?: boolean
|
|
314
|
+
* }
|
|
315
|
+
* ```
|
|
316
|
+
*/
|
|
317
|
+
queryScientistState<
|
|
318
|
+
Config extends Alova2MethodConfig<PageScientistState> & {
|
|
319
|
+
params: {
|
|
320
|
+
name?: string;
|
|
321
|
+
phoneNumber?: string;
|
|
322
|
+
pageSize: number;
|
|
323
|
+
page: number;
|
|
324
|
+
};
|
|
325
|
+
},
|
|
326
|
+
>(
|
|
327
|
+
config: Config,
|
|
328
|
+
): Alova2Method<PageScientistState, 'scientistStateRestful.queryScientistState', Config>;
|
|
329
|
+
/**
|
|
330
|
+
* ---
|
|
331
|
+
*
|
|
332
|
+
* [POST]
|
|
333
|
+
*
|
|
334
|
+
* **path:** /科研/服务
|
|
335
|
+
*
|
|
336
|
+
* ---
|
|
337
|
+
*
|
|
338
|
+
* **RequestBody**
|
|
339
|
+
* ```ts
|
|
340
|
+
* type RequestBody = {
|
|
341
|
+
* id?: string
|
|
342
|
+
* name?: string
|
|
343
|
+
* createdTimestamp?: string
|
|
344
|
+
* updatedTimestamp?: string
|
|
345
|
+
* identityNumber?: string
|
|
346
|
+
* gender?: string
|
|
347
|
+
* phoneNumber?: string
|
|
348
|
+
* birthdate?: string
|
|
349
|
+
* }
|
|
350
|
+
* ```
|
|
351
|
+
*
|
|
352
|
+
* ---
|
|
353
|
+
*
|
|
354
|
+
* **Response**
|
|
355
|
+
* ```ts
|
|
356
|
+
* type Response = {
|
|
357
|
+
* id?: string
|
|
358
|
+
* name?: string
|
|
359
|
+
* createdTimestamp?: string
|
|
360
|
+
* updatedTimestamp?: string
|
|
361
|
+
* identityNumber?: string
|
|
362
|
+
* gender?: string
|
|
363
|
+
* phoneNumber?: string
|
|
364
|
+
* birthdate?: string
|
|
365
|
+
* }
|
|
366
|
+
* ```
|
|
367
|
+
*/
|
|
368
|
+
postScientistState<
|
|
369
|
+
Config extends Alova2MethodConfig<ScientistState> & {
|
|
370
|
+
data: ScientistState;
|
|
371
|
+
},
|
|
372
|
+
>(
|
|
373
|
+
config: Config,
|
|
374
|
+
): Alova2Method<ScientistState, 'scientistStateRestful.postScientistState', Config>;
|
|
375
|
+
/**
|
|
376
|
+
* ---
|
|
377
|
+
*
|
|
378
|
+
* [GET]
|
|
379
|
+
*
|
|
380
|
+
* **path:** /科研/服务/统计/科研/日期
|
|
381
|
+
*
|
|
382
|
+
* ---
|
|
383
|
+
*
|
|
384
|
+
* **Response**
|
|
385
|
+
* ```ts
|
|
386
|
+
* type Response = null[][]
|
|
387
|
+
* ```
|
|
388
|
+
*/
|
|
389
|
+
datesOfScientist<Config extends Alova2MethodConfig<null[][]>>(
|
|
390
|
+
config?: Config,
|
|
391
|
+
): Alova2Method<null[][], 'scientistStateRestful.datesOfScientist', Config>;
|
|
392
|
+
/**
|
|
393
|
+
* ---
|
|
394
|
+
*
|
|
395
|
+
* [GET]
|
|
396
|
+
*
|
|
397
|
+
* **path:** /科研/服务/统计/科研/总数
|
|
398
|
+
*
|
|
399
|
+
* ---
|
|
400
|
+
*
|
|
401
|
+
* **Response**
|
|
402
|
+
* ```ts
|
|
403
|
+
* type Response = number
|
|
404
|
+
* ```
|
|
405
|
+
*/
|
|
406
|
+
totalOfScientist<Config extends Alova2MethodConfig<number>>(
|
|
407
|
+
config?: Config,
|
|
408
|
+
): Alova2Method<number, 'scientistStateRestful.totalOfScientist', Config>;
|
|
409
|
+
/**
|
|
410
|
+
* ---
|
|
411
|
+
*
|
|
412
|
+
* [GET]
|
|
413
|
+
*
|
|
414
|
+
* **path:** /科研/服务/统计/科研/今日
|
|
415
|
+
*
|
|
416
|
+
* ---
|
|
417
|
+
*
|
|
418
|
+
* **Response**
|
|
419
|
+
* ```ts
|
|
420
|
+
* type Response = number
|
|
421
|
+
* ```
|
|
422
|
+
*/
|
|
423
|
+
todayOfScientistByToday<Config extends Alova2MethodConfig<number>>(
|
|
424
|
+
config?: Config,
|
|
425
|
+
): Alova2Method<number, 'scientistStateRestful.todayOfScientistByToday', Config>;
|
|
426
|
+
};
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
var scientistApi: scientistApi;
|
|
430
|
+
}
|
|
@@ -3,7 +3,7 @@ import t from "../../../../node_modules/alova/dist/adapter/fetch.esm.js";
|
|
|
3
3
|
import { createApis as o, mountApis as r, withConfigType as i } from "./createApis.js";
|
|
4
4
|
import { responded as p, onAuthRequired as a } from "../../config/alova/index.js";
|
|
5
5
|
import { getServiceEndpoint as n, ServiceType as s } from "../../config/index.js";
|
|
6
|
-
import "../../
|
|
6
|
+
import "../../core/core.js";
|
|
7
7
|
import "../../../../node_modules/pinyin/lib/esm/pinyin.js";
|
|
8
8
|
const m = e({
|
|
9
9
|
baseURL: n(s.Scientist),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NetworkObject as t } from "../
|
|
1
|
+
import { NetworkObject as t } from "../core/core.js";
|
|
2
2
|
import { Builder as i } from "../../../node_modules/builder-pattern/dist/index.js";
|
|
3
3
|
import { getName as d } from "../../util/string.js";
|
|
4
4
|
class p extends t {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "web-core-tcm",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.34",
|
|
4
4
|
"description": "Core",
|
|
5
5
|
"productName": "Core",
|
|
6
6
|
"author": "wywywywywywywywywy <qa123456_0714@qq.com>",
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
"dev": "quasar dev",
|
|
13
13
|
"build": "quasar build",
|
|
14
14
|
"postinstall": "quasar prepare",
|
|
15
|
-
"lint:fix": "eslint --fix"
|
|
16
|
-
"postbuild": "powershell -Command \"Get-ChildItem -Path 'src/api' -Recurse -Filter 'globals.d.ts' | ForEach-Object { $destPath = Join-Path 'dist/src' ($_.FullName.Substring((Get-Location).Path.Length + 5)); $destDir = Split-Path $destPath -Parent; if (!(Test-Path $destDir)) { New-Item -ItemType Directory -Path $destDir -Force | Out-Null }; Copy-Item -Path $_.FullName -Destination $destPath -Force }\""
|
|
15
|
+
"lint:fix": "eslint --fix"
|
|
17
16
|
},
|
|
18
17
|
"dependencies": {
|
|
19
18
|
"@alova/adapter-axios": "^1.2.6",
|