@equinor/fusion-framework-module-services 5.1.2 → 5.1.3

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.
Files changed (56) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/esm/bookmarks/client.js +2 -0
  3. package/dist/esm/bookmarks/client.js.map +1 -1
  4. package/dist/esm/bookmarks/endpoints/user-bookmarks.get.js +1 -1
  5. package/dist/esm/bookmarks/endpoints/user-bookmarks.get.js.map +1 -1
  6. package/dist/esm/bookmarks/schemas.js +1 -1
  7. package/dist/esm/bookmarks/schemas.js.map +1 -1
  8. package/dist/esm/bookmarks/selectors.js +5 -14
  9. package/dist/esm/bookmarks/selectors.js.map +1 -1
  10. package/dist/esm/context/client.js +2 -0
  11. package/dist/esm/context/client.js.map +1 -1
  12. package/dist/esm/context/get/generate-endpoint.js +1 -2
  13. package/dist/esm/context/get/generate-endpoint.js.map +1 -1
  14. package/dist/esm/context/query/generate-endpoint.js +2 -4
  15. package/dist/esm/context/query/generate-endpoint.js.map +1 -1
  16. package/dist/esm/context/related/generate-endpoint.js +2 -4
  17. package/dist/esm/context/related/generate-endpoint.js.map +1 -1
  18. package/dist/esm/errors.js +1 -0
  19. package/dist/esm/errors.js.map +1 -1
  20. package/dist/esm/module.js +7 -16
  21. package/dist/esm/module.js.map +1 -1
  22. package/dist/esm/notification/client.js +2 -0
  23. package/dist/esm/notification/client.js.map +1 -1
  24. package/dist/esm/notification/notification/delete/generate-endpoint.js +1 -2
  25. package/dist/esm/notification/notification/delete/generate-endpoint.js.map +1 -1
  26. package/dist/esm/notification/notification/get/generate-endpoint.js +1 -2
  27. package/dist/esm/notification/notification/get/generate-endpoint.js.map +1 -1
  28. package/dist/esm/notification/notification/getAll/generate-endpoint.js +1 -2
  29. package/dist/esm/notification/notification/getAll/generate-endpoint.js.map +1 -1
  30. package/dist/esm/notification/notification/patch/generate-endpoint.js +1 -2
  31. package/dist/esm/notification/notification/patch/generate-endpoint.js.map +1 -1
  32. package/dist/esm/notification/notification/post/generate-endpoint.js +1 -2
  33. package/dist/esm/notification/notification/post/generate-endpoint.js.map +1 -1
  34. package/dist/esm/notification/settings/get/generate-endpoint.js +1 -2
  35. package/dist/esm/notification/settings/get/generate-endpoint.js.map +1 -1
  36. package/dist/esm/notification/settings/put/generate-endpoint.js +1 -2
  37. package/dist/esm/notification/settings/put/generate-endpoint.js.map +1 -1
  38. package/dist/esm/people/client.js +1 -0
  39. package/dist/esm/people/client.js.map +1 -1
  40. package/dist/esm/people/person-details/generate-endpoint.js +1 -2
  41. package/dist/esm/people/person-details/generate-endpoint.js.map +1 -1
  42. package/dist/esm/people/person-photo/generate-endpoint.js +1 -2
  43. package/dist/esm/people/person-photo/generate-endpoint.js.map +1 -1
  44. package/dist/esm/people/query/generate-endpoint.js +1 -2
  45. package/dist/esm/people/query/generate-endpoint.js.map +1 -1
  46. package/dist/esm/provider.js +24 -40
  47. package/dist/esm/provider.js.map +1 -1
  48. package/dist/esm/utils.js +1 -10
  49. package/dist/esm/utils.js.map +1 -1
  50. package/dist/esm/version.js +1 -1
  51. package/dist/tsconfig.tsbuildinfo +1 -1
  52. package/dist/types/version.d.ts +1 -1
  53. package/package.json +7 -43
  54. package/src/version.ts +1 -1
  55. package/tests/mocks/get-context-item.ts +2 -2
  56. package/tsconfig.json +6 -16
