aquasis-fe-components 2.2.0 → 2.3.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/dist/aquasis-fe-components.js +12105 -12102
- package/dist/aquasis-fe-components.umd.cjs +153 -153
- package/dist/lib/UserModal/index.d.ts +2 -0
- package/dist/reactQuery/index.d.ts +2 -2
- package/dist/services/appServices.d.ts +2 -2
- package/dist/services/releaseNoteServices.d.ts +3 -3
- package/dist/services/userServices.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,8 @@ export interface UserModalProps {
|
|
|
5
5
|
user: IUser;
|
|
6
6
|
/** Current application id from the host app (e.g. cookie); used to resolve the user's role for this app */
|
|
7
7
|
appId: string;
|
|
8
|
+
/** Base URL for the GA / auth HTTP API (same value used for roles and maintain user). */
|
|
9
|
+
gauApiUrl: string;
|
|
8
10
|
isLoading?: boolean;
|
|
9
11
|
onCancel: () => void;
|
|
10
12
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IApp, ILanguage, IRole } from '../types/app';
|
|
2
2
|
import { AxiosError } from 'axios';
|
|
3
|
-
export declare const useGetApps: () => import('@tanstack/react-query').UseQueryResult<IApp[], AxiosError<unknown, any>>;
|
|
4
|
-
export declare const useGetRoles: () => import('@tanstack/react-query').UseQueryResult<IRole[], AxiosError<unknown, any>>;
|
|
3
|
+
export declare const useGetApps: (gauApiUrl: string) => import('@tanstack/react-query').UseQueryResult<IApp[], AxiosError<unknown, any>>;
|
|
4
|
+
export declare const useGetRoles: (gauApiUrl: string) => import('@tanstack/react-query').UseQueryResult<IRole[], AxiosError<unknown, any>>;
|
|
5
5
|
export declare const useGetLanguages: (gauApiUrl: string) => import('@tanstack/react-query').UseQueryResult<ILanguage[], AxiosError<unknown, any>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { IApp, ILanguage, IRole } from '../types/app';
|
|
2
|
-
export declare const getApps: () => Promise<IApp[]>;
|
|
2
|
+
export declare const getApps: (gauApiUrl: string) => Promise<IApp[]>;
|
|
3
3
|
export declare const getLanguages: (gauApiUrl: string) => Promise<ILanguage[]>;
|
|
4
|
-
export declare const getRoles: () => Promise<IRole[]>;
|
|
4
|
+
export declare const getRoles: (gauApiUrl: string) => Promise<IRole[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { GetReleaseNotePayload, IReleaseNote, ReleaseNotesPayload } from '../types/releaseNotes';
|
|
2
|
-
export declare const getReleases: (payload: GetReleaseNotePayload) => Promise<IReleaseNote[]>;
|
|
3
|
-
export declare const maintainReleaseNote: (payload: ReleaseNotesPayload) => Promise<any>;
|
|
4
|
-
export declare const applyDoNotShowAgain: (idRelease: number, userId: string) => Promise<any>;
|
|
2
|
+
export declare const getReleases: (gauApiUrl: string, payload: GetReleaseNotePayload) => Promise<IReleaseNote[]>;
|
|
3
|
+
export declare const maintainReleaseNote: (gauApiUrl: string, payload: ReleaseNotesPayload) => Promise<any>;
|
|
4
|
+
export declare const applyDoNotShowAgain: (gauApiUrl: string, idRelease: number, userId: string) => Promise<any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { UserPayload } from '../types/user';
|
|
2
|
-
export declare const maintainUser: (payload: UserPayload) => Promise<import('axios').AxiosResponse<any, any, {}>>;
|
|
2
|
+
export declare const maintainUser: (gauApiUrl: string, payload: UserPayload) => Promise<import('axios').AxiosResponse<any, any, {}>>;
|