@yuuvis/client-core 2.0.4 → 2.0.5

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.
@@ -15,6 +15,8 @@ export declare class AuditService {
15
15
  private adminAuditActions;
16
16
  /**
17
17
  * Get audit entries of a dms object
18
+ * @param id The id of the object to get the audit entries for
19
+ * @param options Options
18
20
  */
19
21
  getAuditEntries(id: string, options?: AuditQueryOptions): Observable<AuditQueryResult>;
20
22
  /**
@@ -31,6 +31,11 @@ export declare class AuthService {
31
31
  * Logs out the current user.
32
32
  */
33
33
  logout(): void;
34
+ /**
35
+ * Persists the initial request URI. This is nessesary to be able to
36
+ * redirect the user to the requested page after authentication.
37
+ * This is done on app initialization (core-init).
38
+ */
34
39
  setInitialRequestUri(): void;
35
40
  /**
36
41
  * Get the URL that entered the app. May be a deep link that could then be
@@ -4,7 +4,11 @@ import { ConfigService } from '../config/config.service';
4
4
  import { HttpDeleteOptions, HttpOptions } from './backend.interface';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
- * Service for providing an yuuvis Backend
7
+ * Service for http communication with the yuuvis Momentum backend. Apps
8
+ * should use this service to communicate with the backend instead of default
9
+ * httpClient because required headers are managed and apps do not have
10
+ * to care about preqrequisits.
11
+ *
8
12
  */
9
13
  export declare class BackendService {
10
14
  #private;
@@ -1,7 +1,13 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
- * This service is used for connecting and initializing in the client
4
+ * Service to monitor the online/offline state of the application.
5
+ * It listens to the browser's online and offline events and provides an observable
6
+ * to track the current connection state.
7
+ *
8
+ * An observable `connection$` is provided which emits the current connection state
9
+ * whenever the online or offline state changes. The initial state is determined by
10
+ * the `window.navigator.onLine` property.
5
11
  */
6
12
  export declare class ConnectionService {
7
13
  private currentState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuuvis/client-core",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "author": "OPTIMAL SYSTEMS GmbH <npm@optimal-systems.de>",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {