alimetry-shared 1.0.0 → 1.1.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.
package/README.md CHANGED
@@ -1,24 +1,4 @@
1
1
  # Shared
2
2
 
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.0.
3
+ A shared service that has some helpers for interfacing with the api for any common requests
4
4
 
5
- ## Code scaffolding
6
-
7
- Run `ng generate component component-name --project shared` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project shared`.
8
- > Note: Don't forget to add `--project shared` or else it will be added to the default project in your `angular.json` file.
9
-
10
- ## Build
11
-
12
- Run `ng build shared` to build the project. The build artifacts will be stored in the `dist/` directory.
13
-
14
- ## Publishing
15
-
16
- After building your library with `ng build shared`, go to the dist folder `cd dist/shared` and run `npm publish`.
17
-
18
- ## Running unit tests
19
-
20
- Run `ng test shared` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
-
22
- ## Further help
23
-
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvc2hhcmVkL3NyYy9saWIvY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIENvbmZpZyB7XG4gIGN1cnJlbnRVc2VyOiBVc2VyO1xuICBjdXJyZW50VGVuYW50OiBUZW5hbnQ7XG4gIGNyaXRlcmlhOiBPYmplY3Q7XG4gIG93bmVyczogVXNlcltdO1xuICBkZXZpY2VEYXRhTW9kZWxJZDogc3RyaW5nO1xufVxuXG5leHBvcnQgaW50ZXJmYW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lQWNjb3VudDogYm9vbGVhbjtcbiAgY2FuVmlld1NlbnNpdGl2ZURhdGE6IGJvb2xlYW47XG4gIGFjY2VwdGVkVGVybXNPZlVzZUZvclRlbmFudDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBUZW5hbnQge1xuICB0ZW5hbnRJZDogc3RyaW5nO1xuICBsb2dvOiBzdHJpbmc7XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgVXNlclJvbGUge1xuICByb2xlOiBzdHJpbmc7XG4gIHByYWN0aWNlOiBPYmplY3Q7XG4gIHN1cHBsaWVyOiBPYmplY3Q7XG4gIGRlZmF1bHRSb2xlOiBib29sZWFuO1xufVxuIl19
package/lib/config.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  export interface Config {
2
- currentUser: User;
3
- currentTenant: Tenant;
2
+ currentUserId: string;
3
+ tenantId: string;
4
4
  criteria: Object;
5
- owners: User[];
5
+ owners: string[];
6
6
  deviceDataModelId: string;
7
7
  }
8
8
  export interface User {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alimetry-shared",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0"