@@ -1 +1 @@
1
- export declare const version = "5.1.2";
1
+ export declare const version = "5.1.3";
package/package.json CHANGED
@@ -1,50 +1,10 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-module-services",
3
- "version": "5.1.2",
3
+ "version": "5.1.3",
4
4
  "description": "",
5
5
  "sideEffects": false,
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "index.d.ts",
8
- "typesVersions": {
9
- ">=4.2": {
10
- "*": [
11
- "dist/types/*"
12
- ],
13
- "notification": [
14
- "dist/types/notification/index"
15
- ],
16
- "context": [
17
- "dist/types/context/index"
18
- ],
19
- "context/get": [
20
- "dist/types/context/get/index"
21
- ],
22
- "context/query": [
23
- "dist/types/context/query/index"
24
- ],
25
- "context/related": [
26
- "dist/types/context/related/index"
27
- ],
28
- "people": [
29
- "dist/types/people/index"
30
- ],
31
- "people/utils": [
32
- "dist/types/people/utils"
33
- ],
34
- "people/get": [
35
- "dist/types/people/person-details/index"
36
- ],
37
- "people/query": [
38
- "dist/types/people/query/index"
39
- ],
40
- "people/photo": [
41
- "dist/types/people/person-photo/index"
42
- ],
43
- "bookmarks": [
44
- "dist/types/bookmarks/index"
45
- ]
46
- }
47
- },
48
8
  "exports": {
49
9
  ".": {
50
10
  "import": "./dist/esm/index.js",
@@ -74,6 +34,10 @@
74
34
  "import": "./dist/esm/notification/index.js",
75
35
  "types": "./dist/types/notification/index.d.ts"
76
36
  },
37
+ "./provider": {
38
+ "import": "./dist/esm/provider.js",
39
+ "types": "./dist/types/provider.d.ts"
40
+ },
77
41
  "./people": {
78
42
  "import": "./dist/esm/people/index.js",
79
43
  "types": "./dist/types/people/index.d.ts"
@@ -121,8 +85,8 @@
121
85
  "typescript": "^5.8.2",
122
86
  "vitest": "^2.0.5",
123
87
  "@equinor/fusion-framework-module": "^4.3.7",
124
- "@equinor/fusion-framework-module-http": "^6.2.3",
125
- "@equinor/fusion-framework-module-service-discovery": "^8.0.8"
88
+ "@equinor/fusion-framework-module-http": "^6.2.4",
89
+ "@equinor/fusion-framework-module-service-discovery": "^8.0.10"
126
90
  },
127
91
  "peerDependencies": {
128
92
  "odata-query": "^7.0.4",
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '5.1.2';
2
+ export const version = '5.1.3';
@@ -17,10 +17,10 @@ function stringToSeed(uuid: string): number {
17
17
  /**
18
18
  * Since generation of dates might have a slight difference in milliseconds
19
19
  * we normalize the date to the nearest minute, so we can compare them.
20
- *
20
+ *
21
21
  * @note
22
22
  * This might fail at exactly midnight, but the odds for that are slim. Rerun the test if it fails.
23
- *
23
+ *
24
24
  * @param date date to normalize
25
25
  * @returns string
26
26
  */
package/tsconfig.json CHANGED
@@ -4,14 +4,10 @@
4
4
  "outDir": "dist/esm",
5
5
  "rootDir": "src",
6
6
  "declarationDir": "./dist/types",
7
-
7
+
8
8
  "paths": {
9
- "@equinor/fusion-framework-module-services": [
10
- "./"
11
- ],
12
- "@equinor/fusion-framework-module-services/*": [
13
- "./*"
14
- ]
9
+ "@equinor/fusion-framework-module-services": ["./"],
10
+ "@equinor/fusion-framework-module-services/*": ["./*"]
15
11
  }
16
12
  },
17
13
  "references": [
@@ -28,12 +24,6 @@
28
24
  "path": "../service-discovery"
29
25
  }
30
26
  ],
31
- "include": [
32
- "src/**/*", "tests/**/*",
33
- ],
34
- "exclude": [
35
- "node_modules",
36
- "lib",
37
- "tests"
38
- ]
39
- }
27
+ "include": ["src/**/*", "tests/**/*"],
28
+ "exclude": ["node_modules", "lib", "tests"]
29
+ }