@better-auth-ui/core
Version:
Authentication components and data utilities for [Better Auth](https://better-auth.com), available for React and Solid.
14 lines (13 loc) • 437 B
text/typescript
/**
* Mutation keys contributed by the API key plugin.
*/
export const apiKeyMutationKeys = {
/** Root key for every api key mutation. */
all: ["auth", "apiKey"] as const,
/** Key for `apiKey.create`. */
create: ["auth", "apiKey", "create"] as const,
/** Key for `apiKey.delete`. */
delete: ["auth", "apiKey", "delete"] as const,
/** Key for `apiKey.update`. */
update: ["auth", "apiKey", "update"] as const
} as const