export const questionFields = {
  title: () => `title` as const,
  description: () => `description` as const,
  type: () => `type` as const,
  choices: {
    all: () => `choices` as const,
    detail: (choice: number) =>
      `${questionFields.choices.all()}.${choice}` as const,
  },
  text: () => `text` as const,
  hasExplanation: () => `hasExplanation` as const,
  explanation: () => `explanation` as const,
  points: () => `points` as const,
  attachments: () => `attachments` as const,
};
