1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-29 07:18:43 +09:00

refactor: fix types

This commit is contained in:
syuilo 2023-02-17 15:39:10 +09:00
parent 60df819c60
commit 0f546b47d1

View File

@ -1,4 +1,5 @@
import type { Schema } from '@/misc/schema.js';
import { RolePolicies } from '@/core/RoleService.js';
import * as ep___admin_meta from './endpoints/admin/meta.js';
import * as ep___admin_abuseUserReports from './endpoints/admin/abuse-user-reports.js';
@ -659,7 +660,7 @@ export interface IEndpointMeta {
*/
readonly requireAdmin?: boolean;
readonly requireRolePolicy?: string;
readonly requireRolePolicy?: keyof RolePolicies;
/**
*