tycho-components 0.38.2 → 0.38.3
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/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export type { default as ProcessConfiguration, SentenceDelimiter, } from "./type
|
|
|
18
18
|
export { DEFAULT_DELIMITERS, DELIMITERS, DelimiterNames, EMPTY_CONFIGURATION, } from "./types/ProcessConfiguration";
|
|
19
19
|
export { SentenceStatusNames } from "./types/SentenceStatus";
|
|
20
20
|
export type { SentenceStatus } from "./types/SentenceStatus";
|
|
21
|
-
export type { Mark, Break, Format as SentenceFormat, SentenceTier, Translation, } from "./types/Sentence";
|
|
21
|
+
export type { Mark, Break, Format as SentenceFormat, SentenceTier, Translation, SentenceParticipant, } from "./types/Sentence";
|
|
22
22
|
export type { default as Sentence } from "./types/Sentence";
|
|
23
23
|
export { INFLECTIONS, EXTENSIONS } from "./types/Struct";
|
|
24
24
|
export type { Chunk, Edition, Format, Morpheme, Split, Struct, Token, ConlluToken, } from "./types/Struct";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Token } from
|
|
2
|
-
import { Edition } from
|
|
3
|
-
import { Struct } from
|
|
4
|
-
import { SentenceStatus } from
|
|
5
|
-
import { UploadedFile } from
|
|
1
|
+
import { Token } from "./Struct";
|
|
2
|
+
import { Edition } from "./Struct";
|
|
3
|
+
import { Struct } from "./Struct";
|
|
4
|
+
import { SentenceStatus } from "./SentenceStatus";
|
|
5
|
+
import { UploadedFile } from "../../common/AppDropzone/UploadedFile";
|
|
6
6
|
export type Mark = {
|
|
7
7
|
id: string;
|
|
8
8
|
tokens: Token[];
|
|
@@ -34,6 +34,13 @@ export type Translation = {
|
|
|
34
34
|
uid: string;
|
|
35
35
|
values: Record<string, string>;
|
|
36
36
|
};
|
|
37
|
+
/** Nested speaker assignment on a sentence (code + cue metadata). */
|
|
38
|
+
export type SentenceParticipant = {
|
|
39
|
+
name: string;
|
|
40
|
+
cue?: string[];
|
|
41
|
+
lineCue?: boolean;
|
|
42
|
+
hideName?: boolean;
|
|
43
|
+
};
|
|
37
44
|
type Sentence = {
|
|
38
45
|
uid: string;
|
|
39
46
|
value: string;
|
|
@@ -50,7 +57,7 @@ type Sentence = {
|
|
|
50
57
|
start: number | null;
|
|
51
58
|
end: number | null;
|
|
52
59
|
normalized?: string;
|
|
53
|
-
participant?:
|
|
60
|
+
participant?: SentenceParticipant;
|
|
54
61
|
color?: string;
|
|
55
62
|
tiers: SentenceTier[];
|
|
56
63
|
canJoinSentence?: boolean;
|