@arsedizioni/ars-utils 22.0.35 → 22.0.36

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arsedizioni/ars-utils",
3
- "version": "22.0.35",
3
+ "version": "22.0.36",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -1214,6 +1214,24 @@ declare class ClipperAccountService {
1214
1214
  * @returns An observable emitting the API result wrapping a boolean success flag.
1215
1215
  */
1216
1216
  deleteLink(item: ClipperUserLink): rxjs.Observable<ApiResult<boolean>>;
1217
+ /**
1218
+ * Retrieves the current dashboard and applies its counters to the shared dashboard state.
1219
+ * @returns The subscription to the dashboard request.
1220
+ */
1221
+ loadDashboard(): rxjs.Subscription;
1222
+ /**
1223
+ * Retrieves documents updated in the last 15 days for the given search parameters.
1224
+ * @param params - The search parameters to filter results.
1225
+ * @returns An observable emitting the API result wrapping the last-days result.
1226
+ */
1227
+ last15Days(params: ClipperSearchParams): rxjs.Observable<ApiResult<ClipperLastDaysResult>>;
1228
+ /**
1229
+ * Adjusts the unread-item counter for the given module and broadcasts a dashboard update.
1230
+ * @param module - The Clipper module whose counter should be adjusted.
1231
+ * @param model - Optional document model to further scope the counter update.
1232
+ * @param increment - The signed increment to apply (use negative values to decrement).
1233
+ */
1234
+ updateUnreadItems(module: ClipperModule, model?: ClipperModel, increment?: number): void;
1217
1235
  static ɵfac: i0.ɵɵFactoryDeclaration<ClipperAccountService, never>;
1218
1236
  static ɵprov: i0.ɵɵInjectableDeclaration<ClipperAccountService>;
1219
1237
  }
@@ -1573,24 +1591,6 @@ declare class ClipperDocumentsService {
1573
1591
  * @returns An observable emitting the API result wrapping the list of tags.
1574
1592
  */
1575
1593
  getTags(): rxjs.Observable<ApiResult<NameValueItem<string>[]>>;
1576
- /**
1577
- * Retrieves the current dashboard and applies its counters to the shared dashboard state.
1578
- * @returns The subscription to the dashboard request.
1579
- */
1580
- loadDashboard(): rxjs.Subscription;
1581
- /**
1582
- * Retrieves documents updated in the last 15 days for the given search parameters.
1583
- * @param params - The search parameters to filter results.
1584
- * @returns An observable emitting the API result wrapping the last-days result.
1585
- */
1586
- last15Days(params: ClipperSearchParams): rxjs.Observable<ApiResult<ClipperLastDaysResult>>;
1587
- /**
1588
- * Adjusts the unread-item counter for the given module and broadcasts a dashboard update.
1589
- * @param module - The Clipper module whose counter should be adjusted.
1590
- * @param model - Optional document model to further scope the counter update.
1591
- * @param increment - The signed increment to apply (use negative values to decrement).
1592
- */
1593
- updateUnreadItems(module: ClipperModule, model?: ClipperModel, increment?: number): void;
1594
1594
  /**
1595
1595
  * Loads the working documents and populates the shared bag.
1596
1596
  * @returns The subscription to the working-documents request.
@@ -1705,9 +1705,9 @@ declare class ClipperService {
1705
1705
  private readonly core;
1706
1706
  /** Authentication: login/logout, MFA, OTP. */
1707
1707
  readonly session: ClipperLoginService;
1708
- /** Document search, references, export, dashboard, working-documents bag and saved searches. */
1708
+ /** Document search, references, export, working-documents bag and saved searches. */
1709
1709
  readonly documents: ClipperDocumentsService;
1710
- /** Account settings, password, channels, trial info and user links. */
1710
+ /** Account settings, dashboard, password, channels, trial info and user links. */
1711
1711
  readonly account: ClipperAccountService;
1712
1712
  /** Archive folders and files. */
1713
1713
  readonly archive: ClipperArchiveService;