enhance(AD): 表示される広告の選定条件を変更、縦に長いタイプを設定できるように (MisskeyIO#293)

This commit is contained in:
まっちゃとーにゅ
2023-12-28 10:30:20 +09:00
committed by GitHub
parent 44c10ea991
commit 8a8196aa09
8 changed files with 25 additions and 17 deletions

View File

@@ -19119,7 +19119,7 @@ export type operations = {
notFoundImageUrl: string | null;
iconUrl: string | null;
maxNoteTextLength: number;
ads: {
ads: ({
/**
* Format: id
* @example xxxxxxxxxx
@@ -19127,12 +19127,13 @@ export type operations = {
id: string;
/** Format: url */
url: string;
place: string;
/** @enum {string} */
place: 'square' | 'horizontal' | 'horizontal-big' | 'vertical';
ratio: number;
/** Format: url */
imageUrl: string;
dayOfWeek: number;
}[];
})[];
/** @default 0 */
notesPerOneAd: number;
/** @example false */