/**
 * 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 platformConfigDefinitionMutationKeys = {
    /** All platformConfigDefinition mutation keys */ all: [
        'mutation',
        'platformconfigdefinition',
    ],
    /** Create platformConfigDefinition mutation key */ create: () => ['mutation', 'platformconfigdefinition', 'create'],
    /** Update platformConfigDefinition mutation key */ update: (id) => ['mutation', 'platformconfigdefinition', 'update', id],
    /** Delete platformConfigDefinition mutation key */ delete: (id) => ['mutation', 'platformconfigdefinition', 'delete', id],
};
export const platformConfigMutationKeys = {
    /** All platformConfig mutation keys */ all: ['mutation', 'platformconfig'],
    /** Create platformConfig mutation key */ create: () => ['mutation', 'platformconfig', 'create'],
    /** Update platformConfig mutation key */ update: (id) => ['mutation', 'platformconfig', 'update', id],
    /** Delete platformConfig mutation key */ delete: (id) => ['mutation', 'platformconfig', 'delete', id],
};
// ============================================================================
// Custom Mutation Keys
// ============================================================================
export const customMutationKeys = {
    /** Mutation key for platformSecretsDel */ platformSecretsDel: (identifier) => identifier
        ? ['mutation', 'platformSecretsDel', identifier]
        : ['mutation', 'platformSecretsDel'],
    /** Mutation key for orgSecretsDel */ orgSecretsDel: (identifier) => identifier
        ? ['mutation', 'orgSecretsDel', identifier]
        : ['mutation', 'orgSecretsDel'],
    /** Mutation key for platformSecretsRemoveArray */ platformSecretsRemoveArray: (identifier) => identifier
        ? ['mutation', 'platformSecretsRemoveArray', identifier]
        : ['mutation', 'platformSecretsRemoveArray'],
    /** Mutation key for orgSecretsRemoveArray */ orgSecretsRemoveArray: (identifier) => identifier
        ? ['mutation', 'orgSecretsRemoveArray', identifier]
        : ['mutation', 'orgSecretsRemoveArray'],
    /** Mutation key for platformSecretsRotate */ platformSecretsRotate: (identifier) => identifier
        ? ['mutation', 'platformSecretsRotate', identifier]
        : ['mutation', 'platformSecretsRotate'],
    /** Mutation key for platformSecretsSet */ platformSecretsSet: (identifier) => identifier
        ? ['mutation', 'platformSecretsSet', identifier]
        : ['mutation', 'platformSecretsSet'],
    /** Mutation key for orgSecretsRotate */ orgSecretsRotate: (identifier) => identifier
        ? ['mutation', 'orgSecretsRotate', identifier]
        : ['mutation', 'orgSecretsRotate'],
    /** Mutation key for orgSecretsSet */ orgSecretsSet: (identifier) => identifier
        ? ['mutation', 'orgSecretsSet', identifier]
        : ['mutation', 'orgSecretsSet'],
    /** 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 = {
    platformConfigDefinition: platformConfigDefinitionMutationKeys,
    platformConfig: platformConfigMutationKeys,
    custom: customMutationKeys,
};
