Skip to content

Commit

Permalink
created reference interface
Browse files Browse the repository at this point in the history
  • Loading branch information
anemne committed Sep 11, 2024
1 parent 38e2fff commit 12976ec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion studio/lib/payloads/compensations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface Benefit {

export interface BenefitsByLocation {
_key: string;
location: { _ref: string; _type: string };
location: Reference;
benefits: Benefit[];
}

Expand All @@ -33,3 +33,8 @@ export interface CompensationsPage {
benefitsByLocation: BenefitsByLocation[];
showSalaryCalculator: boolean;
}

export interface Reference {
_type: "reference";
_ref: string;
}

0 comments on commit 12976ec

Please sign in to comment.