@markjaquith/agency 3.5.2 → 3.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,6 +6,7 @@ export interface Choice<T> {
6
6
  readonly plainLabel?: string
7
7
  readonly depth?: number
8
8
  readonly segments?: readonly ChoiceSegment[]
9
+ readonly details?: ChoiceDetails
9
10
  readonly value: T
10
11
  }
11
12
 
@@ -14,6 +15,12 @@ export interface ChoiceSegment {
14
15
  readonly color?: string
15
16
  }
16
17
 
18
+ export interface ChoiceDetails {
19
+ readonly title: readonly ChoiceSegment[]
20
+ readonly metadata: readonly ChoiceSegment[]
21
+ readonly description: string
22
+ }
23
+
17
24
  export type ChooserErrorReason =
18
25
  | "invalid-choices"
19
26
  | "input-unavailable"