/**
 * Cache invalidation helpers
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import { infraGetAllRecordKeys, getAllRecordKeys, infraRefKeys, infraStoreKeys, functionApiBindingKeys, functionGraphRefKeys, functionGraphStoreKeys, platformFunctionApiBindingKeys, platformResourcesRequirementsStateKeys, resourcesRequirementsStateKeys, platformResourceStatusCheckKeys, platformFunctionDeploymentKeys, platformResourceKeys, platformResourceDefinitionKeys, infraObjectKeys, functionGraphObjectKeys, platformFunctionDeploymentEventKeys, platformResourceEventKeys, resourceStatusCheckKeys, functionDeploymentKeys, resourceKeys, resourceDefinitionKeys, functionDeploymentEventKeys, platformFunctionExecutionLogKeys, resourceEventKeys, functionGraphExecutionOutputKeys, infraCommitKeys, functionGraphCommitKeys, functionExecutionLogKeys, platformResourcesResolvedRequirementKeys, resourcesResolvedRequirementKeys, dbPresetKeys, platformNamespaceKeys, functionGraphKeys, functionGraphExecutionNodeStateKeys, namespaceKeys, platformFunctionInvocationKeys, functionInvocationKeys, platformNamespaceEventKeys, integrationProviderKeys, namespaceEventKeys, functionGraphExecutionKeys, platformFunctionDefinitionKeys, functionDefinitionKeys, } from './query-keys';
/**
// ============================================================================
// Invalidation Helpers
// ============================================================================

 * Type-safe query invalidation helpers
 *
 * @example
 * ```ts
 * // Invalidate all user queries
 * invalidate.user.all(queryClient);
 *
 * // Invalidate user lists
 * invalidate.user.lists(queryClient);
 *
 * // Invalidate specific user
 * invalidate.user.detail(queryClient, userId);
 * ```
 */
