export const surveysKeys = {
  all: () => ['surveys'],
  surveys: {
    all: () => [...surveysKeys.all(), 'surveys'],
    list: (params: unknown) => [...surveysKeys.surveys.all(), params],
    form: (id: number | string) => [
      ...surveysKeys.surveys.all(),
      'description',
      id,
    ],
    answer: (templateId: number | string, answerId: number | string) => [
      ...surveysKeys.surveys.all(),
      'answer',
      templateId,
      answerId,
    ],
  },
};
