1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-22 04:35:31 +02:00

enhance: 広告ごとにセンシティブフラグを設定できるように

This commit is contained in:
syuilo
2025-09-14 15:25:22 +09:00
parent d4654dd7bd
commit 2621f468ff
12 changed files with 62 additions and 2 deletions

View File

@@ -60,5 +60,10 @@ export const packedAdSchema = {
optional: false,
nullable: false,
},
isSensitive: {
type: 'boolean',
optional: false,
nullable: false,
},
},
} as const;

View File

@@ -195,6 +195,10 @@ export const packedMetaLiteSchema = {
type: 'integer',
optional: false, nullable: false,
},
isSensitive: {
type: 'boolean',
optional: true, nullable: false,
},
},
},
},