fix notes\drafts\create param defs
This commit is contained in:
parent
74f33157a3
commit
0d33e1f839
|
|
@ -192,7 +192,7 @@ export const paramDef = {
|
||||||
scheduledAt: { type: 'integer', nullable: true },
|
scheduledAt: { type: 'integer', nullable: true },
|
||||||
isActuallyScheduled: { type: 'boolean', default: false },
|
isActuallyScheduled: { type: 'boolean', default: false },
|
||||||
},
|
},
|
||||||
required: ['visibility', 'visibleUserIds', 'cw', 'hashtag', 'localOnly', 'reactionAcceptance', 'replyId', 'renoteId', 'channelId', 'text', 'fileIds', 'poll', 'scheduledAt', 'isActuallyScheduled'],
|
required: [],
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
|
|
|
||||||
|
|
@ -29205,34 +29205,34 @@ export interface operations {
|
||||||
* @default public
|
* @default public
|
||||||
* @enum {string}
|
* @enum {string}
|
||||||
*/
|
*/
|
||||||
visibility: 'public' | 'home' | 'followers' | 'specified';
|
visibility?: 'public' | 'home' | 'followers' | 'specified';
|
||||||
visibleUserIds: string[];
|
visibleUserIds?: string[];
|
||||||
cw: string | null;
|
cw?: string | null;
|
||||||
hashtag: string | null;
|
hashtag?: string | null;
|
||||||
/** @default false */
|
/** @default false */
|
||||||
localOnly: boolean;
|
localOnly?: boolean;
|
||||||
/**
|
/**
|
||||||
* @default null
|
* @default null
|
||||||
* @enum {string|null}
|
* @enum {string|null}
|
||||||
*/
|
*/
|
||||||
reactionAcceptance: null | 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote';
|
reactionAcceptance?: null | 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote';
|
||||||
/** Format: misskey:id */
|
/** Format: misskey:id */
|
||||||
replyId: string | null;
|
replyId?: string | null;
|
||||||
/** Format: misskey:id */
|
/** Format: misskey:id */
|
||||||
renoteId: string | null;
|
renoteId?: string | null;
|
||||||
/** Format: misskey:id */
|
/** Format: misskey:id */
|
||||||
channelId: string | null;
|
channelId?: string | null;
|
||||||
text: string | null;
|
text?: string | null;
|
||||||
fileIds: string[];
|
fileIds?: string[];
|
||||||
poll: {
|
poll?: {
|
||||||
choices: string[];
|
choices: string[];
|
||||||
multiple?: boolean;
|
multiple?: boolean;
|
||||||
expiresAt?: number | null;
|
expiresAt?: number | null;
|
||||||
expiredAfter?: number | null;
|
expiredAfter?: number | null;
|
||||||
} | null;
|
} | null;
|
||||||
scheduledAt: number | null;
|
scheduledAt?: number | null;
|
||||||
/** @default false */
|
/** @default false */
|
||||||
isActuallyScheduled: boolean;
|
isActuallyScheduled?: boolean;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue