This commit is contained in:
syuilo
2018-08-14 01:05:58 +09:00
parent a3cf63823f
commit 9021bb5694
7 changed files with 176 additions and 2 deletions

View File

@@ -14,6 +14,11 @@ export interface IEndpointMeta {
*/
requireCredential?: boolean;
/**
* 管理者のみ使えるエンドポイントか否か
*/
requireAdmin?: boolean;
/**
* エンドポイントのリミテーションに関するやつ
* 省略した場合はリミテーションは無いものとして解釈されます。