"use strict";
/**
 * Centralized query key factory
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.queryKeys = exports.orgLimitWarningKeys = exports.orgLimitEventKeys = exports.orgLimitDefaultKeys = exports.orgLimitCreditKeys = exports.orgLimitKeys = exports.orgLimitCapsDefaultKeys = exports.orgLimitCapKeys = exports.orgLimitAggregateKeys = exports.appLimitWarningKeys = exports.appLimitEventKeys = exports.appLimitDefaultKeys = exports.appLimitCreditRedemptionKeys = exports.appLimitCreditKeys = exports.appLimitCreditCodeItemKeys = exports.appLimitCreditCodeKeys = exports.appLimitKeys = exports.appLimitCapsDefaultKeys = exports.appLimitCapKeys = void 0;
// ============================================================================
// 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
// ============================================================================
exports.appLimitCapKeys = {
    /** All appLimitCap queries */ all: ['applimitcap'],
    /** List query keys */ lists: () => [...exports.appLimitCapKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.appLimitCapKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.appLimitCapKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.appLimitCapKeys.details(), id],
};
exports.appLimitCapsDefaultKeys = {
    /** All appLimitCapsDefault queries */ all: ['applimitcapsdefault'],
    /** List query keys */ lists: () => [...exports.appLimitCapsDefaultKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.appLimitCapsDefaultKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.appLimitCapsDefaultKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.appLimitCapsDefaultKeys.details(), id],
};
exports.appLimitKeys = {
    /** All appLimit queries */ all: ['applimit'],
    /** List query keys */ lists: () => [...exports.appLimitKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.appLimitKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.appLimitKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.appLimitKeys.details(), id],
};
exports.appLimitCreditCodeKeys = {
    /** All appLimitCreditCode queries */ all: ['applimitcreditcode'],
    /** List query keys */ lists: () => [...exports.appLimitCreditCodeKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.appLimitCreditCodeKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.appLimitCreditCodeKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.appLimitCreditCodeKeys.details(), id],
};
exports.appLimitCreditCodeItemKeys = {
    /** All appLimitCreditCodeItem queries */ all: ['applimitcreditcodeitem'],
    /** List query keys */ lists: () => [...exports.appLimitCreditCodeItemKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.appLimitCreditCodeItemKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.appLimitCreditCodeItemKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.appLimitCreditCodeItemKeys.details(), id],
};
exports.appLimitCreditKeys = {
    /** All appLimitCredit queries */ all: ['applimitcredit'],
    /** List query keys */ lists: () => [...exports.appLimitCreditKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.appLimitCreditKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.appLimitCreditKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.appLimitCreditKeys.details(), id],
};
exports.appLimitCreditRedemptionKeys = {
    /** All appLimitCreditRedemption queries */ all: ['applimitcreditredemption'],
    /** List query keys */ lists: () => [...exports.appLimitCreditRedemptionKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.appLimitCreditRedemptionKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.appLimitCreditRedemptionKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.appLimitCreditRedemptionKeys.details(), id],
};
exports.appLimitDefaultKeys = {
    /** All appLimitDefault queries */ all: ['applimitdefault'],
    /** List query keys */ lists: () => [...exports.appLimitDefaultKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.appLimitDefaultKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.appLimitDefaultKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.appLimitDefaultKeys.details(), id],
};
exports.appLimitEventKeys = {
    /** All appLimitEvent queries */ all: ['applimitevent'],
    /** List query keys */ lists: () => [...exports.appLimitEventKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.appLimitEventKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.appLimitEventKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.appLimitEventKeys.details(), id],
};
exports.appLimitWarningKeys = {
    /** All appLimitWarning queries */ all: ['applimitwarning'],
    /** List query keys */ lists: () => [...exports.appLimitWarningKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.appLimitWarningKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.appLimitWarningKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.appLimitWarningKeys.details(), id],
};
exports.orgLimitAggregateKeys = {
    /** All orgLimitAggregate queries */ all: ['orglimitaggregate'],
    /** List query keys */ lists: () => [...exports.orgLimitAggregateKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.orgLimitAggregateKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.orgLimitAggregateKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.orgLimitAggregateKeys.details(), id],
};
exports.orgLimitCapKeys = {
    /** All orgLimitCap queries */ all: ['orglimitcap'],
    /** List query keys */ lists: () => [...exports.orgLimitCapKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.orgLimitCapKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.orgLimitCapKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.orgLimitCapKeys.details(), id],
};
exports.orgLimitCapsDefaultKeys = {
    /** All orgLimitCapsDefault queries */ all: ['orglimitcapsdefault'],
    /** List query keys */ lists: () => [...exports.orgLimitCapsDefaultKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.orgLimitCapsDefaultKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.orgLimitCapsDefaultKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.orgLimitCapsDefaultKeys.details(), id],
};
exports.orgLimitKeys = {
    /** All orgLimit queries */ all: ['orglimit'],
    /** List query keys */ lists: () => [...exports.orgLimitKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.orgLimitKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.orgLimitKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.orgLimitKeys.details(), id],
};
exports.orgLimitCreditKeys = {
    /** All orgLimitCredit queries */ all: ['orglimitcredit'],
    /** List query keys */ lists: () => [...exports.orgLimitCreditKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.orgLimitCreditKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.orgLimitCreditKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.orgLimitCreditKeys.details(), id],
};
exports.orgLimitDefaultKeys = {
    /** All orgLimitDefault queries */ all: ['orglimitdefault'],
    /** List query keys */ lists: () => [...exports.orgLimitDefaultKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.orgLimitDefaultKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.orgLimitDefaultKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.orgLimitDefaultKeys.details(), id],
};
exports.orgLimitEventKeys = {
    /** All orgLimitEvent queries */ all: ['orglimitevent'],
    /** List query keys */ lists: () => [...exports.orgLimitEventKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.orgLimitEventKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.orgLimitEventKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.orgLimitEventKeys.details(), id],
};
exports.orgLimitWarningKeys = {
    /** All orgLimitWarning queries */ all: ['orglimitwarning'],
    /** List query keys */ lists: () => [...exports.orgLimitWarningKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.orgLimitWarningKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.orgLimitWarningKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.orgLimitWarningKeys.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) });
 * ```
 */
exports.queryKeys = {
    appLimitCap: exports.appLimitCapKeys,
    appLimitCapsDefault: exports.appLimitCapsDefaultKeys,
    appLimit: exports.appLimitKeys,
    appLimitCreditCode: exports.appLimitCreditCodeKeys,
    appLimitCreditCodeItem: exports.appLimitCreditCodeItemKeys,
    appLimitCredit: exports.appLimitCreditKeys,
    appLimitCreditRedemption: exports.appLimitCreditRedemptionKeys,
    appLimitDefault: exports.appLimitDefaultKeys,
    appLimitEvent: exports.appLimitEventKeys,
    appLimitWarning: exports.appLimitWarningKeys,
    orgLimitAggregate: exports.orgLimitAggregateKeys,
    orgLimitCap: exports.orgLimitCapKeys,
    orgLimitCapsDefault: exports.orgLimitCapsDefaultKeys,
    orgLimit: exports.orgLimitKeys,
    orgLimitCredit: exports.orgLimitCreditKeys,
    orgLimitDefault: exports.orgLimitDefaultKeys,
    orgLimitEvent: exports.orgLimitEventKeys,
    orgLimitWarning: exports.orgLimitWarningKeys,
};
