1
0
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:
Amir Raminfar
2023-08-03 09:23:58 -07:00
committed by GitHub
parent ac886b0e9a
commit 44e21cba83
6 changed files with 32 additions and 29 deletions

View File

@@ -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[];