feat(pages): add /application/guilds/join (#2)

This commit is contained in:
Divlo
2021-11-13 21:50:34 +01:00
committed by GitHub
parent d8fab08585
commit accd36d1fc
23 changed files with 4767 additions and 5393 deletions

View File

@ -0,0 +1,33 @@
import { Handler } from '../../handler'
import { guild, guild2 } from '../guild'
export const getGuildsPublicEmptyHandler: Handler = {
method: 'GET',
url: '/guilds/public',
response: {
statusCode: 200,
body: []
}
}
export const getGuildsPublicHandler: Handler = {
method: 'GET',
url: '/guilds/public',
response: {
statusCode: 200,
body: [
{ ...guild, membersCount: 1 },
{ ...guild2, membersCount: 1 }
]
}
}
export const getGuildsPublicSearchHandler: Handler = {
method: 'GET',
url: '/guilds/public',
response: {
statusCode: 200,
body: [{ ...guild2, membersCount: 1 }]
}
}