<script setup lang="ts">
import { getWarrenDirectory } from '~/lib/api/warrens';
const route = useRoute();
const entries = await getWarrenDirectory(route.path.split('/warrens/')[1]);
</script>

<template>
	<DirectoryList :entries="entries" />
</template>
