Skip to content

Commit

Permalink
fix: match color style field to that in google api
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusteh1238 committed Sep 14, 2023
1 parent a4633ab commit fce1605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/types/sheets-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ export type DataFilterWithoutWorksheetId = A1Range | GridRangeWithoutWorksheetId


/** @see https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/other#colorstyle */
export type ColorStyle = { Color: Color } | { themeColor: ThemeColorType };
export type ColorStyle = { rgbColor: Color } | { themeColor: ThemeColorType };
/** @see https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/other#Color */
export type Color = {
red: number,
Expand Down

0 comments on commit fce1605

Please sign in to comment.