mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 13:23:07 +01:00
chore: cleans up types in typescript (#2335)
This commit is contained in:
@@ -57,6 +57,8 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { Container } from "@/models/Container";
|
||||
|
||||
const fields = {
|
||||
name: {
|
||||
label: "label.container-name",
|
||||
@@ -84,16 +86,6 @@ const fields = {
|
||||
mobileVisible: false,
|
||||
},
|
||||
};
|
||||
type Container = {
|
||||
id: string;
|
||||
name: string;
|
||||
state: string;
|
||||
created: Date;
|
||||
movingAverage: {
|
||||
cpu: number;
|
||||
memory: number;
|
||||
};
|
||||
};
|
||||
|
||||
const { containers, perPage = 15 } = defineProps<{
|
||||
containers: Container[];
|
||||
|
||||
Reference in New Issue
Block a user