@m5kdev/frontend 0.13.1 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"auth.lib.d.mts","names":["LiteralUnion","BillingService","EmailService","sessions","users","InferSelectModel","_$drizzle_orm_sqlite_core0","_$better_auth0","BetterAuthOptions","betterAuth","_$better_auth_api0","_$better_auth_plugins0","LibSQLDatabase","schema","SQLiteColumn","Date","Record","SQLiteTableWithColumns","name","columns","id","tableName","dataType","columnType","data","driverParam","notNull","hasDefault","isPrimaryKey","isAutoincrement","hasRuntimeDefault","enumValues","baseColumn","identity","generated","length","email","emailVerified","image","createdAt","updatedAt","role","banned","banReason","banExpires","stripeCustomerId","paymentCustomerId","paymentPlanTier","paymentPlanExpiresAt","preferences","metadata","$type","onboarding","flags","dialect","expiresAt","token","ipAddress","userAgent","userId","impersonatedBy","activeOrganizationId","activeOrganizationRole","activeTeamId","activeTeamRole","accounts","accountId","providerId","accessToken","refreshToken","idToken","accessTokenExpiresAt","refreshTokenExpiresAt","scope","password","verifications","identifier","value","organizations","slug","logo","members","organizationId","teams","teamMembers","teamId","invitations","status","inviterId","apikeys","start","prefix","key","refillInterval","refillAmount","lastRefillAt","enabled","rateLimitEnabled","rateLimitTimeWindow","rateLimitMax","requestCount","remaining","lastRequest","permissions","waitlist","type","code","claimUserId","claimedAt","claimedEmail","accountClaimMagicLinks","claimId","url","Schema","Orm","User","Session","BetterAuth","ReturnType","CreateBetterAuthParams","O","S","E","B","Pick","Promise","orm","services","billing","hooks","onError","error","afterCreateUser","user","options","config","provisionedAccountEmailDomain","createBetterAuth","DBAdapter","BetterAuthPlugin","ZodEmail","ZodString","ZodOptional","$strip","ZodObject","StrictEndpoint","MiddlewareOptions","MiddlewareInputContext","MagicLinkOptions","GenericEndpointContext","HookEndpointContext","SessionWithImpersonatedBy","ZodCoercedString","ZodArray","ZodUnion","UserWithRole","ZodAny","ZodRecord","ZodEnum","ZodNumber","ZodBoolean","ZodUndefined","ZodIntersection","AdminOptions","NoInfer","AuthContext","LastLoginMethodOptions","Organization","Invitation","Member","OrganizationEndpoints","TeamEndpoints","OrganizationSchema","InvitationStatus","Headers","PluginContext","InfoContext","OAuthProvider","BetterAuthCookies","Logger","InternalLogger","BetterAuthRateLimitOptions","Omit","InternalAdapter","CookieOptions","Partial","BetterAuthCookie","ModelNames","SecondaryStorage","BetterAuthDBSchema","Awaitable","MiddlewareContext","ZodNullable","ZodDefault","ApiKey","DBPrimitive","ApiKeyOptions","SocialProviders","DBFieldAttribute","SocialProviderList","Array","BetterAuthAdvancedOptions","AuthMiddleware","Auth","baseURL","session","expiresIn","updateAge","cookieCache","maxAge","additionalFields","required","defaultValue","deleteUser","sendDeleteAccountVerification","input","database","emailAndPassword","requireEmailVerification","sendResetPassword","emailVerification","sendVerificationEmail","plugins","endpoints","signInMagicLink","method","requireHeaders","body","callbackURL","newUserCallbackURL","errorCallbackURL","openapi","operationId","description","responses","content","properties","magicLinkVerify","query","use","inputContext","$ref","rateLimit","pathMatcher","path","window","max","init","databaseHooks","create","before","ctx","after","matcher","context","handler","setRole","summary","$Infer","getUser","createUser","adminUpdateUser","listUsers","searchValue","searchField","searchOperator","contains","starts_with","ends_with","limit","offset","sortBy","sortDirection","asc","desc","filterField","filterValue","filterOperator","eq","ne","lt","lte","gt","gte","items","total","listUserSessions","unbanUser","banUser","banExpiresIn","impersonateUser","stopImpersonating","revokeUserSession","sessionToken","success","revokeUserSessions","removeUser","setUserPassword","newPassword","userHasPermission","permission","requestBody","deprecated","$ERROR_CODES","FAILED_TO_CREATE_USER","USER_ALREADY_EXISTS","USER_ALREADY_EXISTS_USE_ANOTHER_EMAIL","YOU_CANNOT_BAN_YOURSELF","YOU_ARE_NOT_ALLOWED_TO_CHANGE_USERS_ROLE","YOU_ARE_NOT_ALLOWED_TO_CREATE_USERS","YOU_ARE_NOT_ALLOWED_TO_LIST_USERS","YOU_ARE_NOT_ALLOWED_TO_LIST_USERS_SESSIONS","YOU_ARE_NOT_ALLOWED_TO_BAN_USERS","YOU_ARE_NOT_ALLOWED_TO_IMPERSONATE_USERS","YOU_ARE_NOT_ALLOWED_TO_REVOKE_USERS_SESSIONS","YOU_ARE_NOT_ALLOWED_TO_DELETE_USERS","YOU_ARE_NOT_ALLOWED_TO_SET_USERS_PASSWORD","BANNED_USER","YOU_ARE_NOT_ALLOWED_TO_GET_USER","NO_DATA_TO_UPDATE","YOU_ARE_NOT_ALLOWED_TO_UPDATE_USERS","YOU_CANNOT_REMOVE_YOURSELF","YOU_ARE_NOT_ALLOWED_TO_SET_NON_EXISTENT_VALUE","YOU_CANNOT_IMPERSONATE_ADMINS","INVALID_ROLE_TYPE","fields","lastLoginMethod","allowUserToCreateOrganization","allowRemovingAllTeams","sendInvitationEmail","organization","invitation","inviter","team","modelName","teamMember","member","Team","TeamMember","ActiveOrganization","YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_ORGANIZATION","YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_ORGANIZATIONS","ORGANIZATION_ALREADY_EXISTS","ORGANIZATION_SLUG_ALREADY_TAKEN","ORGANIZATION_NOT_FOUND","USER_IS_NOT_A_MEMBER_OF_THE_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_ORGANIZATION","NO_ACTIVE_ORGANIZATION","USER_IS_ALREADY_A_MEMBER_OF_THIS_ORGANIZATION","MEMBER_NOT_FOUND","ROLE_NOT_FOUND","YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_TEAM","TEAM_ALREADY_EXISTS","TEAM_NOT_FOUND","YOU_CANNOT_LEAVE_THE_ORGANIZATION_AS_THE_ONLY_OWNER","YOU_CANNOT_LEAVE_THE_ORGANIZATION_WITHOUT_AN_OWNER","YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_MEMBER","YOU_ARE_NOT_ALLOWED_TO_INVITE_USERS_TO_THIS_ORGANIZATION","USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION","INVITATION_NOT_FOUND","YOU_ARE_NOT_THE_RECIPIENT_OF_THE_INVITATION","EMAIL_VERIFICATION_REQUIRED_BEFORE_ACCEPTING_OR_REJECTING_INVITATION","YOU_ARE_NOT_ALLOWED_TO_CANCEL_THIS_INVITATION","INVITER_IS_NO_LONGER_A_MEMBER_OF_THE_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_INVITE_USER_WITH_THIS_ROLE","FAILED_TO_RETRIEVE_INVITATION","YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_TEAMS","UNABLE_TO_REMOVE_LAST_TEAM","YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_MEMBER","ORGANIZATION_MEMBERSHIP_LIMIT_REACHED","YOU_ARE_NOT_ALLOWED_TO_CREATE_TEAMS_IN_THIS_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_DELETE_TEAMS_IN_THIS_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_TEAM","YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_TEAM","INVITATION_LIMIT_REACHED","TEAM_MEMBER_LIMIT_REACHED","USER_IS_NOT_A_MEMBER_OF_THE_TEAM","YOU_CAN_NOT_ACCESS_THE_MEMBERS_OF_THIS_TEAM","YOU_DO_NOT_HAVE_AN_ACTIVE_TEAM","YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_TEAM_MEMBER","YOU_ARE_NOT_ALLOWED_TO_REMOVE_A_TEAM_MEMBER","YOU_ARE_NOT_ALLOWED_TO_ACCESS_THIS_ORGANIZATION","YOU_ARE_NOT_A_MEMBER_OF_THIS_ORGANIZATION","MISSING_AC_INSTANCE","YOU_MUST_BE_IN_AN_ORGANIZATION_TO_CREATE_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_CREATE_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_UPDATE_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_DELETE_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_READ_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_LIST_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_GET_A_ROLE","TOO_MANY_ROLES","INVALID_RESOURCE","ROLE_NAME_IS_ALREADY_TAKEN","CANNOT_DELETE_A_PRE_DEFINED_ROLE","INVALID_METADATA_TYPE","REFILL_AMOUNT_AND_INTERVAL_REQUIRED","REFILL_INTERVAL_AND_AMOUNT_REQUIRED","USER_BANNED","UNAUTHORIZED_SESSION","KEY_NOT_FOUND","KEY_DISABLED","KEY_EXPIRED","USAGE_EXCEEDED","KEY_NOT_RECOVERABLE","EXPIRES_IN_IS_TOO_SMALL","EXPIRES_IN_IS_TOO_LARGE","INVALID_REMAINING","INVALID_PREFIX_LENGTH","INVALID_NAME_LENGTH","METADATA_DISABLED","RATE_LIMIT_EXCEEDED","NO_VALUES_TO_UPDATE","KEY_DISABLED_EXPIRATION","INVALID_API_KEY","INVALID_USER_ID_FROM_API_KEY","INVALID_API_KEY_GETTER_RETURN_TYPE","SERVER_ONLY_PROPERTY","FAILED_TO_UPDATE_API_KEY","NAME_REQUIRED","returned","responseHeaders","appName","trustedOrigins","isTrustedOrigin","allowRelativePaths","settings","oauthConfig","skipStateCookieCheck","storeStateStrategy","newSession","setNewSession","socialProviders","authCookies","logger","storage","adapter","internalAdapter","createAuthCookie","cookieName","overrideAttributes","secret","sessionConfig","freshAge","cookieRefreshCache","generateId","model","size","secondaryStorage","hash","verify","minPasswordLength","maxPasswordLength","checkPassword","tables","runMigrations","publishTelemetry","anonymousId","payload","event","skipOriginCheck","skipCSRFCheck","runInBackground","promise","runInBackgroundOrAwait","createApiKey","format","nullable","additionalProperties","verifyApiKey","valid","message","getApiKey","default","updateApiKey","keyId","deleteApiKey","listApiKeys","deleteAllExpiredApiKeys","apikey","index","references","field","onDelete","transform","output","_user","basePath","account","updateAccountOnSignIn","accountLinking","disableImplicitLinking","trustedProviders","allowDifferentEmails","allowUnlinkingAll","updateUserInfoOnLink","encryptOAuthTokens","storeAccountCookie","verification","disableCleanup","advanced","onAPIError","throw","errorURL","customizeDefaultErrorPage","colors","background","foreground","primary","primaryForeground","mutedForeground","border","destructive","titleBorder","titleColor","gridColor","cardBackground","cornerBorder","radiusSm","radiusMd","radiusLg","textSm","text2xl","text4xl","text6xl","font","defaultFamily","monoFamily","disableTitleBorder","disableCornerDecorations","disableBackgroundGrid","disabledPaths","telemetry","debug","experimental","joins"],"sources":["../../../../../../../../backend/dist/src/modules/auth/auth.lib.d.mts"],"mappings":";;;KAgzEKmH,IAAAA,GAAO9G,gBAAAA,QAAwBD,KAAAA;AAAAA,KAC/BgH,OAAAA,GAAU/G,gBAAAA,QAAwBF,QAAAA"}
1
+ {"version":3,"file":"auth.lib.d.mts","names":["LiteralUnion","BillingService","EmailService","sessions","users","InferSelectModel","_$drizzle_orm_sqlite_core0","_$better_auth0","BetterAuthOptions","betterAuth","_$better_auth_api0","_$better_auth_plugins0","LibSQLDatabase","schema","SQLiteColumn","Date","Record","SQLiteTableWithColumns","name","columns","id","tableName","dataType","columnType","data","driverParam","notNull","hasDefault","isPrimaryKey","isAutoincrement","hasRuntimeDefault","enumValues","baseColumn","identity","generated","length","email","emailVerified","image","createdAt","updatedAt","role","banned","banReason","banExpires","stripeCustomerId","paymentCustomerId","paymentPlanTier","paymentPlanExpiresAt","preferences","metadata","$type","onboarding","flags","dialect","expiresAt","token","ipAddress","userAgent","userId","impersonatedBy","activeOrganizationId","activeOrganizationRole","activeTeamId","activeTeamRole","accounts","accountId","providerId","accessToken","refreshToken","idToken","accessTokenExpiresAt","refreshTokenExpiresAt","scope","password","verifications","identifier","value","organizations","slug","logo","members","organizationId","teams","teamMembers","teamId","invitations","status","inviterId","apikeys","start","prefix","key","refillInterval","refillAmount","lastRefillAt","enabled","rateLimitEnabled","rateLimitTimeWindow","rateLimitMax","requestCount","remaining","lastRequest","permissions","waitlist","type","code","claimUserId","claimedAt","claimedEmail","accountClaimMagicLinks","claimId","url","Schema","Orm","User","Session","BetterAuth","ReturnType","CreateBetterAuthParams","O","S","E","B","Pick","Promise","orm","services","billing","hooks","onError","error","afterCreateUser","user","membership","options","config","provisionedAccountEmailDomain","createBetterAuth","DBAdapter","BetterAuthPlugin","ZodEmail","ZodString","ZodOptional","$strip","ZodObject","StrictEndpoint","MiddlewareOptions","MiddlewareInputContext","MagicLinkOptions","GenericEndpointContext","HookEndpointContext","SessionWithImpersonatedBy","ZodCoercedString","ZodArray","ZodUnion","UserWithRole","ZodAny","ZodRecord","ZodEnum","ZodNumber","ZodBoolean","ZodUndefined","ZodIntersection","AdminOptions","NoInfer","AuthContext","LastLoginMethodOptions","Organization","Invitation","Member","OrganizationEndpoints","TeamEndpoints","OrganizationSchema","InvitationStatus","Headers","PluginContext","InfoContext","OAuthProvider","BetterAuthCookies","Logger","InternalLogger","BetterAuthRateLimitOptions","Omit","InternalAdapter","CookieOptions","Partial","BetterAuthCookie","ModelNames","SecondaryStorage","BetterAuthDBSchema","Awaitable","MiddlewareContext","ZodNullable","ZodDefault","ApiKey","DBPrimitive","ApiKeyOptions","SocialProviders","DBFieldAttribute","SocialProviderList","Array","BetterAuthAdvancedOptions","AuthMiddleware","Auth","baseURL","session","expiresIn","updateAge","cookieCache","maxAge","additionalFields","required","defaultValue","deleteUser","sendDeleteAccountVerification","input","database","emailAndPassword","requireEmailVerification","sendResetPassword","emailVerification","sendVerificationEmail","plugins","endpoints","signInMagicLink","method","requireHeaders","body","callbackURL","newUserCallbackURL","errorCallbackURL","openapi","operationId","description","responses","content","properties","magicLinkVerify","query","use","inputContext","$ref","rateLimit","pathMatcher","path","window","max","init","databaseHooks","create","before","ctx","after","matcher","context","handler","setRole","summary","$Infer","getUser","createUser","adminUpdateUser","listUsers","searchValue","searchField","searchOperator","contains","starts_with","ends_with","limit","offset","sortBy","sortDirection","asc","desc","filterField","filterValue","filterOperator","eq","ne","lt","lte","gt","gte","items","total","listUserSessions","unbanUser","banUser","banExpiresIn","impersonateUser","stopImpersonating","revokeUserSession","sessionToken","success","revokeUserSessions","removeUser","setUserPassword","newPassword","userHasPermission","permission","requestBody","deprecated","$ERROR_CODES","FAILED_TO_CREATE_USER","USER_ALREADY_EXISTS","USER_ALREADY_EXISTS_USE_ANOTHER_EMAIL","YOU_CANNOT_BAN_YOURSELF","YOU_ARE_NOT_ALLOWED_TO_CHANGE_USERS_ROLE","YOU_ARE_NOT_ALLOWED_TO_CREATE_USERS","YOU_ARE_NOT_ALLOWED_TO_LIST_USERS","YOU_ARE_NOT_ALLOWED_TO_LIST_USERS_SESSIONS","YOU_ARE_NOT_ALLOWED_TO_BAN_USERS","YOU_ARE_NOT_ALLOWED_TO_IMPERSONATE_USERS","YOU_ARE_NOT_ALLOWED_TO_REVOKE_USERS_SESSIONS","YOU_ARE_NOT_ALLOWED_TO_DELETE_USERS","YOU_ARE_NOT_ALLOWED_TO_SET_USERS_PASSWORD","BANNED_USER","YOU_ARE_NOT_ALLOWED_TO_GET_USER","NO_DATA_TO_UPDATE","YOU_ARE_NOT_ALLOWED_TO_UPDATE_USERS","YOU_CANNOT_REMOVE_YOURSELF","YOU_ARE_NOT_ALLOWED_TO_SET_NON_EXISTENT_VALUE","YOU_CANNOT_IMPERSONATE_ADMINS","INVALID_ROLE_TYPE","fields","lastLoginMethod","allowUserToCreateOrganization","allowRemovingAllTeams","sendInvitationEmail","organization","invitation","inviter","team","modelName","teamMember","member","Team","TeamMember","ActiveOrganization","YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_ORGANIZATION","YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_ORGANIZATIONS","ORGANIZATION_ALREADY_EXISTS","ORGANIZATION_SLUG_ALREADY_TAKEN","ORGANIZATION_NOT_FOUND","USER_IS_NOT_A_MEMBER_OF_THE_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_ORGANIZATION","NO_ACTIVE_ORGANIZATION","USER_IS_ALREADY_A_MEMBER_OF_THIS_ORGANIZATION","MEMBER_NOT_FOUND","ROLE_NOT_FOUND","YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_TEAM","TEAM_ALREADY_EXISTS","TEAM_NOT_FOUND","YOU_CANNOT_LEAVE_THE_ORGANIZATION_AS_THE_ONLY_OWNER","YOU_CANNOT_LEAVE_THE_ORGANIZATION_WITHOUT_AN_OWNER","YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_MEMBER","YOU_ARE_NOT_ALLOWED_TO_INVITE_USERS_TO_THIS_ORGANIZATION","USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION","INVITATION_NOT_FOUND","YOU_ARE_NOT_THE_RECIPIENT_OF_THE_INVITATION","EMAIL_VERIFICATION_REQUIRED_BEFORE_ACCEPTING_OR_REJECTING_INVITATION","YOU_ARE_NOT_ALLOWED_TO_CANCEL_THIS_INVITATION","INVITER_IS_NO_LONGER_A_MEMBER_OF_THE_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_INVITE_USER_WITH_THIS_ROLE","FAILED_TO_RETRIEVE_INVITATION","YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_TEAMS","UNABLE_TO_REMOVE_LAST_TEAM","YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_MEMBER","ORGANIZATION_MEMBERSHIP_LIMIT_REACHED","YOU_ARE_NOT_ALLOWED_TO_CREATE_TEAMS_IN_THIS_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_DELETE_TEAMS_IN_THIS_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_TEAM","YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_TEAM","INVITATION_LIMIT_REACHED","TEAM_MEMBER_LIMIT_REACHED","USER_IS_NOT_A_MEMBER_OF_THE_TEAM","YOU_CAN_NOT_ACCESS_THE_MEMBERS_OF_THIS_TEAM","YOU_DO_NOT_HAVE_AN_ACTIVE_TEAM","YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_TEAM_MEMBER","YOU_ARE_NOT_ALLOWED_TO_REMOVE_A_TEAM_MEMBER","YOU_ARE_NOT_ALLOWED_TO_ACCESS_THIS_ORGANIZATION","YOU_ARE_NOT_A_MEMBER_OF_THIS_ORGANIZATION","MISSING_AC_INSTANCE","YOU_MUST_BE_IN_AN_ORGANIZATION_TO_CREATE_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_CREATE_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_UPDATE_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_DELETE_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_READ_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_LIST_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_GET_A_ROLE","TOO_MANY_ROLES","INVALID_RESOURCE","ROLE_NAME_IS_ALREADY_TAKEN","CANNOT_DELETE_A_PRE_DEFINED_ROLE","INVALID_METADATA_TYPE","REFILL_AMOUNT_AND_INTERVAL_REQUIRED","REFILL_INTERVAL_AND_AMOUNT_REQUIRED","USER_BANNED","UNAUTHORIZED_SESSION","KEY_NOT_FOUND","KEY_DISABLED","KEY_EXPIRED","USAGE_EXCEEDED","KEY_NOT_RECOVERABLE","EXPIRES_IN_IS_TOO_SMALL","EXPIRES_IN_IS_TOO_LARGE","INVALID_REMAINING","INVALID_PREFIX_LENGTH","INVALID_NAME_LENGTH","METADATA_DISABLED","RATE_LIMIT_EXCEEDED","NO_VALUES_TO_UPDATE","KEY_DISABLED_EXPIRATION","INVALID_API_KEY","INVALID_USER_ID_FROM_API_KEY","INVALID_API_KEY_GETTER_RETURN_TYPE","SERVER_ONLY_PROPERTY","FAILED_TO_UPDATE_API_KEY","NAME_REQUIRED","returned","responseHeaders","appName","trustedOrigins","isTrustedOrigin","allowRelativePaths","settings","oauthConfig","skipStateCookieCheck","storeStateStrategy","newSession","setNewSession","socialProviders","authCookies","logger","storage","adapter","internalAdapter","createAuthCookie","cookieName","overrideAttributes","secret","sessionConfig","freshAge","cookieRefreshCache","generateId","model","size","secondaryStorage","hash","verify","minPasswordLength","maxPasswordLength","checkPassword","tables","runMigrations","publishTelemetry","anonymousId","payload","event","skipOriginCheck","skipCSRFCheck","runInBackground","promise","runInBackgroundOrAwait","createApiKey","format","nullable","additionalProperties","verifyApiKey","valid","message","getApiKey","default","updateApiKey","keyId","deleteApiKey","listApiKeys","deleteAllExpiredApiKeys","apikey","index","references","field","onDelete","transform","output","_user","basePath","account","updateAccountOnSignIn","accountLinking","disableImplicitLinking","trustedProviders","allowDifferentEmails","allowUnlinkingAll","updateUserInfoOnLink","encryptOAuthTokens","storeAccountCookie","verification","disableCleanup","advanced","onAPIError","throw","errorURL","customizeDefaultErrorPage","colors","background","foreground","primary","primaryForeground","mutedForeground","border","destructive","titleBorder","titleColor","gridColor","cardBackground","cornerBorder","radiusSm","radiusMd","radiusLg","textSm","text2xl","text4xl","text6xl","font","defaultFamily","monoFamily","disableTitleBorder","disableCornerDecorations","disableBackgroundGrid","disabledPaths","telemetry","debug","experimental","joins"],"sources":["../../../../../../../../backend/dist/src/modules/auth/auth.lib.d.mts"],"mappings":";;;KAgzEKmH,IAAAA,GAAO9G,gBAAAA,QAAwBD,KAAAA;AAAAA,KAC/BgH,OAAAA,GAAU/G,gBAAAA,QAAwBF,QAAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"auth.lib.d.ts","names":["LiteralUnion","BillingService","EmailService","sessions","users","InferSelectModel","_$drizzle_orm_sqlite_core0","_$better_auth0","BetterAuthOptions","betterAuth","_$better_auth_api0","_$better_auth_plugins0","LibSQLDatabase","schema","SQLiteColumn","Date","Record","SQLiteTableWithColumns","name","columns","id","tableName","dataType","columnType","data","driverParam","notNull","hasDefault","isPrimaryKey","isAutoincrement","hasRuntimeDefault","enumValues","baseColumn","identity","generated","length","email","emailVerified","image","createdAt","updatedAt","role","banned","banReason","banExpires","stripeCustomerId","paymentCustomerId","paymentPlanTier","paymentPlanExpiresAt","preferences","metadata","$type","onboarding","flags","dialect","expiresAt","token","ipAddress","userAgent","userId","impersonatedBy","activeOrganizationId","activeOrganizationRole","activeTeamId","activeTeamRole","accounts","accountId","providerId","accessToken","refreshToken","idToken","accessTokenExpiresAt","refreshTokenExpiresAt","scope","password","verifications","identifier","value","organizations","slug","logo","members","organizationId","teams","teamMembers","teamId","invitations","status","inviterId","apikeys","start","prefix","key","refillInterval","refillAmount","lastRefillAt","enabled","rateLimitEnabled","rateLimitTimeWindow","rateLimitMax","requestCount","remaining","lastRequest","permissions","waitlist","type","code","claimUserId","claimedAt","claimedEmail","accountClaimMagicLinks","claimId","url","Schema","Orm","User","Session","BetterAuth","ReturnType","CreateBetterAuthParams","O","S","E","B","Pick","Promise","orm","services","billing","hooks","onError","error","afterCreateUser","user","options","config","provisionedAccountEmailDomain","createBetterAuth","DBAdapter","BetterAuthPlugin","ZodEmail","ZodString","ZodOptional","$strip","ZodObject","StrictEndpoint","MiddlewareOptions","MiddlewareInputContext","MagicLinkOptions","GenericEndpointContext","HookEndpointContext","SessionWithImpersonatedBy","ZodCoercedString","ZodArray","ZodUnion","UserWithRole","ZodAny","ZodRecord","ZodEnum","ZodNumber","ZodBoolean","ZodUndefined","ZodIntersection","AdminOptions","NoInfer","AuthContext","LastLoginMethodOptions","Organization","Invitation","Member","OrganizationEndpoints","TeamEndpoints","OrganizationSchema","InvitationStatus","Headers","PluginContext","InfoContext","OAuthProvider","BetterAuthCookies","Logger","InternalLogger","BetterAuthRateLimitOptions","Omit","InternalAdapter","CookieOptions","Partial","BetterAuthCookie","ModelNames","SecondaryStorage","BetterAuthDBSchema","Awaitable","MiddlewareContext","ZodNullable","ZodDefault","ApiKey","DBPrimitive","ApiKeyOptions","SocialProviders","DBFieldAttribute","SocialProviderList","Array","BetterAuthAdvancedOptions","AuthMiddleware","Auth","baseURL","session","expiresIn","updateAge","cookieCache","maxAge","additionalFields","required","defaultValue","deleteUser","sendDeleteAccountVerification","input","database","emailAndPassword","requireEmailVerification","sendResetPassword","emailVerification","sendVerificationEmail","plugins","endpoints","signInMagicLink","method","requireHeaders","body","callbackURL","newUserCallbackURL","errorCallbackURL","openapi","operationId","description","responses","content","properties","magicLinkVerify","query","use","inputContext","$ref","rateLimit","pathMatcher","path","window","max","init","databaseHooks","create","before","ctx","after","matcher","context","handler","setRole","summary","$Infer","getUser","createUser","adminUpdateUser","listUsers","searchValue","searchField","searchOperator","contains","starts_with","ends_with","limit","offset","sortBy","sortDirection","asc","desc","filterField","filterValue","filterOperator","eq","ne","lt","lte","gt","gte","items","total","listUserSessions","unbanUser","banUser","banExpiresIn","impersonateUser","stopImpersonating","revokeUserSession","sessionToken","success","revokeUserSessions","removeUser","setUserPassword","newPassword","userHasPermission","permission","requestBody","deprecated","$ERROR_CODES","FAILED_TO_CREATE_USER","USER_ALREADY_EXISTS","USER_ALREADY_EXISTS_USE_ANOTHER_EMAIL","YOU_CANNOT_BAN_YOURSELF","YOU_ARE_NOT_ALLOWED_TO_CHANGE_USERS_ROLE","YOU_ARE_NOT_ALLOWED_TO_CREATE_USERS","YOU_ARE_NOT_ALLOWED_TO_LIST_USERS","YOU_ARE_NOT_ALLOWED_TO_LIST_USERS_SESSIONS","YOU_ARE_NOT_ALLOWED_TO_BAN_USERS","YOU_ARE_NOT_ALLOWED_TO_IMPERSONATE_USERS","YOU_ARE_NOT_ALLOWED_TO_REVOKE_USERS_SESSIONS","YOU_ARE_NOT_ALLOWED_TO_DELETE_USERS","YOU_ARE_NOT_ALLOWED_TO_SET_USERS_PASSWORD","BANNED_USER","YOU_ARE_NOT_ALLOWED_TO_GET_USER","NO_DATA_TO_UPDATE","YOU_ARE_NOT_ALLOWED_TO_UPDATE_USERS","YOU_CANNOT_REMOVE_YOURSELF","YOU_ARE_NOT_ALLOWED_TO_SET_NON_EXISTENT_VALUE","YOU_CANNOT_IMPERSONATE_ADMINS","INVALID_ROLE_TYPE","fields","lastLoginMethod","allowUserToCreateOrganization","allowRemovingAllTeams","sendInvitationEmail","organization","invitation","inviter","team","modelName","teamMember","member","Team","TeamMember","ActiveOrganization","YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_ORGANIZATION","YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_ORGANIZATIONS","ORGANIZATION_ALREADY_EXISTS","ORGANIZATION_SLUG_ALREADY_TAKEN","ORGANIZATION_NOT_FOUND","USER_IS_NOT_A_MEMBER_OF_THE_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_ORGANIZATION","NO_ACTIVE_ORGANIZATION","USER_IS_ALREADY_A_MEMBER_OF_THIS_ORGANIZATION","MEMBER_NOT_FOUND","ROLE_NOT_FOUND","YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_TEAM","TEAM_ALREADY_EXISTS","TEAM_NOT_FOUND","YOU_CANNOT_LEAVE_THE_ORGANIZATION_AS_THE_ONLY_OWNER","YOU_CANNOT_LEAVE_THE_ORGANIZATION_WITHOUT_AN_OWNER","YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_MEMBER","YOU_ARE_NOT_ALLOWED_TO_INVITE_USERS_TO_THIS_ORGANIZATION","USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION","INVITATION_NOT_FOUND","YOU_ARE_NOT_THE_RECIPIENT_OF_THE_INVITATION","EMAIL_VERIFICATION_REQUIRED_BEFORE_ACCEPTING_OR_REJECTING_INVITATION","YOU_ARE_NOT_ALLOWED_TO_CANCEL_THIS_INVITATION","INVITER_IS_NO_LONGER_A_MEMBER_OF_THE_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_INVITE_USER_WITH_THIS_ROLE","FAILED_TO_RETRIEVE_INVITATION","YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_TEAMS","UNABLE_TO_REMOVE_LAST_TEAM","YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_MEMBER","ORGANIZATION_MEMBERSHIP_LIMIT_REACHED","YOU_ARE_NOT_ALLOWED_TO_CREATE_TEAMS_IN_THIS_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_DELETE_TEAMS_IN_THIS_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_TEAM","YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_TEAM","INVITATION_LIMIT_REACHED","TEAM_MEMBER_LIMIT_REACHED","USER_IS_NOT_A_MEMBER_OF_THE_TEAM","YOU_CAN_NOT_ACCESS_THE_MEMBERS_OF_THIS_TEAM","YOU_DO_NOT_HAVE_AN_ACTIVE_TEAM","YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_TEAM_MEMBER","YOU_ARE_NOT_ALLOWED_TO_REMOVE_A_TEAM_MEMBER","YOU_ARE_NOT_ALLOWED_TO_ACCESS_THIS_ORGANIZATION","YOU_ARE_NOT_A_MEMBER_OF_THIS_ORGANIZATION","MISSING_AC_INSTANCE","YOU_MUST_BE_IN_AN_ORGANIZATION_TO_CREATE_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_CREATE_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_UPDATE_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_DELETE_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_READ_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_LIST_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_GET_A_ROLE","TOO_MANY_ROLES","INVALID_RESOURCE","ROLE_NAME_IS_ALREADY_TAKEN","CANNOT_DELETE_A_PRE_DEFINED_ROLE","INVALID_METADATA_TYPE","REFILL_AMOUNT_AND_INTERVAL_REQUIRED","REFILL_INTERVAL_AND_AMOUNT_REQUIRED","USER_BANNED","UNAUTHORIZED_SESSION","KEY_NOT_FOUND","KEY_DISABLED","KEY_EXPIRED","USAGE_EXCEEDED","KEY_NOT_RECOVERABLE","EXPIRES_IN_IS_TOO_SMALL","EXPIRES_IN_IS_TOO_LARGE","INVALID_REMAINING","INVALID_PREFIX_LENGTH","INVALID_NAME_LENGTH","METADATA_DISABLED","RATE_LIMIT_EXCEEDED","NO_VALUES_TO_UPDATE","KEY_DISABLED_EXPIRATION","INVALID_API_KEY","INVALID_USER_ID_FROM_API_KEY","INVALID_API_KEY_GETTER_RETURN_TYPE","SERVER_ONLY_PROPERTY","FAILED_TO_UPDATE_API_KEY","NAME_REQUIRED","returned","responseHeaders","appName","trustedOrigins","isTrustedOrigin","allowRelativePaths","settings","oauthConfig","skipStateCookieCheck","storeStateStrategy","newSession","setNewSession","socialProviders","authCookies","logger","storage","adapter","internalAdapter","createAuthCookie","cookieName","overrideAttributes","secret","sessionConfig","freshAge","cookieRefreshCache","generateId","model","size","secondaryStorage","hash","verify","minPasswordLength","maxPasswordLength","checkPassword","tables","runMigrations","publishTelemetry","anonymousId","payload","event","skipOriginCheck","skipCSRFCheck","runInBackground","promise","runInBackgroundOrAwait","createApiKey","format","nullable","additionalProperties","verifyApiKey","valid","message","getApiKey","default","updateApiKey","keyId","deleteApiKey","listApiKeys","deleteAllExpiredApiKeys","apikey","index","references","field","onDelete","transform","output","_user","basePath","account","updateAccountOnSignIn","accountLinking","disableImplicitLinking","trustedProviders","allowDifferentEmails","allowUnlinkingAll","updateUserInfoOnLink","encryptOAuthTokens","storeAccountCookie","verification","disableCleanup","advanced","onAPIError","throw","errorURL","customizeDefaultErrorPage","colors","background","foreground","primary","primaryForeground","mutedForeground","border","destructive","titleBorder","titleColor","gridColor","cardBackground","cornerBorder","radiusSm","radiusMd","radiusLg","textSm","text2xl","text4xl","text6xl","font","defaultFamily","monoFamily","disableTitleBorder","disableCornerDecorations","disableBackgroundGrid","disabledPaths","telemetry","debug","experimental","joins"],"sources":["../../../../../../../../backend/dist/src/modules/auth/auth.lib.d.mts"],"mappings":";;;KAgzEKmH,IAAAA,GAAO9G,gBAAAA,QAAwBD,KAAAA;AAAAA,KAC/BgH,OAAAA,GAAU/G,gBAAAA,QAAwBF,QAAAA"}
1
+ {"version":3,"file":"auth.lib.d.ts","names":["LiteralUnion","BillingService","EmailService","sessions","users","InferSelectModel","_$drizzle_orm_sqlite_core0","_$better_auth0","BetterAuthOptions","betterAuth","_$better_auth_api0","_$better_auth_plugins0","LibSQLDatabase","schema","SQLiteColumn","Date","Record","SQLiteTableWithColumns","name","columns","id","tableName","dataType","columnType","data","driverParam","notNull","hasDefault","isPrimaryKey","isAutoincrement","hasRuntimeDefault","enumValues","baseColumn","identity","generated","length","email","emailVerified","image","createdAt","updatedAt","role","banned","banReason","banExpires","stripeCustomerId","paymentCustomerId","paymentPlanTier","paymentPlanExpiresAt","preferences","metadata","$type","onboarding","flags","dialect","expiresAt","token","ipAddress","userAgent","userId","impersonatedBy","activeOrganizationId","activeOrganizationRole","activeTeamId","activeTeamRole","accounts","accountId","providerId","accessToken","refreshToken","idToken","accessTokenExpiresAt","refreshTokenExpiresAt","scope","password","verifications","identifier","value","organizations","slug","logo","members","organizationId","teams","teamMembers","teamId","invitations","status","inviterId","apikeys","start","prefix","key","refillInterval","refillAmount","lastRefillAt","enabled","rateLimitEnabled","rateLimitTimeWindow","rateLimitMax","requestCount","remaining","lastRequest","permissions","waitlist","type","code","claimUserId","claimedAt","claimedEmail","accountClaimMagicLinks","claimId","url","Schema","Orm","User","Session","BetterAuth","ReturnType","CreateBetterAuthParams","O","S","E","B","Pick","Promise","orm","services","billing","hooks","onError","error","afterCreateUser","user","membership","options","config","provisionedAccountEmailDomain","createBetterAuth","DBAdapter","BetterAuthPlugin","ZodEmail","ZodString","ZodOptional","$strip","ZodObject","StrictEndpoint","MiddlewareOptions","MiddlewareInputContext","MagicLinkOptions","GenericEndpointContext","HookEndpointContext","SessionWithImpersonatedBy","ZodCoercedString","ZodArray","ZodUnion","UserWithRole","ZodAny","ZodRecord","ZodEnum","ZodNumber","ZodBoolean","ZodUndefined","ZodIntersection","AdminOptions","NoInfer","AuthContext","LastLoginMethodOptions","Organization","Invitation","Member","OrganizationEndpoints","TeamEndpoints","OrganizationSchema","InvitationStatus","Headers","PluginContext","InfoContext","OAuthProvider","BetterAuthCookies","Logger","InternalLogger","BetterAuthRateLimitOptions","Omit","InternalAdapter","CookieOptions","Partial","BetterAuthCookie","ModelNames","SecondaryStorage","BetterAuthDBSchema","Awaitable","MiddlewareContext","ZodNullable","ZodDefault","ApiKey","DBPrimitive","ApiKeyOptions","SocialProviders","DBFieldAttribute","SocialProviderList","Array","BetterAuthAdvancedOptions","AuthMiddleware","Auth","baseURL","session","expiresIn","updateAge","cookieCache","maxAge","additionalFields","required","defaultValue","deleteUser","sendDeleteAccountVerification","input","database","emailAndPassword","requireEmailVerification","sendResetPassword","emailVerification","sendVerificationEmail","plugins","endpoints","signInMagicLink","method","requireHeaders","body","callbackURL","newUserCallbackURL","errorCallbackURL","openapi","operationId","description","responses","content","properties","magicLinkVerify","query","use","inputContext","$ref","rateLimit","pathMatcher","path","window","max","init","databaseHooks","create","before","ctx","after","matcher","context","handler","setRole","summary","$Infer","getUser","createUser","adminUpdateUser","listUsers","searchValue","searchField","searchOperator","contains","starts_with","ends_with","limit","offset","sortBy","sortDirection","asc","desc","filterField","filterValue","filterOperator","eq","ne","lt","lte","gt","gte","items","total","listUserSessions","unbanUser","banUser","banExpiresIn","impersonateUser","stopImpersonating","revokeUserSession","sessionToken","success","revokeUserSessions","removeUser","setUserPassword","newPassword","userHasPermission","permission","requestBody","deprecated","$ERROR_CODES","FAILED_TO_CREATE_USER","USER_ALREADY_EXISTS","USER_ALREADY_EXISTS_USE_ANOTHER_EMAIL","YOU_CANNOT_BAN_YOURSELF","YOU_ARE_NOT_ALLOWED_TO_CHANGE_USERS_ROLE","YOU_ARE_NOT_ALLOWED_TO_CREATE_USERS","YOU_ARE_NOT_ALLOWED_TO_LIST_USERS","YOU_ARE_NOT_ALLOWED_TO_LIST_USERS_SESSIONS","YOU_ARE_NOT_ALLOWED_TO_BAN_USERS","YOU_ARE_NOT_ALLOWED_TO_IMPERSONATE_USERS","YOU_ARE_NOT_ALLOWED_TO_REVOKE_USERS_SESSIONS","YOU_ARE_NOT_ALLOWED_TO_DELETE_USERS","YOU_ARE_NOT_ALLOWED_TO_SET_USERS_PASSWORD","BANNED_USER","YOU_ARE_NOT_ALLOWED_TO_GET_USER","NO_DATA_TO_UPDATE","YOU_ARE_NOT_ALLOWED_TO_UPDATE_USERS","YOU_CANNOT_REMOVE_YOURSELF","YOU_ARE_NOT_ALLOWED_TO_SET_NON_EXISTENT_VALUE","YOU_CANNOT_IMPERSONATE_ADMINS","INVALID_ROLE_TYPE","fields","lastLoginMethod","allowUserToCreateOrganization","allowRemovingAllTeams","sendInvitationEmail","organization","invitation","inviter","team","modelName","teamMember","member","Team","TeamMember","ActiveOrganization","YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_ORGANIZATION","YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_ORGANIZATIONS","ORGANIZATION_ALREADY_EXISTS","ORGANIZATION_SLUG_ALREADY_TAKEN","ORGANIZATION_NOT_FOUND","USER_IS_NOT_A_MEMBER_OF_THE_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_ORGANIZATION","NO_ACTIVE_ORGANIZATION","USER_IS_ALREADY_A_MEMBER_OF_THIS_ORGANIZATION","MEMBER_NOT_FOUND","ROLE_NOT_FOUND","YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_TEAM","TEAM_ALREADY_EXISTS","TEAM_NOT_FOUND","YOU_CANNOT_LEAVE_THE_ORGANIZATION_AS_THE_ONLY_OWNER","YOU_CANNOT_LEAVE_THE_ORGANIZATION_WITHOUT_AN_OWNER","YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_MEMBER","YOU_ARE_NOT_ALLOWED_TO_INVITE_USERS_TO_THIS_ORGANIZATION","USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION","INVITATION_NOT_FOUND","YOU_ARE_NOT_THE_RECIPIENT_OF_THE_INVITATION","EMAIL_VERIFICATION_REQUIRED_BEFORE_ACCEPTING_OR_REJECTING_INVITATION","YOU_ARE_NOT_ALLOWED_TO_CANCEL_THIS_INVITATION","INVITER_IS_NO_LONGER_A_MEMBER_OF_THE_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_INVITE_USER_WITH_THIS_ROLE","FAILED_TO_RETRIEVE_INVITATION","YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_TEAMS","UNABLE_TO_REMOVE_LAST_TEAM","YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_MEMBER","ORGANIZATION_MEMBERSHIP_LIMIT_REACHED","YOU_ARE_NOT_ALLOWED_TO_CREATE_TEAMS_IN_THIS_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_DELETE_TEAMS_IN_THIS_ORGANIZATION","YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_TEAM","YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_TEAM","INVITATION_LIMIT_REACHED","TEAM_MEMBER_LIMIT_REACHED","USER_IS_NOT_A_MEMBER_OF_THE_TEAM","YOU_CAN_NOT_ACCESS_THE_MEMBERS_OF_THIS_TEAM","YOU_DO_NOT_HAVE_AN_ACTIVE_TEAM","YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_TEAM_MEMBER","YOU_ARE_NOT_ALLOWED_TO_REMOVE_A_TEAM_MEMBER","YOU_ARE_NOT_ALLOWED_TO_ACCESS_THIS_ORGANIZATION","YOU_ARE_NOT_A_MEMBER_OF_THIS_ORGANIZATION","MISSING_AC_INSTANCE","YOU_MUST_BE_IN_AN_ORGANIZATION_TO_CREATE_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_CREATE_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_UPDATE_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_DELETE_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_READ_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_LIST_A_ROLE","YOU_ARE_NOT_ALLOWED_TO_GET_A_ROLE","TOO_MANY_ROLES","INVALID_RESOURCE","ROLE_NAME_IS_ALREADY_TAKEN","CANNOT_DELETE_A_PRE_DEFINED_ROLE","INVALID_METADATA_TYPE","REFILL_AMOUNT_AND_INTERVAL_REQUIRED","REFILL_INTERVAL_AND_AMOUNT_REQUIRED","USER_BANNED","UNAUTHORIZED_SESSION","KEY_NOT_FOUND","KEY_DISABLED","KEY_EXPIRED","USAGE_EXCEEDED","KEY_NOT_RECOVERABLE","EXPIRES_IN_IS_TOO_SMALL","EXPIRES_IN_IS_TOO_LARGE","INVALID_REMAINING","INVALID_PREFIX_LENGTH","INVALID_NAME_LENGTH","METADATA_DISABLED","RATE_LIMIT_EXCEEDED","NO_VALUES_TO_UPDATE","KEY_DISABLED_EXPIRATION","INVALID_API_KEY","INVALID_USER_ID_FROM_API_KEY","INVALID_API_KEY_GETTER_RETURN_TYPE","SERVER_ONLY_PROPERTY","FAILED_TO_UPDATE_API_KEY","NAME_REQUIRED","returned","responseHeaders","appName","trustedOrigins","isTrustedOrigin","allowRelativePaths","settings","oauthConfig","skipStateCookieCheck","storeStateStrategy","newSession","setNewSession","socialProviders","authCookies","logger","storage","adapter","internalAdapter","createAuthCookie","cookieName","overrideAttributes","secret","sessionConfig","freshAge","cookieRefreshCache","generateId","model","size","secondaryStorage","hash","verify","minPasswordLength","maxPasswordLength","checkPassword","tables","runMigrations","publishTelemetry","anonymousId","payload","event","skipOriginCheck","skipCSRFCheck","runInBackground","promise","runInBackgroundOrAwait","createApiKey","format","nullable","additionalProperties","verifyApiKey","valid","message","getApiKey","default","updateApiKey","keyId","deleteApiKey","listApiKeys","deleteAllExpiredApiKeys","apikey","index","references","field","onDelete","transform","output","_user","basePath","account","updateAccountOnSignIn","accountLinking","disableImplicitLinking","trustedProviders","allowDifferentEmails","allowUnlinkingAll","updateUserInfoOnLink","encryptOAuthTokens","storeAccountCookie","verification","disableCleanup","advanced","onAPIError","throw","errorURL","customizeDefaultErrorPage","colors","background","foreground","primary","primaryForeground","mutedForeground","border","destructive","titleBorder","titleColor","gridColor","cardBackground","cornerBorder","radiusSm","radiusMd","radiusLg","textSm","text2xl","text4xl","text6xl","font","defaultFamily","monoFamily","disableTitleBorder","disableCornerDecorations","disableBackgroundGrid","disabledPaths","telemetry","debug","experimental","joins"],"sources":["../../../../../../../../backend/dist/src/modules/auth/auth.lib.d.mts"],"mappings":";;;KAgzEKmH,IAAAA,GAAO9G,gBAAAA,QAAwBD,KAAAA;AAAAA,KAC/BgH,OAAAA,GAAU/G,gBAAAA,QAAwBF,QAAAA"}
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_src_modules_auth_auth_lib = require("../auth.lib.js");
3
- let posthog_js_react_dist_umd_index_js = require("posthog-js/react/dist/umd/index.js");
4
3
  let react = require("react");
4
+ let posthog_js_react_dist_umd_index_js = require("posthog-js/react/dist/umd/index.js");
5
5
  let react_jsx_runtime = require("react/jsx-runtime");
6
6
  //#region src/modules/auth/components/AuthProvider.tsx
7
7
  function isImpersonatedSession(session) {
@@ -1,6 +1,6 @@
1
1
  import { authClient } from "../auth.lib.mjs";
2
- import { usePostHog } from "posthog-js/react/dist/esm/index.js";
3
2
  import { createContext, useCallback, useEffect, useState } from "react";
3
+ import { usePostHog } from "posthog-js/react/dist/esm/index.js";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region src/modules/auth/components/AuthProvider.tsx
6
6
  function isImpersonatedSession(session) {
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ let _tanstack_react_query = require("@tanstack/react-query");
2
3
  let react = require("react");
3
4
  let react_jsx_runtime = require("react/jsx-runtime");
4
- let _tanstack_react_query = require("@tanstack/react-query");
5
5
  //#region src/modules/billing/components/BillingProvider.tsx
6
6
  const billingProviderContext = (0, react.createContext)({
7
7
  isLoading: true,
@@ -1,6 +1,6 @@
1
+ import { useQuery } from "@tanstack/react-query";
1
2
  import { createContext } from "react";
2
3
  import { jsx } from "react/jsx-runtime";
3
- import { useQuery } from "@tanstack/react-query";
4
4
  //#region src/modules/billing/components/BillingProvider.tsx
5
5
  const billingProviderContext = createContext({
6
6
  isLoading: true,
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- let react = require("react");
3
2
  let _tanstack_react_query = require("@tanstack/react-query");
3
+ let react = require("react");
4
4
  //#region src/modules/table/hooks/useQueryWithParams.ts
5
5
  const FETCH_ALL_LIMIT = 99999;
6
6
  /**
@@ -1,5 +1,5 @@
1
- import { useEffect, useMemo, useRef } from "react";
2
1
  import { useQuery } from "@tanstack/react-query";
2
+ import { useEffect, useMemo, useRef } from "react";
3
3
  //#region src/modules/table/hooks/useQueryWithParams.ts
4
4
  const FETCH_ALL_LIMIT = 99999;
5
5
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m5kdev/frontend",
3
- "version": "0.13.1",
3
+ "version": "0.14.0",
4
4
  "license": "GPL-3.0-only",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,7 +24,7 @@
24
24
  "react": "19.2.1",
25
25
  "react-dom": "19.2.1",
26
26
  "zod": "4.2.1",
27
- "@m5kdev/commons": "0.13.1"
27
+ "@m5kdev/commons": "0.14.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@heroui/react": "2.8.10",
@@ -36,8 +36,8 @@
36
36
  "tsdown": "0.21.7",
37
37
  "typescript": "5.9.2",
38
38
  "vite": "7.0.4",
39
- "@m5kdev/backend": "0.13.1",
40
- "@m5kdev/config": "0.13.1"
39
+ "@m5kdev/backend": "0.14.0",
40
+ "@m5kdev/config": "0.14.0"
41
41
  },
42
42
  "exports": {
43
43
  "./modules/auth/components/*": {