mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-04 23:26:20 +00:00
fix: correct imports to use alias
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
import { AwsConnectionListItemSchema, SanitizedAwsConnectionSchema } from "src/services/app-connection/aws";
|
|
||||||
import { GitHubConnectionListItemSchema, SanitizedGitHubConnectionSchema } from "src/services/app-connection/github";
|
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
|
|
||||||
import { EventType } from "@app/ee/services/audit-log/audit-log-types";
|
import { EventType } from "@app/ee/services/audit-log/audit-log-types";
|
||||||
import { readLimit } from "@app/server/config/rateLimiter";
|
import { readLimit } from "@app/server/config/rateLimiter";
|
||||||
import { verifyAuth } from "@app/server/plugins/auth/verify-auth";
|
import { verifyAuth } from "@app/server/plugins/auth/verify-auth";
|
||||||
|
import { AwsConnectionListItemSchema, SanitizedAwsConnectionSchema } from "@app/services/app-connection/aws";
|
||||||
|
import { GitHubConnectionListItemSchema, SanitizedGitHubConnectionSchema } from "@app/services/app-connection/github";
|
||||||
import { AuthMode } from "@app/services/auth/auth-type";
|
import { AuthMode } from "@app/services/auth/auth-type";
|
||||||
|
|
||||||
// can't use discriminated due to multiple schemas for certain apps
|
// can't use discriminated due to multiple schemas for certain apps
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
|
import { AppConnection } from "@app/services/app-connection/app-connection-enums";
|
||||||
import {
|
import {
|
||||||
CreateAwsConnectionSchema,
|
CreateAwsConnectionSchema,
|
||||||
SanitizedAwsConnectionSchema,
|
SanitizedAwsConnectionSchema,
|
||||||
UpdateAwsConnectionSchema
|
UpdateAwsConnectionSchema
|
||||||
} from "src/services/app-connection/aws";
|
} from "@app/services/app-connection/aws";
|
||||||
|
|
||||||
import { AppConnection } from "@app/services/app-connection/app-connection-enums";
|
|
||||||
|
|
||||||
import { registerAppConnectionEndpoints } from "./app-connection-endpoints";
|
import { registerAppConnectionEndpoints } from "./app-connection-endpoints";
|
||||||
|
|
||||||
|
|||||||
+2
-3
@@ -1,10 +1,9 @@
|
|||||||
|
import { AppConnection } from "@app/services/app-connection/app-connection-enums";
|
||||||
import {
|
import {
|
||||||
CreateGitHubConnectionSchema,
|
CreateGitHubConnectionSchema,
|
||||||
SanitizedGitHubConnectionSchema,
|
SanitizedGitHubConnectionSchema,
|
||||||
UpdateGitHubConnectionSchema
|
UpdateGitHubConnectionSchema
|
||||||
} from "src/services/app-connection/github";
|
} from "@app/services/app-connection/github";
|
||||||
|
|
||||||
import { AppConnection } from "@app/services/app-connection/app-connection-enums";
|
|
||||||
|
|
||||||
import { registerAppConnectionEndpoints } from "./app-connection-endpoints";
|
import { registerAppConnectionEndpoints } from "./app-connection-endpoints";
|
||||||
|
|
||||||
|
|||||||
@@ -1,17 +1,16 @@
|
|||||||
|
import { AppConnection } from "@app/services/app-connection/app-connection-enums";
|
||||||
|
import { TAppConnectionServiceFactoryDep } from "@app/services/app-connection/app-connection-service";
|
||||||
|
import { TAppConnection, TAppConnectionConfig } from "@app/services/app-connection/app-connection-types";
|
||||||
import {
|
import {
|
||||||
AwsConnectionMethod,
|
AwsConnectionMethod,
|
||||||
getAwsAppConnectionListItem,
|
getAwsAppConnectionListItem,
|
||||||
validateAwsConnectionCredentials
|
validateAwsConnectionCredentials
|
||||||
} from "src/services/app-connection/aws";
|
} from "@app/services/app-connection/aws";
|
||||||
import {
|
import {
|
||||||
getGitHubConnectionListItem,
|
getGitHubConnectionListItem,
|
||||||
GitHubConnectionMethod,
|
GitHubConnectionMethod,
|
||||||
validateGitHubConnectionCredentials
|
validateGitHubConnectionCredentials
|
||||||
} from "src/services/app-connection/github";
|
} from "@app/services/app-connection/github";
|
||||||
|
|
||||||
import { AppConnection } from "@app/services/app-connection/app-connection-enums";
|
|
||||||
import { TAppConnectionServiceFactoryDep } from "@app/services/app-connection/app-connection-service";
|
|
||||||
import { TAppConnection, TAppConnectionConfig } from "@app/services/app-connection/app-connection-types";
|
|
||||||
import { KmsDataKey } from "@app/services/kms/kms-types";
|
import { KmsDataKey } from "@app/services/kms/kms-types";
|
||||||
|
|
||||||
export const listAppConnectionOptions = () => {
|
export const listAppConnectionOptions = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user