mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 21:11:53 +00:00
chore: remove unused types
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { IncludeProps, ScanProps } from "@/types";
|
||||
import { ScanProps } from "@/types";
|
||||
import {
|
||||
ProviderProps,
|
||||
ProvidersApiResponse,
|
||||
@@ -71,7 +71,7 @@ export const createProviderDetailsMapping = (
|
||||
*/
|
||||
export const getProviderDetailsByScan = (
|
||||
scan: ScanProps,
|
||||
included: IncludeProps[],
|
||||
included: ProviderProps[],
|
||||
format: "keyed" | "flat" | "merged" = "keyed",
|
||||
) => {
|
||||
const providerId = scan.relationships?.provider?.data?.id;
|
||||
|
||||
@@ -609,15 +609,3 @@ export interface UserProps {
|
||||
dateAdded: string;
|
||||
status: "active" | "inactive";
|
||||
}
|
||||
|
||||
export interface Connection {
|
||||
connected: string;
|
||||
last_checked_at: string;
|
||||
}
|
||||
|
||||
export interface IncludeProps {
|
||||
type: string;
|
||||
id: string;
|
||||
attributes: ProviderAccountProps;
|
||||
connection: Connection;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user