@igo2/context 1.9.4 → 1.10.0

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.
@@ -1,7 +1,7 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { BehaviorSubject, Observable, Subject } from 'rxjs';
3
3
  import { Tool } from '@igo2/common';
4
- import { ConfigService, RouteService, Message, MessageService, LanguageService } from '@igo2/core';
4
+ import { ConfigService, RouteService, MessageService, LanguageService } from '@igo2/core';
5
5
  import { AuthService } from '@igo2/auth';
6
6
  import type { IgoMap, Layer } from '@igo2/geo';
7
7
  import { TypePermission } from './context.enum';
@@ -23,7 +23,6 @@ export declare class ContextService {
23
23
  private mapViewFromRoute;
24
24
  private options;
25
25
  private baseUrl;
26
- private contextMessage;
27
26
  private tools;
28
27
  private toolbar;
29
28
  get defaultContextUri(): string;
@@ -45,7 +44,7 @@ export declare class ContextService {
45
44
  addToolAssociation(contextId: string, toolId: string): Observable<void>;
46
45
  deleteToolAssociation(contextId: string, toolId: string): Observable<any>;
47
46
  getPermissions(id: string): Observable<ContextPermission[]>;
48
- addPermissionAssociation(contextId: string, profil: string, type: TypePermission): Observable<ContextPermission[] | Message[]>;
47
+ addPermissionAssociation(contextId: string, profil: string, type: TypePermission): Observable<ContextPermission[]>;
49
48
  deletePermissionAssociation(contextId: string, permissionId: string): Observable<void>;
50
49
  getLocalContexts(): Observable<ContextsList>;
51
50
  getLocalContext(uri: string): Observable<DetailedContext>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igo2/context",
3
- "version": "1.9.4",
3
+ "version": "1.10.0",
4
4
  "description": "IGO Library",
5
5
  "author": "MSP",
6
6
  "keywords": [
@@ -21,11 +21,11 @@
21
21
  "@angular/core": "^12.2.9",
22
22
  "@angular/forms": "^12.2.9",
23
23
  "@angular/material": "^12.2.9",
24
- "@igo2/auth": "^1.9.4",
25
- "@igo2/common": "^1.9.4",
26
- "@igo2/core": "^1.9.4",
27
- "@igo2/utils": "^1.9.4",
28
- "@igo2/geo": "^1.9.4",
24
+ "@igo2/auth": "^1.10.0",
25
+ "@igo2/common": "^1.10.0",
26
+ "@igo2/core": "^1.10.0",
27
+ "@igo2/utils": "^1.10.0",
28
+ "@igo2/geo": "^1.10.0",
29
29
  "ol": "^6.8.1",
30
30
  "rxjs": "^6.6.7"
31
31
  },