mirror of
https://git.moonleay.net/Websites/liljudd-website.git
synced 2025-07-25 11:02:04 +02:00
Fix: use intergers for discord ids
This commit is contained in:
parent
ffaf8d989e
commit
95fee833a1
9 changed files with 151 additions and 181 deletions
112
src/types/liljudd.d.ts
vendored
112
src/types/liljudd.d.ts
vendored
|
@ -55,11 +55,8 @@ export type webhooks = Record<string, never>;
|
|||
export interface components {
|
||||
schemas: {
|
||||
guildConfig: {
|
||||
/**
|
||||
* Format: varchar(20)
|
||||
* @example 1234567890123456789
|
||||
*/
|
||||
guildId: string;
|
||||
/** @example 1234567890123456800 */
|
||||
guildId: number;
|
||||
/**
|
||||
* Format: text
|
||||
* @example Europe/Berlin
|
||||
|
@ -68,11 +65,8 @@ export interface components {
|
|||
features: {
|
||||
timePlanning: {
|
||||
enabled: boolean;
|
||||
/**
|
||||
* Format: varchar(20)
|
||||
* @example 1234567890123456789
|
||||
*/
|
||||
channelId: string | null;
|
||||
/** @example 1234567890123456800 */
|
||||
channelId: number | null;
|
||||
/** @example 0 */
|
||||
targetMinute: number;
|
||||
/** @example 1 */
|
||||
|
@ -81,16 +75,10 @@ export interface components {
|
|||
targetDay: number;
|
||||
roles: {
|
||||
enabled: boolean;
|
||||
/**
|
||||
* Format: varchar(20)
|
||||
* @example 1234567890123456789
|
||||
*/
|
||||
isAvailableRoleId: string | null;
|
||||
/**
|
||||
* Format: varchar(20)
|
||||
* @example 1234567890123456789
|
||||
*/
|
||||
wantsToBeNotifieRoledId: string | null;
|
||||
/** @example 1234567890123456800 */
|
||||
isAvailableRoleId: number | null;
|
||||
/** @example 1234567890123456800 */
|
||||
wantsToBeNotifieRoledId: number | null;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -98,81 +86,45 @@ export interface components {
|
|||
checksum: string;
|
||||
};
|
||||
match: {
|
||||
/**
|
||||
* Format: varcharq(20)
|
||||
* @example 1234567890123456789
|
||||
*/
|
||||
channelId: string;
|
||||
/** @example 1234567890123456800 */
|
||||
channelId: number;
|
||||
/** @example 1234567890123456800 */
|
||||
createrId: number;
|
||||
/** @example 1234567890123456800 */
|
||||
roleId: number;
|
||||
/** @example 1234567890123456800 */
|
||||
messageId: number;
|
||||
/**
|
||||
* Format: varchar(50)
|
||||
* @example Scrim
|
||||
*/
|
||||
matchType: string;
|
||||
/**
|
||||
* Format: varchar(20)
|
||||
* @example 1234567890123456789
|
||||
*/
|
||||
createrId: string;
|
||||
/**
|
||||
* Format: varchar(20)
|
||||
* @example 1234567890123456789
|
||||
*/
|
||||
roleId: string;
|
||||
/**
|
||||
* Format: varchar(100)
|
||||
* @example ?
|
||||
*/
|
||||
opponentName: string;
|
||||
/**
|
||||
* Format: varchar(20)
|
||||
* @example 1234567890123456789
|
||||
*/
|
||||
messageId: string;
|
||||
/** @example 2020-01-01T00:00:00Z */
|
||||
utc_ts: string;
|
||||
};
|
||||
tp_messages: {
|
||||
/**
|
||||
* Format: varchar(20)
|
||||
* @example 1234567890123456789
|
||||
*/
|
||||
channelId: string;
|
||||
/** @example 1234567890123456800 */
|
||||
channelId: number;
|
||||
messageIds: {
|
||||
/**
|
||||
* Format: varchar(20)
|
||||
* @example 1234567890123456789
|
||||
*/
|
||||
0: string | null;
|
||||
/**
|
||||
* Format: varchar(20)
|
||||
* @example 1234567890123456789
|
||||
*/
|
||||
1: string | null;
|
||||
/**
|
||||
* Format: varchar(20)
|
||||
* @example 1234567890123456789
|
||||
*/
|
||||
2: string | null;
|
||||
/**
|
||||
* Format: varchar(20)
|
||||
* @example 1234567890123456789
|
||||
*/
|
||||
3: string | null;
|
||||
/**
|
||||
* Format: varchar(20)
|
||||
* @example 1234567890123456789
|
||||
*/
|
||||
4: string | null;
|
||||
/**
|
||||
* Format: varchar(20)
|
||||
* @example 1234567890123456789
|
||||
*/
|
||||
5: string | null;
|
||||
/**
|
||||
* Format: varchar(20)
|
||||
* @example 1234567890123456789
|
||||
*/
|
||||
6: string | null;
|
||||
/** @example 1234567890123456800 */
|
||||
0: number | null;
|
||||
/** @example 1234567890123456800 */
|
||||
1: number | null;
|
||||
/** @example 1234567890123456800 */
|
||||
2: number | null;
|
||||
/** @example 1234567890123456800 */
|
||||
3: number | null;
|
||||
/** @example 1234567890123456800 */
|
||||
4: number | null;
|
||||
/** @example 1234567890123456800 */
|
||||
5: number | null;
|
||||
/** @example 1234567890123456800 */
|
||||
6: number | null;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue