jamespot-front-business 1.1.48 → 1.1.50

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/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as redux from 'redux';
2
2
  import { Dispatch as Dispatch$1 } from 'redux';
3
3
  import * as jamespot_user_api from 'jamespot-user-api';
4
- import { AnimationConfigurationType, ApplicationType, WidgetsRootState, JamespotUserApi, AudienceAutocomplete, StudioApplicationBase, jTaxonomyLittle, ReservationList, BookableAssetList, AssetReservationConfiguration, BookmarkRawList, FaqHookProperties, FaqAccess, ExtendedFaqCategory, FaqList, HookListType, JLandMap, AdminLicensesNotAssigned, jArticleList, Filters, Orders, PagingResults, MediaLibraryList, ApiPagingResults, ApiWrapper, Model as Model$1, NetworkType, WedocFileType, jUserLittle, TVChannelList, TinyMCECommonOptions, jUserList, WidgetKeys, WidgetWrapperProps, WidgetTypeKeys, WidgetDefinitionProps, CombinedWidgetContent, WidgetsState, WidgetVector, WidgetStateProps } from 'jamespot-user-api';
4
+ import { AnimationConfigurationType, ApplicationType, WidgetsRootState, JamespotUserApi, AudienceAutocomplete, StudioApplicationBase, jTaxonomyLittle, ReservationList, BookableAssetList, AssetReservationConfiguration, BookmarkRawList, FaqHookProperties, FaqAccess, ExtendedFaqCategory, FaqList, HookListType, JLandMap, AdminLicensesNotAssigned, jArticleView, Filters, Orders, PagingResults, MediaLibraryList, ApiPagingResults, ApiWrapper, Model as Model$1, NetworkType, WedocFileType, jUserLittle, TVChannelList, TinyMCECommonOptions, jUserList, WidgetKeys, WidgetWrapperProps, WidgetTypeKeys, WidgetDefinitionProps, CombinedWidgetContent, WidgetsState, WidgetVector, WidgetStateProps } from 'jamespot-user-api';
5
5
  import * as _reduxjs_toolkit from '@reduxjs/toolkit';
6
6
  import { EntityState, Dispatch, Action, PayloadAction } from '@reduxjs/toolkit';
7
7
  import * as _reduxjs_toolkit_dist_tsHelpers from '@reduxjs/toolkit/dist/tsHelpers';
@@ -1292,6 +1292,11 @@ declare const slice$1: _reduxjs_toolkit.Slice<{}, {
1292
1292
  create: boolean;
1293
1293
  autorize: ("comment" | "article" | "message" | "board" | undefined)[];
1294
1294
  }) | undefined;
1295
+ AdminAdvancedHook?: ({
1296
+ isActive: boolean;
1297
+ } & {
1298
+ sendAlert: boolean;
1299
+ }) | undefined;
1295
1300
  };
1296
1301
  }, "hooks">;
1297
1302
  declare type HookRootState = {
@@ -1325,6 +1330,11 @@ declare const Hook: {
1325
1330
  create: boolean;
1326
1331
  autorize: ("comment" | "article" | "message" | "board" | undefined)[];
1327
1332
  }) | undefined;
1333
+ AdminAdvancedHook?: ({
1334
+ isActive: boolean;
1335
+ } & {
1336
+ sendAlert: boolean;
1337
+ }) | undefined;
1328
1338
  };
1329
1339
  }, "hooks">;
1330
1340
  actions: _reduxjs_toolkit.CaseReducerActions<{
@@ -1354,6 +1364,11 @@ declare const Hook: {
1354
1364
  create: boolean;
1355
1365
  autorize: ("comment" | "article" | "message" | "board" | undefined)[];
1356
1366
  }) | undefined;
1367
+ AdminAdvancedHook?: ({
1368
+ isActive: boolean;
1369
+ } & {
1370
+ sendAlert: boolean;
1371
+ }) | undefined;
1357
1372
  };
1358
1373
  }, "hooks">;
