web-core-tcm 0.0.63 → 0.0.65
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/authorization/alova/createApis.js +1 -7
- package/dist/src/api/authorization/alova/globals.d.ts +331 -250
- package/dist/src/api/authorization/alova/index.d.ts +2 -1
- package/dist/src/api/authorization/alova/index.js +13 -13
- package/dist/src/api/authorization/index.js +4 -3
- package/dist/src/api/check/alova/createApis.js +1 -7
- package/dist/src/api/check/alova/globals.d.ts +1227 -1126
- package/dist/src/api/check/alova/index.d.ts +2 -1
- package/dist/src/api/check/alova/index.js +10 -10
- package/dist/src/api/check/index.js +10 -9
- package/dist/src/api/config/index.d.ts +1 -0
- package/dist/src/api/config/index.js +15 -9
- package/dist/src/api/doctor/alova/createApis.js +1 -7
- package/dist/src/api/doctor/alova/globals.d.ts +510 -419
- package/dist/src/api/doctor/alova/index.d.ts +2 -1
- package/dist/src/api/doctor/alova/index.js +13 -13
- package/dist/src/api/doctor/index.js +7 -6
- package/dist/src/api/index.d.ts +1 -0
- package/dist/src/api/index.js +2 -0
- package/dist/src/api/manager/alova/apiDefinitions.d.ts +62 -0
- package/dist/src/api/manager/alova/apiDefinitions.js +50 -0
- package/dist/src/api/manager/alova/createApis.d.ts +10 -0
- package/dist/src/api/manager/alova/createApis.js +49 -0
- package/dist/src/api/manager/alova/globals.d.ts +4890 -0
- package/dist/src/api/manager/alova/implement/department.d.ts +7 -0
- package/dist/src/api/manager/alova/implement/department.js +44 -0
- package/dist/src/api/manager/alova/implement/division.d.ts +7 -0
- package/dist/src/api/manager/alova/implement/division.js +44 -0
- package/dist/src/api/manager/alova/implement/hospital.d.ts +7 -0
- package/dist/src/api/manager/alova/implement/hospital.js +44 -0
- package/dist/src/api/manager/alova/implement/index.d.ts +3 -0
- package/dist/src/api/manager/alova/implement/index.js +8 -0
- package/dist/src/api/manager/alova/index.d.ts +7 -0
- package/dist/src/api/manager/alova/index.js +20 -0
- package/dist/src/api/manager/department.d.ts +30 -0
- package/dist/src/api/manager/department.js +35 -0
- package/dist/src/api/manager/division.d.ts +30 -0
- package/dist/src/api/manager/division.js +34 -0
- package/dist/src/api/manager/hospital.d.ts +32 -0
- package/dist/src/api/manager/hospital.js +36 -0
- package/dist/src/api/manager/index.d.ts +4 -0
- package/dist/src/api/manager/index.js +18 -0
- package/dist/src/api/oauth/alova/createApis.js +1 -7
- package/dist/src/api/oauth/alova/globals.d.ts +403 -312
- package/dist/src/api/oauth/alova/index.d.ts +2 -1
- package/dist/src/api/oauth/alova/index.js +12 -12
- package/dist/src/api/oauth/index.js +6 -5
- package/dist/src/api/outpatient/alova/createApis.js +1 -7
- package/dist/src/api/outpatient/alova/globals.d.ts +634 -543
- package/dist/src/api/outpatient/alova/index.d.ts +2 -1
- package/dist/src/api/outpatient/alova/index.js +13 -13
- package/dist/src/api/outpatient/index.js +10 -9
- package/dist/src/api/patient/alova/createApis.js +1 -7
- package/dist/src/api/patient/alova/globals.d.ts +1627 -1480
- package/dist/src/api/patient/alova/index.d.ts +2 -1
- package/dist/src/api/patient/alova/index.js +13 -13
- package/dist/src/api/patient/index.js +27 -26
- package/dist/src/api/prescription/alova/apiDefinitions.d.ts +1 -0
- package/dist/src/api/prescription/alova/apiDefinitions.js +1 -0
- package/dist/src/api/prescription/alova/createApis.js +1 -7
- package/dist/src/api/prescription/alova/globals.d.ts +959 -812
- package/dist/src/api/prescription/alova/index.d.ts +2 -1
- package/dist/src/api/prescription/alova/index.js +6 -6
- package/dist/src/api/prescription/index.js +12 -11
- package/dist/src/api/scientist/alova/createApis.js +1 -7
- package/dist/src/api/scientist/alova/globals.d.ts +406 -315
- package/dist/src/api/scientist/alova/index.d.ts +2 -1
- package/dist/src/api/scientist/alova/index.js +10 -10
- package/dist/src/api/scientist/index.js +8 -7
- package/dist/src/index.js +42 -40
- package/package.json +1 -1
- package/dist/src/api/authorization/alova/globals.js +0 -1
- package/dist/src/api/check/alova/globals.js +0 -1
- package/dist/src/api/doctor/alova/globals.js +0 -1
- package/dist/src/api/oauth/alova/globals.js +0 -1
- package/dist/src/api/outpatient/alova/globals.js +0 -1
- package/dist/src/api/patient/alova/globals.js +0 -1
- package/dist/src/api/prescription/alova/globals.js +0 -1
- package/dist/src/api/scientist/alova/globals.js +0 -1
|
@@ -2,5 +2,6 @@ export declare const alovaInstance: import('alova').Alova<import('alova').AlovaG
|
|
|
2
2
|
export declare const $$userConfigMap: {};
|
|
3
3
|
declare const Apis: patientApi;
|
|
4
4
|
export * from './implement';
|
|
5
|
-
export * from './globals';
|
|
5
|
+
export type * from './globals';
|
|
6
|
+
export { alovaInstance as patientAlovaInstance };
|
|
6
7
|
export default Apis;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { createAlova as e } from "../../../../node_modules/alova/dist/alova.esm.js";
|
|
2
2
|
import t from "../../../../node_modules/alova/dist/adapter/fetch.esm.js";
|
|
3
|
-
import { withConfigType as o, createApis as r, mountApis as
|
|
4
|
-
import { responded as
|
|
5
|
-
import { getServiceEndpoint as n, ServiceType as
|
|
3
|
+
import { withConfigType as o, createApis as r, mountApis as a } from "./createApis.js";
|
|
4
|
+
import { responded as i, onAuthRequired as p } from "../../config/alova/index.js";
|
|
5
|
+
import { getServiceEndpoint as n, ServiceType as s } from "../../config/index.js";
|
|
6
6
|
import "./implement/index.js";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
baseURL: n(m.Patient),
|
|
7
|
+
const c = e({
|
|
8
|
+
baseURL: n(s.Patient),
|
|
10
9
|
requestAdapter: t(),
|
|
11
|
-
beforeRequest:
|
|
10
|
+
beforeRequest: p(() => {
|
|
12
11
|
}),
|
|
13
12
|
cacheFor: null,
|
|
14
|
-
responded:
|
|
15
|
-
}),
|
|
16
|
-
|
|
13
|
+
responded: i
|
|
14
|
+
}), m = o({}), f = r(c, m);
|
|
15
|
+
a(f);
|
|
17
16
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
f as default
|
|
17
|
+
m as $$userConfigMap,
|
|
18
|
+
c as alovaInstance,
|
|
19
|
+
f as default,
|
|
20
|
+
c as patientAlovaInstance
|
|
21
21
|
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { Annotation as t, BaseObject as o, NetworkObject as M, Page as n, Sequence as l, Tag as p } from "../core/core.js";
|
|
2
|
-
import { AppendixMeta as
|
|
2
|
+
import { AppendixMeta as A, ComplaintMeta as r, ECGMeta as i, FaceMeta as s, ImageMeta as c, ImagesMeta as P, Meta as m, MetaSequence as x, MetaType as f, MetaTypeConfig as g, MetaTypeMap as C, Metas as u, PCGMeta as T, PPGMeta as G, PulsationMeta as I, SceneMeta as S, TextMeta as y, TongueMeta as b, WavesMeta as d } from "./meta.js";
|
|
3
3
|
import { Patient as q } from "./patient.js";
|
|
4
|
-
import { $$userConfigMap as F, alovaInstance as O } from "./alova/index.js";
|
|
5
|
-
import { AlovaAppendixMeta as
|
|
6
|
-
import { AlovaPatient as
|
|
4
|
+
import { $$userConfigMap as F, alovaInstance as O, alovaInstance as $ } from "./alova/index.js";
|
|
5
|
+
import { AlovaAppendixMeta as w, AlovaComplaintMeta as B, AlovaECGMeta as N, AlovaFaceMeta as W, AlovaMeta as h, AlovaMetas as z, AlovaPCGMeta as D, AlovaPPGMeta as H, AlovaPulsationMeta as J, AlovaSceneMeta as K, AlovaTongueMeta as L } from "./alova/implement/meta.js";
|
|
6
|
+
import { AlovaPatient as R } from "./alova/implement/patient.js";
|
|
7
7
|
export {
|
|
8
8
|
F as $$userConfigMap,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
9
|
+
w as AlovaAppendixMeta,
|
|
10
|
+
B as AlovaComplaintMeta,
|
|
11
|
+
N as AlovaECGMeta,
|
|
12
|
+
W as AlovaFaceMeta,
|
|
13
|
+
h as AlovaMeta,
|
|
14
|
+
z as AlovaMetas,
|
|
15
|
+
D as AlovaPCGMeta,
|
|
16
|
+
H as AlovaPPGMeta,
|
|
17
|
+
R as AlovaPatient,
|
|
18
|
+
J as AlovaPulsationMeta,
|
|
19
|
+
K as AlovaSceneMeta,
|
|
20
|
+
L as AlovaTongueMeta,
|
|
21
21
|
t as Annotation,
|
|
22
|
-
|
|
22
|
+
A as AppendixMeta,
|
|
23
23
|
o as BaseObject,
|
|
24
|
-
|
|
24
|
+
r as ComplaintMeta,
|
|
25
25
|
i as ECGMeta,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
s as FaceMeta,
|
|
27
|
+
c as ImageMeta,
|
|
28
|
+
P as ImagesMeta,
|
|
29
|
+
m as Meta,
|
|
30
30
|
x as MetaSequence,
|
|
31
31
|
f as MetaType,
|
|
32
32
|
g as MetaTypeConfig,
|
|
@@ -37,12 +37,13 @@ export {
|
|
|
37
37
|
G as PPGMeta,
|
|
38
38
|
n as Page,
|
|
39
39
|
q as Patient,
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
I as PulsationMeta,
|
|
41
|
+
S as SceneMeta,
|
|
42
42
|
l as Sequence,
|
|
43
43
|
p as Tag,
|
|
44
|
-
|
|
44
|
+
y as TextMeta,
|
|
45
45
|
b as TongueMeta,
|
|
46
46
|
d as WavesMeta,
|
|
47
|
-
O as alovaInstance
|
|
47
|
+
O as alovaInstance,
|
|
48
|
+
$ as patientAlovaInstance
|
|
48
49
|
};
|
|
@@ -22,6 +22,7 @@ declare const _default: {
|
|
|
22
22
|
'herbalRestful.postHerbalState': string[];
|
|
23
23
|
'prescriptionRestful.postPrescriptionState': string[];
|
|
24
24
|
'prescriptionRestful.queryPrescriptionState': string[];
|
|
25
|
+
'prescriptionRestful.initPrescriptions': string[];
|
|
25
26
|
'herbalRestful.queryHerbalState': string[];
|
|
26
27
|
};
|
|
27
28
|
export default _default;
|
|
@@ -8,6 +8,7 @@ const e = {
|
|
|
8
8
|
"herbalRestful.postHerbalState": ["POST", "/药材/服务"],
|
|
9
9
|
"prescriptionRestful.postPrescriptionState": ["POST", "/药材/服务/药方"],
|
|
10
10
|
"prescriptionRestful.queryPrescriptionState": ["POST", "/药材/服务/药方/条件查询"],
|
|
11
|
+
"prescriptionRestful.initPrescriptions": ["POST", "/药材/服务/药方/初始化药方库"],
|
|
11
12
|
"herbalRestful.queryHerbalState": ["POST", "/药材/服务/条件查询"]
|
|
12
13
|
};
|
|
13
14
|
export {
|
|
@@ -31,13 +31,7 @@ const l = /* @__PURE__ */ Object.create(null), d = (e, a, c) => {
|
|
|
31
31
|
n.append(r, t[r]), t[r] instanceof Blob && (p = !0);
|
|
32
32
|
t = p ? n : t;
|
|
33
33
|
}
|
|
34
|
-
return new g(
|
|
35
|
-
P.toUpperCase(),
|
|
36
|
-
a,
|
|
37
|
-
A,
|
|
38
|
-
s,
|
|
39
|
-
t
|
|
40
|
-
);
|
|
34
|
+
return new g(P.toUpperCase(), a, A, s, t);
|
|
41
35
|
}
|
|
42
36
|
});
|
|
43
37
|
return l[o] = i, i;
|