web-core-tcm 0.0.74 → 0.0.76
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/globals.d.ts +1 -1
- package/dist/src/api/index.d.ts +1 -0
- package/dist/src/api/index.js +11 -9
- package/dist/src/api/prescription/alova/implement/herbal.d.ts +2 -2
- package/dist/src/api/prescription/alova/implement/prescription.d.ts +2 -2
- package/dist/src/api/prescription/herbal.d.ts +3 -3
- package/dist/src/api/prescription/herbal.js +2 -1
- package/dist/src/api/prescription/prescription.d.ts +3 -3
- package/dist/src/api/prescription/prescription.js +1 -1
- package/dist/src/api/user/alova/index.js +7 -7
- package/dist/src/api/user/index.js +6 -4
- package/dist/src/index.js +32 -30
- package/package.json +1 -1
package/dist/src/api/index.d.ts
CHANGED
package/dist/src/api/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i from "./algorithm/index.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as r from "./authorization/index.js";
|
|
3
|
+
import * as o from "./check/index.js";
|
|
4
4
|
import * as p from "./config/index.js";
|
|
5
5
|
import * as t from "./doctor/index.js";
|
|
6
6
|
import * as e from "./metric/index.js";
|
|
@@ -10,21 +10,23 @@ import * as m from "./patient/index.js";
|
|
|
10
10
|
import * as x from "./prescription/index.js";
|
|
11
11
|
import * as n from "./scientist/index.js";
|
|
12
12
|
import * as A from "./device/device.js";
|
|
13
|
-
import * as
|
|
14
|
-
import * as
|
|
13
|
+
import * as d from "./core/index.js";
|
|
14
|
+
import * as f from "./manager/index.js";
|
|
15
|
+
import * as $ from "./user/index.js";
|
|
15
16
|
export {
|
|
16
17
|
i as AlgorithmApi,
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
r as AuthorizationApi,
|
|
19
|
+
o as CheckApi,
|
|
19
20
|
p as ConfigApi,
|
|
20
|
-
|
|
21
|
+
d as CoreApi,
|
|
21
22
|
A as DeviceApi,
|
|
22
23
|
t as DoctorApi,
|
|
23
|
-
|
|
24
|
+
f as ManagerApi,
|
|
24
25
|
e as MetricApi,
|
|
25
26
|
a as OAuthApi,
|
|
26
27
|
s as OutPatientApi,
|
|
27
28
|
m as PatientApi,
|
|
28
29
|
x as PrescriptionApi,
|
|
29
|
-
n as ScientistApi
|
|
30
|
+
n as ScientistApi,
|
|
31
|
+
$ as UserApi
|
|
30
32
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Herbal } from '../../herbal';
|
|
2
|
-
import {
|
|
2
|
+
import { User } from '../../../user/user';
|
|
3
3
|
export declare class AlovaHerbal extends Herbal {
|
|
4
|
-
static query(page?: number, pageSize?: number, owner?:
|
|
4
|
+
static query(page?: number, pageSize?: number, owner?: User, name?: string, price?: number): Promise<{
|
|
5
5
|
data: Herbal[];
|
|
6
6
|
total: number;
|
|
7
7
|
page: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Prescription } from '../../prescription';
|
|
2
|
-
import {
|
|
2
|
+
import { User } from '../../../user/user';
|
|
3
3
|
export declare class AlovaPrescription extends Prescription {
|
|
4
|
-
static query(page?: number, pageSize?: number, owner?:
|
|
4
|
+
static query(page?: number, pageSize?: number, owner?: User, name?: string): Promise<{
|
|
5
5
|
data: AlovaPrescription[];
|
|
6
6
|
total: number;
|
|
7
7
|
page: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Page, NetworkObject } from '../core/core';
|
|
2
2
|
import { HerbalState } from './alova/globals';
|
|
3
3
|
import { IBuilder } from 'builder-pattern';
|
|
4
|
-
import {
|
|
4
|
+
import { User } from '../user';
|
|
5
5
|
export declare abstract class Herbal extends NetworkObject {
|
|
6
6
|
static builder(): IBuilder<Herbal>;
|
|
7
7
|
static default(): typeof Herbal;
|
|
@@ -9,10 +9,10 @@ export declare abstract class Herbal extends NetworkObject {
|
|
|
9
9
|
name: string;
|
|
10
10
|
price: number;
|
|
11
11
|
weight: number;
|
|
12
|
-
owner:
|
|
12
|
+
owner: User;
|
|
13
13
|
of(json: HerbalState): Promise<this>;
|
|
14
14
|
state(): HerbalState;
|
|
15
|
-
static query(page?: number, pageSize?: number, owner?:
|
|
15
|
+
static query(page?: number, pageSize?: number, owner?: User, name?: string, price?: number): Promise<Page<Herbal>>;
|
|
16
16
|
abstract put(): Promise<this>;
|
|
17
17
|
abstract post(): Promise<this>;
|
|
18
18
|
abstract delete(): Promise<void>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { NetworkObject as u } from "../core/core.js";
|
|
2
2
|
import { Builder as f } from "../../../node_modules/builder-pattern/dist/index.js";
|
|
3
|
-
import
|
|
3
|
+
import "../user/index.js";
|
|
4
|
+
import { User as t } from "../user/user.js";
|
|
4
5
|
class e extends u {
|
|
5
6
|
static builder() {
|
|
6
7
|
return f(this._default);
|
|
@@ -2,7 +2,7 @@ import { Herbal } from './herbal';
|
|
|
2
2
|
import { PrescriptionState } from './alova/globals';
|
|
3
3
|
import { Page, NetworkObject } from '../core/core';
|
|
4
4
|
import { IBuilder } from 'builder-pattern';
|
|
5
|
-
import {
|
|
5
|
+
import { User } from '../user/user';
|
|
6
6
|
export declare abstract class Prescription extends NetworkObject {
|
|
7
7
|
static builder(): IBuilder<Prescription>;
|
|
8
8
|
static default(): typeof Prescription;
|
|
@@ -10,7 +10,7 @@ export declare abstract class Prescription extends NetworkObject {
|
|
|
10
10
|
createdTimestamp: string;
|
|
11
11
|
updatedTimestamp: string;
|
|
12
12
|
name: string;
|
|
13
|
-
owner:
|
|
13
|
+
owner: User;
|
|
14
14
|
totalAmount: number;
|
|
15
15
|
useAmount: number;
|
|
16
16
|
craftType: string;
|
|
@@ -19,7 +19,7 @@ export declare abstract class Prescription extends NetworkObject {
|
|
|
19
19
|
herbals: Herbal[];
|
|
20
20
|
of(json: PrescriptionState): Promise<this>;
|
|
21
21
|
state(): PrescriptionState;
|
|
22
|
-
static query(page?: number, pageSize?: number, owner?:
|
|
22
|
+
static query(page?: number, pageSize?: number, owner?: User, name?: string): Promise<Page<Prescription>>;
|
|
23
23
|
abstract put(): Promise<this>;
|
|
24
24
|
abstract post(): Promise<this>;
|
|
25
25
|
abstract delete(): Promise<this>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Herbal as u } from "./herbal.js";
|
|
2
2
|
import { NetworkObject as s } from "../core/core.js";
|
|
3
3
|
import { Builder as d } from "../../../node_modules/builder-pattern/dist/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import { User as i } from "../user/user.js";
|
|
5
5
|
class a extends s {
|
|
6
6
|
static builder() {
|
|
7
7
|
return d(this._default);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { createAlova as r } from "../../../../node_modules/alova/dist/alova.esm.js";
|
|
2
2
|
import o from "../../../../node_modules/alova/dist/adapter/fetch.esm.js";
|
|
3
|
-
import { withConfigType as t, createApis as
|
|
4
|
-
import { getServiceEndpoint as
|
|
3
|
+
import { withConfigType as t, createApis as s, mountApis as p } from "./createApis.js";
|
|
4
|
+
import { getServiceEndpoint as a, ServiceType as i } from "../../config/index.js";
|
|
5
5
|
import "./implement/index.js";
|
|
6
|
-
import { onAuthRequired as
|
|
6
|
+
import { onAuthRequired as n } from "../../config/alova/index.js";
|
|
7
7
|
const m = r({
|
|
8
|
-
baseURL:
|
|
8
|
+
baseURL: a(i.User),
|
|
9
9
|
// baseURL: 'http://localhost:9090/用户/服务',
|
|
10
10
|
requestAdapter: o(),
|
|
11
|
-
beforeRequest:
|
|
11
|
+
beforeRequest: n(() => {
|
|
12
12
|
}),
|
|
13
13
|
responded: (e) => e.json()
|
|
14
|
-
}), c = t({}), f =
|
|
15
|
-
|
|
14
|
+
}), c = t({}), f = s(m, c);
|
|
15
|
+
p(f);
|
|
16
16
|
export {
|
|
17
17
|
c as $$userConfigMap,
|
|
18
18
|
m as alovaInstance,
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { $$userConfigMap as
|
|
1
|
+
import { $$userConfigMap as e, alovaInstance as r, alovaInstance as s } from "./alova/index.js";
|
|
2
2
|
import { User as t } from "./user.js";
|
|
3
|
+
import { AlovaUser as l } from "./alova/implement/user.js";
|
|
3
4
|
export {
|
|
4
|
-
|
|
5
|
+
e as $$userConfigMap,
|
|
6
|
+
l as AlovaUser,
|
|
5
7
|
t as User,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
+
r as alovaInstance,
|
|
9
|
+
s as userAlovaInstance
|
|
8
10
|
};
|
package/dist/src/index.js
CHANGED
|
@@ -1,67 +1,69 @@
|
|
|
1
1
|
import "./api/index.js";
|
|
2
2
|
import "./proto/index.js";
|
|
3
3
|
import "./components/tcm/index.js";
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
4
|
+
import * as r from "./api/algorithm/index.js";
|
|
5
|
+
import * as a from "./api/authorization/index.js";
|
|
6
6
|
import * as p from "./api/check/index.js";
|
|
7
7
|
import * as i from "./api/config/index.js";
|
|
8
8
|
import * as m from "./api/doctor/index.js";
|
|
9
9
|
import * as s from "./api/metric/index.js";
|
|
10
10
|
import * as f from "./api/oauth/index.js";
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
11
|
+
import * as x from "./api/outpatient/index.js";
|
|
12
|
+
import * as l from "./api/patient/index.js";
|
|
13
13
|
import * as d from "./api/prescription/index.js";
|
|
14
14
|
import * as n from "./api/scientist/index.js";
|
|
15
15
|
import * as c from "./api/device/device.js";
|
|
16
16
|
import * as A from "./api/core/index.js";
|
|
17
17
|
import * as u from "./api/manager/index.js";
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { default as
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
18
|
+
import * as C from "./api/user/index.js";
|
|
19
|
+
import { WaveMapSchema as h, WaveSchema as M, file_WaveMap as S } from "./proto/types/WaveMap_pb.js";
|
|
20
|
+
import { ImageSchema as P, ImagesSchema as I, file_Images as k } from "./proto/types/Images_pb.js";
|
|
21
|
+
import { default as O } from "./components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js";
|
|
22
|
+
import { default as E } from "./components/tcm/inquirise/ComplaintViewCollected.vue.js";
|
|
23
|
+
import { symptomsState as _ } from "./components/tcm/inquirise/symptoms.js";
|
|
24
|
+
import { default as w } from "./components/tcm/inspections/FaceMetaCollected.vue.js";
|
|
25
|
+
import { default as z } from "./components/tcm/inspections/SceneMetaCollected.vue.js";
|
|
26
|
+
import { default as R } from "./components/tcm/inspections/TongueMetaCollected.vue.js";
|
|
26
27
|
import { default as V } from "./components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js";
|
|
27
28
|
import { default as q } from "./components/tcm/inspections/CheckSceneMetaCollected.vue.js";
|
|
28
29
|
import { default as G } from "./components/tcm/inspections/AppendixMetaCollected.vue.js";
|
|
29
30
|
import { default as J } from "./components/tcm/lisems/EcgAndPcgCollect.vue.js";
|
|
30
31
|
import { default as L } from "./components/tcm/lisems/EPPCollected.vue.js";
|
|
31
32
|
import { default as Q } from "./components/tcm/palpations/PulsationCollect.vue.js";
|
|
32
|
-
import { default as
|
|
33
|
+
import { default as Y } from "./components/tcm/palpations/OnePulsationCollect.vue.js";
|
|
33
34
|
export {
|
|
34
|
-
|
|
35
|
+
r as AlgorithmApi,
|
|
35
36
|
G as AppendixMetaCollected,
|
|
36
|
-
|
|
37
|
+
a as AuthorizationApi,
|
|
37
38
|
p as CheckApi,
|
|
38
39
|
q as CheckSceneMetaCollected,
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
E as ComplaintViewCollected,
|
|
41
|
+
O as ComplaintsRecognitionCollected,
|
|
41
42
|
i as ConfigApi,
|
|
42
43
|
A as CoreApi,
|
|
43
44
|
c as DeviceApi,
|
|
44
45
|
m as DoctorApi,
|
|
45
46
|
J as EcgAndPcgCollect,
|
|
46
47
|
L as EppCollected,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
w as FaceMetaCollected,
|
|
49
|
+
P as ImageSchema,
|
|
50
|
+
I as ImagesSchema,
|
|
50
51
|
V as InspectionDeviceTakeImageCollected,
|
|
51
52
|
u as ManagerApi,
|
|
52
53
|
s as MetricApi,
|
|
53
54
|
f as OAuthApi,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
Y as OnePulsationCollect,
|
|
56
|
+
x as OutPatientApi,
|
|
57
|
+
l as PatientApi,
|
|
57
58
|
d as PrescriptionApi,
|
|
58
59
|
Q as PulsationCollect,
|
|
59
|
-
|
|
60
|
+
z as SceneMetaCollected,
|
|
60
61
|
n as ScientistApi,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
h as
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
62
|
+
R as TongueMetaCollected,
|
|
63
|
+
C as UserApi,
|
|
64
|
+
h as WaveMapSchema,
|
|
65
|
+
M as WaveSchema,
|
|
66
|
+
k as file_Images,
|
|
67
|
+
S as file_WaveMap,
|
|
68
|
+
_ as symptomsState
|
|
67
69
|
};
|