diff --git a/src/CatalogAPI.ts b/src/CatalogAPI.ts deleted file mode 100644 index 3fb76ba5..00000000 --- a/src/CatalogAPI.ts +++ /dev/null @@ -1,19 +0,0 @@ -import type { MapToEntity } from "./types/types"; - -/** - * - * @remarks - * This interface should be generated using OpenAPI generator in the future. - * - * @alpha - */ -export interface CatalogAPI { - id?: string; - url?: string; - certificateAuthority?: string; - createdById?: string; - createdAt?: string; - updatedAt?: string; -} - -export type CatalogAPIEntity = MapToEntity; diff --git a/src/SpaceService.ts b/src/SpaceService.ts index 37bbfc4c..3fa3dc47 100644 --- a/src/SpaceService.ts +++ b/src/SpaceService.ts @@ -2,7 +2,6 @@ import { Base } from "./Base"; import { User } from "./UserService"; import type { Team, TeamEntity } from "./TeamService"; import type { K8sCluster } from "./K8sCluster"; -import type { CatalogAPI, CatalogAPIEntity } from "./CatalogAPI"; import type { Invitation, InvitationEntity } from "./InvitationService"; import type { BillingPlan } from "./BillingPlan"; import type { InvitationDomain, InvitationDomainEntity } from "./InvitationDomain"; @@ -48,17 +47,15 @@ export interface Space { teams?: Team[]; invitations?: Invitation[]; invitationDomains?: InvitationDomain[]; - catalogApi?: CatalogAPI; } export type SpaceEntity = Except< MapToEntity, - "teams" | "invitations" | "invitationDomains" | "catalogApi" + "teams" | "invitations" | "invitationDomains" > & { teams?: TeamEntity[]; invitations?: InvitationEntity[]; invitationDomains?: InvitationDomainEntity[]; - catalogApi?: CatalogAPIEntity; }; /**