Feat: UGCの公開範囲設定機能 (#15938)

* wip

* Update CHANGELOG.md

* wip

* wip

* Update show.ts
This commit is contained in:
syuilo
2025-05-09 17:44:35 +09:00
committed by GitHub
parent 8c2ab25e5f
commit ebf291084f
12 changed files with 144 additions and 6 deletions

View File

@@ -546,6 +546,11 @@ export const meta = {
},
},
},
ugcVisibilityForVisitor: {
type: 'string',
enum: ['all', 'local', 'none'],
optional: false, nullable: false,
},
},
},
} as const;
@@ -691,6 +696,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
federation: instance.federation,
federationHosts: instance.federationHosts,
deliverSuspendedSoftware: instance.deliverSuspendedSoftware,
ugcVisibilityForVisitor: instance.ugcVisibilityForVisitor,
};
});
}