chore: remove unused types

This commit is contained in:
Pablo Lara
2025-06-03 12:19:13 +02:00
parent d8683630a9
commit 5b22dcb7ac
2 changed files with 2 additions and 14 deletions
+2 -2
View File
@@ -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;
-12
View File
@@ -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;
}