summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/users
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-08-30 22:16:04 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-08-30 22:16:04 +0900
commitae36bf301af4c8dffd0543e9cd45f8d4a0dbd18b (patch)
treec9b10d65d71bdb97e2bbc263a2767f9f812ceb1e /src/server/api/endpoints/users
parentMerge pull request #2502 from acid-chicken/patch-autogen (diff)
parent8.16.0 (diff)
downloadsharkey-ae36bf301af4c8dffd0543e9cd45f8d4a0dbd18b.tar.gz
sharkey-ae36bf301af4c8dffd0543e9cd45f8d4a0dbd18b.tar.bz2
sharkey-ae36bf301af4c8dffd0543e9cd45f8d4a0dbd18b.zip
Merge branch 'develop'
Diffstat (limited to 'src/server/api/endpoints/users')
-rw-r--r--src/server/api/endpoints/users/lists/create.ts4
-rw-r--r--src/server/api/endpoints/users/lists/list.ts2
-rw-r--r--src/server/api/endpoints/users/lists/push.ts4
-rw-r--r--src/server/api/endpoints/users/lists/show.ts4
-rw-r--r--src/server/api/endpoints/users/recommendation.ts2
-rw-r--r--src/server/api/endpoints/users/search.ts10
6 files changed, 13 insertions, 13 deletions
diff --git a/src/server/api/endpoints/users/lists/create.ts b/src/server/api/endpoints/users/lists/create.ts
index d7dc2a5f70..ac4f957a0d 100644
--- a/src/server/api/endpoints/users/lists/create.ts
+++ b/src/server/api/endpoints/users/lists/create.ts
@@ -4,8 +4,8 @@ import { ILocalUser } from '../../../../../models/user';
export const meta = {
desc: {
- ja: 'ユーザーリストを作成します。',
- en: 'Create a user list'
+ 'ja-JP': 'ユーザーリストを作成します。',
+ 'en-US': 'Create a user list'
},
requireCredential: true,
diff --git a/src/server/api/endpoints/users/lists/list.ts b/src/server/api/endpoints/users/lists/list.ts
index 31fef26bdc..966e1d3ad9 100644
--- a/src/server/api/endpoints/users/lists/list.ts
+++ b/src/server/api/endpoints/users/lists/list.ts
@@ -3,7 +3,7 @@ import { ILocalUser } from '../../../../../models/user';
export const meta = {
desc: {
- ja: '自分の作成したユーザーリスト一覧を取得します。'
+ 'ja-JP': '自分の作成したユーザーリスト一覧を取得します。'
},
requireCredential: true,
diff --git a/src/server/api/endpoints/users/lists/push.ts b/src/server/api/endpoints/users/lists/push.ts
index bd4e201bde..2d68ec7458 100644
--- a/src/server/api/endpoints/users/lists/push.ts
+++ b/src/server/api/endpoints/users/lists/push.ts
@@ -8,8 +8,8 @@ import { deliver } from '../../../../../queue';
export const meta = {
desc: {
- ja: '指定したユーザーリストに指定したユーザーを追加します。',
- en: 'Add a user to a user list.'
+ 'ja-JP': '指定したユーザーリストに指定したユーザーを追加します。',
+ 'en-US': 'Add a user to a user list.'
},
requireCredential: true,
diff --git a/src/server/api/endpoints/users/lists/show.ts b/src/server/api/endpoints/users/lists/show.ts
index 2fd142a609..a2dd00c6e1 100644
--- a/src/server/api/endpoints/users/lists/show.ts
+++ b/src/server/api/endpoints/users/lists/show.ts
@@ -4,8 +4,8 @@ import { ILocalUser } from '../../../../../models/user';
export const meta = {
desc: {
- ja: '指定したユーザーリストの情報を取得します。',
- en: 'Show a user list.'
+ 'ja-JP': '指定したユーザーリストの情報を取得します。',
+ 'en-US': 'Show a user list.'
},
requireCredential: true,
diff --git a/src/server/api/endpoints/users/recommendation.ts b/src/server/api/endpoints/users/recommendation.ts
index 13377e6fff..e0a5cb9e36 100644
--- a/src/server/api/endpoints/users/recommendation.ts
+++ b/src/server/api/endpoints/users/recommendation.ts
@@ -6,7 +6,7 @@ import Mute from '../../../../models/mute';
export const meta = {
desc: {
- ja: 'おすすめのユーザー一覧を取得します。'
+ 'ja-JP': 'おすすめのユーザー一覧を取得します。'
},
requireCredential: true,
diff --git a/src/server/api/endpoints/users/search.ts b/src/server/api/endpoints/users/search.ts
index eda3f95728..307a8f6894 100644
--- a/src/server/api/endpoints/users/search.ts
+++ b/src/server/api/endpoints/users/search.ts
@@ -5,7 +5,7 @@ import getParams from '../../get-params';
export const meta = {
desc: {
- ja: 'ユーザーを検索します。'
+ 'ja-JP': 'ユーザーを検索します。'
},
requireCredential: false,
@@ -13,28 +13,28 @@ export const meta = {
params: {
query: $.str.note({
desc: {
- ja: 'クエリ'
+ 'ja-JP': 'クエリ'
}
}),
offset: $.num.optional.min(0).note({
default: 0,
desc: {
- ja: 'オフセット'
+ 'ja-JP': 'オフセット'
}
}),
limit: $.num.optional.range(1, 100).note({
default: 10,
desc: {
- ja: '取得する数'
+ 'ja-JP': '取得する数'
}
}),
localOnly: $.bool.optional.note({
default: false,
desc: {
- ja: 'ローカルユーザーのみ検索対象にするか否か'
+ 'ja-JP': 'ローカルユーザーのみ検索対象にするか否か'
}
}),
},