From 12976ec6ce45db69c48322bd90560a6c8ebd2817 Mon Sep 17 00:00:00 2001 From: Ane Date: Wed, 11 Sep 2024 14:42:59 +0200 Subject: [PATCH] created reference interface --- studio/lib/payloads/compensations.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; +}