export const invalidate = {
    /** Invalidate infraGetAllRecord queries */ infraGetAllRecord: {
        /** Invalidate all infraGetAllRecord queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: infraGetAllRecordKeys.all,
        }),
        /** Invalidate infraGetAllRecord list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: infraGetAllRecordKeys.lists(),
        }),
        /** Invalidate a specific infraGetAllRecord */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: infraGetAllRecordKeys.detail(id),
        }),
    },
    /** Invalidate getAllRecord queries */ getAllRecord: {
        /** Invalidate all getAllRecord queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: getAllRecordKeys.all,
        }),
        /** Invalidate getAllRecord list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: getAllRecordKeys.lists(),
        }),
        /** Invalidate a specific getAllRecord */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: getAllRecordKeys.detail(id),
        }),
    },
    /** Invalidate infraRef queries */ infraRef: {
        /** Invalidate all infraRef queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: infraRefKeys.all,
        }),
        /** Invalidate infraRef list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: infraRefKeys.lists(),
        }),
        /** Invalidate a specific infraRef */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: infraRefKeys.detail(id),
        }),
    },
    /** Invalidate infraStore queries */ infraStore: {
        /** Invalidate all infraStore queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: infraStoreKeys.all,
        }),
        /** Invalidate infraStore list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: infraStoreKeys.lists(),
        }),
        /** Invalidate a specific infraStore */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: infraStoreKeys.detail(id),
        }),
    },
    /** Invalidate functionApiBinding queries */ functionApiBinding: {
        /** Invalidate all functionApiBinding queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionApiBindingKeys.all,
        }),
        /** Invalidate functionApiBinding list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionApiBindingKeys.lists(),
        }),
        /** Invalidate a specific functionApiBinding */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: functionApiBindingKeys.detail(id),
        }),
    },
    /** Invalidate functionGraphRef queries */ functionGraphRef: {
        /** Invalidate all functionGraphRef queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionGraphRefKeys.all,
        }),
        /** Invalidate functionGraphRef list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionGraphRefKeys.lists(),
        }),
        /** Invalidate a specific functionGraphRef */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: functionGraphRefKeys.detail(id),
        }),
    },
    /** Invalidate functionGraphStore queries */ functionGraphStore: {
        /** Invalidate all functionGraphStore queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionGraphStoreKeys.all,
        }),
        /** Invalidate functionGraphStore list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionGraphStoreKeys.lists(),
        }),
        /** Invalidate a specific functionGraphStore */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: functionGraphStoreKeys.detail(id),
        }),
    },
    /** Invalidate platformFunctionApiBinding queries */ platformFunctionApiBinding: {
        /** Invalidate all platformFunctionApiBinding queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformFunctionApiBindingKeys.all,
        }),
        /** Invalidate platformFunctionApiBinding list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformFunctionApiBindingKeys.lists(),
        }),
        /** Invalidate a specific platformFunctionApiBinding */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: platformFunctionApiBindingKeys.detail(id),
        }),
    },
    /** Invalidate platformResourcesRequirementsState queries */ platformResourcesRequirementsState: {
        /** Invalidate all platformResourcesRequirementsState queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformResourcesRequirementsStateKeys.all,
        }),
        /** Invalidate platformResourcesRequirementsState list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformResourcesRequirementsStateKeys.lists(),
        }),
        /** Invalidate a specific platformResourcesRequirementsState */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: platformResourcesRequirementsStateKeys.detail(id),
        }),
    },
    /** Invalidate resourcesRequirementsState queries */ resourcesRequirementsState: {
        /** Invalidate all resourcesRequirementsState queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: resourcesRequirementsStateKeys.all,
        }),
        /** Invalidate resourcesRequirementsState list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: resourcesRequirementsStateKeys.lists(),
        }),
        /** Invalidate a specific resourcesRequirementsState */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: resourcesRequirementsStateKeys.detail(id),
        }),
    },
    /** Invalidate platformResourceStatusCheck queries */ platformResourceStatusCheck: {
        /** Invalidate all platformResourceStatusCheck queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformResourceStatusCheckKeys.all,
        }),
        /** Invalidate platformResourceStatusCheck list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformResourceStatusCheckKeys.lists(),
        }),
        /** Invalidate a specific platformResourceStatusCheck */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: platformResourceStatusCheckKeys.detail(id),
        }),
    },
    /** Invalidate platformFunctionDeployment queries */ platformFunctionDeployment: {
        /** Invalidate all platformFunctionDeployment queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformFunctionDeploymentKeys.all,
        }),
        /** Invalidate platformFunctionDeployment list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformFunctionDeploymentKeys.lists(),
        }),
        /** Invalidate a specific platformFunctionDeployment */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: platformFunctionDeploymentKeys.detail(id),
        }),
    },
    /** Invalidate platformResource queries */ platformResource: {
        /** Invalidate all platformResource queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformResourceKeys.all,
        }),
        /** Invalidate platformResource list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformResourceKeys.lists(),
        }),
        /** Invalidate a specific platformResource */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: platformResourceKeys.detail(id),
        }),
    },
    /** Invalidate platformResourceDefinition queries */ platformResourceDefinition: {
        /** Invalidate all platformResourceDefinition queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformResourceDefinitionKeys.all,
        }),
        /** Invalidate platformResourceDefinition list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformResourceDefinitionKeys.lists(),
        }),
        /** Invalidate a specific platformResourceDefinition */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: platformResourceDefinitionKeys.detail(id),
        }),
    },
    /** Invalidate infraObject queries */ infraObject: {
        /** Invalidate all infraObject queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: infraObjectKeys.all,
        }),
        /** Invalidate infraObject list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: infraObjectKeys.lists(),
        }),
        /** Invalidate a specific infraObject */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: infraObjectKeys.detail(id),
        }),
    },
    /** Invalidate functionGraphObject queries */ functionGraphObject: {
        /** Invalidate all functionGraphObject queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionGraphObjectKeys.all,
        }),
        /** Invalidate functionGraphObject list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionGraphObjectKeys.lists(),
        }),
        /** Invalidate a specific functionGraphObject */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: functionGraphObjectKeys.detail(id),
        }),
    },
    /** Invalidate platformFunctionDeploymentEvent queries */ platformFunctionDeploymentEvent: {
        /** Invalidate all platformFunctionDeploymentEvent queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformFunctionDeploymentEventKeys.all,
        }),
        /** Invalidate platformFunctionDeploymentEvent list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformFunctionDeploymentEventKeys.lists(),
        }),
        /** Invalidate a specific platformFunctionDeploymentEvent */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: platformFunctionDeploymentEventKeys.detail(id),
        }),
    },
    /** Invalidate platformResourceEvent queries */ platformResourceEvent: {
        /** Invalidate all platformResourceEvent queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformResourceEventKeys.all,
        }),
        /** Invalidate platformResourceEvent list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformResourceEventKeys.lists(),
        }),
        /** Invalidate a specific platformResourceEvent */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: platformResourceEventKeys.detail(id),
        }),
    },
    /** Invalidate resourceStatusCheck queries */ resourceStatusCheck: {
        /** Invalidate all resourceStatusCheck queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: resourceStatusCheckKeys.all,
        }),
        /** Invalidate resourceStatusCheck list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: resourceStatusCheckKeys.lists(),
        }),
        /** Invalidate a specific resourceStatusCheck */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: resourceStatusCheckKeys.detail(id),
        }),
    },
    /** Invalidate functionDeployment queries */ functionDeployment: {
        /** Invalidate all functionDeployment queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionDeploymentKeys.all,
        }),
        /** Invalidate functionDeployment list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionDeploymentKeys.lists(),
        }),
        /** Invalidate a specific functionDeployment */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: functionDeploymentKeys.detail(id),
        }),
    },
    /** Invalidate resource queries */ resource: {
        /** Invalidate all resource queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: resourceKeys.all,
        }),
        /** Invalidate resource list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: resourceKeys.lists(),
        }),
        /** Invalidate a specific resource */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: resourceKeys.detail(id),
        }),
    },
    /** Invalidate resourceDefinition queries */ resourceDefinition: {
        /** Invalidate all resourceDefinition queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: resourceDefinitionKeys.all,
        }),
        /** Invalidate resourceDefinition list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: resourceDefinitionKeys.lists(),
        }),
        /** Invalidate a specific resourceDefinition */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: resourceDefinitionKeys.detail(id),
        }),
    },
    /** Invalidate functionDeploymentEvent queries */ functionDeploymentEvent: {
        /** Invalidate all functionDeploymentEvent queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionDeploymentEventKeys.all,
        }),
        /** Invalidate functionDeploymentEvent list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionDeploymentEventKeys.lists(),
        }),
        /** Invalidate a specific functionDeploymentEvent */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: functionDeploymentEventKeys.detail(id),
        }),
    },
    /** Invalidate platformFunctionExecutionLog queries */ platformFunctionExecutionLog: {
        /** Invalidate all platformFunctionExecutionLog queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformFunctionExecutionLogKeys.all,
        }),
        /** Invalidate platformFunctionExecutionLog list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformFunctionExecutionLogKeys.lists(),
        }),
        /** Invalidate a specific platformFunctionExecutionLog */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: platformFunctionExecutionLogKeys.detail(id),
        }),
    },
    /** Invalidate resourceEvent queries */ resourceEvent: {
        /** Invalidate all resourceEvent queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: resourceEventKeys.all,
        }),
        /** Invalidate resourceEvent list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: resourceEventKeys.lists(),
        }),
        /** Invalidate a specific resourceEvent */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: resourceEventKeys.detail(id),
        }),
    },
    /** Invalidate functionGraphExecutionOutput queries */ functionGraphExecutionOutput: {
        /** Invalidate all functionGraphExecutionOutput queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionGraphExecutionOutputKeys.all,
        }),
        /** Invalidate functionGraphExecutionOutput list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionGraphExecutionOutputKeys.lists(),
        }),
        /** Invalidate a specific functionGraphExecutionOutput */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: functionGraphExecutionOutputKeys.detail(id),
        }),
    },
    /** Invalidate infraCommit queries */ infraCommit: {
        /** Invalidate all infraCommit queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: infraCommitKeys.all,
        }),
        /** Invalidate infraCommit list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: infraCommitKeys.lists(),
        }),
        /** Invalidate a specific infraCommit */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: infraCommitKeys.detail(id),
        }),
    },
    /** Invalidate functionGraphCommit queries */ functionGraphCommit: {
        /** Invalidate all functionGraphCommit queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionGraphCommitKeys.all,
        }),
        /** Invalidate functionGraphCommit list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionGraphCommitKeys.lists(),
        }),
        /** Invalidate a specific functionGraphCommit */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: functionGraphCommitKeys.detail(id),
        }),
    },
    /** Invalidate functionExecutionLog queries */ functionExecutionLog: {
        /** Invalidate all functionExecutionLog queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionExecutionLogKeys.all,
        }),
        /** Invalidate functionExecutionLog list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionExecutionLogKeys.lists(),
        }),
        /** Invalidate a specific functionExecutionLog */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: functionExecutionLogKeys.detail(id),
        }),
    },
    /** Invalidate platformResourcesResolvedRequirement queries */ platformResourcesResolvedRequirement: {
        /** Invalidate all platformResourcesResolvedRequirement queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformResourcesResolvedRequirementKeys.all,
        }),
        /** Invalidate platformResourcesResolvedRequirement list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformResourcesResolvedRequirementKeys.lists(),
        }),
        /** Invalidate a specific platformResourcesResolvedRequirement */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: platformResourcesResolvedRequirementKeys.detail(id),
        }),
    },
    /** Invalidate resourcesResolvedRequirement queries */ resourcesResolvedRequirement: {
        /** Invalidate all resourcesResolvedRequirement queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: resourcesResolvedRequirementKeys.all,
        }),
        /** Invalidate resourcesResolvedRequirement list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: resourcesResolvedRequirementKeys.lists(),
        }),
        /** Invalidate a specific resourcesResolvedRequirement */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: resourcesResolvedRequirementKeys.detail(id),
        }),
    },
    /** Invalidate dbPreset queries */ dbPreset: {
        /** Invalidate all dbPreset queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: dbPresetKeys.all,
        }),
        /** Invalidate dbPreset list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: dbPresetKeys.lists(),
        }),
        /** Invalidate a specific dbPreset */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: dbPresetKeys.detail(id),
        }),
    },
    /** Invalidate platformNamespace queries */ platformNamespace: {
        /** Invalidate all platformNamespace queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformNamespaceKeys.all,
        }),
        /** Invalidate platformNamespace list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformNamespaceKeys.lists(),
        }),
        /** Invalidate a specific platformNamespace */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: platformNamespaceKeys.detail(id),
        }),
    },
    /** Invalidate functionGraph queries */ functionGraph: {
        /** Invalidate all functionGraph queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionGraphKeys.all,
        }),
        /** Invalidate functionGraph list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionGraphKeys.lists(),
        }),
        /** Invalidate a specific functionGraph */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: functionGraphKeys.detail(id),
        }),
    },
    /** Invalidate functionGraphExecutionNodeState queries */ functionGraphExecutionNodeState: {
        /** Invalidate all functionGraphExecutionNodeState queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionGraphExecutionNodeStateKeys.all,
        }),
        /** Invalidate functionGraphExecutionNodeState list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionGraphExecutionNodeStateKeys.lists(),
        }),
        /** Invalidate a specific functionGraphExecutionNodeState */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: functionGraphExecutionNodeStateKeys.detail(id),
        }),
    },
    /** Invalidate namespace queries */ namespace: {
        /** Invalidate all namespace queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: namespaceKeys.all,
        }),
        /** Invalidate namespace list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: namespaceKeys.lists(),
        }),
        /** Invalidate a specific namespace */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: namespaceKeys.detail(id),
        }),
    },
    /** Invalidate platformFunctionInvocation queries */ platformFunctionInvocation: {
        /** Invalidate all platformFunctionInvocation queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformFunctionInvocationKeys.all,
        }),
        /** Invalidate platformFunctionInvocation list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformFunctionInvocationKeys.lists(),
        }),
        /** Invalidate a specific platformFunctionInvocation */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: platformFunctionInvocationKeys.detail(id),
        }),
    },
    /** Invalidate functionInvocation queries */ functionInvocation: {
        /** Invalidate all functionInvocation queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionInvocationKeys.all,
        }),
        /** Invalidate functionInvocation list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionInvocationKeys.lists(),
        }),
        /** Invalidate a specific functionInvocation */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: functionInvocationKeys.detail(id),
        }),
    },
    /** Invalidate platformNamespaceEvent queries */ platformNamespaceEvent: {
        /** Invalidate all platformNamespaceEvent queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformNamespaceEventKeys.all,
        }),
        /** Invalidate platformNamespaceEvent list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformNamespaceEventKeys.lists(),
        }),
        /** Invalidate a specific platformNamespaceEvent */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: platformNamespaceEventKeys.detail(id),
        }),
    },
    /** Invalidate integrationProvider queries */ integrationProvider: {
        /** Invalidate all integrationProvider queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: integrationProviderKeys.all,
        }),
        /** Invalidate integrationProvider list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: integrationProviderKeys.lists(),
        }),
        /** Invalidate a specific integrationProvider */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: integrationProviderKeys.detail(id),
        }),
    },
    /** Invalidate namespaceEvent queries */ namespaceEvent: {
        /** Invalidate all namespaceEvent queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: namespaceEventKeys.all,
        }),
        /** Invalidate namespaceEvent list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: namespaceEventKeys.lists(),
        }),
        /** Invalidate a specific namespaceEvent */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: namespaceEventKeys.detail(id),
        }),
    },
    /** Invalidate functionGraphExecution queries */ functionGraphExecution: {
        /** Invalidate all functionGraphExecution queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionGraphExecutionKeys.all,
        }),
        /** Invalidate functionGraphExecution list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionGraphExecutionKeys.lists(),
        }),
        /** Invalidate a specific functionGraphExecution */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: functionGraphExecutionKeys.detail(id),
        }),
    },
    /** Invalidate platformFunctionDefinition queries */ platformFunctionDefinition: {
        /** Invalidate all platformFunctionDefinition queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformFunctionDefinitionKeys.all,
        }),
        /** Invalidate platformFunctionDefinition list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: platformFunctionDefinitionKeys.lists(),
        }),
        /** Invalidate a specific platformFunctionDefinition */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: platformFunctionDefinitionKeys.detail(id),
        }),
    },
    /** Invalidate functionDefinition queries */ functionDefinition: {
        /** Invalidate all functionDefinition queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionDefinitionKeys.all,
        }),
        /** Invalidate functionDefinition list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: functionDefinitionKeys.lists(),
        }),
        /** Invalidate a specific functionDefinition */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: functionDefinitionKeys.detail(id),
        }),
    },
};
/**

// ============================================================================
// Remove Helpers (for delete operations)
// ============================================================================

 * Remove queries from cache (for delete operations)
 *
 * Use these when an entity is deleted to remove it from cache
 * instead of just invalidating (which would trigger a refetch).
 */
