New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@maxim_mazurok/gapi.client.sheets-v4

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maxim_mazurok/gapi.client.sheets-v4 - npm Package Compare versions

Comparing version 0.0.20231114 to 0.0.20231128

12

package.json
{
"name": "@maxim_mazurok/gapi.client.sheets-v4",
"version": "0.0.20231114",
"version": "0.0.20231128",
"description": "TypeScript typings for Google Sheets API v4",
"repository": {
"type": "git",
"url": "https://github.com/Maxim-Mazurok/google-api-typings-generator.git"
},
"license": "MIT",
"author": {
"name": "Maxim Mazurok",
"email": "maxim@mazurok.com",
"name": "Maxim Mazurok",
"url": "https://maxim.mazurok.com"
},
"repository": {
"type": "git",
"url": "https://github.com/Maxim-Mazurok/google-api-typings-generator.git"
},
"types": "index.d.ts",

@@ -16,0 +16,0 @@ "dependencies": {

@@ -28,6 +28,9 @@ # TypeScript typings for Google Sheets API v4

```typescript
gapi.client.load('https://sheets.googleapis.com/$discovery/rest?version=v4', () => {
// now we can use:
// gapi.client.sheets
});
gapi.client.load(
'https://sheets.googleapis.com/$discovery/rest?version=v4',
() => {
// now we can use:
// gapi.client.sheets
}
);
```

@@ -49,29 +52,30 @@

scope = [
// See, edit, create, and delete all of your Google Drive files
'https://www.googleapis.com/auth/drive',
// See, edit, create, and delete all of your Google Drive files
'https://www.googleapis.com/auth/drive',
// See, edit, create, and delete only the specific Google Drive files you use with this app
'https://www.googleapis.com/auth/drive.file',
// See, edit, create, and delete only the specific Google Drive files you use with this app
'https://www.googleapis.com/auth/drive.file',
// See and download all your Google Drive files
'https://www.googleapis.com/auth/drive.readonly',
// See and download all your Google Drive files
'https://www.googleapis.com/auth/drive.readonly',
// See, edit, create, and delete all your Google Sheets spreadsheets
'https://www.googleapis.com/auth/spreadsheets',
// See, edit, create, and delete all your Google Sheets spreadsheets
'https://www.googleapis.com/auth/spreadsheets',
// See all your Google Sheets spreadsheets
'https://www.googleapis.com/auth/spreadsheets.readonly',
],
immediate = true;
// See all your Google Sheets spreadsheets
'https://www.googleapis.com/auth/spreadsheets.readonly',
],
immediate = true;
// ...
gapi.auth.authorize(
{ client_id: client_id, scope: scope, immediate: immediate },
{client_id: client_id, scope: scope, immediate: immediate},
authResult => {
if (authResult && !authResult.error) {
/* handle successful authorization */
/* handle successful authorization */
} else {
/* handle authorization error */
/* handle authorization error */
}
});
}
);
```

@@ -82,7 +86,8 @@

```typescript
/*
Applies one or more updates to the spreadsheet. Each request is validated before being applied. If any request is not valid then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. The replies will mirror the requests. For example, if you applied 4 updates and the 3rd one had a reply, then the response will have 2 empty replies, the actual reply, and another empty reply, in that order. Due to the collaborative nature of spreadsheets, it is not guaranteed that the spreadsheet will reflect exactly your changes after this completes, however it is guaranteed that the updates in the request will be applied together atomically. Your changes may be altered with respect to collaborator changes. If there are no collaborators, the spreadsheet should reflect your changes.
*/
await gapi.client.sheets.spreadsheets.batchUpdate({ spreadsheetId: "spreadsheetId", });
await gapi.client.sheets.spreadsheets.batchUpdate({
spreadsheetId: 'spreadsheetId',
});

@@ -92,3 +97,3 @@ /*

*/
await gapi.client.sheets.spreadsheets.create({ });
await gapi.client.sheets.spreadsheets.create({});

@@ -98,3 +103,3 @@ /*

*/
await gapi.client.sheets.spreadsheets.get({ spreadsheetId: "spreadsheetId", });
await gapi.client.sheets.spreadsheets.get({spreadsheetId: 'spreadsheetId'});

@@ -104,3 +109,5 @@ /*

*/
await gapi.client.sheets.spreadsheets.getByDataFilter({ spreadsheetId: "spreadsheetId", });
await gapi.client.sheets.spreadsheets.getByDataFilter({
spreadsheetId: 'spreadsheetId',
});
```

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc