336416261a
* ひとまず生成できるところまで * ファイル構成整理 * 生成コマンド整理 * misskey-jsへの組み込み * fix generator.ts * wip * fix generator.ts * fix package.json * 生成ロジックの調整 * 型レベルでのswitch-case機構をmisskey-jsからfrontendに持ち込めるようにした * 型チェック用のtsconfig.jsonを作成 * 他のエンドポイントを呼ぶ関数にも適用 * 未使用エンティティなどを削除 * misskey-js側で手動定義されていた型を自動生成された型に移行(ただしapi.jsonがvalidでなくなってしまったので後で修正する) * messagingは廃止されている(テストのビルドエラー解消) * validなapi.jsonを出力できるように修正 * 修正漏れ対応 * Ajvに怒られて起動できなかったところを修正 * fix ci(途中) * パラメータenumをやめる * add command * add api.json * 都度自動生成をやめる * 一気通貫スクリプト修正 * fix ci * 生成ロジック修正 * フロントの型チェックは結局やらなかったので戻しておく * fix pnpm-lock.yaml * add README.md --------- Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
40 lines
2.1 KiB
TypeScript
40 lines
2.1 KiB
TypeScript
/*
|
|
* version: 2023.11.1
|
|
* generatedAt: 2023-11-27T02:24:45.109Z
|
|
*/
|
|
|
|
import { components } from './types.js';
|
|
export type Error = components['schemas']['Error'];
|
|
export type UserLite = components['schemas']['UserLite'];
|
|
export type UserDetailedNotMeOnly = components['schemas']['UserDetailedNotMeOnly'];
|
|
export type MeDetailedOnly = components['schemas']['MeDetailedOnly'];
|
|
export type UserDetailedNotMe = components['schemas']['UserDetailedNotMe'];
|
|
export type MeDetailed = components['schemas']['MeDetailed'];
|
|
export type UserDetailed = components['schemas']['UserDetailed'];
|
|
export type User = components['schemas']['User'];
|
|
export type UserList = components['schemas']['UserList'];
|
|
export type Announcement = components['schemas']['Announcement'];
|
|
export type App = components['schemas']['App'];
|
|
export type Note = components['schemas']['Note'];
|
|
export type NoteReaction = components['schemas']['NoteReaction'];
|
|
export type NoteFavorite = components['schemas']['NoteFavorite'];
|
|
export type Notification = components['schemas']['Notification'];
|
|
export type DriveFile = components['schemas']['DriveFile'];
|
|
export type DriveFolder = components['schemas']['DriveFolder'];
|
|
export type Following = components['schemas']['Following'];
|
|
export type Muting = components['schemas']['Muting'];
|
|
export type RenoteMuting = components['schemas']['RenoteMuting'];
|
|
export type Blocking = components['schemas']['Blocking'];
|
|
export type Hashtag = components['schemas']['Hashtag'];
|
|
export type InviteCode = components['schemas']['InviteCode'];
|
|
export type Page = components['schemas']['Page'];
|
|
export type Channel = components['schemas']['Channel'];
|
|
export type QueueCount = components['schemas']['QueueCount'];
|
|
export type Antenna = components['schemas']['Antenna'];
|
|
export type Clip = components['schemas']['Clip'];
|
|
export type FederationInstance = components['schemas']['FederationInstance'];
|
|
export type GalleryPost = components['schemas']['GalleryPost'];
|
|
export type EmojiSimple = components['schemas']['EmojiSimple'];
|
|
export type EmojiDetailed = components['schemas']['EmojiDetailed'];
|
|
export type Flash = components['schemas']['Flash'];
|