/**
 * 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 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],
};
export const configMutationKeys = {
    /** All config mutation keys */ all: ['mutation', 'config'],
    /** Create config mutation key */ create: () => ['mutation', 'config', 'create'],
    /** Update config mutation key */ update: (id) => ['mutation', 'config', 'update', id],
    /** Delete config mutation key */ delete: (id) => ['mutation', 'config', 'delete', id],
};
export const platformInternalSecretMutationKeys = {
    /** All platformInternalSecret mutation keys */ all: [
        'mutation',
        'platforminternalsecret',
    ],
    /** Create platformInternalSecret mutation key */ create: () => ['mutation', 'platforminternalsecret', 'create'],
    /** Update platformInternalSecret mutation key */ update: (id) => ['mutation', 'platforminternalsecret', 'update', id],
    /** Delete platformInternalSecret mutation key */ delete: (id) => ['mutation', 'platforminternalsecret', 'delete', id],
};
export const platformSecretMutationKeys = {
    /** All platformSecret mutation keys */ all: ['mutation', 'platformsecret'],
    /** Create platformSecret mutation key */ create: () => ['mutation', 'platformsecret', 'create'],
    /** Update platformSecret mutation key */ update: (id) => ['mutation', 'platformsecret', 'update', id],
    /** Delete platformSecret mutation key */ delete: (id) => ['mutation', 'platformsecret', 'delete', id],
};
export const secretMutationKeys = {
    /** All secret mutation keys */ all: ['mutation', 'secret'],
    /** Create secret mutation key */ create: () => ['mutation', 'secret', 'create'],
    /** Update secret mutation key */ update: (id) => ['mutation', 'secret', 'update', id],
    /** Delete secret mutation key */ delete: (id) => ['mutation', 'secret', 'delete', id],
};
// ============================================================================
// Custom Mutation Keys
// ============================================================================
export const customMutationKeys = {
    /** Mutation key for platformInternalSecretsDel */ platformInternalSecretsDel: (identifier) => identifier
        ? ['mutation', 'platformInternalSecretsDel', identifier]
        : ['mutation', 'platformInternalSecretsDel'],
    /** Mutation key for platformSecretsDel */ platformSecretsDel: (identifier) => identifier
        ? ['mutation', 'platformSecretsDel', identifier]
        : ['mutation', 'platformSecretsDel'],
    /** Mutation key for _secretsDel */ _secretsDel: (identifier) => identifier
        ? ['mutation', '_secretsDel', identifier]
        : ['mutation', '_secretsDel'],
    /** Mutation key for platformInternalSecretsRemoveArray */ platformInternalSecretsRemoveArray: (identifier) => identifier
        ? ['mutation', 'platformInternalSecretsRemoveArray', identifier]
        : ['mutation', 'platformInternalSecretsRemoveArray'],
    /** Mutation key for platformSecretsRemoveArray */ platformSecretsRemoveArray: (identifier) => identifier
        ? ['mutation', 'platformSecretsRemoveArray', identifier]
        : ['mutation', 'platformSecretsRemoveArray'],
    /** Mutation key for _secretsRemoveArray */ _secretsRemoveArray: (identifier) => identifier
        ? ['mutation', '_secretsRemoveArray', identifier]
        : ['mutation', '_secretsRemoveArray'],
    /** Mutation key for platformInternalSecretsRotate */ platformInternalSecretsRotate: (identifier) => identifier
        ? ['mutation', 'platformInternalSecretsRotate', identifier]
        : ['mutation', 'platformInternalSecretsRotate'],
    /** Mutation key for platformInternalSecretsSet */ platformInternalSecretsSet: (identifier) => identifier
        ? ['mutation', 'platformInternalSecretsSet', identifier]
        : ['mutation', 'platformInternalSecretsSet'],
    /** Mutation key for platformSecretsRotate */ platformSecretsRotate: (identifier) => identifier
        ? ['mutation', 'platformSecretsRotate', identifier]
        : ['mutation', 'platformSecretsRotate'],
    /** Mutation key for _secretsRotate */ _secretsRotate: (identifier) => identifier
        ? ['mutation', '_secretsRotate', identifier]
        : ['mutation', '_secretsRotate'],
    /** Mutation key for platformSecretsSet */ platformSecretsSet: (identifier) => identifier
        ? ['mutation', 'platformSecretsSet', identifier]
        : ['mutation', 'platformSecretsSet'],
    /** Mutation key for _secretsSet */ _secretsSet: (identifier) => identifier
        ? ['mutation', '_secretsSet', identifier]
        : ['mutation', '_secretsSet'],
    /** 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 = {
    platformConfig: platformConfigMutationKeys,
    config: configMutationKeys,
    platformInternalSecret: platformInternalSecretMutationKeys,
    platformSecret: platformSecretMutationKeys,
    secret: secretMutationKeys,
    custom: customMutationKeys,
};
