@equinor/roma-framework 0.0.11 → 0.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/dev-portal/package.json +1 -1
- package/dev-portal/roma-framework.umd.js +29562 -12939
- package/index.d.ts +1 -0
- package/lib/api/ms-graph/api/group/find-group-members.d.ts +3 -0
- package/lib/api/ms-graph/api/user/find-user-by-shortname.d.ts +1 -0
- package/lib/api/ms-graph/api/user/find-users-by-mail.d.ts +3 -0
- package/lib/api/ms-graph/index.d.ts +11 -0
- package/lib/api/ms-graph/model/group-membership.d.ts +8 -0
- package/lib/api/ms-graph/model/user.d.ts +18 -0
- package/lib/api/roma/api/app-controller/app-controller.d.ts +46 -24
- package/lib/api/roma/api/category-controller/category-controller.d.ts +18 -24
- package/lib/api/roma/api/environment-controller/environment-controller.d.ts +6 -12
- package/lib/api/roma/api/feedback-controller/feedback-controller.d.ts +31 -0
- package/lib/api/roma/api/roma-configuration-controller/roma-configuration-controller.d.ts +21 -27
- package/lib/api/roma/api/server-side-event-controller/server-side-event-controller.d.ts +6 -12
- package/lib/api/roma/api/service-controller/service-controller.d.ts +18 -24
- package/lib/api/roma/api/setting-controller/setting-controller.d.ts +56 -62
- package/lib/api/roma/index.d.ts +1 -0
- package/lib/api/roma/model/appDto.d.ts +3 -9
- package/lib/api/roma/model/environmentDto.d.ts +3 -8
- package/{dev-portal/lib/api/roma/model/categoryDto.d.ts → lib/api/roma/model/feedbackDetailsDto.d.ts} +5 -5
- package/lib/api/roma/model/feedbackDto.d.ts +7 -0
- package/{dev-portal/lib/api/roma/model/versionDto.d.ts → lib/api/roma/model/feedbackFeedbackDto.d.ts} +5 -4
- package/lib/api/roma/model/feedbackResponseDto.d.ts +5 -0
- package/lib/api/roma/model/feedbackResponseIssueDto.d.ts +11 -0
- package/{dev-portal/lib/api/roma/model/romaConfigurationDtoValue.d.ts → lib/api/roma/model/feedbackSolutionDto.d.ts} +3 -1
- package/{dev-portal/lib/api/roma/model/settingDtoValue.d.ts → lib/api/roma/model/getAllApps200.d.ts} +3 -1
- package/{dev-portal/lib/api/roma/model/serverSentEventActivityLogDto.d.ts → lib/api/roma/model/getAllCategories200.d.ts} +3 -1
- package/{dev-portal/lib/api/roma/model/serverSentEventStandardEventDto.d.ts → lib/api/roma/model/getAllServices200.d.ts} +3 -1
- package/lib/api/roma/model/getSettingsByAppShortName200.d.ts +10 -0
- package/lib/api/roma/model/getSettingsByUserId200.d.ts +10 -0
- package/lib/api/roma/model/index.d.ts +12 -0
- package/lib/api/roma/model/romaConfigurationDto.d.ts +2 -8
- package/lib/api/roma/model/romaConfigurationDtoValue.d.ts +3 -1
- package/lib/api/roma/model/serverSentEventStandardEventDto.d.ts +3 -1
- package/lib/api/roma/model/settingDto.d.ts +2 -8
- package/lib/api/roma/model/settingDtoValue.d.ts +3 -1
- package/lib/api/roma/model/uploadBundleBody.d.ts +10 -0
- package/lib/api/roma/use-client.d.ts +1 -1
- package/lib/app-provider.d.ts +3 -2
- package/lib/dev-portal/AppLoader.d.ts +4 -1
- package/lib/dev-portal/EquinorLoader.d.ts +2 -1
- package/lib/dev-portal/ErrorViewer.d.ts +1 -0
- package/lib/dev-portal/HttpErrorViewer.d.ts +1 -0
- package/lib/eds-event-provider.d.ts +1 -0
- package/lib/make-component.d.ts +2 -1
- package/lib/query/persister.d.ts +1 -0
- package/lib/style-provider.d.ts +1 -0
- package/package.json +1 -1
- package/roma-framework.mjs +135 -5
- package/dev-portal/lib/api/roma/api/app-controller/app-controller.d.ts +0 -100
- package/dev-portal/lib/api/roma/api/category-controller/category-controller.d.ts +0 -100
- package/dev-portal/lib/api/roma/api/environment-controller/environment-controller.d.ts +0 -33
- package/dev-portal/lib/api/roma/api/roma-configuration-controller/roma-configuration-controller.d.ts +0 -168
- package/dev-portal/lib/api/roma/api/server-side-event-controller/server-side-event-controller.d.ts +0 -27
- package/dev-portal/lib/api/roma/api/service-controller/service-controller.d.ts +0 -100
- package/dev-portal/lib/api/roma/api/setting-controller/setting-controller.d.ts +0 -267
- package/dev-portal/lib/api/roma/index.d.ts +0 -8
- package/dev-portal/lib/api/roma/model/appDto.d.ts +0 -26
- package/dev-portal/lib/api/roma/model/environmentDto.d.ts +0 -16
- package/dev-portal/lib/api/roma/model/getAllRomaConfigurationTypes200Item.d.ts +0 -11
- package/dev-portal/lib/api/roma/model/index.d.ts +0 -19
- package/dev-portal/lib/api/roma/model/romaConfigurationDto.d.ts +0 -14
- package/dev-portal/lib/api/roma/model/serviceDto.d.ts +0 -16
- package/dev-portal/lib/api/roma/model/settingDto.d.ts +0 -16
- package/dev-portal/lib/api/roma/use-client.d.ts +0 -34
- package/dev-portal/lib/app-provider.d.ts +0 -32
- package/dev-portal/lib/dev-portal/AppLoader.d.ts +0 -12
- package/dev-portal/lib/dev-portal/AppViewer.d.ts +0 -6
- package/dev-portal/lib/dev-portal/EquinorLoader.d.ts +0 -12
- package/dev-portal/lib/dev-portal/ErrorViewer.d.ts +0 -20
- package/dev-portal/lib/dev-portal/Header.d.ts +0 -2
- package/dev-portal/lib/dev-portal/Navigation.d.ts +0 -5
- package/dev-portal/lib/dev-portal/Root.d.ts +0 -5
- package/dev-portal/lib/dev-portal/config.d.ts +0 -3
- package/dev-portal/lib/dev-portal/index.d.ts +0 -13
- package/dev-portal/lib/eds-event-provider.d.ts +0 -6
- package/dev-portal/lib/make-component.d.ts +0 -12
- package/dev-portal/lib/query/persister.d.ts +0 -6
- package/dev-portal/lib/style-provider.d.ts +0 -7
- package/lib/api/fetcher.d.ts +0 -21
package/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './lib/dev-portal/AppViewer';
|
|
|
6
6
|
export * from './lib/style-provider';
|
|
7
7
|
export * from './lib/dev-portal/HttpErrorViewer';
|
|
8
8
|
export * from './lib/api/roma';
|
|
9
|
+
export * from './lib/api/ms-graph';
|
|
9
10
|
export * from './lib/app-provider';
|
|
10
11
|
export * from './lib/query/persister';
|
|
11
12
|
export * from './lib/hooks/use-get-api-roles';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useFindUsersByShortname: (shortnames: Array<string> | string, fields?: string[]) => import('@tanstack/react-query/build/legacy/types').UseQueryResult<import('../..').GroupMembership, Error>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API Methods
|
|
3
|
+
*/
|
|
4
|
+
export * from './api/group/find-group-members';
|
|
5
|
+
export * from './api/user/find-user-by-shortname';
|
|
6
|
+
export * from './api/user/find-users-by-mail';
|
|
7
|
+
/**
|
|
8
|
+
* API Models
|
|
9
|
+
*/
|
|
10
|
+
export * from './model/user';
|
|
11
|
+
export * from './model/group-membership';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type User = {
|
|
2
|
+
'@odata.context': string;
|
|
3
|
+
'@odata.count': number;
|
|
4
|
+
'@microsoft.graph.tips': string;
|
|
5
|
+
value: Array<{
|
|
6
|
+
businessPhones: Array<string>;
|
|
7
|
+
displayName: string;
|
|
8
|
+
givenName: string;
|
|
9
|
+
jobTitle: string | null;
|
|
10
|
+
mail: string;
|
|
11
|
+
mobilePhone: string | null;
|
|
12
|
+
officeLocation: string | null;
|
|
13
|
+
preferredLanguage: string | null;
|
|
14
|
+
surname: string | null;
|
|
15
|
+
userPrincipalName: string;
|
|
16
|
+
id: string;
|
|
17
|
+
}>;
|
|
18
|
+
};
|
|
@@ -1,23 +1,45 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* Tops Roma Rest API
|
|
6
|
-
* OpenAPI spec version: v1.0.0
|
|
7
|
-
*/
|
|
8
|
-
import type { QueryKey, UseMutationOptions, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
9
|
-
import type { AppDto } from '../../model';
|
|
10
|
-
import type { BodyType, ErrorType } from '../../use-client';
|
|
1
|
+
import { QueryKey, UseMutationOptions, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { AppDto, GetAllApps200, UploadBundleBody } from '../../model';
|
|
3
|
+
import { ErrorType, BodyType } from '../../use-client';
|
|
4
|
+
|
|
11
5
|
type AwaitedInput<T> = PromiseLike<T> | T;
|
|
12
6
|
type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
7
|
+
/**
|
|
8
|
+
* @summary Upload an application bundle file
|
|
9
|
+
*/
|
|
10
|
+
export declare const useUploadBundleHook: () => (key: string, uploadBundleBody: BodyType<UploadBundleBody>) => Promise<void>;
|
|
11
|
+
export declare const useUploadBundleMutationOptions: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
12
|
+
mutation?: UseMutationOptions<void, TError, {
|
|
13
|
+
key: string;
|
|
14
|
+
data: BodyType<UploadBundleBody>;
|
|
15
|
+
}, TContext> | undefined;
|
|
16
|
+
} | undefined) => UseMutationOptions<void, TError, {
|
|
17
|
+
key: string;
|
|
18
|
+
data: BodyType<UploadBundleBody>;
|
|
19
|
+
}, TContext>;
|
|
20
|
+
export type UploadBundleMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useUploadBundleHook>>>>;
|
|
21
|
+
export type UploadBundleMutationBody = BodyType<UploadBundleBody>;
|
|
22
|
+
export type UploadBundleMutationError = ErrorType<unknown>;
|
|
23
|
+
/**
|
|
24
|
+
* @summary Upload an application bundle file
|
|
25
|
+
*/
|
|
26
|
+
export declare const useUploadBundle: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
27
|
+
mutation?: UseMutationOptions<void, TError, {
|
|
28
|
+
key: string;
|
|
29
|
+
data: BodyType<UploadBundleBody>;
|
|
30
|
+
}, TContext> | undefined;
|
|
31
|
+
} | undefined) => import('@tanstack/react-query/build/legacy/types').UseMutationResult<void, TError, {
|
|
32
|
+
key: string;
|
|
33
|
+
data: BodyType<UploadBundleBody>;
|
|
34
|
+
}, TContext>;
|
|
13
35
|
/**
|
|
14
36
|
* @summary List apps
|
|
15
37
|
*/
|
|
16
|
-
export declare const useGetAllAppsHook: () => (signal?: AbortSignal) => Promise<
|
|
38
|
+
export declare const useGetAllAppsHook: () => (signal?: AbortSignal) => Promise<GetAllApps200>;
|
|
17
39
|
export declare const getGetAllAppsQueryKey: () => readonly ["/api/apps"];
|
|
18
|
-
export declare const useGetAllAppsQueryOptions: <TData =
|
|
19
|
-
query?: Partial<UseQueryOptions<
|
|
20
|
-
} | undefined) => UseQueryOptions<
|
|
40
|
+
export declare const useGetAllAppsQueryOptions: <TData = GetAllApps200, TError = import('../../use-client').HttpError>(options?: {
|
|
41
|
+
query?: Partial<UseQueryOptions<GetAllApps200, TError, TData, QueryKey>> | undefined;
|
|
42
|
+
} | undefined) => UseQueryOptions<GetAllApps200, TError, TData, QueryKey> & {
|
|
21
43
|
queryKey: QueryKey;
|
|
22
44
|
};
|
|
23
45
|
export type GetAllAppsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetAllAppsHook>>>>;
|
|
@@ -25,8 +47,8 @@ export type GetAllAppsQueryError = ErrorType<void>;
|
|
|
25
47
|
/**
|
|
26
48
|
* @summary List apps
|
|
27
49
|
*/
|
|
28
|
-
export declare const useGetAllApps: <TData =
|
|
29
|
-
query?: Partial<UseQueryOptions<
|
|
50
|
+
export declare const useGetAllApps: <TData = GetAllApps200, TError = import('../../use-client').HttpError>(options?: {
|
|
51
|
+
query?: Partial<UseQueryOptions<GetAllApps200, TError, TData, QueryKey>> | undefined;
|
|
30
52
|
} | undefined) => UseQueryResult<TData, TError> & {
|
|
31
53
|
queryKey: QueryKey;
|
|
32
54
|
};
|
|
@@ -34,7 +56,7 @@ export declare const useGetAllApps: <TData = AppDto[], TError = import("../../us
|
|
|
34
56
|
* @summary Create or update App
|
|
35
57
|
*/
|
|
36
58
|
export declare const useCreateOrUpdateAppHook: () => (appDto: BodyType<AppDto>) => Promise<AppDto>;
|
|
37
|
-
export declare const useCreateOrUpdateAppMutationOptions: <TError = import(
|
|
59
|
+
export declare const useCreateOrUpdateAppMutationOptions: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
38
60
|
mutation?: UseMutationOptions<AppDto, TError, {
|
|
39
61
|
data: BodyType<AppDto>;
|
|
40
62
|
}, TContext> | undefined;
|
|
@@ -47,11 +69,11 @@ export type CreateOrUpdateAppMutationError = ErrorType<void>;
|
|
|
47
69
|
/**
|
|
48
70
|
* @summary Create or update App
|
|
49
71
|
*/
|
|
50
|
-
export declare const useCreateOrUpdateApp: <TError = import(
|
|
72
|
+
export declare const useCreateOrUpdateApp: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
51
73
|
mutation?: UseMutationOptions<AppDto, TError, {
|
|
52
74
|
data: BodyType<AppDto>;
|
|
53
75
|
}, TContext> | undefined;
|
|
54
|
-
} | undefined) => import(
|
|
76
|
+
} | undefined) => import('@tanstack/react-query/build/legacy/types').UseMutationResult<AppDto, TError, {
|
|
55
77
|
data: BodyType<AppDto>;
|
|
56
78
|
}, TContext>;
|
|
57
79
|
/**
|
|
@@ -59,7 +81,7 @@ export declare const useCreateOrUpdateApp: <TError = import("../../use-client").
|
|
|
59
81
|
*/
|
|
60
82
|
export declare const useGetAppByKeyHook: () => (key: string, signal?: AbortSignal) => Promise<AppDto>;
|
|
61
83
|
export declare const getGetAppByKeyQueryKey: (key: string) => readonly [`/api/apps/key/${string}`];
|
|
62
|
-
export declare const useGetAppByKeyQueryOptions: <TData = AppDto, TError = import(
|
|
84
|
+
export declare const useGetAppByKeyQueryOptions: <TData = AppDto, TError = import('../../use-client').HttpError>(key: string, options?: {
|
|
63
85
|
query?: Partial<UseQueryOptions<AppDto, TError, TData, QueryKey>> | undefined;
|
|
64
86
|
} | undefined) => UseQueryOptions<AppDto, TError, TData, QueryKey> & {
|
|
65
87
|
queryKey: QueryKey;
|
|
@@ -69,7 +91,7 @@ export type GetAppByKeyQueryError = ErrorType<void>;
|
|
|
69
91
|
/**
|
|
70
92
|
* @summary Get app by key
|
|
71
93
|
*/
|
|
72
|
-
export declare const useGetAppByKey: <TData = AppDto, TError = import(
|
|
94
|
+
export declare const useGetAppByKey: <TData = AppDto, TError = import('../../use-client').HttpError>(key: string, options?: {
|
|
73
95
|
query?: Partial<UseQueryOptions<AppDto, TError, TData, QueryKey>> | undefined;
|
|
74
96
|
} | undefined) => UseQueryResult<TData, TError> & {
|
|
75
97
|
queryKey: QueryKey;
|
|
@@ -78,7 +100,7 @@ export declare const useGetAppByKey: <TData = AppDto, TError = import("../../use
|
|
|
78
100
|
* @summary Delete app by key
|
|
79
101
|
*/
|
|
80
102
|
export declare const useDeleteAppByKeyHook: () => (key: string) => Promise<void>;
|
|
81
|
-
export declare const useDeleteAppByKeyMutationOptions: <TError = import(
|
|
103
|
+
export declare const useDeleteAppByKeyMutationOptions: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
82
104
|
mutation?: UseMutationOptions<void, TError, {
|
|
83
105
|
key: string;
|
|
84
106
|
}, TContext> | undefined;
|
|
@@ -90,11 +112,11 @@ export type DeleteAppByKeyMutationError = ErrorType<unknown>;
|
|
|
90
112
|
/**
|
|
91
113
|
* @summary Delete app by key
|
|
92
114
|
*/
|
|
93
|
-
export declare const useDeleteAppByKey: <TError = import(
|
|
115
|
+
export declare const useDeleteAppByKey: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
94
116
|
mutation?: UseMutationOptions<void, TError, {
|
|
95
117
|
key: string;
|
|
96
118
|
}, TContext> | undefined;
|
|
97
|
-
} | undefined) => import(
|
|
119
|
+
} | undefined) => import('@tanstack/react-query/build/legacy/types').UseMutationResult<void, TError, {
|
|
98
120
|
key: string;
|
|
99
121
|
}, TContext>;
|
|
100
122
|
export {};
|
|
@@ -1,23 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* Tops Roma Rest API
|
|
6
|
-
* OpenAPI spec version: v1.0.0
|
|
7
|
-
*/
|
|
8
|
-
import type { QueryKey, UseMutationOptions, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
9
|
-
import type { CategoryDto } from '../../model';
|
|
10
|
-
import type { BodyType, ErrorType } from '../../use-client';
|
|
1
|
+
import { QueryKey, UseMutationOptions, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { CategoryDto, GetAllCategories200 } from '../../model';
|
|
3
|
+
import { ErrorType, BodyType } from '../../use-client';
|
|
4
|
+
|
|
11
5
|
type AwaitedInput<T> = PromiseLike<T> | T;
|
|
12
6
|
type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
13
7
|
/**
|
|
14
8
|
* @summary List categories
|
|
15
9
|
*/
|
|
16
|
-
export declare const useGetAllCategoriesHook: () => (signal?: AbortSignal) => Promise<
|
|
10
|
+
export declare const useGetAllCategoriesHook: () => (signal?: AbortSignal) => Promise<GetAllCategories200>;
|
|
17
11
|
export declare const getGetAllCategoriesQueryKey: () => readonly ["/api/apps/categories"];
|
|
18
|
-
export declare const useGetAllCategoriesQueryOptions: <TData =
|
|
19
|
-
query?: Partial<UseQueryOptions<
|
|
20
|
-
} | undefined) => UseQueryOptions<
|
|
12
|
+
export declare const useGetAllCategoriesQueryOptions: <TData = GetAllCategories200, TError = import('../../use-client').HttpError>(options?: {
|
|
13
|
+
query?: Partial<UseQueryOptions<GetAllCategories200, TError, TData, QueryKey>> | undefined;
|
|
14
|
+
} | undefined) => UseQueryOptions<GetAllCategories200, TError, TData, QueryKey> & {
|
|
21
15
|
queryKey: QueryKey;
|
|
22
16
|
};
|
|
23
17
|
export type GetAllCategoriesQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetAllCategoriesHook>>>>;
|
|
@@ -25,8 +19,8 @@ export type GetAllCategoriesQueryError = ErrorType<void>;
|
|
|
25
19
|
/**
|
|
26
20
|
* @summary List categories
|
|
27
21
|
*/
|
|
28
|
-
export declare const useGetAllCategories: <TData =
|
|
29
|
-
query?: Partial<UseQueryOptions<
|
|
22
|
+
export declare const useGetAllCategories: <TData = GetAllCategories200, TError = import('../../use-client').HttpError>(options?: {
|
|
23
|
+
query?: Partial<UseQueryOptions<GetAllCategories200, TError, TData, QueryKey>> | undefined;
|
|
30
24
|
} | undefined) => UseQueryResult<TData, TError> & {
|
|
31
25
|
queryKey: QueryKey;
|
|
32
26
|
};
|
|
@@ -34,7 +28,7 @@ export declare const useGetAllCategories: <TData = CategoryDto[], TError = impor
|
|
|
34
28
|
* @summary Create or update category
|
|
35
29
|
*/
|
|
36
30
|
export declare const useCreateOrUpdateCategoryHook: () => (categoryDto: BodyType<CategoryDto>) => Promise<CategoryDto>;
|
|
37
|
-
export declare const useCreateOrUpdateCategoryMutationOptions: <TError = import(
|
|
31
|
+
export declare const useCreateOrUpdateCategoryMutationOptions: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
38
32
|
mutation?: UseMutationOptions<CategoryDto, TError, {
|
|
39
33
|
data: BodyType<CategoryDto>;
|
|
40
34
|
}, TContext> | undefined;
|
|
@@ -47,11 +41,11 @@ export type CreateOrUpdateCategoryMutationError = ErrorType<void>;
|
|
|
47
41
|
/**
|
|
48
42
|
* @summary Create or update category
|
|
49
43
|
*/
|
|
50
|
-
export declare const useCreateOrUpdateCategory: <TError = import(
|
|
44
|
+
export declare const useCreateOrUpdateCategory: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
51
45
|
mutation?: UseMutationOptions<CategoryDto, TError, {
|
|
52
46
|
data: BodyType<CategoryDto>;
|
|
53
47
|
}, TContext> | undefined;
|
|
54
|
-
} | undefined) => import(
|
|
48
|
+
} | undefined) => import('@tanstack/react-query/build/legacy/types').UseMutationResult<CategoryDto, TError, {
|
|
55
49
|
data: BodyType<CategoryDto>;
|
|
56
50
|
}, TContext>;
|
|
57
51
|
/**
|
|
@@ -59,7 +53,7 @@ export declare const useCreateOrUpdateCategory: <TError = import("../../use-clie
|
|
|
59
53
|
*/
|
|
60
54
|
export declare const useGetCategoryByIdHook: () => (id: string, signal?: AbortSignal) => Promise<CategoryDto>;
|
|
61
55
|
export declare const getGetCategoryByIdQueryKey: (id: string) => readonly [`/api/apps/categories/id/${string}`];
|
|
62
|
-
export declare const useGetCategoryByIdQueryOptions: <TData = CategoryDto, TError = import(
|
|
56
|
+
export declare const useGetCategoryByIdQueryOptions: <TData = CategoryDto, TError = import('../../use-client').HttpError>(id: string, options?: {
|
|
63
57
|
query?: Partial<UseQueryOptions<CategoryDto, TError, TData, QueryKey>> | undefined;
|
|
64
58
|
} | undefined) => UseQueryOptions<CategoryDto, TError, TData, QueryKey> & {
|
|
65
59
|
queryKey: QueryKey;
|
|
@@ -69,7 +63,7 @@ export type GetCategoryByIdQueryError = ErrorType<void>;
|
|
|
69
63
|
/**
|
|
70
64
|
* @summary Get category by id
|
|
71
65
|
*/
|
|
72
|
-
export declare const useGetCategoryById: <TData = CategoryDto, TError = import(
|
|
66
|
+
export declare const useGetCategoryById: <TData = CategoryDto, TError = import('../../use-client').HttpError>(id: string, options?: {
|
|
73
67
|
query?: Partial<UseQueryOptions<CategoryDto, TError, TData, QueryKey>> | undefined;
|
|
74
68
|
} | undefined) => UseQueryResult<TData, TError> & {
|
|
75
69
|
queryKey: QueryKey;
|
|
@@ -78,7 +72,7 @@ export declare const useGetCategoryById: <TData = CategoryDto, TError = import("
|
|
|
78
72
|
* @summary Delete category by id
|
|
79
73
|
*/
|
|
80
74
|
export declare const useDeleteCategoryByIdHook: () => (id: string) => Promise<void>;
|
|
81
|
-
export declare const useDeleteCategoryByIdMutationOptions: <TError = import(
|
|
75
|
+
export declare const useDeleteCategoryByIdMutationOptions: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
82
76
|
mutation?: UseMutationOptions<void, TError, {
|
|
83
77
|
id: string;
|
|
84
78
|
}, TContext> | undefined;
|
|
@@ -90,11 +84,11 @@ export type DeleteCategoryByIdMutationError = ErrorType<unknown>;
|
|
|
90
84
|
/**
|
|
91
85
|
* @summary Delete category by id
|
|
92
86
|
*/
|
|
93
|
-
export declare const useDeleteCategoryById: <TError = import(
|
|
87
|
+
export declare const useDeleteCategoryById: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
94
88
|
mutation?: UseMutationOptions<void, TError, {
|
|
95
89
|
id: string;
|
|
96
90
|
}, TContext> | undefined;
|
|
97
|
-
} | undefined) => import(
|
|
91
|
+
} | undefined) => import('@tanstack/react-query/build/legacy/types').UseMutationResult<void, TError, {
|
|
98
92
|
id: string;
|
|
99
93
|
}, TContext>;
|
|
100
94
|
export {};
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* Tops Roma Rest API
|
|
6
|
-
* OpenAPI spec version: v1.0.0
|
|
7
|
-
*/
|
|
8
|
-
import type { QueryKey, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
9
|
-
import type { EnvironmentDto } from '../../model';
|
|
10
|
-
import type { ErrorType } from '../../use-client';
|
|
1
|
+
import { QueryKey, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { EnvironmentDto } from '../../model';
|
|
3
|
+
import { ErrorType } from '../../use-client';
|
|
4
|
+
|
|
11
5
|
type AwaitedInput<T> = PromiseLike<T> | T;
|
|
12
6
|
type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
13
7
|
/**
|
|
@@ -15,7 +9,7 @@ type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
|
15
9
|
*/
|
|
16
10
|
export declare const useGetCurrentEnvironmentHook: () => (signal?: AbortSignal) => Promise<EnvironmentDto>;
|
|
17
11
|
export declare const getGetCurrentEnvironmentQueryKey: () => readonly ["/_discovery/environments/current"];
|
|
18
|
-
export declare const useGetCurrentEnvironmentQueryOptions: <TData = EnvironmentDto, TError = import(
|
|
12
|
+
export declare const useGetCurrentEnvironmentQueryOptions: <TData = EnvironmentDto, TError = import('../../use-client').HttpError>(options?: {
|
|
19
13
|
query?: Partial<UseQueryOptions<EnvironmentDto, TError, TData, QueryKey>> | undefined;
|
|
20
14
|
} | undefined) => UseQueryOptions<EnvironmentDto, TError, TData, QueryKey> & {
|
|
21
15
|
queryKey: QueryKey;
|
|
@@ -25,7 +19,7 @@ export type GetCurrentEnvironmentQueryError = ErrorType<void>;
|
|
|
25
19
|
/**
|
|
26
20
|
* @summary Get current environment
|
|
27
21
|
*/
|
|
28
|
-
export declare const useGetCurrentEnvironment: <TData = EnvironmentDto, TError = import(
|
|
22
|
+
export declare const useGetCurrentEnvironment: <TData = EnvironmentDto, TError = import('../../use-client').HttpError>(options?: {
|
|
29
23
|
query?: Partial<UseQueryOptions<EnvironmentDto, TError, TData, QueryKey>> | undefined;
|
|
30
24
|
} | undefined) => UseQueryResult<TData, TError> & {
|
|
31
25
|
queryKey: QueryKey;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import { FeedbackDto, FeedbackResponseDto } from '../../model';
|
|
3
|
+
import { ErrorType, BodyType } from '../../use-client';
|
|
4
|
+
|
|
5
|
+
type AwaitedInput<T> = PromiseLike<T> | T;
|
|
6
|
+
type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
7
|
+
/**
|
|
8
|
+
* @summary Create feedback
|
|
9
|
+
*/
|
|
10
|
+
export declare const useCreateFeedbackHook: () => (feedbackDto: BodyType<FeedbackDto>) => Promise<FeedbackResponseDto>;
|
|
11
|
+
export declare const useCreateFeedbackMutationOptions: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
12
|
+
mutation?: UseMutationOptions<FeedbackResponseDto, TError, {
|
|
13
|
+
data: BodyType<FeedbackDto>;
|
|
14
|
+
}, TContext> | undefined;
|
|
15
|
+
} | undefined) => UseMutationOptions<FeedbackResponseDto, TError, {
|
|
16
|
+
data: BodyType<FeedbackDto>;
|
|
17
|
+
}, TContext>;
|
|
18
|
+
export type CreateFeedbackMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useCreateFeedbackHook>>>>;
|
|
19
|
+
export type CreateFeedbackMutationBody = BodyType<FeedbackDto>;
|
|
20
|
+
export type CreateFeedbackMutationError = ErrorType<void>;
|
|
21
|
+
/**
|
|
22
|
+
* @summary Create feedback
|
|
23
|
+
*/
|
|
24
|
+
export declare const useCreateFeedback: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
25
|
+
mutation?: UseMutationOptions<FeedbackResponseDto, TError, {
|
|
26
|
+
data: BodyType<FeedbackDto>;
|
|
27
|
+
}, TContext> | undefined;
|
|
28
|
+
} | undefined) => import('@tanstack/react-query/build/legacy/types').UseMutationResult<FeedbackResponseDto, TError, {
|
|
29
|
+
data: BodyType<FeedbackDto>;
|
|
30
|
+
}, TContext>;
|
|
31
|
+
export {};
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* Tops Roma Rest API
|
|
6
|
-
* OpenAPI spec version: v1.0.0
|
|
7
|
-
*/
|
|
8
|
-
import type { QueryKey, UseMutationOptions, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
9
|
-
import type { RomaConfigurationDto, SettingDto } from '../../model';
|
|
10
|
-
import type { BodyType, ErrorType } from '../../use-client';
|
|
1
|
+
import { QueryKey, UseMutationOptions, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { RomaConfigurationDto, SettingDto } from '../../model';
|
|
3
|
+
import { ErrorType, BodyType } from '../../use-client';
|
|
4
|
+
|
|
11
5
|
type AwaitedInput<T> = PromiseLike<T> | T;
|
|
12
6
|
type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
13
7
|
/**
|
|
@@ -15,7 +9,7 @@ type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
|
15
9
|
*/
|
|
16
10
|
export declare const useGetRomaConfigurationByIdHook: () => (id: string, signal?: AbortSignal) => Promise<RomaConfigurationDto>;
|
|
17
11
|
export declare const getGetRomaConfigurationByIdQueryKey: (id: string) => readonly [`/api/configurations/id/${string}`];
|
|
18
|
-
export declare const useGetRomaConfigurationByIdQueryOptions: <TData = RomaConfigurationDto, TError = import(
|
|
12
|
+
export declare const useGetRomaConfigurationByIdQueryOptions: <TData = RomaConfigurationDto, TError = import('../../use-client').HttpError>(id: string, options?: {
|
|
19
13
|
query?: Partial<UseQueryOptions<RomaConfigurationDto, TError, TData, QueryKey>> | undefined;
|
|
20
14
|
} | undefined) => UseQueryOptions<RomaConfigurationDto, TError, TData, QueryKey> & {
|
|
21
15
|
queryKey: QueryKey;
|
|
@@ -25,7 +19,7 @@ export type GetRomaConfigurationByIdQueryError = ErrorType<void>;
|
|
|
25
19
|
/**
|
|
26
20
|
* @summary Get roma configuration by id
|
|
27
21
|
*/
|
|
28
|
-
export declare const useGetRomaConfigurationById: <TData = RomaConfigurationDto, TError = import(
|
|
22
|
+
export declare const useGetRomaConfigurationById: <TData = RomaConfigurationDto, TError = import('../../use-client').HttpError>(id: string, options?: {
|
|
29
23
|
query?: Partial<UseQueryOptions<RomaConfigurationDto, TError, TData, QueryKey>> | undefined;
|
|
30
24
|
} | undefined) => UseQueryResult<TData, TError> & {
|
|
31
25
|
queryKey: QueryKey;
|
|
@@ -34,7 +28,7 @@ export declare const useGetRomaConfigurationById: <TData = RomaConfigurationDto,
|
|
|
34
28
|
* @summary Update a roma configuration
|
|
35
29
|
*/
|
|
36
30
|
export declare const useUpdateRomaConfigurationHook: () => (id: string, romaConfigurationDto: BodyType<RomaConfigurationDto>) => Promise<RomaConfigurationDto>;
|
|
37
|
-
export declare const useUpdateRomaConfigurationMutationOptions: <TError = import(
|
|
31
|
+
export declare const useUpdateRomaConfigurationMutationOptions: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
38
32
|
mutation?: UseMutationOptions<RomaConfigurationDto, TError, {
|
|
39
33
|
id: string;
|
|
40
34
|
data: BodyType<RomaConfigurationDto>;
|
|
@@ -49,12 +43,12 @@ export type UpdateRomaConfigurationMutationError = ErrorType<void>;
|
|
|
49
43
|
/**
|
|
50
44
|
* @summary Update a roma configuration
|
|
51
45
|
*/
|
|
52
|
-
export declare const useUpdateRomaConfiguration: <TError = import(
|
|
46
|
+
export declare const useUpdateRomaConfiguration: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
53
47
|
mutation?: UseMutationOptions<RomaConfigurationDto, TError, {
|
|
54
48
|
id: string;
|
|
55
49
|
data: BodyType<RomaConfigurationDto>;
|
|
56
50
|
}, TContext> | undefined;
|
|
57
|
-
} | undefined) => import(
|
|
51
|
+
} | undefined) => import('@tanstack/react-query/build/legacy/types').UseMutationResult<RomaConfigurationDto, TError, {
|
|
58
52
|
id: string;
|
|
59
53
|
data: BodyType<RomaConfigurationDto>;
|
|
60
54
|
}, TContext>;
|
|
@@ -62,7 +56,7 @@ export declare const useUpdateRomaConfiguration: <TError = import("../../use-cli
|
|
|
62
56
|
* @summary Delete a roma configuration by id
|
|
63
57
|
*/
|
|
64
58
|
export declare const useDeleteRomaConfigurationHook: () => (id: string) => Promise<SettingDto>;
|
|
65
|
-
export declare const useDeleteRomaConfigurationMutationOptions: <TError = import(
|
|
59
|
+
export declare const useDeleteRomaConfigurationMutationOptions: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
66
60
|
mutation?: UseMutationOptions<SettingDto, TError, {
|
|
67
61
|
id: string;
|
|
68
62
|
}, TContext> | undefined;
|
|
@@ -74,11 +68,11 @@ export type DeleteRomaConfigurationMutationError = ErrorType<void>;
|
|
|
74
68
|
/**
|
|
75
69
|
* @summary Delete a roma configuration by id
|
|
76
70
|
*/
|
|
77
|
-
export declare const useDeleteRomaConfiguration: <TError = import(
|
|
71
|
+
export declare const useDeleteRomaConfiguration: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
78
72
|
mutation?: UseMutationOptions<SettingDto, TError, {
|
|
79
73
|
id: string;
|
|
80
74
|
}, TContext> | undefined;
|
|
81
|
-
} | undefined) => import(
|
|
75
|
+
} | undefined) => import('@tanstack/react-query/build/legacy/types').UseMutationResult<SettingDto, TError, {
|
|
82
76
|
id: string;
|
|
83
77
|
}, TContext>;
|
|
84
78
|
/**
|
|
@@ -86,7 +80,7 @@ export declare const useDeleteRomaConfiguration: <TError = import("../../use-cli
|
|
|
86
80
|
*/
|
|
87
81
|
export declare const useGetAllRomaConfigurationHook: () => (signal?: AbortSignal) => Promise<RomaConfigurationDto[]>;
|
|
88
82
|
export declare const getGetAllRomaConfigurationQueryKey: () => readonly ["/api/configurations"];
|
|
89
|
-
export declare const useGetAllRomaConfigurationQueryOptions: <TData = RomaConfigurationDto[], TError = import(
|
|
83
|
+
export declare const useGetAllRomaConfigurationQueryOptions: <TData = RomaConfigurationDto[], TError = import('../../use-client').HttpError>(options?: {
|
|
90
84
|
query?: Partial<UseQueryOptions<RomaConfigurationDto[], TError, TData, QueryKey>> | undefined;
|
|
91
85
|
} | undefined) => UseQueryOptions<RomaConfigurationDto[], TError, TData, QueryKey> & {
|
|
92
86
|
queryKey: QueryKey;
|
|
@@ -96,7 +90,7 @@ export type GetAllRomaConfigurationQueryError = ErrorType<void>;
|
|
|
96
90
|
/**
|
|
97
91
|
* @summary Get all roma configurations
|
|
98
92
|
*/
|
|
99
|
-
export declare const useGetAllRomaConfiguration: <TData = RomaConfigurationDto[], TError = import(
|
|
93
|
+
export declare const useGetAllRomaConfiguration: <TData = RomaConfigurationDto[], TError = import('../../use-client').HttpError>(options?: {
|
|
100
94
|
query?: Partial<UseQueryOptions<RomaConfigurationDto[], TError, TData, QueryKey>> | undefined;
|
|
101
95
|
} | undefined) => UseQueryResult<TData, TError> & {
|
|
102
96
|
queryKey: QueryKey;
|
|
@@ -105,7 +99,7 @@ export declare const useGetAllRomaConfiguration: <TData = RomaConfigurationDto[]
|
|
|
105
99
|
* @summary Create a new roma configuration
|
|
106
100
|
*/
|
|
107
101
|
export declare const useAddRomaConfigurationHook: () => (romaConfigurationDto: BodyType<RomaConfigurationDto>) => Promise<RomaConfigurationDto>;
|
|
108
|
-
export declare const useAddRomaConfigurationMutationOptions: <TError = import(
|
|
102
|
+
export declare const useAddRomaConfigurationMutationOptions: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
109
103
|
mutation?: UseMutationOptions<RomaConfigurationDto, TError, {
|
|
110
104
|
data: BodyType<RomaConfigurationDto>;
|
|
111
105
|
}, TContext> | undefined;
|
|
@@ -118,11 +112,11 @@ export type AddRomaConfigurationMutationError = ErrorType<void>;
|
|
|
118
112
|
/**
|
|
119
113
|
* @summary Create a new roma configuration
|
|
120
114
|
*/
|
|
121
|
-
export declare const useAddRomaConfiguration: <TError = import(
|
|
115
|
+
export declare const useAddRomaConfiguration: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
|
|
122
116
|
mutation?: UseMutationOptions<RomaConfigurationDto, TError, {
|
|
123
117
|
data: BodyType<RomaConfigurationDto>;
|
|
124
118
|
}, TContext> | undefined;
|
|
125
|
-
} | undefined) => import(
|
|
119
|
+
} | undefined) => import('@tanstack/react-query/build/legacy/types').UseMutationResult<RomaConfigurationDto, TError, {
|
|
126
120
|
data: BodyType<RomaConfigurationDto>;
|
|
127
121
|
}, TContext>;
|
|
128
122
|
/**
|
|
@@ -130,7 +124,7 @@ export declare const useAddRomaConfiguration: <TError = import("../../use-client
|
|
|
130
124
|
*/
|
|
131
125
|
export declare const useGetAllRomaConfigurationTypesHook: () => (signal?: AbortSignal) => Promise<"servicebus"[]>;
|
|
132
126
|
export declare const getGetAllRomaConfigurationTypesQueryKey: () => readonly ["/api/configurations/types"];
|
|
133
|
-
export declare const useGetAllRomaConfigurationTypesQueryOptions: <TData = "servicebus"[], TError = import(
|
|
127
|
+
export declare const useGetAllRomaConfigurationTypesQueryOptions: <TData = "servicebus"[], TError = import('../../use-client').HttpError>(options?: {
|
|
134
128
|
query?: Partial<UseQueryOptions<"servicebus"[], TError, TData, QueryKey>> | undefined;
|
|
135
129
|
} | undefined) => UseQueryOptions<"servicebus"[], TError, TData, QueryKey> & {
|
|
136
130
|
queryKey: QueryKey;
|
|
@@ -140,7 +134,7 @@ export type GetAllRomaConfigurationTypesQueryError = ErrorType<void>;
|
|
|
140
134
|
/**
|
|
141
135
|
* @summary Get valid roma configuration types
|
|
142
136
|
*/
|
|
143
|
-
export declare const useGetAllRomaConfigurationTypes: <TData = "servicebus"[], TError = import(
|
|
137
|
+
export declare const useGetAllRomaConfigurationTypes: <TData = "servicebus"[], TError = import('../../use-client').HttpError>(options?: {
|
|
144
138
|
query?: Partial<UseQueryOptions<"servicebus"[], TError, TData, QueryKey>> | undefined;
|
|
145
139
|
} | undefined) => UseQueryResult<TData, TError> & {
|
|
146
140
|
queryKey: QueryKey;
|
|
@@ -150,7 +144,7 @@ export declare const useGetAllRomaConfigurationTypes: <TData = "servicebus"[], T
|
|
|
150
144
|
*/
|
|
151
145
|
export declare const useGetAllRomaConfigurationByTypeHook: () => (type: string, signal?: AbortSignal) => Promise<RomaConfigurationDto[]>;
|
|
152
146
|
export declare const getGetAllRomaConfigurationByTypeQueryKey: (type: string) => readonly [`/api/configurations/types/type/${string}`];
|
|
153
|
-
export declare const useGetAllRomaConfigurationByTypeQueryOptions: <TData = RomaConfigurationDto[], TError = import(
|
|
147
|
+
export declare const useGetAllRomaConfigurationByTypeQueryOptions: <TData = RomaConfigurationDto[], TError = import('../../use-client').HttpError>(type: string, options?: {
|
|
154
148
|
query?: Partial<UseQueryOptions<RomaConfigurationDto[], TError, TData, QueryKey>> | undefined;
|
|
155
149
|
} | undefined) => UseQueryOptions<RomaConfigurationDto[], TError, TData, QueryKey> & {
|
|
156
150
|
queryKey: QueryKey;
|
|
@@ -160,7 +154,7 @@ export type GetAllRomaConfigurationByTypeQueryError = ErrorType<void>;
|
|
|
160
154
|
/**
|
|
161
155
|
* @summary Get all roma configurations for given type
|
|
162
156
|
*/
|
|
163
|
-
export declare const useGetAllRomaConfigurationByType: <TData = RomaConfigurationDto[], TError = import(
|
|
157
|
+
export declare const useGetAllRomaConfigurationByType: <TData = RomaConfigurationDto[], TError = import('../../use-client').HttpError>(type: string, options?: {
|
|
164
158
|
query?: Partial<UseQueryOptions<RomaConfigurationDto[], TError, TData, QueryKey>> | undefined;
|
|
165
159
|
} | undefined) => UseQueryResult<TData, TError> & {
|
|
166
160
|
queryKey: QueryKey;
|
|
@@ -1,25 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* Tops Roma Rest API
|
|
6
|
-
* OpenAPI spec version: v1.0.0
|
|
7
|
-
*/
|
|
8
|
-
import type { QueryKey, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
9
|
-
import type { ServerSentEventStandardEventDto } from '../../model';
|
|
10
|
-
import type { ErrorType } from '../../use-client';
|
|
1
|
+
import { QueryKey, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { ServerSentEventStandardEventDto } from '../../model';
|
|
3
|
+
import { ErrorType } from '../../use-client';
|
|
4
|
+
|
|
11
5
|
type AwaitedInput<T> = PromiseLike<T> | T;
|
|
12
6
|
type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
13
7
|
export declare const useStreamEventsHook: () => (signal?: AbortSignal) => Promise<ServerSentEventStandardEventDto[]>;
|
|
14
8
|
export declare const getStreamEventsQueryKey: () => readonly ["/eventstream/activitylog"];
|
|
15
|
-
export declare const useStreamEventsQueryOptions: <TData = ServerSentEventStandardEventDto[], TError = import(
|
|
9
|
+
export declare const useStreamEventsQueryOptions: <TData = ServerSentEventStandardEventDto[], TError = import('../../use-client').HttpError>(options?: {
|
|
16
10
|
query?: Partial<UseQueryOptions<ServerSentEventStandardEventDto[], TError, TData, QueryKey>> | undefined;
|
|
17
11
|
} | undefined) => UseQueryOptions<ServerSentEventStandardEventDto[], TError, TData, QueryKey> & {
|
|
18
12
|
queryKey: QueryKey;
|
|
19
13
|
};
|
|
20
14
|
export type StreamEventsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useStreamEventsHook>>>>;
|
|
21
15
|
export type StreamEventsQueryError = ErrorType<unknown>;
|
|
22
|
-
export declare const useStreamEvents: <TData = ServerSentEventStandardEventDto[], TError = import(
|
|
16
|
+
export declare const useStreamEvents: <TData = ServerSentEventStandardEventDto[], TError = import('../../use-client').HttpError>(options?: {
|
|
23
17
|
query?: Partial<UseQueryOptions<ServerSentEventStandardEventDto[], TError, TData, QueryKey>> | undefined;
|
|
24
18
|
} | undefined) => UseQueryResult<TData, TError> & {
|
|
25
19
|
queryKey: QueryKey;
|