fix: 欠けていた型を追加

This commit is contained in:
yukineko 2024-01-03 19:12:29 +09:00
parent 12fcc1c4a4
commit 6e99fd5224
6 changed files with 21 additions and 13 deletions

View File

@ -118,6 +118,10 @@ export const packedNoteSchema = {
type: 'object', type: 'object',
optional: true, nullable: true, optional: true, nullable: true,
}, },
emojis: {
type: 'object',
optional: true, nullable: false,
},
channelId: { channelId: {
type: 'string', type: 'string',
optional: true, nullable: true, optional: true, nullable: true,

View File

@ -1,6 +1,6 @@
/* /*
* version: 2023.12.0 * version: 2023.12.2
* generatedAt: 2023-12-26T23:35:09.494Z * generatedAt: 2024-01-03T10:08:26.060Z
*/ */
import type { SwitchCaseResponseType } from '../api.js'; import type { SwitchCaseResponseType } from '../api.js';
@ -33,7 +33,6 @@ declare module '../api.js' {
/** /**
* No description provided. * No description provided.
* *
* **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
* **Credential required**: *No* * **Credential required**: *No*
*/ */
request<E extends 'admin/accounts/create', P extends Endpoints[E]['req']>( request<E extends 'admin/accounts/create', P extends Endpoints[E]['req']>(

View File

@ -1,6 +1,6 @@
/* /*
* version: 2023.12.0 * version: 2023.12.2
* generatedAt: 2023-12-26T23:35:09.491Z * generatedAt: 2024-01-03T10:08:26.055Z
*/ */
import type { import type {

View File

@ -1,6 +1,6 @@
/* /*
* version: 2023.12.0 * version: 2023.12.2
* generatedAt: 2023-12-26T23:35:09.489Z * generatedAt: 2024-01-03T10:08:26.052Z
*/ */
import { operations } from './types.js'; import { operations } from './types.js';

View File

@ -1,6 +1,6 @@
/* /*
* version: 2023.12.0 * version: 2023.12.2
* generatedAt: 2023-12-26T23:35:09.485Z * generatedAt: 2024-01-03T10:08:26.049Z
*/ */
import { components } from './types.js'; import { components } from './types.js';

View File

@ -2,8 +2,8 @@
/* eslint @typescript-eslint/no-explicit-any: 0 */ /* eslint @typescript-eslint/no-explicit-any: 0 */
/* /*
* version: 2023.12.0 * version: 2023.12.2
* generatedAt: 2023-12-26T23:35:09.389Z * generatedAt: 2024-01-03T10:08:25.920Z
*/ */
/** /**
@ -40,7 +40,6 @@ export type paths = {
* admin/accounts/create * admin/accounts/create
* @description No description provided. * @description No description provided.
* *
* **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
* **Credential required**: *No* * **Credential required**: *No*
*/ */
post: operations['admin/accounts/create']; post: operations['admin/accounts/create'];
@ -3783,6 +3782,7 @@ export type components = {
files?: components['schemas']['DriveFile'][]; files?: components['schemas']['DriveFile'][];
tags?: string[]; tags?: string[];
poll?: Record<string, unknown> | null; poll?: Record<string, unknown> | null;
emojis?: Record<string, never>;
/** /**
* Format: id * Format: id
* @example xxxxxxxxxx * @example xxxxxxxxxx
@ -4456,6 +4456,9 @@ export type operations = {
enableActiveEmailValidation: boolean; enableActiveEmailValidation: boolean;
enableVerifymailApi: boolean; enableVerifymailApi: boolean;
verifymailAuthKey: string | null; verifymailAuthKey: string | null;
enableTruemailApi: boolean;
truemailInstance: string | null;
truemailAuthKey: string | null;
enableChartsForRemoteUser: boolean; enableChartsForRemoteUser: boolean;
enableChartsForFederatedInstances: boolean; enableChartsForFederatedInstances: boolean;
enableServerMachineStats: boolean; enableServerMachineStats: boolean;
@ -4620,7 +4623,6 @@ export type operations = {
* admin/accounts/create * admin/accounts/create
* @description No description provided. * @description No description provided.
* *
* **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
* **Credential required**: *No* * **Credential required**: *No*
*/ */
'admin/accounts/create': { 'admin/accounts/create': {
@ -8247,6 +8249,9 @@ export type operations = {
enableActiveEmailValidation?: boolean; enableActiveEmailValidation?: boolean;
enableVerifymailApi?: boolean; enableVerifymailApi?: boolean;
verifymailAuthKey?: string | null; verifymailAuthKey?: string | null;
enableTruemailApi?: boolean;
truemailInstance?: string | null;
truemailAuthKey?: string | null;
enableChartsForRemoteUser?: boolean; enableChartsForRemoteUser?: boolean;
enableChartsForFederatedInstances?: boolean; enableChartsForFederatedInstances?: boolean;
enableServerMachineStats?: boolean; enableServerMachineStats?: boolean;