mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-23 09:23:50 +01:00
22 lines
578 B
Vue
22 lines
578 B
Vue
<template>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>{{ $t('_api._permissions.title') }}</th>
|
|
<th>{{ $t('_api._permissions.description') }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr v-for="permission in permissions">
|
|
<td><code>{{ permission }}</code></td>
|
|
<td>{{ $t(`_api._permissions._types.${permission}`) }}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { permissions } from 'misskey-js';
|
|
</script>
|
|
|
|
<style scoped></style> |