@equinor/fusion-framework-module-bookmark 2.1.4 → 2.1.6
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 +19 -0
- package/dist/esm/BookmarkClient.js +46 -66
- package/dist/esm/BookmarkClient.js.map +1 -1
- package/dist/esm/BookmarkConfigurator.js +96 -142
- package/dist/esm/BookmarkConfigurator.js.map +1 -1
- package/dist/esm/BookmarkProvider.actions.js +7 -7
- package/dist/esm/BookmarkProvider.actions.js.map +1 -1
- package/dist/esm/BookmarkProvider.error.js +1 -0
- package/dist/esm/BookmarkProvider.error.js.map +1 -1
- package/dist/esm/BookmarkProvider.js +160 -230
- package/dist/esm/BookmarkProvider.js.map +1 -1
- package/dist/esm/BookmarkProvider.reducer.js +6 -20
- package/dist/esm/BookmarkProvider.reducer.js.map +1 -1
- package/dist/esm/bookmark-module.js +8 -19
- package/dist/esm/bookmark-module.js.map +1 -1
- package/dist/esm/enable-bookmark.js +2 -11
- package/dist/esm/enable-bookmark.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/BookmarkProvider.d.ts +5 -5
- package/dist/types/bookmark.schemas.d.ts +11 -11
- package/dist/types/version.d.ts +1 -1
- package/package.json +11 -18
- package/src/version.ts +1 -1
|
@@ -172,7 +172,7 @@ export declare class BookmarkProvider implements IBookmarkProvider {
|
|
|
172
172
|
*/
|
|
173
173
|
getBookmark<T extends BookmarkData>(bookmarkId: string, options?: {
|
|
174
174
|
excludePayload?: boolean;
|
|
175
|
-
}): Observable<import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<
|
|
175
|
+
}): Observable<import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
|
176
176
|
id: import("zod").ZodString;
|
|
177
177
|
name: import("zod").ZodString;
|
|
178
178
|
appKey: import("zod").ZodString;
|
|
@@ -232,9 +232,9 @@ export declare class BookmarkProvider implements IBookmarkProvider {
|
|
|
232
232
|
name?: string | null | undefined;
|
|
233
233
|
subSystem?: string | null | undefined;
|
|
234
234
|
}>>>;
|
|
235
|
-
}
|
|
235
|
+
} & {
|
|
236
236
|
payload: import("zod").ZodType<T, import("zod").ZodTypeDef, T>;
|
|
237
|
-
}
|
|
237
|
+
}>, any> extends infer T_1 ? { [k in keyof T_1]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
|
238
238
|
id: import("zod").ZodString;
|
|
239
239
|
name: import("zod").ZodString;
|
|
240
240
|
appKey: import("zod").ZodString;
|
|
@@ -294,9 +294,9 @@ export declare class BookmarkProvider implements IBookmarkProvider {
|
|
|
294
294
|
name?: string | null | undefined;
|
|
295
295
|
subSystem?: string | null | undefined;
|
|
296
296
|
}>>>;
|
|
297
|
-
}
|
|
297
|
+
} & {
|
|
298
298
|
payload: import("zod").ZodType<T, import("zod").ZodTypeDef, T>;
|
|
299
|
-
}
|
|
299
|
+
}>, any>[k]; } : never>;
|
|
300
300
|
/**
|
|
301
301
|
* Retrieves a bookmark asynchronously.
|
|
302
302
|
*
|
|
@@ -273,7 +273,7 @@ export declare const bookmarksSchema: z.ZodArray<z.ZodObject<{
|
|
|
273
273
|
subSystem?: string | null | undefined;
|
|
274
274
|
} | null | undefined;
|
|
275
275
|
}>, "many">;
|
|
276
|
-
export declare const bookmarkWithDataSchema: <T extends BookmarkData = BookmarkData, S extends z.ZodSchema<T> = z.ZodSchema<T>>(schema?: S) => z.ZodObject<
|
|
276
|
+
export declare const bookmarkWithDataSchema: <T extends BookmarkData = BookmarkData, S extends z.ZodSchema<T> = z.ZodSchema<T>>(schema?: S) => z.ZodObject<{
|
|
277
277
|
id: z.ZodString;
|
|
278
278
|
name: z.ZodString;
|
|
279
279
|
appKey: z.ZodString;
|
|
@@ -333,9 +333,9 @@ export declare const bookmarkWithDataSchema: <T extends BookmarkData = BookmarkD
|
|
|
333
333
|
name?: string | null | undefined;
|
|
334
334
|
subSystem?: string | null | undefined;
|
|
335
335
|
}>>>;
|
|
336
|
-
}
|
|
336
|
+
} & {
|
|
337
337
|
payload: S;
|
|
338
|
-
}
|
|
338
|
+
}, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
339
339
|
id: z.ZodString;
|
|
340
340
|
name: z.ZodString;
|
|
341
341
|
appKey: z.ZodString;
|
|
@@ -395,9 +395,9 @@ export declare const bookmarkWithDataSchema: <T extends BookmarkData = BookmarkD
|
|
|
395
395
|
name?: string | null | undefined;
|
|
396
396
|
subSystem?: string | null | undefined;
|
|
397
397
|
}>>>;
|
|
398
|
-
}
|
|
398
|
+
} & {
|
|
399
399
|
payload: S;
|
|
400
|
-
}
|
|
400
|
+
}>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
401
401
|
id: z.ZodString;
|
|
402
402
|
name: z.ZodString;
|
|
403
403
|
appKey: z.ZodString;
|
|
@@ -457,9 +457,9 @@ export declare const bookmarkWithDataSchema: <T extends BookmarkData = BookmarkD
|
|
|
457
457
|
name?: string | null | undefined;
|
|
458
458
|
subSystem?: string | null | undefined;
|
|
459
459
|
}>>>;
|
|
460
|
-
}
|
|
460
|
+
} & {
|
|
461
461
|
payload: S;
|
|
462
|
-
}
|
|
462
|
+
}>, any>[k]; } : never, z.baseObjectInputType<{
|
|
463
463
|
id: z.ZodString;
|
|
464
464
|
name: z.ZodString;
|
|
465
465
|
appKey: z.ZodString;
|
|
@@ -519,9 +519,9 @@ export declare const bookmarkWithDataSchema: <T extends BookmarkData = BookmarkD
|
|
|
519
519
|
name?: string | null | undefined;
|
|
520
520
|
subSystem?: string | null | undefined;
|
|
521
521
|
}>>>;
|
|
522
|
-
}
|
|
522
|
+
} & {
|
|
523
523
|
payload: S;
|
|
524
|
-
}
|
|
524
|
+
}> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<{
|
|
525
525
|
id: z.ZodString;
|
|
526
526
|
name: z.ZodString;
|
|
527
527
|
appKey: z.ZodString;
|
|
@@ -581,6 +581,6 @@ export declare const bookmarkWithDataSchema: <T extends BookmarkData = BookmarkD
|
|
|
581
581
|
name?: string | null | undefined;
|
|
582
582
|
subSystem?: string | null | undefined;
|
|
583
583
|
}>>>;
|
|
584
|
-
}
|
|
584
|
+
} & {
|
|
585
585
|
payload: S;
|
|
586
|
-
}
|
|
586
|
+
}>[k_1]; } : never>;
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "2.1.
|
|
1
|
+
export declare const version = "2.1.6";
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-framework-module-bookmark",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
|
+
"types": "./dist/types/index.d.ts",
|
|
6
7
|
"exports": {
|
|
7
8
|
".": {
|
|
8
9
|
"import": "./dist/esm/index.js",
|
|
@@ -14,14 +15,6 @@
|
|
|
14
15
|
"types": "./dist/types/utils/index.d.ts"
|
|
15
16
|
}
|
|
16
17
|
},
|
|
17
|
-
"types": "./dist/types/index.d.ts",
|
|
18
|
-
"typesVersions": {
|
|
19
|
-
"*": {
|
|
20
|
-
"utils": [
|
|
21
|
-
"dist/types/utils/index.d.ts"
|
|
22
|
-
]
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
18
|
"keywords": [],
|
|
26
19
|
"author": "",
|
|
27
20
|
"license": "ISC",
|
|
@@ -38,20 +31,20 @@
|
|
|
38
31
|
"immer": "^9.0.16",
|
|
39
32
|
"rxjs": "^7.8.1",
|
|
40
33
|
"uuid": "^11.0.3",
|
|
41
|
-
"@equinor/fusion-framework-module": "^4.3.
|
|
42
|
-
"@equinor/fusion-
|
|
43
|
-
"@equinor/fusion-
|
|
44
|
-
"@equinor/fusion-query": "^5.2.
|
|
34
|
+
"@equinor/fusion-framework-module": "^4.3.8",
|
|
35
|
+
"@equinor/fusion-log": "^1.1.3",
|
|
36
|
+
"@equinor/fusion-observable": "^8.4.7",
|
|
37
|
+
"@equinor/fusion-query": "^5.2.5"
|
|
45
38
|
},
|
|
46
39
|
"devDependencies": {
|
|
47
40
|
"@types/uuid": "^9.0.8",
|
|
48
41
|
"typescript": "^5.8.2",
|
|
49
42
|
"zod": "^3.23.8",
|
|
50
|
-
"@equinor/fusion-framework-module-app": "^6.1.
|
|
51
|
-
"@equinor/fusion-framework-module-context": "^5.1.
|
|
52
|
-
"@equinor/fusion-framework-module-event": "^4.3.
|
|
53
|
-
"@equinor/fusion-framework-module-http": "^6.2.
|
|
54
|
-
"@equinor/fusion-framework-module-services": "^5.1.
|
|
43
|
+
"@equinor/fusion-framework-module-app": "^6.1.10",
|
|
44
|
+
"@equinor/fusion-framework-module-context": "^5.1.3",
|
|
45
|
+
"@equinor/fusion-framework-module-event": "^4.3.3",
|
|
46
|
+
"@equinor/fusion-framework-module-http": "^6.2.5",
|
|
47
|
+
"@equinor/fusion-framework-module-services": "^5.1.4"
|
|
55
48
|
},
|
|
56
49
|
"scripts": {
|
|
57
50
|
"build": "tsc -b"
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '2.1.
|
|
2
|
+
export const version = '2.1.6';
|