@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.
- package/CHANGELOG.md +6 -0
- package/dist/esm/bookmarks/client.js +2 -0
- package/dist/esm/bookmarks/client.js.map +1 -1
- package/dist/esm/bookmarks/endpoints/user-bookmarks.get.js +1 -1
- package/dist/esm/bookmarks/endpoints/user-bookmarks.get.js.map +1 -1
- package/dist/esm/bookmarks/schemas.js +1 -1
- package/dist/esm/bookmarks/schemas.js.map +1 -1
- package/dist/esm/bookmarks/selectors.js +5 -14
- package/dist/esm/bookmarks/selectors.js.map +1 -1
- package/dist/esm/context/client.js +2 -0
- package/dist/esm/context/client.js.map +1 -1
- package/dist/esm/context/get/generate-endpoint.js +1 -2
- package/dist/esm/context/get/generate-endpoint.js.map +1 -1
- package/dist/esm/context/query/generate-endpoint.js +2 -4
- package/dist/esm/context/query/generate-endpoint.js.map +1 -1
- package/dist/esm/context/related/generate-endpoint.js +2 -4
- package/dist/esm/context/related/generate-endpoint.js.map +1 -1
- package/dist/esm/errors.js +1 -0
- package/dist/esm/errors.js.map +1 -1
- package/dist/esm/module.js +7 -16
- package/dist/esm/module.js.map +1 -1
- package/dist/esm/notification/client.js +2 -0
- package/dist/esm/notification/client.js.map +1 -1
- package/dist/esm/notification/notification/delete/generate-endpoint.js +1 -2
- package/dist/esm/notification/notification/delete/generate-endpoint.js.map +1 -1
- package/dist/esm/notification/notification/get/generate-endpoint.js +1 -2
- package/dist/esm/notification/notification/get/generate-endpoint.js.map +1 -1
- package/dist/esm/notification/notification/getAll/generate-endpoint.js +1 -2
- package/dist/esm/notification/notification/getAll/generate-endpoint.js.map +1 -1
- package/dist/esm/notification/notification/patch/generate-endpoint.js +1 -2
- package/dist/esm/notification/notification/patch/generate-endpoint.js.map +1 -1
- package/dist/esm/notification/notification/post/generate-endpoint.js +1 -2
- package/dist/esm/notification/notification/post/generate-endpoint.js.map +1 -1
- package/dist/esm/notification/settings/get/generate-endpoint.js +1 -2
- package/dist/esm/notification/settings/get/generate-endpoint.js.map +1 -1
- package/dist/esm/notification/settings/put/generate-endpoint.js +1 -2
- package/dist/esm/notification/settings/put/generate-endpoint.js.map +1 -1
- package/dist/esm/people/client.js +1 -0
- package/dist/esm/people/client.js.map +1 -1
- package/dist/esm/people/person-details/generate-endpoint.js +1 -2
- package/dist/esm/people/person-details/generate-endpoint.js.map +1 -1
- package/dist/esm/people/person-photo/generate-endpoint.js +1 -2
- package/dist/esm/people/person-photo/generate-endpoint.js.map +1 -1
- package/dist/esm/people/query/generate-endpoint.js +1 -2
- package/dist/esm/people/query/generate-endpoint.js.map +1 -1
- package/dist/esm/provider.js +24 -40
- package/dist/esm/provider.js.map +1 -1
- package/dist/esm/utils.js +1 -10
- package/dist/esm/utils.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +7 -43
- package/src/version.ts +1 -1
- package/tests/mocks/get-context-item.ts +2 -2
- package/tsconfig.json +6 -16
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "5.1.
|
|
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.
|
|
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.
|
|
125
|
-
"@equinor/fusion-framework-module-service-discovery": "^8.0.
|
|
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
|
+
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
|
-
|
|
33
|
-
|
|
34
|
-
"exclude": [
|
|
35
|
-
"node_modules",
|
|
36
|
-
"lib",
|
|
37
|
-
"tests"
|
|
38
|
-
]
|
|
39
|
-
}
|
|
27
|
+
"include": ["src/**/*", "tests/**/*"],
|
|
28
|
+
"exclude": ["node_modules", "lib", "tests"]
|
|
29
|
+
}
|