"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.platformNamespaceEventKeys = exports.platformNamespaceKeys = exports.platformInfraStoreKeys = exports.platformInfraRefKeys = exports.platformInfraObjectKeys = exports.platformInfraGetAllTreeNodesRecordKeys = exports.platformInfraCommitKeys = exports.namespaceEventKeys = exports.namespaceKeys = exports.dbPresetKeys = 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.dbPresetKeys = {
    /** All dbPreset queries */ all: ['dbpreset'],
    /** List query keys */ lists: () => [...exports.dbPresetKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.dbPresetKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.dbPresetKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.dbPresetKeys.details(), id],
};
exports.namespaceKeys = {
    /** All namespace queries */ all: ['namespace'],
    /** List query keys */ lists: () => [...exports.namespaceKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.namespaceKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.namespaceKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.namespaceKeys.details(), id],
};
exports.namespaceEventKeys = {
    /** All namespaceEvent queries */ all: ['namespaceevent'],
    /** List query keys */ lists: () => [...exports.namespaceEventKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.namespaceEventKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.namespaceEventKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.namespaceEventKeys.details(), id],
};
exports.platformInfraCommitKeys = {
    /** All platformInfraCommit queries */ all: ['platforminfracommit'],
    /** List query keys */ lists: () => [...exports.platformInfraCommitKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.platformInfraCommitKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.platformInfraCommitKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.platformInfraCommitKeys.details(), id],
};
exports.platformInfraGetAllTreeNodesRecordKeys = {
    /** All platformInfraGetAllTreeNodesRecord queries */ all: [
        'platforminfragetalltreenodesrecord',
    ],
    /** List query keys */ lists: () => [...exports.platformInfraGetAllTreeNodesRecordKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.platformInfraGetAllTreeNodesRecordKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.platformInfraGetAllTreeNodesRecordKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.platformInfraGetAllTreeNodesRecordKeys.details(), id],
};
exports.platformInfraObjectKeys = {
    /** All platformInfraObject queries */ all: ['platforminfraobject'],
    /** List query keys */ lists: () => [...exports.platformInfraObjectKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.platformInfraObjectKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.platformInfraObjectKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.platformInfraObjectKeys.details(), id],
};
exports.platformInfraRefKeys = {
    /** All platformInfraRef queries */ all: ['platforminfraref'],
    /** List query keys */ lists: () => [...exports.platformInfraRefKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.platformInfraRefKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.platformInfraRefKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.platformInfraRefKeys.details(), id],
};
exports.platformInfraStoreKeys = {
    /** All platformInfraStore queries */ all: ['platforminfrastore'],
    /** List query keys */ lists: () => [...exports.platformInfraStoreKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.platformInfraStoreKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.platformInfraStoreKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.platformInfraStoreKeys.details(), id],
};
exports.platformNamespaceKeys = {
    /** All platformNamespace queries */ all: ['platformnamespace'],
    /** List query keys */ lists: () => [...exports.platformNamespaceKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.platformNamespaceKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.platformNamespaceKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.platformNamespaceKeys.details(), id],
};
exports.platformNamespaceEventKeys = {
    /** All platformNamespaceEvent queries */ all: ['platformnamespaceevent'],
    /** List query keys */ lists: () => [...exports.platformNamespaceEventKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.platformNamespaceEventKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.platformNamespaceEventKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.platformNamespaceEventKeys.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 = {
    dbPreset: exports.dbPresetKeys,
    namespace: exports.namespaceKeys,
    namespaceEvent: exports.namespaceEventKeys,
    platformInfraCommit: exports.platformInfraCommitKeys,
    platformInfraGetAllTreeNodesRecord: exports.platformInfraGetAllTreeNodesRecordKeys,
    platformInfraObject: exports.platformInfraObjectKeys,
    platformInfraRef: exports.platformInfraRefKeys,
    platformInfraStore: exports.platformInfraStoreKeys,
    platformNamespace: exports.platformNamespaceKeys,
    platformNamespaceEvent: exports.platformNamespaceEventKeys,
};
