refactor(frontend): Reactivityで型を明示するように (#12791)

* refactor(frontend): Reactivityで型を明示するように

* fix: プロパティの参照が誤っているのを修正

* fix: 初期化の値を空配列に書き換えていた部分をnullに置き換え
This commit is contained in:
zyoshoka 2023-12-26 14:19:35 +09:00 committed by GitHub
parent a9b42765f9
commit 75034d9240
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
110 changed files with 370 additions and 344 deletions

View file

@ -1,6 +1,6 @@
/*
* version: 2023.12.0
* generatedAt: 2023-12-24T08:46:11.020Z
* generatedAt: 2023-12-25T03:48:32.008Z
*/
import type { SwitchCaseResponseType } from '../api.js';

View file

@ -1,6 +1,6 @@
/*
* version: 2023.12.0
* generatedAt: 2023-12-24T08:46:11.016Z
* generatedAt: 2023-12-25T03:48:32.001Z
*/
import type {

View file

@ -1,6 +1,6 @@
/*
* version: 2023.12.0
* generatedAt: 2023-12-24T08:46:11.014Z
* generatedAt: 2023-12-25T03:48:31.996Z
*/
import { operations } from './types.js';

View file

@ -1,6 +1,6 @@
/*
* version: 2023.12.0
* generatedAt: 2023-12-24T08:46:11.013Z
* generatedAt: 2023-12-25T03:48:31.993Z
*/
import { components } from './types.js';

View file

@ -3,7 +3,7 @@
/*
* version: 2023.12.0
* generatedAt: 2023-12-24T08:46:10.930Z
* generatedAt: 2023-12-25T03:48:31.850Z
*/
/**
@ -4474,6 +4474,7 @@ export type operations = {
maintainerEmail: string | null;
maintainerName: string | null;
name: string | null;
shortName: string | null;
objectStorageS3ForcePathStyle: boolean;
privacyPolicyUrl: string | null;
repositoryUrl: string;
@ -13741,57 +13742,9 @@ export type operations = {
200: {
content: {
'application/json': {
topSubInstances: ({
id?: string;
firstRetrievedAt?: string;
host?: string;
usersCount?: number;
notesCount?: number;
followingCount?: number;
followersCount?: number;
isNotResponding?: boolean;
isSuspended?: boolean;
isBlocked?: boolean;
softwareName?: string;
softwareVersion?: string;
openRegistrations?: boolean;
name?: string;
description?: string;
maintainerName?: string;
maintainerEmail?: string;
isSilenced?: boolean;
iconUrl?: string;
faviconUrl?: string;
themeColor?: string;
infoUpdatedAt?: string | null;
latestRequestReceivedAt?: string | null;
})[];
topSubInstances: components['schemas']['FederationInstance'][];
otherFollowersCount: number;
topPubInstances: ({
id?: string;
firstRetrievedAt?: string;
host?: string;
usersCount?: number;
notesCount?: number;
followingCount?: number;
followersCount?: number;
isNotResponding?: boolean;
isSuspended?: boolean;
isBlocked?: boolean;
softwareName?: string;
softwareVersion?: string;
openRegistrations?: boolean;
name?: string;
description?: string;
maintainerName?: string;
maintainerEmail?: string;
isSilenced?: boolean;
iconUrl?: string;
faviconUrl?: string;
themeColor?: string;
infoUpdatedAt?: string | null;
latestRequestReceivedAt?: string | null;
})[];
topPubInstances: components['schemas']['FederationInstance'][];
otherFollowingCount: number;
};
};
@ -18752,11 +18705,18 @@ export type operations = {
iconUrl: string | null;
maxNoteTextLength: number;
ads: {
place: string;
/**
* Format: id
* @example xxxxxxxxxx
*/
id: string;
/** Format: url */
url: string;
place: string;
ratio: number;
/** Format: url */
imageUrl: string;
dayOfWeek: number;
}[];
/** @default 0 */
notesPerOneAd: number;
@ -21057,7 +21017,10 @@ export type operations = {
/** @description OK (with results) */
200: {
content: {
'application/json': Record<string, never>;
'application/json': {
sourceLang: string;
text: string;
};
};
};
/** @description Client error */