Only display notification filter bar when supported

Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
Nicole Mikołajczyk
2025-04-07 12:48:34 +02:00
parent 6f044f971d
commit 02673edcb0
4 changed files with 20 additions and 5 deletions

View File

@ -1,7 +1,7 @@
/**
* @category Request params
*/
interface CreateAccountParams {
type CreateAccountParams = {
/** String. The desired username for the account */
username: string;
/** String. The email address to be used for login */
@ -31,7 +31,15 @@ interface CreateAccountParams {
domain?: string;
accepts_email_list?: boolean;
}
/** Invite code */
invite_code?: string;
} & ({
/** EIP-4361 message */
message: string;
/** EIP-4361 signature (required if message is present) */
signature: string;
} | {})
/**
* @category Request params