/**
 * Centralized mutation key factory
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
// ============================================================================
// Mutation keys for tracking in-flight mutations
//
// Benefits:
// - Track mutation state with useIsMutating
// - Implement optimistic updates with proper rollback
// - Deduplicate identical mutations
// - Coordinate related mutations
// ============================================================================
// ============================================================================
// Entity Mutation Keys
// ============================================================================
export const getAllRecordMutationKeys = {
    /** All getAllRecord mutation keys */ all: ['mutation', 'getallrecord'],
    /** Create getAllRecord mutation key */ create: () => ['mutation', 'getallrecord', 'create'],
    /** Update getAllRecord mutation key */ update: (id) => ['mutation', 'getallrecord', 'update', id],
    /** Delete getAllRecord mutation key */ delete: (id) => ['mutation', 'getallrecord', 'delete', id],
};
export const functionApiBindingMutationKeys = {
    /** All functionApiBinding mutation keys */ all: ['mutation', 'functionapibinding'],
    /** Create functionApiBinding mutation key */ create: () => ['mutation', 'functionapibinding', 'create'],
    /** Update functionApiBinding mutation key */ update: (id) => ['mutation', 'functionapibinding', 'update', id],
    /** Delete functionApiBinding mutation key */ delete: (id) => ['mutation', 'functionapibinding', 'delete', id],
};
export const functionDeploymentMutationKeys = {
    /** All functionDeployment mutation keys */ all: ['mutation', 'functiondeployment'],
    /** Create functionDeployment mutation key */ create: () => ['mutation', 'functiondeployment', 'create'],
    /** Update functionDeployment mutation key */ update: (id) => ['mutation', 'functiondeployment', 'update', id],
    /** Delete functionDeployment mutation key */ delete: (id) => ['mutation', 'functiondeployment', 'delete', id],
};
export const resourceMutationKeys = {
    /** All resource mutation keys */ all: ['mutation', 'resource'],
    /** Create resource mutation key */ create: () => ['mutation', 'resource', 'create'],
    /** Update resource mutation key */ update: (id) => ['mutation', 'resource', 'update', id],
    /** Delete resource mutation key */ delete: (id) => ['mutation', 'resource', 'delete', id],
};
export const functionGraphRefMutationKeys = {
    /** All functionGraphRef mutation keys */ all: ['mutation', 'functiongraphref'],
    /** Create functionGraphRef mutation key */ create: () => ['mutation', 'functiongraphref', 'create'],
    /** Update functionGraphRef mutation key */ update: (id) => ['mutation', 'functiongraphref', 'update', id],
    /** Delete functionGraphRef mutation key */ delete: (id) => ['mutation', 'functiongraphref', 'delete', id],
};
export const functionGraphStoreMutationKeys = {
    /** All functionGraphStore mutation keys */ all: ['mutation', 'functiongraphstore'],
    /** Create functionGraphStore mutation key */ create: () => ['mutation', 'functiongraphstore', 'create'],
    /** Update functionGraphStore mutation key */ update: (id) => ['mutation', 'functiongraphstore', 'update', id],
    /** Delete functionGraphStore mutation key */ delete: (id) => ['mutation', 'functiongraphstore', 'delete', id],
};
export const functionGraphObjectMutationKeys = {
    /** All functionGraphObject mutation keys */ all: ['mutation', 'functiongraphobject'],
    /** Create functionGraphObject mutation key */ create: () => ['mutation', 'functiongraphobject', 'create'],
    /** Update functionGraphObject mutation key */ update: (id) => ['mutation', 'functiongraphobject', 'update', id],
    /** Delete functionGraphObject mutation key */ delete: (id) => ['mutation', 'functiongraphobject', 'delete', id],
};
export const functionDeploymentEventMutationKeys = {
    /** All functionDeploymentEvent mutation keys */ all: [
        'mutation',
        'functiondeploymentevent',
    ],
    /** Create functionDeploymentEvent mutation key */ create: () => ['mutation', 'functiondeploymentevent', 'create'],
    /** Update functionDeploymentEvent mutation key */ update: (id) => ['mutation', 'functiondeploymentevent', 'update', id],
    /** Delete functionDeploymentEvent mutation key */ delete: (id) => ['mutation', 'functiondeploymentevent', 'delete', id],
};
export const orgFunctionExecutionLogMutationKeys = {
    /** All orgFunctionExecutionLog mutation keys */ all: [
        'mutation',
        'orgfunctionexecutionlog',
    ],
    /** Create orgFunctionExecutionLog mutation key */ create: () => ['mutation', 'orgfunctionexecutionlog', 'create'],
    /** Update orgFunctionExecutionLog mutation key */ update: (id) => ['mutation', 'orgfunctionexecutionlog', 'update', id],
    /** Delete orgFunctionExecutionLog mutation key */ delete: (id) => ['mutation', 'orgfunctionexecutionlog', 'delete', id],
};
export const resourceEventMutationKeys = {
    /** All resourceEvent mutation keys */ all: ['mutation', 'resourceevent'],
    /** Create resourceEvent mutation key */ create: () => ['mutation', 'resourceevent', 'create'],
    /** Update resourceEvent mutation key */ update: (id) => ['mutation', 'resourceevent', 'update', id],
    /** Delete resourceEvent mutation key */ delete: (id) => ['mutation', 'resourceevent', 'delete', id],
};
export const functionGraphExecutionOutputMutationKeys = {
    /** All functionGraphExecutionOutput mutation keys */ all: [
        'mutation',
        'functiongraphexecutionoutput',
    ],
    /** Create functionGraphExecutionOutput mutation key */ create: () => ['mutation', 'functiongraphexecutionoutput', 'create'],
    /** Update functionGraphExecutionOutput mutation key */ update: (id) => ['mutation', 'functiongraphexecutionoutput', 'update', id],
    /** Delete functionGraphExecutionOutput mutation key */ delete: (id) => ['mutation', 'functiongraphexecutionoutput', 'delete', id],
};
export const functionGraphCommitMutationKeys = {
    /** All functionGraphCommit mutation keys */ all: ['mutation', 'functiongraphcommit'],
    /** Create functionGraphCommit mutation key */ create: () => ['mutation', 'functiongraphcommit', 'create'],
    /** Update functionGraphCommit mutation key */ update: (id) => ['mutation', 'functiongraphcommit', 'update', id],
    /** Delete functionGraphCommit mutation key */ delete: (id) => ['mutation', 'functiongraphcommit', 'delete', id],
};
export const secretDefinitionMutationKeys = {
    /** All secretDefinition mutation keys */ all: ['mutation', 'secretdefinition'],
    /** Create secretDefinition mutation key */ create: () => ['mutation', 'secretdefinition', 'create'],
    /** Update secretDefinition mutation key */ update: (id) => ['mutation', 'secretdefinition', 'update', id],
    /** Delete secretDefinition mutation key */ delete: (id) => ['mutation', 'secretdefinition', 'delete', id],
};
export const functionExecutionLogMutationKeys = {
    /** All functionExecutionLog mutation keys */ all: ['mutation', 'functionexecutionlog'],
    /** Create functionExecutionLog mutation key */ create: () => ['mutation', 'functionexecutionlog', 'create'],
    /** Update functionExecutionLog mutation key */ update: (id) => ['mutation', 'functionexecutionlog', 'update', id],
    /** Delete functionExecutionLog mutation key */ delete: (id) => ['mutation', 'functionexecutionlog', 'delete', id],
};
export const functionGraphMutationKeys = {
    /** All functionGraph mutation keys */ all: ['mutation', 'functiongraph'],
    /** Create functionGraph mutation key */ create: () => ['mutation', 'functiongraph', 'create'],
    /** Update functionGraph mutation key */ update: (id) => ['mutation', 'functiongraph', 'update', id],
    /** Delete functionGraph mutation key */ delete: (id) => ['mutation', 'functiongraph', 'delete', id],
};
export const functionGraphExecutionNodeStateMutationKeys = {
    /** All functionGraphExecutionNodeState mutation keys */ all: [
        'mutation',
        'functiongraphexecutionnodestate',
    ],
    /** Create functionGraphExecutionNodeState mutation key */ create: () => ['mutation', 'functiongraphexecutionnodestate', 'create'],
    /** Update functionGraphExecutionNodeState mutation key */ update: (id) => ['mutation', 'functiongraphexecutionnodestate', 'update', id],
    /** Delete functionGraphExecutionNodeState mutation key */ delete: (id) => ['mutation', 'functiongraphexecutionnodestate', 'delete', id],
};
export const platformNamespaceMutationKeys = {
    /** All platformNamespace mutation keys */ all: ['mutation', 'platformnamespace'],
    /** Create platformNamespace mutation key */ create: () => ['mutation', 'platformnamespace', 'create'],
    /** Update platformNamespace mutation key */ update: (id) => ['mutation', 'platformnamespace', 'update', id],
    /** Delete platformNamespace mutation key */ delete: (id) => ['mutation', 'platformnamespace', 'delete', id],
};
export const orgFunctionInvocationMutationKeys = {
    /** All orgFunctionInvocation mutation keys */ all: [
        'mutation',
        'orgfunctioninvocation',
    ],
    /** Create orgFunctionInvocation mutation key */ create: () => ['mutation', 'orgfunctioninvocation', 'create'],
    /** Update orgFunctionInvocation mutation key */ update: (id) => ['mutation', 'orgfunctioninvocation', 'update', id],
    /** Delete orgFunctionInvocation mutation key */ delete: (id) => ['mutation', 'orgfunctioninvocation', 'delete', id],
};
export const functionInvocationMutationKeys = {
    /** All functionInvocation mutation keys */ all: ['mutation', 'functioninvocation'],
    /** Create functionInvocation mutation key */ create: () => ['mutation', 'functioninvocation', 'create'],
    /** Update functionInvocation mutation key */ update: (id) => ['mutation', 'functioninvocation', 'update', id],
    /** Delete functionInvocation mutation key */ delete: (id) => ['mutation', 'functioninvocation', 'delete', id],
};
export const platformNamespaceEventMutationKeys = {
    /** All platformNamespaceEvent mutation keys */ all: [
        'mutation',
        'platformnamespaceevent',
    ],
    /** Create platformNamespaceEvent mutation key */ create: () => ['mutation', 'platformnamespaceevent', 'create'],
    /** Update platformNamespaceEvent mutation key */ update: (id) => ['mutation', 'platformnamespaceevent', 'update', id],
    /** Delete platformNamespaceEvent mutation key */ delete: (id) => ['mutation', 'platformnamespaceevent', 'delete', id],
};
export const functionGraphExecutionMutationKeys = {
    /** All functionGraphExecution mutation keys */ all: [
        'mutation',
        'functiongraphexecution',
    ],
    /** Create functionGraphExecution mutation key */ create: () => ['mutation', 'functiongraphexecution', 'create'],
    /** Update functionGraphExecution mutation key */ update: (id) => ['mutation', 'functiongraphexecution', 'update', id],
    /** Delete functionGraphExecution mutation key */ delete: (id) => ['mutation', 'functiongraphexecution', 'delete', id],
};
export const functionDefinitionMutationKeys = {
    /** All functionDefinition mutation keys */ all: ['mutation', 'functiondefinition'],
    /** Create functionDefinition mutation key */ create: () => ['mutation', 'functiondefinition', 'create'],
    /** Update functionDefinition mutation key */ update: (id) => ['mutation', 'functiondefinition', 'update', id],
    /** Delete functionDefinition mutation key */ delete: (id) => ['mutation', 'functiondefinition', 'delete', id],
};
// ============================================================================
// Custom Mutation Keys
// ============================================================================
export const customMutationKeys = {
    /** Mutation key for validateFunctionGraph */ validateFunctionGraph: (identifier) => identifier
        ? ['mutation', 'validateFunctionGraph', identifier]
        : ['mutation', 'validateFunctionGraph'],
    /** Mutation key for initEmptyRepo */ initEmptyRepo: (identifier) => identifier
        ? ['mutation', 'initEmptyRepo', identifier]
        : ['mutation', 'initEmptyRepo'],
    /** Mutation key for setDataAtPath */ setDataAtPath: (identifier) => identifier
        ? ['mutation', 'setDataAtPath', identifier]
        : ['mutation', 'setDataAtPath'],
    /** Mutation key for importDefinitions */ importDefinitions: (identifier) => identifier
        ? ['mutation', 'importDefinitions', identifier]
        : ['mutation', 'importDefinitions'],
    /** Mutation key for copyGraph */ copyGraph: (identifier) => identifier
        ? ['mutation', 'copyGraph', identifier]
        : ['mutation', 'copyGraph'],
    /** Mutation key for saveGraph */ saveGraph: (identifier) => identifier
        ? ['mutation', 'saveGraph', identifier]
        : ['mutation', 'saveGraph'],
    /** Mutation key for addEdgeAndSave */ addEdgeAndSave: (identifier) => identifier
        ? ['mutation', 'addEdgeAndSave', identifier]
        : ['mutation', 'addEdgeAndSave'],
    /** Mutation key for addNodeAndSave */ addNodeAndSave: (identifier) => identifier
        ? ['mutation', 'addNodeAndSave', identifier]
        : ['mutation', 'addNodeAndSave'],
    /** Mutation key for importGraphJson */ importGraphJson: (identifier) => identifier
        ? ['mutation', 'importGraphJson', identifier]
        : ['mutation', 'importGraphJson'],
    /** Mutation key for addEdge */ addEdge: (identifier) => identifier
        ? ['mutation', 'addEdge', identifier]
        : ['mutation', 'addEdge'],
    /** Mutation key for addNode */ addNode: (identifier) => identifier
        ? ['mutation', 'addNode', identifier]
        : ['mutation', 'addNode'],
    /** Mutation key for insertNodeAtPath */ insertNodeAtPath: (identifier) => identifier
        ? ['mutation', 'insertNodeAtPath', identifier]
        : ['mutation', 'insertNodeAtPath'],
    /** Mutation key for startExecution */ startExecution: (identifier) => identifier
        ? ['mutation', 'startExecution', identifier]
        : ['mutation', 'startExecution'],
    /** Mutation key for provisionBucket */ provisionBucket: (identifier) => identifier
        ? ['mutation', 'provisionBucket', identifier]
        : ['mutation', 'provisionBucket'],
};
/**

// ============================================================================
// Unified Mutation Key Store
// ============================================================================

 * Unified mutation key store
 *
 * Use this for tracking in-flight mutations with useIsMutating.
 *
 * @example
 * ```ts
 * import { useIsMutating } from '@tanstack/react-query';
 * import { mutationKeys } from './generated';
 *
 * // Check if any user mutations are in progress
 * const isMutatingUser = useIsMutating({ mutationKey: mutationKeys.user.all });
 *
 * // Check if a specific user is being updated
 * const isUpdating = useIsMutating({ mutationKey: mutationKeys.user.update(userId) });
 * ```
 */
export const mutationKeys = {
    getAllRecord: getAllRecordMutationKeys,
    functionApiBinding: functionApiBindingMutationKeys,
    functionDeployment: functionDeploymentMutationKeys,
    resource: resourceMutationKeys,
    functionGraphRef: functionGraphRefMutationKeys,
    functionGraphStore: functionGraphStoreMutationKeys,
    functionGraphObject: functionGraphObjectMutationKeys,
    functionDeploymentEvent: functionDeploymentEventMutationKeys,
    orgFunctionExecutionLog: orgFunctionExecutionLogMutationKeys,
    resourceEvent: resourceEventMutationKeys,
    functionGraphExecutionOutput: functionGraphExecutionOutputMutationKeys,
    functionGraphCommit: functionGraphCommitMutationKeys,
    secretDefinition: secretDefinitionMutationKeys,
    functionExecutionLog: functionExecutionLogMutationKeys,
    functionGraph: functionGraphMutationKeys,
    functionGraphExecutionNodeState: functionGraphExecutionNodeStateMutationKeys,
    platformNamespace: platformNamespaceMutationKeys,
    orgFunctionInvocation: orgFunctionInvocationMutationKeys,
    functionInvocation: functionInvocationMutationKeys,
    platformNamespaceEvent: platformNamespaceEventMutationKeys,
    functionGraphExecution: functionGraphExecutionMutationKeys,
    functionDefinition: functionDefinitionMutationKeys,
    custom: customMutationKeys,
};
