From 6f03bb27da5a998b0350ca805c864f0a84432497 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Fri, 21 Jul 2023 11:44:34 -0700 Subject: [PATCH] fix: eslint fixes stores rd.2 --- store/callback.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/store/callback.ts b/store/callback.ts index d388f3c34..c34bd2637 100644 --- a/store/callback.ts +++ b/store/callback.ts @@ -26,6 +26,15 @@ export type PurchaseAction = Purchase | Redeem | Upgrade; export type ServerAction = AccountAction | AccountKeyAction | PurchaseAction; +export interface UserInfo { + 'custom:ips_id'?: string; + email?: string; + email_verifed?: 'true' | 'false'; + preferred_username?: string; + sub?: string; + username?: string; +} + export interface ServerData { description?: string; deviceCount?: number; @@ -83,15 +92,6 @@ export type SendPayloads = ExternalActions[] | UpcActions[]; export type QueryPayloads = ExternalPayload | UpcPayload; -export interface UserInfo { - 'custom:ips_id'?: string; - email?: string; - email_verifed?: 'true' | 'false'; - preferred_username?: string; - sub?: string; - username?: string; -} - interface CallbackActionsStore { redirectToCallbackType: (decryptedData: QueryPayloads) => void; encryptionKey: string;