jamespot-front-business 1.3.18 → 1.3.20
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/jamespot-front-business.cjs +25 -25
- package/dist/jamespot-front-business.js +1027 -981
- package/dist/src/store/index.d.ts +1 -0
- package/dist/src/store/jland/jland.d.ts +39 -1
- package/dist/src/store/jland/mapCreate.d.ts +40 -2
- package/dist/src/store/tinymce/tinymce.d.ts +1 -1
- package/dist/src/store/wall/wall.types.d.ts +9 -0
- package/dist/src/store/wall/wallSlice.d.ts +71 -0
- package/dist/src/store/wall/wallSlice.mock.d.ts +4 -0
- package/dist/src/store/wedoc/wedoc.actions.d.ts +2 -58
- package/dist/src/store/wedoc/wedoc.d.ts +4 -116
- package/dist/src/tests-utils/mockStore.d.ts +2 -0
- package/dist/src/types/index.d.ts +1 -0
- package/dist/src/types/store.d.ts +2 -1
- package/package.json +2 -2
|
@@ -101,7 +101,45 @@ export declare const jland: {
|
|
|
101
101
|
fulfilledMeta?: unknown;
|
|
102
102
|
rejectedMeta?: unknown;
|
|
103
103
|
}>;
|
|
104
|
-
createMap: import('@reduxjs/toolkit').AsyncThunk<import('
|
|
104
|
+
createMap: import('@reduxjs/toolkit').AsyncThunk<(Omit<import('jamespot-user-api').jArticleList, "id" | "mainType" | "type" | "uri" | "dateCreation" | "dateModified" | "title" | "_url" | "jlandMapKind" | "jlandMapFlavor" | "limit" | "waMapUrl"> & Omit<import('jamespot-user-api').jArticleLittle, "type" | "jlandMapKind" | "jlandMapFlavor" | "limit" | "waMapUrl"> & {
|
|
105
|
+
type: "jlandmap";
|
|
106
|
+
jlandMapKind: import('jamespot-user-api').JLandMapKind;
|
|
107
|
+
jlandMapFlavor: import('jamespot-user-api').JLandMapFlavor;
|
|
108
|
+
limit: number | null;
|
|
109
|
+
waMapUrl: string | null;
|
|
110
|
+
} & {
|
|
111
|
+
_extend: Pick<{
|
|
112
|
+
actions?: import('jamespot-user-api').SocialAction[] | undefined;
|
|
113
|
+
attachments?: import('jamespot-user-api').jFileLittle[] | undefined;
|
|
114
|
+
comments?: import('jamespot-user-api').Merge<import('jamespot-user-api').jCommentList, {
|
|
115
|
+
_extend: {
|
|
116
|
+
actions?: import('jamespot-user-api').SocialAction[] | undefined;
|
|
117
|
+
};
|
|
118
|
+
}>[] | undefined;
|
|
119
|
+
contact: boolean;
|
|
120
|
+
filebank?: import('jamespot-user-api').jFolderLittle | null | undefined;
|
|
121
|
+
licenses: Array<import('jamespot-user-api').License>;
|
|
122
|
+
licensesExtrabot?: {
|
|
123
|
+
active: boolean;
|
|
124
|
+
monthRequestsMax: number;
|
|
125
|
+
monthRequestsHit: number;
|
|
126
|
+
} | undefined;
|
|
127
|
+
messenger?: import('jamespot-user-api').jMessengerDiscussionGroupLittle | null | undefined;
|
|
128
|
+
quarantine?: {
|
|
129
|
+
count: number;
|
|
130
|
+
};
|
|
131
|
+
quizFieldDefinitions: Record<string, import('jamespot-user-api').QuizFieldType>;
|
|
132
|
+
quizResponseRecord: import('jamespot-user-api').QuizResponse;
|
|
133
|
+
recurringEventRecord: import('jamespot-user-api').jRecurringEventView;
|
|
134
|
+
socialEventRecord: import('jamespot-user-api').socialEventRecord;
|
|
135
|
+
surveyDateRecord: {
|
|
136
|
+
members: import('jamespot-user-api').jUserLittle[];
|
|
137
|
+
responses: import('jamespot-user-api').SurveyDateResponses;
|
|
138
|
+
};
|
|
139
|
+
search: never;
|
|
140
|
+
bookmark: never;
|
|
141
|
+
}, "licenses">;
|
|
142
|
+
})[] | undefined, {
|
|
105
143
|
jlandUrlBase: string;
|
|
106
144
|
map: import('./jland.types').MapCreationFront;
|
|
107
145
|
}, {
|
|
@@ -1,6 +1,44 @@
|
|
|
1
1
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
-
import {
|
|
3
|
-
export declare const createMap: import('@reduxjs/toolkit').AsyncThunk<
|
|
2
|
+
import { MapCreateState, MapCreationFront } from './jland.types';
|
|
3
|
+
export declare const createMap: import('@reduxjs/toolkit').AsyncThunk<(Omit<import('jamespot-user-api').jArticleList, "id" | "mainType" | "type" | "uri" | "dateCreation" | "dateModified" | "title" | "_url" | "jlandMapKind" | "jlandMapFlavor" | "limit" | "waMapUrl"> & Omit<import('jamespot-user-api').jArticleLittle, "type" | "jlandMapKind" | "jlandMapFlavor" | "limit" | "waMapUrl"> & {
|
|
4
|
+
type: "jlandmap";
|
|
5
|
+
jlandMapKind: import('jamespot-user-api').JLandMapKind;
|
|
6
|
+
jlandMapFlavor: import('jamespot-user-api').JLandMapFlavor;
|
|
7
|
+
limit: number | null;
|
|
8
|
+
waMapUrl: string | null;
|
|
9
|
+
} & {
|
|
10
|
+
_extend: Pick<{
|
|
11
|
+
actions?: import('jamespot-user-api').SocialAction[] | undefined;
|
|
12
|
+
attachments?: import('jamespot-user-api').jFileLittle[] | undefined;
|
|
13
|
+
comments?: import('jamespot-user-api').Merge<import('jamespot-user-api').jCommentList, {
|
|
14
|
+
_extend: {
|
|
15
|
+
actions?: import('jamespot-user-api').SocialAction[] | undefined;
|
|
16
|
+
};
|
|
17
|
+
}>[] | undefined;
|
|
18
|
+
contact: boolean;
|
|
19
|
+
filebank?: import('jamespot-user-api').jFolderLittle | null | undefined;
|
|
20
|
+
licenses: Array<import('jamespot-user-api').License>;
|
|
21
|
+
licensesExtrabot?: {
|
|
22
|
+
active: boolean;
|
|
23
|
+
monthRequestsMax: number;
|
|
24
|
+
monthRequestsHit: number;
|
|
25
|
+
} | undefined;
|
|
26
|
+
messenger?: import('jamespot-user-api').jMessengerDiscussionGroupLittle | null | undefined;
|
|
27
|
+
quarantine?: {
|
|
28
|
+
count: number;
|
|
29
|
+
};
|
|
30
|
+
quizFieldDefinitions: Record<string, import('jamespot-user-api').QuizFieldType>;
|
|
31
|
+
quizResponseRecord: import('jamespot-user-api').QuizResponse;
|
|
32
|
+
recurringEventRecord: import('jamespot-user-api').jRecurringEventView;
|
|
33
|
+
socialEventRecord: import('jamespot-user-api').socialEventRecord;
|
|
34
|
+
surveyDateRecord: {
|
|
35
|
+
members: import('jamespot-user-api').jUserLittle[];
|
|
36
|
+
responses: import('jamespot-user-api').SurveyDateResponses;
|
|
37
|
+
};
|
|
38
|
+
search: never;
|
|
39
|
+
bookmark: never;
|
|
40
|
+
}, "licenses">;
|
|
41
|
+
})[] | undefined, {
|
|
4
42
|
jlandUrlBase: string;
|
|
5
43
|
map: MapCreationFront;
|
|
6
44
|
}, {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jObjectLittle, WallFilter } from 'jamespot-user-api';
|
|
2
|
+
import { Loading } from '../../types/utils';
|
|
3
|
+
export type WallRootState = {
|
|
4
|
+
filters: WallFilter[];
|
|
5
|
+
taxonomies: jObjectLittle[];
|
|
6
|
+
} & Loading;
|
|
7
|
+
export type WallShapeRootState = {
|
|
8
|
+
wall: WallRootState;
|
|
9
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { jObjectLittle, WallFilter } from 'jamespot-user-api';
|
|
2
|
+
import { RootState } from '../../types/store';
|
|
3
|
+
import { WallRootState } from './wall.types';
|
|
4
|
+
export declare const fetchWallFilters: import('@reduxjs/toolkit').AsyncThunk<{
|
|
5
|
+
filterList: WallFilter[];
|
|
6
|
+
taxonomies: jObjectLittle[];
|
|
7
|
+
}, void, {
|
|
8
|
+
dispatch: import('../..').AppDispatch;
|
|
9
|
+
state: RootState;
|
|
10
|
+
extra: {
|
|
11
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
12
|
+
};
|
|
13
|
+
rejectValue?: unknown;
|
|
14
|
+
serializedErrorType?: unknown;
|
|
15
|
+
pendingMeta?: unknown;
|
|
16
|
+
fulfilledMeta?: unknown;
|
|
17
|
+
rejectedMeta?: unknown;
|
|
18
|
+
}>;
|
|
19
|
+
export declare const initialState: WallRootState;
|
|
20
|
+
export declare const wallSlice: import('@reduxjs/toolkit').Slice<WallRootState, {
|
|
21
|
+
setFilters: (state: import('@reduxjs/toolkit').WritableDraft<WallRootState>, action: {
|
|
22
|
+
payload: any;
|
|
23
|
+
type: string;
|
|
24
|
+
}) => void;
|
|
25
|
+
setLoading: (state: import('@reduxjs/toolkit').WritableDraft<WallRootState>, action: {
|
|
26
|
+
payload: any;
|
|
27
|
+
type: string;
|
|
28
|
+
}) => void;
|
|
29
|
+
reset: () => WallRootState;
|
|
30
|
+
}, "wall", "wall", import('@reduxjs/toolkit').SliceSelectors<WallRootState>>;
|
|
31
|
+
export declare const selectWall: (state: RootState) => WallRootState;
|
|
32
|
+
export declare const selectWallFilters: (state: RootState) => WallFilter[];
|
|
33
|
+
export declare const selectWallFiltersTaxonomies: (state: RootState) => jObjectLittle[];
|
|
34
|
+
export declare const Wall: {
|
|
35
|
+
slice: import('@reduxjs/toolkit').Slice<WallRootState, {
|
|
36
|
+
setFilters: (state: import('@reduxjs/toolkit').WritableDraft<WallRootState>, action: {
|
|
37
|
+
payload: any;
|
|
38
|
+
type: string;
|
|
39
|
+
}) => void;
|
|
40
|
+
setLoading: (state: import('@reduxjs/toolkit').WritableDraft<WallRootState>, action: {
|
|
41
|
+
payload: any;
|
|
42
|
+
type: string;
|
|
43
|
+
}) => void;
|
|
44
|
+
reset: () => WallRootState;
|
|
45
|
+
}, "wall", "wall", import('@reduxjs/toolkit').SliceSelectors<WallRootState>>;
|
|
46
|
+
actions: {
|
|
47
|
+
fetchWallFilters: import('@reduxjs/toolkit').AsyncThunk<{
|
|
48
|
+
filterList: WallFilter[];
|
|
49
|
+
taxonomies: jObjectLittle[];
|
|
50
|
+
}, void, {
|
|
51
|
+
dispatch: import('../..').AppDispatch;
|
|
52
|
+
state: RootState;
|
|
53
|
+
extra: {
|
|
54
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
55
|
+
};
|
|
56
|
+
rejectValue?: unknown;
|
|
57
|
+
serializedErrorType?: unknown;
|
|
58
|
+
pendingMeta?: unknown;
|
|
59
|
+
fulfilledMeta?: unknown;
|
|
60
|
+
rejectedMeta?: unknown;
|
|
61
|
+
}>;
|
|
62
|
+
setFilters: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, "wall/setFilters">;
|
|
63
|
+
setLoading: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, "wall/setLoading">;
|
|
64
|
+
reset: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"wall/reset">;
|
|
65
|
+
};
|
|
66
|
+
selectors: {
|
|
67
|
+
selectWall: (state: RootState) => WallRootState;
|
|
68
|
+
selectWallFilters: (state: RootState) => WallFilter[];
|
|
69
|
+
selectWallFiltersTaxonomies: (state: RootState) => jObjectLittle[];
|
|
70
|
+
};
|
|
71
|
+
};
|
|
@@ -1,33 +1,5 @@
|
|
|
1
1
|
import { ApiWrapper, PagingResults } from 'jamespot-user-api';
|
|
2
|
-
export declare const fetchFiles: import('@reduxjs/toolkit').AsyncThunk<ApiWrapper<PagingResults<{
|
|
3
|
-
type: string;
|
|
4
|
-
id: number;
|
|
5
|
-
mainType: string;
|
|
6
|
-
uri: string;
|
|
7
|
-
title: string;
|
|
8
|
-
mimetype: string;
|
|
9
|
-
_extend: {
|
|
10
|
-
dateCreation: string;
|
|
11
|
-
dateModified: string;
|
|
12
|
-
_url: string;
|
|
13
|
-
generalAccessRule: string;
|
|
14
|
-
fileInfo: import('jamespot-user-api').OnlyOfficeFileInfo;
|
|
15
|
-
parentId: number;
|
|
16
|
-
parentType: string;
|
|
17
|
-
parentFiles: number[];
|
|
18
|
-
generalAccessHash?: string | undefined;
|
|
19
|
-
};
|
|
20
|
-
_user: Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
21
|
-
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
22
|
-
dateCreation: string;
|
|
23
|
-
dateModified: string;
|
|
24
|
-
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
25
|
-
};
|
|
26
|
-
_right: import('jamespot-user-api').Rights;
|
|
27
|
-
_audience: import('jamespot-user-api').jObjectLittle[];
|
|
28
|
-
dateCreation?: string | undefined | undefined;
|
|
29
|
-
dateModified?: string | null | undefined | undefined;
|
|
30
|
-
}>, import('jamespot-user-api').BaseMessages>, {
|
|
2
|
+
export declare const fetchFiles: import('@reduxjs/toolkit').AsyncThunk<ApiWrapper<PagingResults<import('jamespot-user-api').OnlyOfficeFile>, import('jamespot-user-api').BaseMessages>, {
|
|
31
3
|
page: number;
|
|
32
4
|
query: string;
|
|
33
5
|
sort: "ASC" | "DESC";
|
|
@@ -43,35 +15,7 @@ export declare const fetchFiles: import('@reduxjs/toolkit').AsyncThunk<ApiWrappe
|
|
|
43
15
|
fulfilledMeta?: unknown;
|
|
44
16
|
rejectedMeta?: unknown;
|
|
45
17
|
}>;
|
|
46
|
-
export declare const fetchRecentFiles: import('@reduxjs/toolkit').AsyncThunk<ApiWrapper<PagingResults<{
|
|
47
|
-
type: string;
|
|
48
|
-
id: number;
|
|
49
|
-
mainType: string;
|
|
50
|
-
uri: string;
|
|
51
|
-
title: string;
|
|
52
|
-
mimetype: string;
|
|
53
|
-
_extend: {
|
|
54
|
-
dateCreation: string;
|
|
55
|
-
dateModified: string;
|
|
56
|
-
_url: string;
|
|
57
|
-
generalAccessRule: string;
|
|
58
|
-
fileInfo: import('jamespot-user-api').OnlyOfficeFileInfo;
|
|
59
|
-
parentId: number;
|
|
60
|
-
parentType: string;
|
|
61
|
-
parentFiles: number[];
|
|
62
|
-
generalAccessHash?: string | undefined;
|
|
63
|
-
};
|
|
64
|
-
_user: Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
65
|
-
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
66
|
-
dateCreation: string;
|
|
67
|
-
dateModified: string;
|
|
68
|
-
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
69
|
-
};
|
|
70
|
-
_right: import('jamespot-user-api').Rights;
|
|
71
|
-
_audience: import('jamespot-user-api').jObjectLittle[];
|
|
72
|
-
dateCreation?: string | undefined | undefined;
|
|
73
|
-
dateModified?: string | null | undefined | undefined;
|
|
74
|
-
}>, import('jamespot-user-api').BaseMessages>, void, {
|
|
18
|
+
export declare const fetchRecentFiles: import('@reduxjs/toolkit').AsyncThunk<ApiWrapper<PagingResults<import('jamespot-user-api').OnlyOfficeFile>, import('jamespot-user-api').BaseMessages>, void, {
|
|
75
19
|
dispatch: import('../..').AppDispatch;
|
|
76
20
|
state: import('../..').RootState;
|
|
77
21
|
extra: {
|
|
@@ -7,35 +7,7 @@ export declare const WedocApp: {
|
|
|
7
7
|
}, "wedoc", "wedoc", import('@reduxjs/toolkit').SliceSelectors<import('./wedoc.types').WedocAppState>>;
|
|
8
8
|
selectors: {
|
|
9
9
|
getFiles: (state: RootState) => {
|
|
10
|
-
entities:
|
|
11
|
-
type: string;
|
|
12
|
-
id: number;
|
|
13
|
-
mainType: string;
|
|
14
|
-
uri: string;
|
|
15
|
-
title: string;
|
|
16
|
-
mimetype: string;
|
|
17
|
-
_extend: {
|
|
18
|
-
dateCreation: string;
|
|
19
|
-
dateModified: string;
|
|
20
|
-
_url: string;
|
|
21
|
-
generalAccessRule: string;
|
|
22
|
-
fileInfo: import('jamespot-user-api').OnlyOfficeFileInfo;
|
|
23
|
-
parentId: number;
|
|
24
|
-
parentType: string;
|
|
25
|
-
parentFiles: number[];
|
|
26
|
-
generalAccessHash?: string | undefined;
|
|
27
|
-
};
|
|
28
|
-
_user: Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
29
|
-
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
30
|
-
dateCreation: string;
|
|
31
|
-
dateModified: string;
|
|
32
|
-
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
33
|
-
};
|
|
34
|
-
_right: import('jamespot-user-api').Rights;
|
|
35
|
-
_audience: import('jamespot-user-api').jObjectLittle[];
|
|
36
|
-
dateCreation?: string | undefined | undefined;
|
|
37
|
-
dateModified?: string | null | undefined | undefined;
|
|
38
|
-
}[];
|
|
10
|
+
entities: import('jamespot-user-api').OnlyOfficeFile[];
|
|
39
11
|
nbEntities: number;
|
|
40
12
|
loading: boolean;
|
|
41
13
|
tab: import('./wedoc.types').WedocAppTabKeys;
|
|
@@ -43,69 +15,13 @@ export declare const WedocApp: {
|
|
|
43
15
|
page: number;
|
|
44
16
|
};
|
|
45
17
|
getRecent: (state: RootState) => {
|
|
46
|
-
entities:
|
|
47
|
-
type: string;
|
|
48
|
-
id: number;
|
|
49
|
-
mainType: string;
|
|
50
|
-
uri: string;
|
|
51
|
-
title: string;
|
|
52
|
-
mimetype: string;
|
|
53
|
-
_extend: {
|
|
54
|
-
dateCreation: string;
|
|
55
|
-
dateModified: string;
|
|
56
|
-
_url: string;
|
|
57
|
-
generalAccessRule: string;
|
|
58
|
-
fileInfo: import('jamespot-user-api').OnlyOfficeFileInfo;
|
|
59
|
-
parentId: number;
|
|
60
|
-
parentType: string;
|
|
61
|
-
parentFiles: number[];
|
|
62
|
-
generalAccessHash?: string | undefined;
|
|
63
|
-
};
|
|
64
|
-
_user: Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
65
|
-
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
66
|
-
dateCreation: string;
|
|
67
|
-
dateModified: string;
|
|
68
|
-
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
69
|
-
};
|
|
70
|
-
_right: import('jamespot-user-api').Rights;
|
|
71
|
-
_audience: import('jamespot-user-api').jObjectLittle[];
|
|
72
|
-
dateCreation?: string | undefined | undefined;
|
|
73
|
-
dateModified?: string | null | undefined | undefined;
|
|
74
|
-
}[];
|
|
18
|
+
entities: import('jamespot-user-api').OnlyOfficeFile[];
|
|
75
19
|
loading: boolean;
|
|
76
20
|
tab: import('./wedoc.types').WedocAppTabKeys;
|
|
77
21
|
};
|
|
78
22
|
};
|
|
79
23
|
actions: {
|
|
80
|
-
fetchFiles: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').ApiWrapper<import('jamespot-user-api').PagingResults<{
|
|
81
|
-
type: string;
|
|
82
|
-
id: number;
|
|
83
|
-
mainType: string;
|
|
84
|
-
uri: string;
|
|
85
|
-
title: string;
|
|
86
|
-
mimetype: string;
|
|
87
|
-
_extend: {
|
|
88
|
-
dateCreation: string;
|
|
89
|
-
dateModified: string;
|
|
90
|
-
_url: string;
|
|
91
|
-
generalAccessRule: string;
|
|
92
|
-
fileInfo: import('jamespot-user-api').OnlyOfficeFileInfo;
|
|
93
|
-
parentId: number;
|
|
94
|
-
parentType: string;
|
|
95
|
-
parentFiles: number[];
|
|
96
|
-
generalAccessHash?: string | undefined;
|
|
97
|
-
};
|
|
98
|
-
_user: Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
99
|
-
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
100
|
-
dateCreation: string;
|
|
101
|
-
dateModified: string;
|
|
102
|
-
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
103
|
-
};
|
|
104
|
-
_right: import('jamespot-user-api').Rights;
|
|
105
|
-
_audience: import('jamespot-user-api').jObjectLittle[];
|
|
106
|
-
dateCreation?: string | undefined | undefined;
|
|
107
|
-
dateModified?: string | null | undefined | undefined;
|
|
108
|
-
}>, import('jamespot-user-api').BaseMessages>, {
|
|
24
|
+
fetchFiles: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').ApiWrapper<import('jamespot-user-api').PagingResults<import('jamespot-user-api').OnlyOfficeFile>, import('jamespot-user-api').BaseMessages>, {
|
|
109
25
|
page: number;
|
|
110
26
|
query: string;
|
|
111
27
|
sort: "ASC" | "DESC";
|
|
@@ -121,35 +37,7 @@ export declare const WedocApp: {
|
|
|
121
37
|
fulfilledMeta?: unknown;
|
|
122
38
|
rejectedMeta?: unknown;
|
|
123
39
|
}>;
|
|
124
|
-
fetchRecentFiles: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').ApiWrapper<import('jamespot-user-api').PagingResults<{
|
|
125
|
-
type: string;
|
|
126
|
-
id: number;
|
|
127
|
-
mainType: string;
|
|
128
|
-
uri: string;
|
|
129
|
-
title: string;
|
|
130
|
-
mimetype: string;
|
|
131
|
-
_extend: {
|
|
132
|
-
dateCreation: string;
|
|
133
|
-
dateModified: string;
|
|
134
|
-
_url: string;
|
|
135
|
-
generalAccessRule: string;
|
|
136
|
-
fileInfo: import('jamespot-user-api').OnlyOfficeFileInfo;
|
|
137
|
-
parentId: number;
|
|
138
|
-
parentType: string;
|
|
139
|
-
parentFiles: number[];
|
|
140
|
-
generalAccessHash?: string | undefined;
|
|
141
|
-
};
|
|
142
|
-
_user: Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
143
|
-
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
144
|
-
dateCreation: string;
|
|
145
|
-
dateModified: string;
|
|
146
|
-
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
147
|
-
};
|
|
148
|
-
_right: import('jamespot-user-api').Rights;
|
|
149
|
-
_audience: import('jamespot-user-api').jObjectLittle[];
|
|
150
|
-
dateCreation?: string | undefined | undefined;
|
|
151
|
-
dateModified?: string | null | undefined | undefined;
|
|
152
|
-
}>, import('jamespot-user-api').BaseMessages>, void, {
|
|
40
|
+
fetchRecentFiles: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').ApiWrapper<import('jamespot-user-api').PagingResults<import('jamespot-user-api').OnlyOfficeFile>, import('jamespot-user-api').BaseMessages>, void, {
|
|
153
41
|
dispatch: import('../..').AppDispatch;
|
|
154
42
|
state: RootState;
|
|
155
43
|
extra: {
|
|
@@ -81,6 +81,7 @@ export declare let store: import('@reduxjs/toolkit').EnhancedStore<{
|
|
|
81
81
|
logsObjects: import('../store/admin/logs/types').AdminLogsObjectsSliceState;
|
|
82
82
|
logsSearch: import('../store/admin/logs/types').AdminLogsSearchSliceState;
|
|
83
83
|
};
|
|
84
|
+
wall: import('..').WallRootState;
|
|
84
85
|
}, import('@reduxjs/toolkit').UnknownAction, import('@reduxjs/toolkit').Tuple<[import('@reduxjs/toolkit').StoreEnhancer<{
|
|
85
86
|
dispatch: import('@reduxjs/toolkit').ThunkDispatch<{
|
|
86
87
|
widgets: import('jamespot-user-api').WidgetsState;
|
|
@@ -165,6 +166,7 @@ export declare let store: import('@reduxjs/toolkit').EnhancedStore<{
|
|
|
165
166
|
logsObjects: import('../store/admin/logs/types').AdminLogsObjectsSliceState;
|
|
166
167
|
logsSearch: import('../store/admin/logs/types').AdminLogsSearchSliceState;
|
|
167
168
|
};
|
|
169
|
+
wall: import('..').WallRootState;
|
|
168
170
|
}, {
|
|
169
171
|
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
170
172
|
}, import('@reduxjs/toolkit').UnknownAction>;
|
|
@@ -27,7 +27,8 @@ import { EditorsRootState } from '../store/widgetEditor/widgetEditor.types';
|
|
|
27
27
|
import { ModelRootState } from '../store/model/model.types';
|
|
28
28
|
import { CalendarRootState } from '../store/calendar/calendar.types';
|
|
29
29
|
import { FileIntegrityRootState } from '../store/fileIntegrity/fileIntegrity.types';
|
|
30
|
-
|
|
30
|
+
import { WallShapeRootState } from '../store/wall/wall.types';
|
|
31
|
+
type AsyncReducers = AdminLogsRootState & AnimationsRootState & AssetReservationRootState & BookmarkRootState & CalendarRootState & ContentReportRootState & EditorsRootState & ExtraBotRootState & FaqRootState & FileIntegrityRootState & JLandRootState & MagicPadRootState & MediaLibraryRootState & ShareRootState & StudioRootState & TeamWorkRootState & TinyMCERootState & TVDisplayRootState & WedocAppRootState & WidgetsRootState & WallShapeRootState;
|
|
31
32
|
type StaticReducers = {
|
|
32
33
|
entities: ApplicationRootState & ModelRootState;
|
|
33
34
|
} & CommentRootState & HookRootState & NetworkRootState & PlatformRootState & ToastRootState & UserCurrentRootState;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-front-business",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.20",
|
|
4
4
|
"description": "typescript utils",
|
|
5
5
|
"main": "dist/jamespot-front-business.js",
|
|
6
6
|
"module": "dist/jamespot-front-business.mjs",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
38
38
|
"eslint-plugin-import": "^2.32.0",
|
|
39
39
|
"globals": "^16.5.0",
|
|
40
|
-
"jamespot-user-api": "^1.3.
|
|
40
|
+
"jamespot-user-api": "^1.3.20",
|
|
41
41
|
"jest": "^30.2.0",
|
|
42
42
|
"jest-environment-jsdom": "^30.2.0",
|
|
43
43
|
"knip": "^5.70.0",
|