/**
 * 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 objectMutationKeys = {
    /** All object mutation keys */ all: ['mutation', 'object'],
    /** Create object mutation key */ create: () => ['mutation', 'object', 'create'],
    /** Update object mutation key */ update: (id) => ['mutation', 'object', 'update', id],
    /** Delete object mutation key */ delete: (id) => ['mutation', 'object', 'delete', id],
};
export const refMutationKeys = {
    /** All ref mutation keys */ all: ['mutation', 'ref'],
    /** Create ref mutation key */ create: () => ['mutation', 'ref', 'create'],
    /** Update ref mutation key */ update: (id) => ['mutation', 'ref', 'update', id],
    /** Delete ref mutation key */ delete: (id) => ['mutation', 'ref', 'delete', id],
};
export const storeMutationKeys = {
    /** All store mutation keys */ all: ['mutation', 'store'],
    /** Create store mutation key */ create: () => ['mutation', 'store', 'create'],
    /** Update store mutation key */ update: (id) => ['mutation', 'store', 'update', id],
    /** Delete store mutation key */ delete: (id) => ['mutation', 'store', 'delete', id],
};
export const commitMutationKeys = {
    /** All commit mutation keys */ all: ['mutation', 'commit'],
    /** Create commit mutation key */ create: () => ['mutation', 'commit', 'create'],
    /** Update commit mutation key */ update: (id) => ['mutation', 'commit', 'update', id],
    /** Delete commit mutation key */ delete: (id) => ['mutation', 'commit', 'delete', id],
};
// ============================================================================
// Custom Mutation Keys
// ============================================================================
export const customMutationKeys = {
    /** Mutation key for freezeObjects */ freezeObjects: (identifier) => identifier
        ? ['mutation', 'freezeObjects', identifier]
        : ['mutation', 'freezeObjects'],
    /** Mutation key for initEmptyRepo */ initEmptyRepo: (identifier) => identifier
        ? ['mutation', 'initEmptyRepo', identifier]
        : ['mutation', 'initEmptyRepo'],
    /** Mutation key for removeNodeAtPath */ removeNodeAtPath: (identifier) => identifier
        ? ['mutation', 'removeNodeAtPath', identifier]
        : ['mutation', 'removeNodeAtPath'],
    /** Mutation key for setDataAtPath */ setDataAtPath: (identifier) => identifier
        ? ['mutation', 'setDataAtPath', identifier]
        : ['mutation', 'setDataAtPath'],
    /** Mutation key for setPropsAndCommit */ setPropsAndCommit: (identifier) => identifier
        ? ['mutation', 'setPropsAndCommit', identifier]
        : ['mutation', 'setPropsAndCommit'],
    /** Mutation key for insertNodeAtPath */ insertNodeAtPath: (identifier) => identifier
        ? ['mutation', 'insertNodeAtPath', identifier]
        : ['mutation', 'insertNodeAtPath'],
    /** Mutation key for updateNodeAtPath */ updateNodeAtPath: (identifier) => identifier
        ? ['mutation', 'updateNodeAtPath', identifier]
        : ['mutation', 'updateNodeAtPath'],
    /** Mutation key for setAndCommit */ setAndCommit: (identifier) => identifier
        ? ['mutation', 'setAndCommit', identifier]
        : ['mutation', 'setAndCommit'],
    /** Mutation key for requestUploadUrl */ requestUploadUrl: (identifier) => identifier
        ? ['mutation', 'requestUploadUrl', identifier]
        : ['mutation', 'requestUploadUrl'],
    /** 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,
    object: objectMutationKeys,
    ref: refMutationKeys,
    store: storeMutationKeys,
    commit: commitMutationKeys,
    custom: customMutationKeys,
};
