<script setup lang="ts">
import { getWarrenDirectory } from '~/lib/api/warrens';
const entries = useAsyncData('current-directory', () =>
    getWarrenDirectory(useWarrenRoute().value)
).data;
</script>

<template>
    <div>
        <DirectoryList v-if="entries != null" :entries="entries" />
    </div>
</template>
