Skip to content

Commit

Permalink
remove unused types
Browse files Browse the repository at this point in the history
  • Loading branch information
iethree committed May 7, 2024
1 parent 5bd5f45 commit e032be7
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions frontend/src/metabase-types/api/activity.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { CardDisplayType } from "./card";
import type { CollectionId } from "./collection";
import type { DatabaseId, InitialSyncStatus } from "./database";
import type { InitialSyncStatus } from "./database";

export const ACTIVITY_MODELS = [
"table",
Expand All @@ -10,17 +9,6 @@ export const ACTIVITY_MODELS = [
"collection",
] as const;
export type ActivityModel = typeof ACTIVITY_MODELS[number];
export type ActivityModelId = number;

export interface ActivityModelObject {
name: string;
display_name?: string;
moderated_status?: string;
collection_id?: CollectionId | null;
collection_name?: string;
database_name?: string;
db_id?: DatabaseId;
}

export interface BaseRecentItem {
id: number;
Expand Down

0 comments on commit e032be7

Please sign in to comment.