1
0
Fork 0
mirror of synced 2024-09-20 03:08:18 +12:00

More comments.

This commit is contained in:
Sam Rose 2024-09-09 16:45:15 +01:00
parent 1eb8c3409a
commit 9e9f14d1b7
No known key found for this signature in database

View file

@ -1,3 +1,12 @@
// In this file is a mock implementation of the Google Sheets API. It is used
// to test the Google Sheets integration, and it keeps track of a single
// spreadsheet with many sheets. It aims to be a faithful recreation of the
// Google Sheets API, but it is not a perfect recreation. Some fields are
// missing if they aren't relevant to our use of the API. It's possible that
// this will cause problems for future feature development, but the original
// development of these tests involved hitting Google's APIs directly and
// examining the responses. If we couldn't find a good example of something in
// use, it wasn't included.
import { Datasource } from "@budibase/types"
import nock from "nock"
import { GoogleSheetsConfig } from "../../googlesheets"
@ -13,6 +22,7 @@ interface Range {
column: number
}
// https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/sheets#DimensionProperties
interface DimensionProperties {
hiddenByFilter: boolean
hiddenByUser: boolean