chore: make features in meta not optional on detailed
Why did Misskey set the optional boolean on features between 2024.6 and 2024.8 considering it will always have values when called via detailed
This commit is contained in:
parent
01466279e8
commit
46f9bcc8dc
|
@ -278,7 +278,7 @@ export const packedMetaDetailedOnlySchema = {
|
||||||
properties: {
|
properties: {
|
||||||
features: {
|
features: {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
optional: true, nullable: false,
|
optional: false, nullable: false,
|
||||||
properties: {
|
properties: {
|
||||||
registration: {
|
registration: {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
|
|
|
@ -3356,8 +3356,8 @@ type UsersUpdateMemoRequest = operations['users___update-memo']['requestBody']['
|
||||||
// Warnings were encountered during analysis:
|
// Warnings were encountered during analysis:
|
||||||
//
|
//
|
||||||
// src/entities.ts:49:2 - (ae-forgotten-export) The symbol "ModerationLogPayloads" needs to be exported by the entry point index.d.ts
|
// src/entities.ts:49:2 - (ae-forgotten-export) The symbol "ModerationLogPayloads" needs to be exported by the entry point index.d.ts
|
||||||
// src/streaming.types.ts:236:4 - (ae-forgotten-export) The symbol "ReversiUpdateKey" needs to be exported by the entry point index.d.ts
|
// src/streaming.types.ts:240:4 - (ae-forgotten-export) The symbol "ReversiUpdateKey" needs to be exported by the entry point index.d.ts
|
||||||
// src/streaming.types.ts:246:4 - (ae-forgotten-export) The symbol "ReversiUpdateSettings" needs to be exported by the entry point index.d.ts
|
// src/streaming.types.ts:250:4 - (ae-forgotten-export) The symbol "ReversiUpdateSettings" needs to be exported by the entry point index.d.ts
|
||||||
|
|
||||||
// (No @packageDocumentation comment for this package)
|
// (No @packageDocumentation comment for this package)
|
||||||
|
|
||||||
|
|
|
@ -5118,7 +5118,7 @@ export type components = {
|
||||||
noteSearchableScope: 'local' | 'global';
|
noteSearchableScope: 'local' | 'global';
|
||||||
};
|
};
|
||||||
MetaDetailedOnly: {
|
MetaDetailedOnly: {
|
||||||
features?: {
|
features: {
|
||||||
registration: boolean;
|
registration: boolean;
|
||||||
emailRequiredForSignup: boolean;
|
emailRequiredForSignup: boolean;
|
||||||
localTimeline: boolean;
|
localTimeline: boolean;
|
||||||
|
|
Loading…
Reference in New Issue