tycho-components 0.0.15-SNAPSHOT → 0.0.15-SNAPSHOT-2
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/Header/types/CorpusService.d.ts +1 -1
- package/dist/configs/Corpus.d.ts +30 -2
- package/dist/configs/Corpus.js +5 -0
- package/dist/configs/CorpusImage.d.ts +10 -0
- package/dist/configs/CorpusImage.js +5 -0
- package/dist/configs/store/actions.d.ts +1 -1
- package/dist/configs/store/types.d.ts +1 -1
- package/dist/configs/useCorpusUtils.d.ts +6 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/configs/Corpus.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { CorpusImage } from './CorpusImage';
|
|
2
|
+
import { User } from './User';
|
|
3
|
+
export type Corpus = {
|
|
2
4
|
uid: string;
|
|
3
5
|
name: string;
|
|
4
6
|
picture: string;
|
|
@@ -7,8 +9,30 @@ type Corpus = {
|
|
|
7
9
|
parser?: string;
|
|
8
10
|
active: boolean;
|
|
9
11
|
opened: boolean;
|
|
12
|
+
papers?: RelatedPaper[];
|
|
13
|
+
owner?: User;
|
|
14
|
+
github?: Github;
|
|
15
|
+
descriptions?: Record<string, string>;
|
|
16
|
+
featuredDescriptions?: Record<string, string>;
|
|
17
|
+
details?: Record<string, string>;
|
|
18
|
+
images?: CorpusImage[];
|
|
10
19
|
keyboardLayout?: string;
|
|
11
20
|
};
|
|
21
|
+
export type Github = {
|
|
22
|
+
username: string;
|
|
23
|
+
token: string;
|
|
24
|
+
remote: string;
|
|
25
|
+
path: string;
|
|
26
|
+
branch: string;
|
|
27
|
+
message: string;
|
|
28
|
+
};
|
|
29
|
+
export type RelatedPaper = {
|
|
30
|
+
uid?: string;
|
|
31
|
+
title: string;
|
|
32
|
+
author: string;
|
|
33
|
+
link: string;
|
|
34
|
+
resume: string;
|
|
35
|
+
};
|
|
12
36
|
export declare const EMPTY_CORPUS: {
|
|
13
37
|
uid: string;
|
|
14
38
|
name: string;
|
|
@@ -20,5 +44,9 @@ export declare const EMPTY_CORPUS: {
|
|
|
20
44
|
active: boolean;
|
|
21
45
|
opened: boolean;
|
|
22
46
|
keyboardLayout: string;
|
|
47
|
+
papers: never[];
|
|
48
|
+
descriptions: {};
|
|
49
|
+
featuredDescriptions: {};
|
|
50
|
+
details: {};
|
|
51
|
+
github: {};
|
|
23
52
|
};
|
|
24
|
-
export default Corpus;
|
package/dist/configs/Corpus.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import ToastMessage from '../../AppToast/ToastMessage';
|
|
2
|
-
import Corpus from '../Corpus';
|
|
2
|
+
import { Corpus } from '../Corpus';
|
|
3
3
|
import { User } from '../User';
|
|
4
4
|
import { StoreAction } from './types';
|
|
5
5
|
export declare const corpus: (data: Corpus | undefined) => StoreAction;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Corpus from './Corpus';
|
|
1
|
+
import { Corpus } from './Corpus';
|
|
2
2
|
export declare const useCorpusUtils: () => {
|
|
3
3
|
getCorpus: () => Corpus | {
|
|
4
4
|
uid: string;
|
|
@@ -11,6 +11,11 @@ export declare const useCorpusUtils: () => {
|
|
|
11
11
|
active: boolean;
|
|
12
12
|
opened: boolean;
|
|
13
13
|
keyboardLayout: string;
|
|
14
|
+
papers: never[];
|
|
15
|
+
descriptions: {};
|
|
16
|
+
featuredDescriptions: {};
|
|
17
|
+
details: {};
|
|
18
|
+
github: {};
|
|
14
19
|
};
|
|
15
20
|
setCorpus: (thisCorpus: Corpus | undefined) => void;
|
|
16
21
|
hasCorpus: () => boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export { validateFormField } from './AppEditable/FormField';
|
|
|
21
21
|
export { convertEnum, convertList } from './AppEditable/FormFieldOption';
|
|
22
22
|
export { commonResources } from './configs/Localization';
|
|
23
23
|
export { KeyboardCustomLayouts } from './VirtualKeyboard/KeyboardCustomLayout';
|
|
24
|
+
export { CorpusImageTypeNames } from './configs/CorpusImage';
|
|
24
25
|
export { UserStatusNames } from './configs/User';
|
|
25
26
|
export { default as DateUtils } from './functions/DateUtils';
|
|
26
27
|
export { default as FormUtils } from './functions/FormUtils';
|
|
@@ -29,6 +30,10 @@ export { default as SecurityUtils } from './functions/SecurityUtils';
|
|
|
29
30
|
export { default as UsabilityUtils } from './functions/UsabilityUtils';
|
|
30
31
|
export type { AppEditableField } from './AppEditable/AppEditableField';
|
|
31
32
|
export type { Comment } from './Comments/types/Comment';
|
|
33
|
+
export type { Corpus } from './configs/Corpus';
|
|
34
|
+
export type { CorpusImage } from './configs/CorpusImage';
|
|
35
|
+
export type { CorpusImageType } from './configs/CorpusImage';
|
|
36
|
+
export type { Github } from './configs/Corpus';
|
|
32
37
|
export type { FormFieldOption } from './AppEditable/FormFieldOption';
|
|
33
38
|
export type { FieldOperations, FormField } from './AppEditable/FormField';
|
|
34
39
|
export type { KeyboardLayout } from './VirtualKeyboard/KeyboardCustomLayout';
|
package/dist/index.js
CHANGED
|
@@ -21,6 +21,7 @@ export { validateFormField } from './AppEditable/FormField';
|
|
|
21
21
|
export { convertEnum, convertList } from './AppEditable/FormFieldOption';
|
|
22
22
|
export { commonResources } from './configs/Localization';
|
|
23
23
|
export { KeyboardCustomLayouts } from './VirtualKeyboard/KeyboardCustomLayout';
|
|
24
|
+
export { CorpusImageTypeNames } from './configs/CorpusImage';
|
|
24
25
|
export { UserStatusNames } from './configs/User';
|
|
25
26
|
export { default as DateUtils } from './functions/DateUtils';
|
|
26
27
|
export { default as FormUtils } from './functions/FormUtils';
|