/**
 * Centralized query key factory
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
// ============================================================================
// This file provides a centralized, type-safe query key factory following
// the lukemorales query-key-factory pattern for React Query.
//
// Benefits:
// - Single source of truth for all query keys
// - Type-safe key access with autocomplete
// - Hierarchical invalidation (invalidate all 'user.*' queries)
// - Scoped keys for parent-child relationships
// ============================================================================
// ============================================================================
// Entity Query Keys
// ============================================================================
export const appLimitCapsDefaultKeys = {
    /** All appLimitCapsDefault queries */ all: ['applimitcapsdefault'],
    /** List query keys */ lists: () => [...appLimitCapsDefaultKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...appLimitCapsDefaultKeys.lists(), variables],
    /** Detail query keys */ details: () => [...appLimitCapsDefaultKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...appLimitCapsDefaultKeys.details(), id],
};
export const orgLimitCapsDefaultKeys = {
    /** All orgLimitCapsDefault queries */ all: ['orglimitcapsdefault'],
    /** List query keys */ lists: () => [...orgLimitCapsDefaultKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...orgLimitCapsDefaultKeys.lists(), variables],
    /** Detail query keys */ details: () => [...orgLimitCapsDefaultKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...orgLimitCapsDefaultKeys.details(), id],
};
export const appLimitCapKeys = {
    /** All appLimitCap queries */ all: ['applimitcap'],
    /** List query keys */ lists: () => [...appLimitCapKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...appLimitCapKeys.lists(), variables],
    /** Detail query keys */ details: () => [...appLimitCapKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...appLimitCapKeys.details(), id],
};
export const orgLimitCapKeys = {
    /** All orgLimitCap queries */ all: ['orglimitcap'],
    /** List query keys */ lists: () => [...orgLimitCapKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...orgLimitCapKeys.lists(), variables],
    /** Detail query keys */ details: () => [...orgLimitCapKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...orgLimitCapKeys.details(), id],
};
export const appLimitDefaultKeys = {
    /** All appLimitDefault queries */ all: ['applimitdefault'],
    /** List query keys */ lists: () => [...appLimitDefaultKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...appLimitDefaultKeys.lists(), variables],
    /** Detail query keys */ details: () => [...appLimitDefaultKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...appLimitDefaultKeys.details(), id],
};
export const appLimitCreditKeys = {
    /** All appLimitCredit queries */ all: ['applimitcredit'],
    /** List query keys */ lists: () => [...appLimitCreditKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...appLimitCreditKeys.lists(), variables],
    /** Detail query keys */ details: () => [...appLimitCreditKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...appLimitCreditKeys.details(), id],
};
export const appLimitCreditCodeItemKeys = {
    /** All appLimitCreditCodeItem queries */ all: ['applimitcreditcodeitem'],
    /** List query keys */ lists: () => [...appLimitCreditCodeItemKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...appLimitCreditCodeItemKeys.lists(), variables],
    /** Detail query keys */ details: () => [...appLimitCreditCodeItemKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...appLimitCreditCodeItemKeys.details(), id],
};
export const appLimitCreditRedemptionKeys = {
    /** All appLimitCreditRedemption queries */ all: ['applimitcreditredemption'],
    /** List query keys */ lists: () => [...appLimitCreditRedemptionKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...appLimitCreditRedemptionKeys.lists(), variables],
    /** Detail query keys */ details: () => [...appLimitCreditRedemptionKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...appLimitCreditRedemptionKeys.details(), id],
};
export const orgLimitDefaultKeys = {
    /** All orgLimitDefault queries */ all: ['orglimitdefault'],
    /** List query keys */ lists: () => [...orgLimitDefaultKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...orgLimitDefaultKeys.lists(), variables],
    /** Detail query keys */ details: () => [...orgLimitDefaultKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...orgLimitDefaultKeys.details(), id],
};
export const orgLimitCreditKeys = {
    /** All orgLimitCredit queries */ all: ['orglimitcredit'],
    /** List query keys */ lists: () => [...orgLimitCreditKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...orgLimitCreditKeys.lists(), variables],
    /** Detail query keys */ details: () => [...orgLimitCreditKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...orgLimitCreditKeys.details(), id],
};
export const appLimitWarningKeys = {
    /** All appLimitWarning queries */ all: ['applimitwarning'],
    /** List query keys */ lists: () => [...appLimitWarningKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...appLimitWarningKeys.lists(), variables],
    /** Detail query keys */ details: () => [...appLimitWarningKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...appLimitWarningKeys.details(), id],
};
export const orgLimitWarningKeys = {
    /** All orgLimitWarning queries */ all: ['orglimitwarning'],
    /** List query keys */ lists: () => [...orgLimitWarningKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...orgLimitWarningKeys.lists(), variables],
    /** Detail query keys */ details: () => [...orgLimitWarningKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...orgLimitWarningKeys.details(), id],
};
export const appLimitCreditCodeKeys = {
    /** All appLimitCreditCode queries */ all: ['applimitcreditcode'],
    /** List query keys */ lists: () => [...appLimitCreditCodeKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...appLimitCreditCodeKeys.lists(), variables],
    /** Detail query keys */ details: () => [...appLimitCreditCodeKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...appLimitCreditCodeKeys.details(), id],
};
export const appLimitEventKeys = {
    /** All appLimitEvent queries */ all: ['applimitevent'],
    /** List query keys */ lists: () => [...appLimitEventKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...appLimitEventKeys.lists(), variables],
    /** Detail query keys */ details: () => [...appLimitEventKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...appLimitEventKeys.details(), id],
};
export const orgLimitEventKeys = {
    /** All orgLimitEvent queries */ all: ['orglimitevent'],
    /** List query keys */ lists: () => [...orgLimitEventKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...orgLimitEventKeys.lists(), variables],
    /** Detail query keys */ details: () => [...orgLimitEventKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...orgLimitEventKeys.details(), id],
};
export const appLimitKeys = {
    /** All appLimit queries */ all: ['applimit'],
    /** List query keys */ lists: () => [...appLimitKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...appLimitKeys.lists(), variables],
    /** Detail query keys */ details: () => [...appLimitKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...appLimitKeys.details(), id],
};
export const orgLimitAggregateKeys = {
    /** All orgLimitAggregate queries */ all: ['orglimitaggregate'],
    /** List query keys */ lists: () => [...orgLimitAggregateKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...orgLimitAggregateKeys.lists(), variables],
    /** Detail query keys */ details: () => [...orgLimitAggregateKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...orgLimitAggregateKeys.details(), id],
};
export const orgLimitKeys = {
    /** All orgLimit queries */ all: ['orglimit'],
    /** List query keys */ lists: () => [...orgLimitKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...orgLimitKeys.lists(), variables],
    /** Detail query keys */ details: () => [...orgLimitKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...orgLimitKeys.details(), id],
};
/**

// ============================================================================
// Unified Query Key Store
// ============================================================================

 * Unified query key store
 *
 * Use this for type-safe query key access across your application.
 *
 * @example
 * ```ts
 * // Invalidate all user queries
 * queryClient.invalidateQueries({ queryKey: queryKeys.user.all });
 *
 * // Invalidate user list queries
 * queryClient.invalidateQueries({ queryKey: queryKeys.user.lists() });
 *
 * // Invalidate specific user
 * queryClient.invalidateQueries({ queryKey: queryKeys.user.detail(userId) });
 * ```
 */
export const queryKeys = {
    appLimitCapsDefault: appLimitCapsDefaultKeys,
    orgLimitCapsDefault: orgLimitCapsDefaultKeys,
    appLimitCap: appLimitCapKeys,
    orgLimitCap: orgLimitCapKeys,
    appLimitDefault: appLimitDefaultKeys,
    appLimitCredit: appLimitCreditKeys,
    appLimitCreditCodeItem: appLimitCreditCodeItemKeys,
    appLimitCreditRedemption: appLimitCreditRedemptionKeys,
    orgLimitDefault: orgLimitDefaultKeys,
    orgLimitCredit: orgLimitCreditKeys,
    appLimitWarning: appLimitWarningKeys,
    orgLimitWarning: orgLimitWarningKeys,
    appLimitCreditCode: appLimitCreditCodeKeys,
    appLimitEvent: appLimitEventKeys,
    orgLimitEvent: orgLimitEventKeys,
    appLimit: appLimitKeys,
    orgLimitAggregate: orgLimitAggregateKeys,
    orgLimit: orgLimitKeys,
};
