tycho-components 0.15.2 → 0.15.4
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/configs/services/LexiconListService.d.ts +5 -0
- package/dist/configs/services/LexiconListService.js +8 -0
- package/dist/configs/services/ParserListService.d.ts +7 -0
- package/dist/configs/services/ParserListService.js +9 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare function listParsers(): Promise<import("axios").AxiosResponse<Record<string, string>, any, {}>>;
|
|
2
|
+
declare function listUDParsers(): Promise<import("axios").AxiosResponse<Record<string, string>, any, {}>>;
|
|
3
|
+
declare const ParserListService: {
|
|
4
|
+
listParsers: typeof listParsers;
|
|
5
|
+
listUDParsers: typeof listUDParsers;
|
|
6
|
+
};
|
|
7
|
+
export default ParserListService;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import api from '../api';
|
|
2
|
+
function listParsers() {
|
|
3
|
+
return api.get(`${import.meta.env.VITE_APP_PARSER_ENGINE_API}/open/list`);
|
|
4
|
+
}
|
|
5
|
+
function listUDParsers() {
|
|
6
|
+
return api.get(`${import.meta.env.VITE_APP_PARSER_ENGINE_API}/open/ud/list`);
|
|
7
|
+
}
|
|
8
|
+
const ParserListService = { listParsers, listUDParsers };
|
|
9
|
+
export default ParserListService;
|
package/dist/index.d.ts
CHANGED
|
@@ -41,6 +41,8 @@ export { default as CommentService } from './Comments/types/CommentService';
|
|
|
41
41
|
export { CommonProvider } from './configs/CommonContext';
|
|
42
42
|
export { default as CookieStorage } from './configs/CookieStorage';
|
|
43
43
|
export { commonResources } from './configs/Localization';
|
|
44
|
+
export { default as LexiconListService } from './configs/services/LexiconListService';
|
|
45
|
+
export { default as ParserListService } from './configs/services/ParserListService';
|
|
44
46
|
export type { Corpus, Github } from './configs/types/Corpus';
|
|
45
47
|
export { CorpusStatusNames } from './configs/types/CorpusStatus';
|
|
46
48
|
export type { CorpusStatus } from './configs/types/CorpusStatus';
|
package/dist/index.js
CHANGED
|
@@ -33,6 +33,8 @@ export { default as CommentService } from './Comments/types/CommentService';
|
|
|
33
33
|
export { CommonProvider } from './configs/CommonContext';
|
|
34
34
|
export { default as CookieStorage } from './configs/CookieStorage';
|
|
35
35
|
export { commonResources } from './configs/Localization';
|
|
36
|
+
export { default as LexiconListService } from './configs/services/LexiconListService';
|
|
37
|
+
export { default as ParserListService } from './configs/services/ParserListService';
|
|
36
38
|
export { CorpusStatusNames } from './configs/types/CorpusStatus';
|
|
37
39
|
export { CorpusImageTypeNames } from './configs/types/CorpusImage';
|
|
38
40
|
export { EditionTiers } from './configs/types/EditionTiers';
|