tycho-components 0.18.4 → 0.18.6
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.
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import Participant from '../../Participants/types/Participant';
|
|
2
|
+
import { PlatformTools } from '../../functions/ToolsUtils';
|
|
3
|
+
export type DocumentStatus = 'EDITING' | 'EDITED' | 'SYNTACTIC' | 'COMPLETED';
|
|
4
|
+
export declare const DocumentStatusNames: {
|
|
5
|
+
EDITING: string;
|
|
6
|
+
EDITED: string;
|
|
7
|
+
SYNTACTIC: string;
|
|
8
|
+
COMPLETED: string;
|
|
9
|
+
};
|
|
10
|
+
type Document = {
|
|
11
|
+
uid: string;
|
|
12
|
+
name: string;
|
|
13
|
+
corpus: string;
|
|
14
|
+
status: DocumentStatus;
|
|
15
|
+
author?: string;
|
|
16
|
+
picture: string;
|
|
17
|
+
thumbnail?: string;
|
|
18
|
+
translated?: string;
|
|
19
|
+
category?: string;
|
|
20
|
+
reference?: string;
|
|
21
|
+
useImages: boolean;
|
|
22
|
+
metadata?: Record<string, string>[];
|
|
23
|
+
participants?: Participant[];
|
|
24
|
+
page: string;
|
|
25
|
+
defaultTool?: PlatformTools;
|
|
26
|
+
udparser?: string;
|
|
27
|
+
parser?: string;
|
|
28
|
+
lexicon?: string;
|
|
29
|
+
};
|
|
30
|
+
export default Document;
|
|
@@ -2,6 +2,7 @@ import { Token } from './Struct';
|
|
|
2
2
|
import { Edition } from './Struct';
|
|
3
3
|
import { Struct } from './Struct';
|
|
4
4
|
import { SentenceStatus } from './SentenceStatus';
|
|
5
|
+
import { UploadedFile } from '../../AppDropzone/UploadedFile';
|
|
5
6
|
export type Mark = {
|
|
6
7
|
id: string;
|
|
7
8
|
tokens: Token[];
|
|
@@ -51,5 +52,6 @@ type Sentence = {
|
|
|
51
52
|
color?: string;
|
|
52
53
|
tiers: SentenceTier[];
|
|
53
54
|
canJoinSentence?: boolean;
|
|
55
|
+
audio?: UploadedFile;
|
|
54
56
|
};
|
|
55
57
|
export default Sentence;
|
package/dist/index.d.ts
CHANGED
|
@@ -47,6 +47,8 @@ export { default as ParserListService } from './configs/services/ParserListServi
|
|
|
47
47
|
export type { Corpus, CorpusRequest, Github } from './configs/types/Corpus';
|
|
48
48
|
export { CorpusStatusNames } from './configs/types/CorpusStatus';
|
|
49
49
|
export type { CorpusStatus } from './configs/types/CorpusStatus';
|
|
50
|
+
export { DocumentStatusNames } from './configs/types/Document';
|
|
51
|
+
export type { DocumentStatus, default as Document } from './configs/types/Document';
|
|
50
52
|
export { CorpusImageTypeNames } from './configs/types/CorpusImage';
|
|
51
53
|
export type { CorpusImage, CorpusImageType } from './configs/types/CorpusImage';
|
|
52
54
|
export { EditionTiers } from './configs/types/EditionTiers';
|
package/dist/index.js
CHANGED
|
@@ -37,6 +37,7 @@ export { commonResources } from './configs/Localization';
|
|
|
37
37
|
export { default as LexiconListService } from './configs/services/LexiconListService';
|
|
38
38
|
export { default as ParserListService } from './configs/services/ParserListService';
|
|
39
39
|
export { CorpusStatusNames } from './configs/types/CorpusStatus';
|
|
40
|
+
export { DocumentStatusNames } from './configs/types/Document';
|
|
40
41
|
export { CorpusImageTypeNames } from './configs/types/CorpusImage';
|
|
41
42
|
export { EditionTiers } from './configs/types/EditionTiers';
|
|
42
43
|
export { SentenceStatusNames } from './configs/types/SentenceStatus';
|