export const remove = {
    /** Remove infraGetAllRecord from cache */ infraGetAllRecord: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: infraGetAllRecordKeys.detail(id),
        });
    },
    /** Remove getAllRecord from cache */ getAllRecord: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: getAllRecordKeys.detail(id),
        });
    },
    /** Remove infraRef from cache */ infraRef: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: infraRefKeys.detail(id),
        });
    },
    /** Remove infraStore from cache */ infraStore: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: infraStoreKeys.detail(id),
        });
    },
    /** Remove functionApiBinding from cache */ functionApiBinding: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: functionApiBindingKeys.detail(id),
        });
    },
    /** Remove functionGraphRef from cache */ functionGraphRef: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: functionGraphRefKeys.detail(id),
        });
    },
    /** Remove functionGraphStore from cache */ functionGraphStore: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: functionGraphStoreKeys.detail(id),
        });
    },
    /** Remove platformFunctionApiBinding from cache */ platformFunctionApiBinding: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: platformFunctionApiBindingKeys.detail(id),
        });
    },
    /** Remove platformResourcesRequirementsState from cache */ platformResourcesRequirementsState: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: platformResourcesRequirementsStateKeys.detail(id),
        });
    },
    /** Remove resourcesRequirementsState from cache */ resourcesRequirementsState: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: resourcesRequirementsStateKeys.detail(id),
        });
    },
    /** Remove platformResourceStatusCheck from cache */ platformResourceStatusCheck: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: platformResourceStatusCheckKeys.detail(id),
        });
    },
    /** Remove platformFunctionDeployment from cache */ platformFunctionDeployment: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: platformFunctionDeploymentKeys.detail(id),
        });
    },
    /** Remove platformResource from cache */ platformResource: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: platformResourceKeys.detail(id),
        });
    },
    /** Remove platformResourceDefinition from cache */ platformResourceDefinition: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: platformResourceDefinitionKeys.detail(id),
        });
    },
    /** Remove infraObject from cache */ infraObject: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: infraObjectKeys.detail(id),
        });
    },
    /** Remove functionGraphObject from cache */ functionGraphObject: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: functionGraphObjectKeys.detail(id),
        });
    },
    /** Remove platformFunctionDeploymentEvent from cache */ platformFunctionDeploymentEvent: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: platformFunctionDeploymentEventKeys.detail(id),
        });
    },
    /** Remove platformResourceEvent from cache */ platformResourceEvent: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: platformResourceEventKeys.detail(id),
        });
    },
    /** Remove resourceStatusCheck from cache */ resourceStatusCheck: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: resourceStatusCheckKeys.detail(id),
        });
    },
    /** Remove functionDeployment from cache */ functionDeployment: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: functionDeploymentKeys.detail(id),
        });
    },
    /** Remove resource from cache */ resource: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: resourceKeys.detail(id),
        });
    },
    /** Remove resourceDefinition from cache */ resourceDefinition: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: resourceDefinitionKeys.detail(id),
        });
    },
    /** Remove functionDeploymentEvent from cache */ functionDeploymentEvent: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: functionDeploymentEventKeys.detail(id),
        });
    },
    /** Remove platformFunctionExecutionLog from cache */ platformFunctionExecutionLog: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: platformFunctionExecutionLogKeys.detail(id),
        });
    },
    /** Remove resourceEvent from cache */ resourceEvent: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: resourceEventKeys.detail(id),
        });
    },
    /** Remove functionGraphExecutionOutput from cache */ functionGraphExecutionOutput: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: functionGraphExecutionOutputKeys.detail(id),
        });
    },
    /** Remove infraCommit from cache */ infraCommit: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: infraCommitKeys.detail(id),
        });
    },
    /** Remove functionGraphCommit from cache */ functionGraphCommit: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: functionGraphCommitKeys.detail(id),
        });
    },
    /** Remove functionExecutionLog from cache */ functionExecutionLog: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: functionExecutionLogKeys.detail(id),
        });
    },
    /** Remove platformResourcesResolvedRequirement from cache */ platformResourcesResolvedRequirement: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: platformResourcesResolvedRequirementKeys.detail(id),
        });
    },
    /** Remove resourcesResolvedRequirement from cache */ resourcesResolvedRequirement: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: resourcesResolvedRequirementKeys.detail(id),
        });
    },
    /** Remove dbPreset from cache */ dbPreset: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: dbPresetKeys.detail(id),
        });
    },
    /** Remove platformNamespace from cache */ platformNamespace: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: platformNamespaceKeys.detail(id),
        });
    },
    /** Remove functionGraph from cache */ functionGraph: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: functionGraphKeys.detail(id),
        });
    },
    /** Remove functionGraphExecutionNodeState from cache */ functionGraphExecutionNodeState: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: functionGraphExecutionNodeStateKeys.detail(id),
        });
    },
    /** Remove namespace from cache */ namespace: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: namespaceKeys.detail(id),
        });
    },
    /** Remove platformFunctionInvocation from cache */ platformFunctionInvocation: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: platformFunctionInvocationKeys.detail(id),
        });
    },
    /** Remove functionInvocation from cache */ functionInvocation: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: functionInvocationKeys.detail(id),
        });
    },
    /** Remove platformNamespaceEvent from cache */ platformNamespaceEvent: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: platformNamespaceEventKeys.detail(id),
        });
    },
    /** Remove integrationProvider from cache */ integrationProvider: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: integrationProviderKeys.detail(id),
        });
    },
    /** Remove namespaceEvent from cache */ namespaceEvent: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: namespaceEventKeys.detail(id),
        });
    },
    /** Remove functionGraphExecution from cache */ functionGraphExecution: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: functionGraphExecutionKeys.detail(id),
        });
    },
    /** Remove platformFunctionDefinition from cache */ platformFunctionDefinition: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: platformFunctionDefinitionKeys.detail(id),
        });
    },
    /** Remove functionDefinition from cache */ functionDefinition: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: functionDefinitionKeys.detail(id),
        });
    },
};