1359
1374
  selectors: {
@@ -1383,8 +1398,13 @@ declare const Hook: {
1383
1398
  create: boolean;
1384
1399
  autorize: ("comment" | "article" | "message" | "board" | undefined)[];
1385
1400
  }) | undefined;
1401
+ AdminAdvancedHook?: ({
1402
+ isActive: boolean;
1403
+ } & {
1404
+ sendAlert: boolean;
1405
+ }) | undefined;
1386
1406
  };
1387
- selectHook: <T extends "DriveHook" | "calendarHook" | "FileBankHook" | "spotRssFeed" | "WidgetHook">(state: HookRootState, hook: T) => {
1407
+ selectHook: <T extends "DriveHook" | "calendarHook" | "FileBankHook" | "spotRssFeed" | "WidgetHook" | "AdminAdvancedHook">(state: HookRootState, hook: T) => {
1388
1408
  DriveHook?: ({
1389
1409
  isActive: boolean;
1390
1410
  } & {
@@ -1410,6 +1430,11 @@ declare const Hook: {
1410
1430
  create: boolean;
1411
1431
  autorize: ("comment" | "article" | "message" | "board" | undefined)[];
1412
1432
  }) | undefined;
1433
+ AdminAdvancedHook?: ({
1434
+ isActive: boolean;
1435
+ } & {
1436
+ sendAlert: boolean;
1437
+ }) | undefined;
1413
1438
  }[T] | undefined;
1414
1439
  };
1415
1440
  utils: {
@@ -1568,7 +1593,7 @@ declare const jland: {
1568
1593
  };
1569
1594
 
1570
1595
  declare type MagicPadSliceRootState = Loading & {
1571
- pads: jArticleList[];
1596
+ pads: jArticleView[];
1572
1597
  query: string;
1573
1598
  page: number;
1574
1599
  tab: 'my-pads' | 'all-pads';
@@ -1587,7 +1612,7 @@ declare const magicPadSlice: _reduxjs_toolkit.Slice<MagicPadSliceRootState, {
1587
1612
  setFilters: (state: Draft<S>, action: PayloadAction<MagicPadSliceRootState['filters']>) => void;
1588
1613
  setOrders: (state: Draft<S>, action: PayloadAction<MagicPadSliceRootState['orders']>) => void;
1589
1614
  }, "magicPad">;
1590
- declare const fetchPads: _reduxjs_toolkit.AsyncThunk<PagingResults<jArticleList>, {
1615
+ declare const fetchPads: _reduxjs_toolkit.AsyncThunk<PagingResults<jArticleView>, {
1591
1616
  idUserLogged: number;
1592
1617
  }, {
1593
1618
  dispatch: any;
@@ -1613,7 +1638,7 @@ declare const MagicPad: {
1613
1638
  setOrders: (state: Draft<S>, action: PayloadAction<MagicPadSliceRootState['orders']>) => void;
1614
1639
  }, "magicPad">;
1615
1640
  actions: {
1616
- fetchPads: _reduxjs_toolkit.AsyncThunk<PagingResults<jArticleList>, {
1641
+ fetchPads: _reduxjs_toolkit.AsyncThunk<PagingResults<jArticleView>, {
1617
1642
  idUserLogged: number;
1618
1643
  }, {
1619
1644
  dispatch: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-front-business",
3
- "version": "1.1.48",
3
+ "version": "1.1.50",
4
4
  "description": "typescript utils",
5
5
  "main": "dist/cjs.js",
6
6
  "module": "dist/esm.js",
@@ -39,7 +39,7 @@
39
39
  "dependencies": {
40
40
  "@reduxjs/toolkit": "1.9.0",
41
41
  "@types/uuid": "^9.0.8",
42
- "jamespot-user-api": "^1.0.158",
42
+ "jamespot-user-api": "^1.0.163",
43
43
  "react-redux": "7.2.9",
44
44
  "redux": "4.2.0",
45
45
  "uuid": "^9.0.1"