<template>
  <EntityList
    :items="items"
    type="contracts"
  />
</template>

<script setup>
definePageMeta({
  middleware: "auth"
})

const items = ref([])
const setupPage = async () => {
  items.value = await useSupabaseSelect("contracts","*, customer(id,name)")
}

setupPage()
</script>

<style scoped>

</style>