Skip to content

Commit

Permalink
Drop catalog api because its not in use and type is not exported (#525)
Browse files Browse the repository at this point in the history
Signed-off-by: Jari Kolehmainen <[email protected]>
  • Loading branch information
jakolehm authored Nov 9, 2023
1 parent fc41ca7 commit 5944292
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
19 changes: 0 additions & 19 deletions src/CatalogAPI.ts

This file was deleted.

5 changes: 1 addition & 4 deletions src/SpaceService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -48,17 +47,15 @@ export interface Space {
teams?: Team[];
invitations?: Invitation[];
invitationDomains?: InvitationDomain[];
catalogApi?: CatalogAPI;
}

export type SpaceEntity = Except<
MapToEntity<Space>,
"teams" | "invitations" | "invitationDomains" | "catalogApi"
"teams" | "invitations" | "invitationDomains"
> & {
teams?: TeamEntity[];
invitations?: InvitationEntity[];
invitationDomains?: InvitationDomainEntity[];
catalogApi?: CatalogAPIEntity;
};

/**
Expand Down

0 comments on commit 5944292

Please sign in to comment.