Refactoring, Clean up and bug fixes

This commit is contained in:
syuilo
2018-11-02 03:32:24 +09:00
parent b4b9e76c8d
commit 931bdc6aac
108 changed files with 1722 additions and 1539 deletions

View File

@@ -11,32 +11,36 @@ export const meta = {
requireCredential: false,
params: {
query: $.str.note({
query: {
validator: $.str,
desc: {
'ja-JP': 'クエリ'
}
}),
},
offset: $.num.optional.min(0).note({
offset: {
validator: $.num.optional.min(0),
default: 0,
desc: {
'ja-JP': 'オフセット'
}
}),
},
limit: $.num.optional.range(1, 100).note({
limit: {
validator: $.num.optional.range(1, 100),
default: 10,
desc: {
'ja-JP': '取得する数'
}
}),
},
localOnly: $.bool.optional.note({
localOnly: {
validator: $.bool.optional,
default: false,
desc: {
'ja-JP': 'ローカルユーザーのみ検索対象にするか否か'
}
}),
},
},
};