import { type ListLearningCertificatesParams } from './types';

export const learningCertificatesKeys = {
  all: () => ['learning-certificates'],
  list: {
    all: () => [...learningCertificatesKeys.all(), 'list'],
    paginated: (params: ListLearningCertificatesParams) => [
      ...learningCertificatesKeys.list.all(),
      params,
    ],
  },
  detail: (id: number) => [...learningCertificatesKeys.all(), 'detail', id],
};
