tycho-components 0.2.0-SNAPSHOT-1 → 0.2.0-SNAPSHOT-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/types/Struct.d.ts +9 -0
- package/dist/index.d.ts +5 -4
- package/dist/index.js +2 -1
- package/package.json +1 -1
|
@@ -27,6 +27,7 @@ export type Token = {
|
|
|
27
27
|
attributes?: Record<string, string>;
|
|
28
28
|
tags?: string[];
|
|
29
29
|
review?: boolean;
|
|
30
|
+
edition?: Edition;
|
|
30
31
|
};
|
|
31
32
|
export type Morpheme = {
|
|
32
33
|
v: string;
|
|
@@ -42,3 +43,11 @@ export type Struct = {
|
|
|
42
43
|
document: string;
|
|
43
44
|
corpus: string;
|
|
44
45
|
};
|
|
46
|
+
export type Edition = {
|
|
47
|
+
id: string;
|
|
48
|
+
o: string;
|
|
49
|
+
ops: {
|
|
50
|
+
[key: string]: string;
|
|
51
|
+
};
|
|
52
|
+
pos?: number;
|
|
53
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -29,12 +29,12 @@ export type { Comment } from './Comments/types/Comment';
|
|
|
29
29
|
export { CommonProvider } from './configs/CommonContext';
|
|
30
30
|
export { commonResources } from './configs/Localization';
|
|
31
31
|
export type { Corpus, Github } from './configs/types/Corpus';
|
|
32
|
+
export { CorpusImageTypeNames } from './configs/types/CorpusImage';
|
|
32
33
|
export type { CorpusImage, CorpusImageType } from './configs/types/CorpusImage';
|
|
33
|
-
export type { Chunk, Split, Struct, Token,
|
|
34
|
-
export type {
|
|
35
|
-
export type { Tree, CytoscapeTree } from './configs/types/Tree';
|
|
34
|
+
export type { Chunk, Edition, Morpheme, Split, Struct, Token, } from './configs/types/Struct';
|
|
35
|
+
export type { CytoscapeTree, Tree } from './configs/types/Tree';
|
|
36
36
|
export { UserStatusNames } from './configs/types/User';
|
|
37
|
-
export {
|
|
37
|
+
export type { User, UserStatus } from './configs/types/User';
|
|
38
38
|
export { useCorpusUtils } from './configs/useCorpusUtils';
|
|
39
39
|
export { useLoggedUtils } from './configs/useLoggedUtils';
|
|
40
40
|
export { useMessageUtils } from './configs/useMessageUtils';
|
|
@@ -50,6 +50,7 @@ export { default as Header } from './Header';
|
|
|
50
50
|
export { default as LanguageSelector } from './LanguageSelector';
|
|
51
51
|
export { default as Participants } from './Participants';
|
|
52
52
|
export { default as TreeView } from './TreeView';
|
|
53
|
+
export { default as SyntreesCytoscape } from './TreeView/cytoscape/SyntreesCytoscape';
|
|
53
54
|
export { default as VirtualKeyboard } from './VirtualKeyboard';
|
|
54
55
|
export { KeyboardCustomLayouts } from './VirtualKeyboard/KeyboardCustomLayout';
|
|
55
56
|
export type { KeyboardLayout } from './VirtualKeyboard/KeyboardCustomLayout';
|
package/dist/index.js
CHANGED
|
@@ -21,8 +21,8 @@ export { default as CommentComponent } from './Comments';
|
|
|
21
21
|
export { default as HeaderNotifications } from './Comments/HeaderNotifications';
|
|
22
22
|
export { CommonProvider } from './configs/CommonContext';
|
|
23
23
|
export { commonResources } from './configs/Localization';
|
|
24
|
-
export { UserStatusNames } from './configs/types/User';
|
|
25
24
|
export { CorpusImageTypeNames } from './configs/types/CorpusImage';
|
|
25
|
+
export { UserStatusNames } from './configs/types/User';
|
|
26
26
|
export { useCorpusUtils } from './configs/useCorpusUtils';
|
|
27
27
|
export { useLoggedUtils } from './configs/useLoggedUtils';
|
|
28
28
|
export { useMessageUtils } from './configs/useMessageUtils';
|
|
@@ -38,5 +38,6 @@ export { default as Header } from './Header';
|
|
|
38
38
|
export { default as LanguageSelector } from './LanguageSelector';
|
|
39
39
|
export { default as Participants } from './Participants';
|
|
40
40
|
export { default as TreeView } from './TreeView';
|
|
41
|
+
export { default as SyntreesCytoscape } from './TreeView/cytoscape/SyntreesCytoscape';
|
|
41
42
|
export { default as VirtualKeyboard } from './VirtualKeyboard';
|
|
42
43
|
export { KeyboardCustomLayouts } from './VirtualKeyboard/KeyboardCustomLayout';
|