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