<template>
  <w-grid
    :title="$t('menu.developer.plugin.directories')"
    :toolbar-actions="['refresh', 'separator', 'view']"
    :fetch-data-url="Environment.apiContextPath('/api/developer/plugins/directories')"
    :checkbox-selection="false"
    :pageable="false"
    :columns="[
      { width: 200, name: 'name', label: $t('name'), sortable: false },
      { width: 200, name: 'path', label: $t('path'), sortable: false },
      { width: 100, name: 'autoCreate', label: $t('autoCreate'), format: Formater.yesNo(), sortable: false },
      { width: 200, name: 'configurationFileUrl', label: $t('url'), sortable: false },
    ]"
  ></w-grid>
</template>
<script setup lang="ts">
import 'tailwindcss/utilities.css';
import { Environment, Formater } from 'platform-core';
</script>
