add: json-schemaのnoteにpollの型定義を追加

This commit is contained in:
yukineko
2024-01-08 22:34:08 +09:00
parent a5c3ec3ad5
commit c81934563a
7 changed files with 49 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
/*
* version: 2023.12.2
* generatedAt: 2024-01-08T06:48:05.059Z
* generatedAt: 2024-01-08T13:32:03.180Z
*/
import type { SwitchCaseResponseType } from '../api.js';

View File

@@ -1,6 +1,6 @@
/*
* version: 2023.12.2
* generatedAt: 2024-01-08T06:48:05.055Z
* generatedAt: 2024-01-08T13:32:03.177Z
*/
import type {

View File

@@ -1,6 +1,6 @@
/*
* version: 2023.12.2
* generatedAt: 2024-01-08T06:48:05.053Z
* generatedAt: 2024-01-08T13:32:03.174Z
*/
import { operations } from './types.js';

View File

@@ -1,6 +1,6 @@
/*
* version: 2023.12.2
* generatedAt: 2024-01-08T06:48:05.052Z
* generatedAt: 2024-01-08T13:32:03.173Z
*/
import { components } from './types.js';

View File

@@ -3,7 +3,7 @@
/*
* version: 2023.12.2
* generatedAt: 2024-01-08T06:48:04.940Z
* generatedAt: 2024-01-08T13:32:03.048Z
*/
/**
@@ -3791,7 +3791,16 @@ export type components = {
fileIds?: string[];
files?: components['schemas']['DriveFile'][];
tags?: string[];
poll?: Record<string, unknown> | null;
poll?: ({
/** Format: date-time */
expiresAt?: string | null;
multiple: boolean;
choices: {
isVoted: boolean;
text: string;
votes: number;
}[];
}) | null;
emojis?: Record<string, never>;
/**
* Format: id