Skip to content

Commit a57620e

Browse files
committed
feat: Add minAge and reasonRequired property to Instance
1 parent 2f38c45 commit a57620e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/mastodon/entities/v2/instance.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ export interface InstanceRegistrations {
108108
approvalRequired: boolean;
109109
/** A custom message to be shown when registrations are closed. */
110110
message?: string | null;
111+
/** Description: A minimum age required to register, if configured. */
112+
minAge?: number | null;
113+
/** Whether registrations require the user to provide a reason for joining. Only applicable when `registrations[approval_required]` is true. */
114+
reasonRequired?: boolean | null;
111115
}
112116

113117
export interface InstanceContact {

0 commit comments

Comments
 (0)