"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.platformConfigKeys = exports.platformConfigDefinitionKeys = 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.platformConfigDefinitionKeys = {
    /** All platformConfigDefinition queries */ all: ['platformconfigdefinition'],
    /** List query keys */ lists: () => [...exports.platformConfigDefinitionKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.platformConfigDefinitionKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.platformConfigDefinitionKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.platformConfigDefinitionKeys.details(), id],
};
exports.platformConfigKeys = {
    /** All platformConfig queries */ all: ['platformconfig'],
    /** List query keys */ lists: () => [...exports.platformConfigKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.platformConfigKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.platformConfigKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.platformConfigKeys.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 = {
    platformConfigDefinition: exports.platformConfigDefinitionKeys,
    platformConfig: exports.platformConfigKeys,
};
