@iblai/data-layer 1.8.3 → 1.8.5
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/dist/index.d.ts +1558 -1676
- package/dist/index.esm.js +27 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +31 -2
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/features/sessions/__tests__/api-slice.test.d.ts +1 -0
- package/dist/src/features/sessions/__tests__/url.test.d.ts +1 -0
- package/dist/src/features/sessions/api-slice.d.ts +122 -252
- package/dist/src/features/sessions/constants.d.ts +3 -0
- package/dist/src/features/sessions/url.d.ts +9 -0
- package/dist/src/features/utils.d.ts +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type GetSessionIdArgs = {
|
|
2
|
+
org: string;
|
|
3
|
+
sessionId: string;
|
|
4
|
+
userId?: string;
|
|
5
|
+
page?: number;
|
|
6
|
+
pageSize?: number;
|
|
7
|
+
};
|
|
8
|
+
export declare const buildSessionRetrieveUrl: ({ org, sessionId, userId, page, pageSize, }: GetSessionIdArgs) => string;
|
|
9
|
+
export declare const buildSharedSessionRetrieveUrl: ({ org, sessionId, userId, page, pageSize, }: GetSessionIdArgs) => string;
|
|
@@ -50,6 +50,13 @@ export declare const buildEndpointFromDmService: <Args extends Record<string, un
|
|
|
50
50
|
export declare const buildEndpointFromAxdService: <Args extends Record<string, unknown>, Result>(serviceFn: (args: Args) => Promise<Result>, options?: BuildEndpointOptions) => {
|
|
51
51
|
queryFn: BaseQueryFn<Args, Result, FetchBaseQueryError | CustomError>;
|
|
52
52
|
};
|
|
53
|
+
/**
|
|
54
|
+
* Build an endpoint from a hand-assembled URL (rather than a generated service
|
|
55
|
+
* method), routed through `iblFetchBaseQuery`. Defaults to the DM service.
|
|
56
|
+
*/
|
|
57
|
+
export declare const buildEndpointFromDmUrl: <Args extends Record<string, unknown>, Result>(buildUrl: (args: Args) => string, service?: SERVICES) => {
|
|
58
|
+
queryFn: BaseQueryFn<Args, Result, FetchBaseQueryError | CustomError>;
|
|
59
|
+
};
|
|
53
60
|
export interface CustomQueryArgs extends Omit<FetchArgs, 'url'> {
|
|
54
61
|
url: string;
|
|
55
62
|
service: SERVICES;
|