diff --git a/studio/lib/payloads/compensations.ts b/studio/lib/payloads/compensations.ts index ed41adee4..17cd313da 100644 --- a/studio/lib/payloads/compensations.ts +++ b/studio/lib/payloads/compensations.ts @@ -10,7 +10,7 @@ export interface Benefit { export interface BenefitsByLocation { _key: string; - location: { _ref: string; _type: string }; + location: Reference; benefits: Benefit[]; } @@ -33,3 +33,8 @@ export interface CompensationsPage { benefitsByLocation: BenefitsByLocation[]; showSalaryCalculator: boolean; } + +export interface Reference { + _type: "reference"; + _ref: string; +}