Skip to content

Commit

Permalink
rename interface
Browse files Browse the repository at this point in the history
  • Loading branch information
matmair committed Sep 10, 2024
1 parent 109a81b commit 3c0377b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/src/components/render/ModelType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ export interface ModelInformationInterface {
admin_url?: string;
}

export interface ModelInternalInformationInterface
export interface TranslatableModelInformationInterface
extends Omit<ModelInformationInterface, 'label' | 'label_multiple'> {
label: () => string;
label_multiple: () => string;
}

export type ModelDict = {
[key in keyof typeof ModelType]: ModelInternalInformationInterface;
[key in keyof typeof ModelType]: TranslatableModelInformationInterface;
};

export const ModelInformationDict: ModelDict = {
Expand Down

0 comments on commit 3c0377b

Please sign in to comment.