export const roleValues = [
  'fashionEnthusiast',
  'contentCreator',
  'student',
  'retailBuyer',
  'fashionDesigner',
  'brandBusiness',
  'prCommunications',
  'stylist',
  'graphicDesigner',
  'artist3d',
  'other'
] as const

export const languageValues = ['english', 'chinese'] as const


export type RoleValue = (typeof roleValues)[number]
export type LanguageValue = (typeof languageValues)[number]

export interface SettingsData {
  firstName: string
  lastName: string
  email: string
  username: string
  roles: RoleValue[]
  language: LanguageValue | ''
  region: string | ''
}

export interface SecurityDraft {
  newEmail: string
  newPassword: string
  currentPassword: string
}

export interface RoleOption {
  name: string
  value: RoleValue
}

export interface SettingOption<T extends string> {
  label: string
  value: T
}
