forked from theoephraim/node-google-spreadsheet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into junedomingo/main
* main: wiring up github action to dmno chore: release v4.1.4 add dmno and remove/encrypt test-related secrets, swap jest for vitest fix(updateProperties): getFieldMask ignore gridProperties (theoephraim#674) chore: release v4.1.3 fix bugs introduced by PRs update axios, fix new google-auth-library issue, fixes theoephraim#701 theoephraim#700 Read headers in batch on getRows() (theoephraim#693) Update authentication.md allow CI manual reruns Update FUNDING.yml use correct type in docs # Conflicts: # .gitignore # pnpm-lock.yaml
- Loading branch information
Showing
25 changed files
with
6,463 additions
and
6,197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import { DmnoBaseTypes, defineDmnoService, configPath } from 'dmno'; | ||
|
||
import { EncryptedVaultDmnoPlugin, EncryptedVaultTypes } from '@dmno/encrypted-vault-plugin'; | ||
|
||
const SecretsVault = new EncryptedVaultDmnoPlugin('vault', { | ||
key: configPath('DMNO_VAULT_KEY'), | ||
}); | ||
|
||
export default defineDmnoService({ | ||
isRoot: true, | ||
settings: { | ||
redactSensitiveLogs: true, | ||
interceptSensitiveLeakRequests: true, | ||
preventClientLeaks: true, | ||
}, | ||
schema: { | ||
DMNO_VAULT_KEY: { | ||
extends: EncryptedVaultTypes.encryptionKey, | ||
}, | ||
GOOGLE_API_KEY: { | ||
sensitive: true, | ||
required: true, | ||
value: SecretsVault.item(), | ||
}, | ||
GOOGLE_SERVICE_ACCOUNT_EMAIL: { | ||
sensitive: true, | ||
required: true, | ||
extends: DmnoBaseTypes.email, | ||
value: SecretsVault.item(), | ||
}, | ||
GOOGLE_SERVICE_ACCOUNT_KEY: { | ||
sensitive: true, | ||
required: true, | ||
value: SecretsVault.item(), | ||
coerce: (val: string) => val.replaceAll('\\n', '\n'), | ||
}, | ||
CI: { | ||
extends: 'boolean', | ||
description: 'flag to denote running tests in CI' | ||
}, | ||
TEST_DELAY: { | ||
extends: 'number', | ||
required: true, | ||
value: (ctx) => DMNO_CONFIG.CI ? 1000 : 500, | ||
} | ||
|
||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"version": "0.0.1", | ||
"keyName": "default-2024-08-31", | ||
"items": { | ||
"root!GOOGLE_SERVICE_ACCOUNT_EMAIL": { | ||
"encryptedValue": "GzfuVZ14HAtQY2omwCJv/IlQe5S3p7zkFnslFY7cFNZN6YFOF4N9b/6efvRskT+560Oh3DHtKMDz2N8luozaEOyKWW2r9MFHUTuoZN/VfY8wJD2AQqw7wCRXD/CA+1JqciRwIsSzcIRw", | ||
"updatedAt": "2024-08-31T21:40:59.749Z" | ||
}, | ||
"root!GOOGLE_SERVICE_ACCOUNT_KEY": { | ||
"encryptedValue": "n54cKou9mWEoOzWMNy613YgLfJnhdrmk5KNgJDmmFRC9X4MRueiNmKzdOQsXmdK9Fz4JNz6hiq9Wfqri2syTCjl+NOCp9H4kQEhpPX7dGw+Z4msPqsM7bsEtjmQkz8HOLlFCOVnnqoyBsOuCuS89ZlCd9bODpx0Mx6x4kXZBTlRJ+jHYEzhkD8IQL6lhuQDY9YqCFBzguHosqebjqfXBnEBXckKfBaYlit/CfW03bsdR4Qg3mWRSugk/sGyc15YKcLKcfy62Fq4x6GZ0Js663uQ1Rdgxs+uzoujB+cp2N9Lc01BLQP4LnMy55VzjUxcneVVivonhOvGGx/COaLehifP1dYFdhtWcZX8btEwaL9piYJTKcv3SsTLFLY4ngolqbMXVwnBIDmDGZZWCMDbrzNK3fuXdw2rxMK8WboBM3n4UAXC0vwoXuP41U6+8o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UJ3nyxr8weJSO93g1e01SnyTRAipuMfw94/k0Oj/Wv+wOXc1RfE8iTUzCeqYU1m/CjOFSn+S5DsWK+by4zMPMKzljf4GOBxEX9V36ZgijoM368Rq/v3jVB8JElEOjYaA1GmF+pKkSbebtUqGamCfa33s0zcTK1MZ+rNJcGS4v8C6wjkal4RGmB2OI5mXsu07fAt4f9NRZljBZhMkzWvIHXhm7t8CvBkk9LvDTn2Lb/5tq6gg4Jg/AQOalosl6u7vw+ByuksU3agv5joMpfC3VsueYF6DcM24xQuz9T2k3OOogYR7HO5QldSnbZ2mMz7KqgdrFuc60XF4zEoCFO1QBFJEX4c+fo8sBGh1BN90v5w19accvD8lCCdDvu5mlstvIiYsOujBgvz8Q4aWbywfYrkYFzHG0iccOtDEwRwJjfa9sWMy/qj4MUjiHyP6kLleCnF1sDKnKys7EHW9O2MPvSgsy/sbGEAKh69ktYxvhoQhAao4b+0XNQyOaHyt0xF2zdKCRNYzIeiDTJ8JVScQbOFNax+zb4b/lTH8xEUvdXO61IE3TtPH/rv/VTRgq8TvknfuMXY4z3ryZRJvQzeq91HSTOsh1IPfpLcEVW/MDNbx0KRiyzrOMsJ5H5CV/aRK/WRcNZyOjMsqd2SVJbgFy2Pl9D+D90BinJtjzcu+5k/UCzcf4zDY4YzYE/jhxbpowJsWwvvlm5dfJVXuFytB7boYFpdzbXuAryMX3klphoQf28x35den42Ru013F7f8jVs3hmmfG84ygJaPz1rvvaABjA+Z1qK+3ppcmXtE9giG+Mvk7G67lxoYxyJsMAYS5F27n0HpLIMmjsEAbnyLRmhyeC4=", | ||
"updatedAt": "2024-08-31T21:41:14.313Z" | ||
}, | ||
"root!GOOGLE_API_KEY": { | ||
"encryptedValue": "iniwEDUzy+Sgr53pbm7Bh0a0F9COHWQcHHfrm0GhOXKHkmuSfOIO/MNt3zkLKJ+MzktUSs3C6OgDKpfBdRD3ymeREh7K", | ||
"updatedAt": "2024-08-31T21:42:08.303Z" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"compilerOptions": { | ||
"strict": true, | ||
"moduleResolution": "Bundler", | ||
"module": "ESNext", | ||
"lib": [ "ESNext" ] | ||
}, | ||
"include": [ | ||
"./**/*.mts", | ||
"./.typegen/global.d.ts" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
github: [theoephraim] | ||
custom: ['https://paypal.me/theoephraim'] | ||
custom: ['https://buymeacoffee.com/theo.dmno'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.