import type { Accessory } from '@cacp/ui'
import type { Ref, InjectionKey, ComputedRef } from 'vue'

export type AccessoryUploaderContext = {
  downloadingList: Ref<Array<string>>
  accessoryList: ComputedRef<Array<Accessory>>
}

export const accessoryInjectionKey: InjectionKey<AccessoryUploaderContext> = Symbol('AccessoryUploader')

export enum SortOrder {
  left,
  right
}
