fix lint
This commit is contained in:
parent
0abe2dfee0
commit
c69b72e199
573 changed files with 3318 additions and 3318 deletions
|
|
@ -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: '63e4aba4-4156-4e53-be25-c9559e42d71b'
|
||||
id: '63e4aba4-4156-4e53-be25-c9559e42d71b',
|
||||
},
|
||||
|
||||
forbidden: {
|
||||
message: 'Forbidden.',
|
||||
code: 'FORBIDDEN',
|
||||
id: 'f6cdb0df-c19f-ec5c-7dbb-0ba84a1f92ba'
|
||||
id: 'f6cdb0df-c19f-ec5c-7dbb-0ba84a1f92ba',
|
||||
},
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
export default define(meta, async (ps, me) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue