jamespot-user-api 1.0.141 → 1.0.143
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/documentation/assets/search.js +1 -1
- package/documentation/classes/AdminLicenseApi.html +11 -11
- package/documentation/classes/AdminStoreApi.html +1 -1
- package/documentation/classes/AdminUtilsApi.html +1 -1
- package/documentation/classes/JApplicationApi.html +8 -8
- package/documentation/classes/JArticleApi.html +1 -1
- package/documentation/classes/JAssetReservation.html +1 -1
- package/documentation/classes/JAudienceApi.html +1 -1
- package/documentation/classes/JBaseApi.html +1 -1
- package/documentation/classes/JBookmarkApi.html +1 -1
- package/documentation/classes/JBusinessNetworkingApi.html +1 -1
- package/documentation/classes/JCommunityApi.html +1 -1
- package/documentation/classes/JDiapazoneApi.html +1 -1
- package/documentation/classes/JFaqApi.html +1 -1
- package/documentation/classes/JFileApi.html +5 -5
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGlobalApi.html +1 -1
- package/documentation/classes/JGroupApi.html +9 -9
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JObjectApi.html +1 -1
- package/documentation/classes/JSearchApi.html +6 -6
- package/documentation/classes/JShareApi.html +1 -1
- package/documentation/classes/JSocialActionApi.html +1 -1
- package/documentation/classes/JTaxonomyApi.html +2 -2
- package/documentation/classes/JUserApi.html +6 -6
- package/documentation/classes/JWedocApi.html +1 -1
- package/documentation/classes/JWidgetApi.html +1 -0
- package/documentation/classes/JamespotUserApi.html +1 -1
- package/documentation/classes/Network.html +1 -1
- package/documentation/classes/TVDisplayApi.html +1 -1
- package/documentation/classes/WindowBrowser.html +1 -1
- package/documentation/enums/StudioApplicationStatus.html +1 -1
- package/documentation/index.html +1 -1
- package/documentation/interfaces/AccessRightObject.html +1 -1
- package/documentation/interfaces/AdminLicenseUser.html +1 -1
- package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
- package/documentation/interfaces/ApiWrapper.html +1 -1
- package/documentation/interfaces/BaseAutocomplete.html +1 -1
- package/documentation/interfaces/BaseMessage.html +1 -1
- package/documentation/interfaces/Category.html +1 -1
- package/documentation/interfaces/FileBankProps.html +1 -1
- package/documentation/interfaces/FolderProps.html +1 -1
- package/documentation/interfaces/ListFilterSpec.html +1 -1
- package/documentation/interfaces/OF.html +1 -1
- package/documentation/interfaces/ObjectListProps.html +1 -1
- package/documentation/interfaces/PagingResults.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SearchCategoryModel.html +1 -1
- package/documentation/interfaces/SearchCategoryValue.html +1 -1
- package/documentation/interfaces/SearchConfig.html +1 -1
- package/documentation/interfaces/SearchFacetModel.html +1 -1
- package/documentation/interfaces/SearchFacetValueModel.html +1 -1
- package/documentation/interfaces/SearchQuery.html +1 -1
- package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
- package/documentation/interfaces/SearchQueryOption.html +1 -1
- package/documentation/interfaces/SearchQueryResult.html +1 -1
- package/documentation/interfaces/SearchQuerySortModel.html +1 -1
- package/documentation/interfaces/SearchResultCatProps.html +1 -1
- package/documentation/interfaces/SearchResultPropsApp.html +1 -1
- package/documentation/interfaces/SearchResultPropsObject.html +1 -1
- package/documentation/interfaces/SpotProps.html +1 -1
- package/documentation/interfaces/Taxonomy.html +1 -1
- package/documentation/interfaces/TaxonomyCreate.html +1 -1
- package/documentation/interfaces/WindowInterface.html +1 -1
- package/documentation/modules.html +11 -11
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/animations/animations.d.ts +14 -0
- package/lib/src/apis/animations/animations.mock.d.ts +4 -0
- package/lib/src/apis/animations/animations.test.d.ts +1 -0
- package/lib/src/apis/index.d.ts +1 -0
- package/lib/src/apis/jamespotUserApi.d.ts +4 -0
- package/lib/src/apis/widget/widget.d.ts +5 -0
- package/lib/src/apis/widget/widget.mock.d.ts +2 -0
- package/lib/src/apis/widget/widget.test.d.ts +1 -0
- package/lib/src/types/tinymce.d.ts +2 -0
- package/package.json +1 -1
- package/phpunitMock/animationsGetConfiguration-default.json +13 -0
- package/phpunitMock/animationsSaveConfiguration-default.json +1 -0
- package/phpunitMock/widgetResponseUserList-raw-little.json +19 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { JBaseApi } from '../base';
|
|
2
|
+
import { ApiWrapper } from '../../types';
|
|
3
|
+
export type AnimationVariant = 'Olympics' | 'Maythefourth' | 'Spring' | 'MusicFestival' | 'EasterEggs' | 'CustomAnimation';
|
|
4
|
+
export type AnimationConfigurationType = {
|
|
5
|
+
name: AnimationVariant;
|
|
6
|
+
activeClickEffect: number;
|
|
7
|
+
activeDecor: number;
|
|
8
|
+
auto: number;
|
|
9
|
+
audience: string[];
|
|
10
|
+
};
|
|
11
|
+
export declare class JAnimationsApi extends JBaseApi {
|
|
12
|
+
SaveAnimationConfiguration(animation: Object | null): Promise<ApiWrapper<boolean>>;
|
|
13
|
+
GetCurrentAnimation(checkAudience?: boolean): Promise<ApiWrapper<AnimationConfigurationType>>;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/src/apis/index.d.ts
CHANGED
|
@@ -22,11 +22,13 @@ import { Network } from '../util';
|
|
|
22
22
|
import { TVDisplayApi } from './tvDisplay/tvDisplay';
|
|
23
23
|
import { JShareApi } from './share/share';
|
|
24
24
|
import { JFaqApi } from './faq/faq';
|
|
25
|
+
import { JAnimationsApi } from './animations/animations';
|
|
25
26
|
import { JObjectApi } from './object/object';
|
|
26
27
|
import { JFileSyncApi } from './fileSync/fileSync';
|
|
27
28
|
import { JGlobalApi } from './global/global';
|
|
28
29
|
import { JSocialActionApi } from './socialAction/socialAction';
|
|
29
30
|
import { JBusinessNetworkingApi } from './businessNetworking/businessNetworking';
|
|
31
|
+
import { JWidgetApi } from './widget/widget';
|
|
30
32
|
/**
|
|
31
33
|
* In browser usage, 'window' should be the window object.
|
|
32
34
|
* In server side usage, 'window' object given must implement the fetch method, used by the Apis.
|
|
@@ -69,5 +71,7 @@ export declare class JamespotUserApi {
|
|
|
69
71
|
tvDisplay: TVDisplayApi;
|
|
70
72
|
user: JUserApi;
|
|
71
73
|
wedoc: JWedocApi;
|
|
74
|
+
widget: JWidgetApi;
|
|
75
|
+
animations: JAnimationsApi;
|
|
72
76
|
constructor(network: Network);
|
|
73
77
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,6 +3,7 @@ export type TinyMCEDynamicOptions = {
|
|
|
3
3
|
toolbar: string;
|
|
4
4
|
language: string;
|
|
5
5
|
content_css: string;
|
|
6
|
+
quickbars_selection_toolbar: string;
|
|
6
7
|
};
|
|
7
8
|
export type TinyMCECommonOptions = TinyMCEDynamicOptions & {
|
|
8
9
|
plugins: string[];
|
|
@@ -27,4 +28,5 @@ export type TinyMCECommonOptions = TinyMCEDynamicOptions & {
|
|
|
27
28
|
contextmenu: string | false;
|
|
28
29
|
paste_data_images: boolean;
|
|
29
30
|
browser_spellcheck: boolean;
|
|
31
|
+
quickbars_insert_toolbar: boolean;
|
|
30
32
|
};
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "o": "animations", "f": "saveConfiguration", "error": 0, "messages": [], "result": true }
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "widget",
|
|
3
|
+
"f": "responseUserList",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": [
|
|
7
|
+
{
|
|
8
|
+
"id": 5,
|
|
9
|
+
"mainType": "user",
|
|
10
|
+
"type": "user",
|
|
11
|
+
"uri": "user/5",
|
|
12
|
+
"dateCreation": "2019-07-09 15:48:45",
|
|
13
|
+
"dateModified": "2019-07-09 15:51:16",
|
|
14
|
+
"title": "Admin2",
|
|
15
|
+
"_url": "/user/5",
|
|
16
|
+
"level": 9
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|