Skip to content

Instantly share code, notes, and snippets.

@liampmccabe
Created February 10, 2025 15:11
Show Gist options
  • Select an option

  • Save liampmccabe/3c45d3d18042a607d20935dac9863f71 to your computer and use it in GitHub Desktop.

Select an option

Save liampmccabe/3c45d3d18042a607d20935dac9863f71 to your computer and use it in GitHub Desktop.
export interface SheetResponse {
range: string;
majorDimension: 'ROWS' | 'COLUMNS';
values: string[][];
}
export const mockBroadbandData: SheetResponse = {
range: 'Broadband!A2:E50',
majorDimension: 'ROWS',
values: [
// Headers row
["Provider", "Speed", "Percentage Increase", "Additional Increase", "Effective Date"],
// Data rows
["KCOM", "30mb", "3.0", "", "2025-04-01"],
["KCOM", "100mb", "3.9", "", "2025-04-01"],
["BT", "all", "3.9", "3.7", "2025-04-01"],
["EE", "all", "3.0", "", "2025-04-01"],
["Vodafone", "all", "3.9", "3.7", "2025-04-01"],
["TalkTalk", "all", "3.9", "3.7", "2025-04-01"],
["Sky", "all", "3.9", "3.7", "2025-04-01"],
["Virgin Media", "all", "3.9", "3.7", "2025-04-01"],
["Hyperoptic", "all", "", "", "2025-04-01"]
]
};
export const mockMobileData: SheetResponse = {
range: 'Mobile!A2:E50',
majorDimension: 'ROWS',
values: [
// Headers row
["Provider", "Plan Type", "Percentage Increase", "Additional Increase", "Effective Date"],
// Data rows
["EE", "all", "7.9", "", "2025-04-01"],
["O2", "all", "7.9", "", "2025-04-01"],
["Three", "all", "7.9", "", "2025-04-01"],
["Vodafone", "all", "7.9", "", "2025-04-01"],
["Virgin Mobile", "all", "7.9", "", "2025-04-01"],
["Tesco Mobile", "all", "", "", "2025-04-01"],
["GiffGaff", "all", "", "", "2025-04-01"],
["Sky Mobile", "all", "", "", "2025-04-01"],
["VOXI", "all", "7.9", "", "2025-04-01"],
["Lebara", "all", "", "", "2025-04-01"]
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment