chore: better Prettier config for easier reviews

This commit is contained in:
2023-10-23 23:33:39 +02:00
parent a8781724d4
commit 71ea41695f
209 changed files with 4093 additions and 4114 deletions

View File

@ -1,12 +1,12 @@
import { guildExample } from '../../guild'
import type { Handler } from '../../../handler'
import { channelExample, channelExample2 } from '../../../channels/channel'
import { guildExample } from "../../guild"
import type { Handler } from "../../../handler"
import { channelExample, channelExample2 } from "../../../channels/channel"
export const getChannelsWithGuildIdHandler: Handler = {
method: 'GET',
method: "GET",
url: `/guilds/${guildExample.id}/channels`,
response: {
statusCode: 200,
body: [channelExample, channelExample2]
}
body: [channelExample, channelExample2],
},
}

View File

@ -1,15 +1,15 @@
import { guildExample } from '../../guild'
import type { Handler } from '../../../handler'
import { channelExample, channelExample2 } from '../../../channels/channel'
import { guildExample } from "../../guild"
import type { Handler } from "../../../handler"
import { channelExample, channelExample2 } from "../../../channels/channel"
export const postChannelsWithGuildIdHandler: Handler = {
method: 'POST',
method: "POST",
url: `/guilds/${guildExample.id}/channels`,
response: {
statusCode: 200,
body: {
...channelExample2,
defaultChannelId: channelExample.id
}
}
defaultChannelId: channelExample.id,
},
},
}