@daeryun/dr_components 0.3.73 → 0.3.75
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/components/page/MyCase/_fetchers/addMyCaseQuestion.js +4 -4
- package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.ts +4 -4
- package/dist/components/page/MyCase/_fetchers/getCase.js +4 -4
- package/dist/components/page/MyCase/_fetchers/getCase.ts +4 -4
- package/dist/components/page/MyCase/_fetchers/getCaseList.js +4 -4
- package/dist/components/page/MyCase/_fetchers/getCaseList.ts +4 -4
- package/dist/components/page/MyCase/_fetchers/getCourtFileList.js +4 -4
- package/dist/components/page/MyCase/_fetchers/getCourtFileList.ts +4 -4
- package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.js +4 -4
- package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.ts +4 -4
- package/dist/components/page/MyCase/_fetchers/getMyFileList.js +6 -4
- package/dist/components/page/MyCase/_fetchers/getMyFileList.ts +6 -4
- package/dist/components/page/MyCase/_fetchers/getTimeLine.js +6 -4
- package/dist/components/page/MyCase/_fetchers/getTimeLine.ts +6 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ const addMyCaseQuestion = (_a) => __awaiter(void 0, [_a], void 0, function* ({ j
|
|
|
12
12
|
const fullUrl = `https://aegis.daeryunlaw.com/api/lawfirm/app/case/${id}/inquiry`;
|
|
13
13
|
const url = `/api/lawfirm/app/case/${id}/inquiry`;
|
|
14
14
|
try {
|
|
15
|
-
const response = yield Fetch(
|
|
15
|
+
const response = yield Fetch(url, {
|
|
16
16
|
method: 'POST',
|
|
17
17
|
headers: {
|
|
18
18
|
'Content-Type': 'application/json',
|
|
@@ -20,9 +20,9 @@ const addMyCaseQuestion = (_a) => __awaiter(void 0, [_a], void 0, function* ({ j
|
|
|
20
20
|
},
|
|
21
21
|
body: JSON.stringify({ content })
|
|
22
22
|
});
|
|
23
|
-
if (!response.
|
|
24
|
-
|
|
25
|
-
}
|
|
23
|
+
// if (!response.result) {
|
|
24
|
+
// throw new Error('Network response was not ok');
|
|
25
|
+
// }
|
|
26
26
|
const data = yield response.json();
|
|
27
27
|
return data;
|
|
28
28
|
}
|
|
@@ -4,7 +4,7 @@ const addMyCaseQuestion = async ({ jwt, id, content }: { jwt: string; id: string
|
|
|
4
4
|
const fullUrl = `https://aegis.daeryunlaw.com/api/lawfirm/app/case/${id}/inquiry`;
|
|
5
5
|
const url = `/api/lawfirm/app/case/${id}/inquiry`;
|
|
6
6
|
try {
|
|
7
|
-
const response = await Fetch(
|
|
7
|
+
const response = await Fetch(url, {
|
|
8
8
|
method: 'POST',
|
|
9
9
|
headers: {
|
|
10
10
|
'Content-Type': 'application/json',
|
|
@@ -12,9 +12,9 @@ const addMyCaseQuestion = async ({ jwt, id, content }: { jwt: string; id: string
|
|
|
12
12
|
},
|
|
13
13
|
body: JSON.stringify({ content })
|
|
14
14
|
});
|
|
15
|
-
if (!response.
|
|
16
|
-
|
|
17
|
-
}
|
|
15
|
+
// if (!response.result) {
|
|
16
|
+
// throw new Error('Network response was not ok');
|
|
17
|
+
// }
|
|
18
18
|
const data = await response.json();
|
|
19
19
|
return data;
|
|
20
20
|
} catch (error) {
|
|
@@ -12,16 +12,16 @@ const getCase = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, id })
|
|
|
12
12
|
const fullUrl = `https://aegis.daeryunlaw.com/api/lawfirm/app/case/${id}/info`;
|
|
13
13
|
const url = `/api/lawfirm/app/case/${id}/info`;
|
|
14
14
|
try {
|
|
15
|
-
const response = yield Fetch(
|
|
15
|
+
const response = yield Fetch(url, {
|
|
16
16
|
method: 'GET',
|
|
17
17
|
headers: {
|
|
18
18
|
// 'Content-Type': 'application/json',
|
|
19
19
|
Authorization: `${jwt}`
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
if (!response.ok) {
|
|
23
|
-
|
|
24
|
-
}
|
|
22
|
+
// if (!response.ok) {
|
|
23
|
+
// throw new Error('Network response was not ok');
|
|
24
|
+
// }
|
|
25
25
|
const data = yield response.json();
|
|
26
26
|
return data;
|
|
27
27
|
}
|
|
@@ -4,16 +4,16 @@ const getCase = async ({ jwt, id }: { jwt: string; id: string }) => {
|
|
|
4
4
|
const fullUrl = `https://aegis.daeryunlaw.com/api/lawfirm/app/case/${id}/info`;
|
|
5
5
|
const url = `/api/lawfirm/app/case/${id}/info`;
|
|
6
6
|
try {
|
|
7
|
-
const response = await Fetch(
|
|
7
|
+
const response = await Fetch(url, {
|
|
8
8
|
method: 'GET',
|
|
9
9
|
headers: {
|
|
10
10
|
// 'Content-Type': 'application/json',
|
|
11
11
|
Authorization: `${jwt}`
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
|
-
if (!response.ok) {
|
|
15
|
-
|
|
16
|
-
}
|
|
14
|
+
// if (!response.ok) {
|
|
15
|
+
// throw new Error('Network response was not ok');
|
|
16
|
+
// }
|
|
17
17
|
const data = await response.json();
|
|
18
18
|
return data;
|
|
19
19
|
} catch (error) {
|
|
@@ -12,16 +12,16 @@ const getCaseList = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, si
|
|
|
12
12
|
const fullUrl = `https://aegis.daeryunlaw.com/api/lawfirm/app/case?size=${size}&page=${page}&state=${state}`;
|
|
13
13
|
const url = `/api/lawfirm/app/case?size=${size}&page=${page}&state=${state}`;
|
|
14
14
|
try {
|
|
15
|
-
const response = yield Fetch(
|
|
15
|
+
const response = yield Fetch(url, {
|
|
16
16
|
method: 'GET',
|
|
17
17
|
headers: {
|
|
18
18
|
// 'Content-Type': 'application/json',
|
|
19
19
|
Authorization: `${jwt}`
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
if (!response.ok) {
|
|
23
|
-
|
|
24
|
-
}
|
|
22
|
+
// if (!response.ok) {
|
|
23
|
+
// throw new Error('Network response was not ok');
|
|
24
|
+
// }
|
|
25
25
|
const data = yield response.json();
|
|
26
26
|
return data;
|
|
27
27
|
}
|
|
@@ -14,16 +14,16 @@ const getCaseList = async ({
|
|
|
14
14
|
const fullUrl = `https://aegis.daeryunlaw.com/api/lawfirm/app/case?size=${size}&page=${page}&state=${state}`;
|
|
15
15
|
const url = `/api/lawfirm/app/case?size=${size}&page=${page}&state=${state}`;
|
|
16
16
|
try {
|
|
17
|
-
const response = await Fetch(
|
|
17
|
+
const response = await Fetch(url, {
|
|
18
18
|
method: 'GET',
|
|
19
19
|
headers: {
|
|
20
20
|
// 'Content-Type': 'application/json',
|
|
21
21
|
Authorization: `${jwt}`
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
|
-
if (!response.ok) {
|
|
25
|
-
|
|
26
|
-
}
|
|
24
|
+
// if (!response.ok) {
|
|
25
|
+
// throw new Error('Network response was not ok');
|
|
26
|
+
// }
|
|
27
27
|
const data = await response.json();
|
|
28
28
|
return data;
|
|
29
29
|
} catch (error) {
|
|
@@ -12,16 +12,16 @@ const getCourtFileList = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jw
|
|
|
12
12
|
const fullUrl = `https://aegis.daeryunlaw.com/api/lawfirm/app/case/${id}/docs/court`;
|
|
13
13
|
const url = `/api/lawfirm/app/case/${id}/docs/court`;
|
|
14
14
|
try {
|
|
15
|
-
const response = yield Fetch(
|
|
15
|
+
const response = yield Fetch(url, {
|
|
16
16
|
method: 'GET',
|
|
17
17
|
headers: {
|
|
18
18
|
// 'Content-Type': 'application/json',
|
|
19
19
|
Authorization: `${jwt}`
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
if (!response.ok) {
|
|
23
|
-
|
|
24
|
-
}
|
|
22
|
+
// if (!response.ok) {
|
|
23
|
+
// throw new Error('Network response was not ok');
|
|
24
|
+
// }
|
|
25
25
|
const data = yield response.json();
|
|
26
26
|
return data;
|
|
27
27
|
}
|
|
@@ -4,16 +4,16 @@ const getCourtFileList = async ({ jwt, id }: { jwt: string; id: string }) => {
|
|
|
4
4
|
const fullUrl = `https://aegis.daeryunlaw.com/api/lawfirm/app/case/${id}/docs/court`;
|
|
5
5
|
const url = `/api/lawfirm/app/case/${id}/docs/court`;
|
|
6
6
|
try {
|
|
7
|
-
const response = await Fetch(
|
|
7
|
+
const response = await Fetch(url, {
|
|
8
8
|
method: 'GET',
|
|
9
9
|
headers: {
|
|
10
10
|
// 'Content-Type': 'application/json',
|
|
11
11
|
Authorization: `${jwt}`
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
|
-
if (!response.ok) {
|
|
15
|
-
|
|
16
|
-
}
|
|
14
|
+
// if (!response.ok) {
|
|
15
|
+
// throw new Error('Network response was not ok');
|
|
16
|
+
// }
|
|
17
17
|
const data = await response.json();
|
|
18
18
|
return data;
|
|
19
19
|
} catch (error) {
|
|
@@ -12,16 +12,16 @@ const getMyCaseQuestion = (_a) => __awaiter(void 0, [_a], void 0, function* ({ j
|
|
|
12
12
|
const fullUrl = `https://aegis.daeryunlaw.com/api/lawfirm/app/case/${id}/inquiry?page=${page}&size=${size}`;
|
|
13
13
|
const url = `/api/lawfirm/app/case/${id}/inquiry?page=${page}&size=${size}`;
|
|
14
14
|
try {
|
|
15
|
-
const response = yield Fetch(
|
|
15
|
+
const response = yield Fetch(url, {
|
|
16
16
|
method: 'GET',
|
|
17
17
|
headers: {
|
|
18
18
|
// 'Content-Type': 'application/json',
|
|
19
19
|
Authorization: `${jwt}`
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
if (!response.ok) {
|
|
23
|
-
|
|
24
|
-
}
|
|
22
|
+
// if (!response.ok) {
|
|
23
|
+
// throw new Error('Network response was not ok');
|
|
24
|
+
// }
|
|
25
25
|
const data = yield response.json();
|
|
26
26
|
return data;
|
|
27
27
|
}
|
|
@@ -4,16 +4,16 @@ const getMyCaseQuestion = async ({ jwt, id, page, size }: { jwt: string; id: str
|
|
|
4
4
|
const fullUrl = `https://aegis.daeryunlaw.com/api/lawfirm/app/case/${id}/inquiry?page=${page}&size=${size}`;
|
|
5
5
|
const url = `/api/lawfirm/app/case/${id}/inquiry?page=${page}&size=${size}`;
|
|
6
6
|
try {
|
|
7
|
-
const response = await Fetch(
|
|
7
|
+
const response = await Fetch(url, {
|
|
8
8
|
method: 'GET',
|
|
9
9
|
headers: {
|
|
10
10
|
// 'Content-Type': 'application/json',
|
|
11
11
|
Authorization: `${jwt}`
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
|
-
if (!response.ok) {
|
|
15
|
-
|
|
16
|
-
}
|
|
14
|
+
// if (!response.ok) {
|
|
15
|
+
// throw new Error('Network response was not ok');
|
|
16
|
+
// }
|
|
17
17
|
const data = await response.json();
|
|
18
18
|
return data;
|
|
19
19
|
} catch (error) {
|
|
@@ -10,16 +10,18 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
import Fetch from '../../Login/_fetch/fetch';
|
|
11
11
|
const getMyFileList = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, id }) {
|
|
12
12
|
try {
|
|
13
|
-
const
|
|
13
|
+
const fullUrl = `https://aegis.daeryunlaw.com/api/lawfirm/app/case/${id}/docs/my`;
|
|
14
|
+
const url = `/api/lawfirm/app/case/${id}/docs/my`;
|
|
15
|
+
const response = yield Fetch(url, {
|
|
14
16
|
method: 'GET',
|
|
15
17
|
headers: {
|
|
16
18
|
// 'Content-Type': 'application/json',
|
|
17
19
|
Authorization: `${jwt}`
|
|
18
20
|
}
|
|
19
21
|
});
|
|
20
|
-
if (!response.ok) {
|
|
21
|
-
|
|
22
|
-
}
|
|
22
|
+
// if (!response.ok) {
|
|
23
|
+
// throw new Error('Network response was not ok');
|
|
24
|
+
// }
|
|
23
25
|
const data = yield response.json();
|
|
24
26
|
return data;
|
|
25
27
|
}
|
|
@@ -2,16 +2,18 @@ import Fetch from '../../Login/_fetch/fetch';
|
|
|
2
2
|
|
|
3
3
|
const getMyFileList = async ({ jwt, id }: { jwt: string; id: string }) => {
|
|
4
4
|
try {
|
|
5
|
-
const
|
|
5
|
+
const fullUrl = `https://aegis.daeryunlaw.com/api/lawfirm/app/case/${id}/docs/my`;
|
|
6
|
+
const url = `/api/lawfirm/app/case/${id}/docs/my`;
|
|
7
|
+
const response = await Fetch(url, {
|
|
6
8
|
method: 'GET',
|
|
7
9
|
headers: {
|
|
8
10
|
// 'Content-Type': 'application/json',
|
|
9
11
|
Authorization: `${jwt}`
|
|
10
12
|
}
|
|
11
13
|
});
|
|
12
|
-
if (!response.ok) {
|
|
13
|
-
|
|
14
|
-
}
|
|
14
|
+
// if (!response.ok) {
|
|
15
|
+
// throw new Error('Network response was not ok');
|
|
16
|
+
// }
|
|
15
17
|
const data = await response.json();
|
|
16
18
|
return data;
|
|
17
19
|
} catch (error) {
|
|
@@ -9,17 +9,19 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
};
|
|
10
10
|
import Fetch from '../../Login/_fetch/fetch';
|
|
11
11
|
const getTimeLine = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, id }) {
|
|
12
|
+
const fullUrl = `https://aegis.daeryunlaw.com/api/lawfirm/app/case/${id}/progress`;
|
|
13
|
+
const url = `/api/lawfirm/app/case/${id}/progress`;
|
|
12
14
|
try {
|
|
13
|
-
const response = yield Fetch(
|
|
15
|
+
const response = yield Fetch(url, {
|
|
14
16
|
method: 'GET',
|
|
15
17
|
headers: {
|
|
16
18
|
// 'Content-Type': 'application/json',
|
|
17
19
|
Authorization: `${jwt}`
|
|
18
20
|
}
|
|
19
21
|
});
|
|
20
|
-
if (!response.ok) {
|
|
21
|
-
|
|
22
|
-
}
|
|
22
|
+
// if (!response.ok) {
|
|
23
|
+
// throw new Error('Network response was not ok');
|
|
24
|
+
// }
|
|
23
25
|
const data = yield response.json();
|
|
24
26
|
return data;
|
|
25
27
|
}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import Fetch from '../../Login/_fetch/fetch';
|
|
2
2
|
|
|
3
3
|
const getTimeLine = async ({ jwt, id }: { jwt: string; id: string }) => {
|
|
4
|
+
const fullUrl = `https://aegis.daeryunlaw.com/api/lawfirm/app/case/${id}/progress`;
|
|
5
|
+
const url = `/api/lawfirm/app/case/${id}/progress`;
|
|
4
6
|
try {
|
|
5
|
-
const response = await Fetch(
|
|
7
|
+
const response = await Fetch(url, {
|
|
6
8
|
method: 'GET',
|
|
7
9
|
headers: {
|
|
8
10
|
// 'Content-Type': 'application/json',
|
|
9
11
|
Authorization: `${jwt}`
|
|
10
12
|
}
|
|
11
13
|
});
|
|
12
|
-
if (!response.ok) {
|
|
13
|
-
|
|
14
|
-
}
|
|
14
|
+
// if (!response.ok) {
|
|
15
|
+
// throw new Error('Network response was not ok');
|
|
16
|
+
// }
|
|
15
17
|
const data = await response.json();
|
|
16
18
|
return data;
|
|
17
19
|
} catch (error) {
|