"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.customQueryKeys = exports.functionDefinitionKeys = exports.functionGraphExecutionKeys = exports.platformNamespaceEventKeys = exports.functionInvocationKeys = exports.orgFunctionInvocationKeys = exports.platformNamespaceKeys = exports.functionGraphExecutionNodeStateKeys = exports.functionGraphKeys = exports.functionExecutionLogKeys = exports.secretDefinitionKeys = exports.functionGraphCommitKeys = exports.functionGraphExecutionOutputKeys = exports.resourceEventKeys = exports.orgFunctionExecutionLogKeys = exports.functionDeploymentEventKeys = exports.functionGraphObjectKeys = exports.functionGraphStoreKeys = exports.functionGraphRefKeys = exports.resourceKeys = exports.functionDeploymentKeys = exports.functionApiBindingKeys = exports.getAllRecordKeys = 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.getAllRecordKeys = {
    /** All getAllRecord queries */ all: ['getallrecord'],
    /** List query keys */ lists: () => [...exports.getAllRecordKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.getAllRecordKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.getAllRecordKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.getAllRecordKeys.details(), id],
};
exports.functionApiBindingKeys = {
    /** All functionApiBinding queries */ all: ['functionapibinding'],
    /** List query keys */ lists: () => [...exports.functionApiBindingKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.functionApiBindingKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.functionApiBindingKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.functionApiBindingKeys.details(), id],
};
exports.functionDeploymentKeys = {
    /** All functionDeployment queries */ all: ['functiondeployment'],
    /** List query keys */ lists: () => [...exports.functionDeploymentKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.functionDeploymentKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.functionDeploymentKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.functionDeploymentKeys.details(), id],
};
exports.resourceKeys = {
    /** All resource queries */ all: ['resource'],
    /** List query keys */ lists: () => [...exports.resourceKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.resourceKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.resourceKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.resourceKeys.details(), id],
};
exports.functionGraphRefKeys = {
    /** All functionGraphRef queries */ all: ['functiongraphref'],
    /** List query keys */ lists: () => [...exports.functionGraphRefKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.functionGraphRefKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.functionGraphRefKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.functionGraphRefKeys.details(), id],
};
exports.functionGraphStoreKeys = {
    /** All functionGraphStore queries */ all: ['functiongraphstore'],
    /** List query keys */ lists: () => [...exports.functionGraphStoreKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.functionGraphStoreKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.functionGraphStoreKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.functionGraphStoreKeys.details(), id],
};
exports.functionGraphObjectKeys = {
    /** All functionGraphObject queries */ all: ['functiongraphobject'],
    /** List query keys */ lists: () => [...exports.functionGraphObjectKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.functionGraphObjectKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.functionGraphObjectKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.functionGraphObjectKeys.details(), id],
};
exports.functionDeploymentEventKeys = {
    /** All functionDeploymentEvent queries */ all: ['functiondeploymentevent'],
    /** List query keys */ lists: () => [...exports.functionDeploymentEventKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.functionDeploymentEventKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.functionDeploymentEventKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.functionDeploymentEventKeys.details(), id],
};
exports.orgFunctionExecutionLogKeys = {
    /** All orgFunctionExecutionLog queries */ all: ['orgfunctionexecutionlog'],
    /** List query keys */ lists: () => [...exports.orgFunctionExecutionLogKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.orgFunctionExecutionLogKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.orgFunctionExecutionLogKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.orgFunctionExecutionLogKeys.details(), id],
};
exports.resourceEventKeys = {
    /** All resourceEvent queries */ all: ['resourceevent'],
    /** List query keys */ lists: () => [...exports.resourceEventKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.resourceEventKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.resourceEventKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.resourceEventKeys.details(), id],
};
exports.functionGraphExecutionOutputKeys = {
    /** All functionGraphExecutionOutput queries */ all: ['functiongraphexecutionoutput'],
    /** List query keys */ lists: () => [...exports.functionGraphExecutionOutputKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.functionGraphExecutionOutputKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.functionGraphExecutionOutputKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.functionGraphExecutionOutputKeys.details(), id],
};
exports.functionGraphCommitKeys = {
    /** All functionGraphCommit queries */ all: ['functiongraphcommit'],
    /** List query keys */ lists: () => [...exports.functionGraphCommitKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.functionGraphCommitKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.functionGraphCommitKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.functionGraphCommitKeys.details(), id],
};
exports.secretDefinitionKeys = {
    /** All secretDefinition queries */ all: ['secretdefinition'],
    /** List query keys */ lists: () => [...exports.secretDefinitionKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.secretDefinitionKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.secretDefinitionKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.secretDefinitionKeys.details(), id],
};
exports.functionExecutionLogKeys = {
    /** All functionExecutionLog queries */ all: ['functionexecutionlog'],
    /** List query keys */ lists: () => [...exports.functionExecutionLogKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.functionExecutionLogKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.functionExecutionLogKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.functionExecutionLogKeys.details(), id],
};
exports.functionGraphKeys = {
    /** All functionGraph queries */ all: ['functiongraph'],
    /** List query keys */ lists: () => [...exports.functionGraphKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.functionGraphKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.functionGraphKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.functionGraphKeys.details(), id],
};
exports.functionGraphExecutionNodeStateKeys = {
    /** All functionGraphExecutionNodeState queries */ all: [
        'functiongraphexecutionnodestate',
    ],
    /** List query keys */ lists: () => [...exports.functionGraphExecutionNodeStateKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.functionGraphExecutionNodeStateKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.functionGraphExecutionNodeStateKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.functionGraphExecutionNodeStateKeys.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.orgFunctionInvocationKeys = {
    /** All orgFunctionInvocation queries */ all: ['orgfunctioninvocation'],
    /** List query keys */ lists: () => [...exports.orgFunctionInvocationKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.orgFunctionInvocationKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.orgFunctionInvocationKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.orgFunctionInvocationKeys.details(), id],
};
exports.functionInvocationKeys = {
    /** All functionInvocation queries */ all: ['functioninvocation'],
    /** List query keys */ lists: () => [...exports.functionInvocationKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.functionInvocationKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.functionInvocationKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.functionInvocationKeys.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],
};
exports.functionGraphExecutionKeys = {
    /** All functionGraphExecution queries */ all: ['functiongraphexecution'],
    /** List query keys */ lists: () => [...exports.functionGraphExecutionKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.functionGraphExecutionKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.functionGraphExecutionKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.functionGraphExecutionKeys.details(), id],
};
exports.functionDefinitionKeys = {
    /** All functionDefinition queries */ all: ['functiondefinition'],
    /** List query keys */ lists: () => [...exports.functionDefinitionKeys.all, 'list'],
    /** List query key with variables */ list: (variables) => [...exports.functionDefinitionKeys.lists(), variables],
    /** Detail query keys */ details: () => [...exports.functionDefinitionKeys.all, 'detail'],
    /** Detail query key for specific item */ detail: (id) => [...exports.functionDefinitionKeys.details(), id],
};
// ============================================================================
// Custom Query Keys
// ============================================================================
exports.customQueryKeys = {
    /** Query key for readFunctionGraph */ readFunctionGraph: (variables) => ['readFunctionGraph', variables],
};
/**

// ============================================================================
// 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 = {
    getAllRecord: exports.getAllRecordKeys,
    functionApiBinding: exports.functionApiBindingKeys,
    functionDeployment: exports.functionDeploymentKeys,
    resource: exports.resourceKeys,
    functionGraphRef: exports.functionGraphRefKeys,
    functionGraphStore: exports.functionGraphStoreKeys,
    functionGraphObject: exports.functionGraphObjectKeys,
    functionDeploymentEvent: exports.functionDeploymentEventKeys,
    orgFunctionExecutionLog: exports.orgFunctionExecutionLogKeys,
    resourceEvent: exports.resourceEventKeys,
    functionGraphExecutionOutput: exports.functionGraphExecutionOutputKeys,
    functionGraphCommit: exports.functionGraphCommitKeys,
    secretDefinition: exports.secretDefinitionKeys,
    functionExecutionLog: exports.functionExecutionLogKeys,
    functionGraph: exports.functionGraphKeys,
    functionGraphExecutionNodeState: exports.functionGraphExecutionNodeStateKeys,
    platformNamespace: exports.platformNamespaceKeys,
    orgFunctionInvocation: exports.orgFunctionInvocationKeys,
    functionInvocation: exports.functionInvocationKeys,
    platformNamespaceEvent: exports.platformNamespaceEventKeys,
    functionGraphExecution: exports.functionGraphExecutionKeys,
    functionDefinition: exports.functionDefinitionKeys,
    custom: exports.customQueryKeys,
};
