This commit is contained in:
syuilo
2021-12-09 23:58:30 +09:00
parent 0abe2dfee0
commit c69b72e199
573 changed files with 3318 additions and 3318 deletions

View File

@ -17,11 +17,11 @@ export const meta = {
},
username: {
validator: $.optional.str
validator: $.optional.str,
},
host: {
validator: $.optional.nullable.str
validator: $.optional.nullable.str,
},
sinceId: {
@ -34,7 +34,7 @@ export const meta = {
limit: {
validator: $.optional.num.range(1, 100),
default: 10
default: 10,
},
},
@ -45,22 +45,22 @@ export const meta = {
type: 'object' as const,
optional: false as const, nullable: false as const,
ref: 'Following',
}
},
},
errors: {
noSuchUser: {
message: 'No such user.',
code: 'NO_SUCH_USER',
id: '27fa5435-88ab-43de-9360-387de88727cd'
id: '27fa5435-88ab-43de-9360-387de88727cd',
},
forbidden: {
message: 'Forbidden.',
code: 'FORBIDDEN',
id: '3c6a84db-d619-26af-ca14-06232a21df8a'
id: '3c6a84db-d619-26af-ca14-06232a21df8a',
},
}
},
};
export default define(meta, async (ps, me) => {