mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 21:51:56 +00:00
Swap gateway to outer layer
This commit is contained in:
@@ -113,11 +113,20 @@ export type TAvailableAppConnectionsResponse = { appConnections: TAvailableAppCo
|
||||
|
||||
export type TCreateAppConnectionDTO = Pick<
|
||||
TAppConnection,
|
||||
"name" | "credentials" | "method" | "app" | "description" | "isPlatformManagedCredentials"
|
||||
| "name"
|
||||
| "credentials"
|
||||
| "method"
|
||||
| "app"
|
||||
| "description"
|
||||
| "isPlatformManagedCredentials"
|
||||
| "gatewayId"
|
||||
>;
|
||||
|
||||
export type TUpdateAppConnectionDTO = Partial<
|
||||
Pick<TAppConnection, "name" | "credentials" | "description" | "isPlatformManagedCredentials">
|
||||
Pick<
|
||||
TAppConnection,
|
||||
"name" | "credentials" | "description" | "isPlatformManagedCredentials" | "gatewayId"
|
||||
>
|
||||
> & {
|
||||
connectionId: string;
|
||||
app: AppConnection;
|
||||
|
||||
@@ -7,4 +7,5 @@ export type TRootAppConnection = {
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
isPlatformManagedCredentials?: boolean;
|
||||
gatewayId?: string | null;
|
||||
};
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
export type TBaseSqlConnectionCredentials = {
|
||||
gatewayId?: string | null;
|
||||
host: string;
|
||||
port: number;
|
||||
username: string;
|
||||
|
||||
Reference in New Issue
Block a user