@types/google-apps-script
Advanced tools
Comparing version 0.0.35 to 0.0.36
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2018-12-26 | ||
// Type definitions for Google Apps Script 2019-01-23 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -287,5 +287,3 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
* | ||
* // Log a JSON object at a DEBUG level. The log is labeled | ||
* // with the message string in the log viewer, and the JSON content | ||
* // is displayed in the expanded log structure under "structPayload". | ||
* // Log a JSON object at a DEBUG level. Writes the stringified object to the log. | ||
* var parameters = { | ||
@@ -296,3 +294,3 @@ * isValid: true, | ||
* }; | ||
* console.log({message: 'Function Input', initialData: parameters}); | ||
* console.log(parameters); | ||
* | ||
@@ -299,0 +297,0 @@ * var label = 'myFunction() time'; // Labels the timing log entry. |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2018-07-11 | ||
// Type definitions for Google Apps Script 2019-01-23 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -47,2 +47,5 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
* user-specific, like settings or recent activity. | ||
* | ||
* The data you write to the cache is not guaranteed to persist until its expiration time. You | ||
* must be prepared to get back null from all reads. | ||
*/ | ||
@@ -49,0 +52,0 @@ export interface CacheService { |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-01-06 | ||
// Type definitions for Google Apps Script 2019-01-23 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -16,2 +16,7 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
/** | ||
* An enum that defines the authentication types that can be set for a connector. | ||
*/ | ||
export enum AuthType { NONE, OAUTH2, USER_PASS, KEY, USER_TOKEN } | ||
/** | ||
* Contains checkbox information for the config. Its properties determine how the checkbox is | ||
@@ -51,5 +56,7 @@ * displayed in Data Studio. | ||
AggregationType: typeof AggregationType; | ||
AuthType: typeof AuthType; | ||
FieldType: typeof FieldType; | ||
getConfig(): Config; | ||
getFields(): Fields; | ||
newAuthTypeResponse(): GetAuthTypeResponse; | ||
newDebugError(): DebugError; | ||
@@ -172,2 +179,22 @@ newUserError(): UserError; | ||
/** | ||
* Builder to create a getAuthType() response for your script project. | ||
* | ||
* function getAuthType() { | ||
* var cc = DataStudioApp.createCommunityConnector(); | ||
* var authTypes = cc.AuthType; | ||
* | ||
* return cc.newGetAuthTypeResponse() | ||
* .setAuthType(authTypes.USER_PASS) | ||
* .setHelpUrl("https://www.example.org/connector-auth-help") | ||
* .build(); | ||
* } | ||
*/ | ||
export interface GetAuthTypeResponse { | ||
build(): Object; | ||
printJson(): string; | ||
setAuthType(authType: AuthType): GetAuthTypeResponse; | ||
setHelpUrl(helpUrl: string): GetAuthTypeResponse; | ||
} | ||
/** | ||
* Contains info data for the config. Its properties determine how the info is displayed in Data | ||
@@ -180,3 +207,3 @@ * Studio. | ||
* var info1 = config.newInfo() | ||
* .setName("info1") | ||
* .setId("info1") | ||
* .setText("This text gives some context on the configuration."); | ||
@@ -183,0 +210,0 @@ */ |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2018-07-11 | ||
// Type definitions for Google Apps Script 2019-01-23 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -14,3 +14,4 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
* | ||
* Note that an Attachment is a Blob and can be used anywhere Blob input is expected. A rebuilt | ||
* Note that an Attachment is a Blob and can be used anywhere Blob input is expected. | ||
* A rebuilt | ||
* version of Sites was launched on November 22, 2016. Apps Script cannot currently access or | ||
@@ -48,3 +49,4 @@ * modify Sites made with this version, but script can still access | ||
/** | ||
* A typesafe enum for sites attachment type. A rebuilt | ||
* A typesafe enum for sites attachment type. | ||
* A rebuilt | ||
* version of Sites was launched on November 22, 2016. Apps Script cannot currently access or | ||
@@ -57,3 +59,4 @@ * modify Sites made with this version, but script can still access | ||
/** | ||
* A Sites Column - a column from a Sites List page. A rebuilt | ||
* A Sites Column - a column from a Sites List page. | ||
* A rebuilt | ||
* version of Sites was launched on November 22, 2016. Apps Script cannot currently access or | ||
@@ -71,3 +74,4 @@ * modify Sites made with this version, but script can still access | ||
/** | ||
* A Comment attached to any Sites page. A rebuilt | ||
* A Comment attached to any Sites page. | ||
* A rebuilt | ||
* version of Sites was launched on November 22, 2016. Apps Script cannot currently access or | ||
@@ -90,3 +94,4 @@ * modify Sites made with this version, but script can still access | ||
/** | ||
* A Sites ListItem - a list element from a Sites List page. A rebuilt | ||
* A Sites ListItem - a list element from a Sites List page. | ||
* A rebuilt | ||
* version of Sites was launched on November 22, 2016. Apps Script cannot currently access or | ||
@@ -109,3 +114,4 @@ * modify Sites made with this version, but script can still access | ||
/** | ||
* A Page on a Google Site. A rebuilt | ||
* A Page on a Google Site. | ||
* A rebuilt | ||
* version of Sites was launched on November 22, 2016. Apps Script cannot currently access or | ||
@@ -171,3 +177,4 @@ * modify Sites made with this version, but script can still access | ||
/** | ||
* A typesafe enum for sites page type. A rebuilt | ||
* A typesafe enum for sites page type. | ||
* A rebuilt | ||
* version of Sites was launched on November 22, 2016. Apps Script cannot currently access or | ||
@@ -180,3 +187,4 @@ * modify Sites made with this version, but script can still access | ||
/** | ||
* An object representing a Google Site. A rebuilt | ||
* An object representing a Google Site. | ||
* A rebuilt | ||
* version of Sites was launched on November 22, 2016. Apps Script cannot currently access or | ||
@@ -249,3 +257,4 @@ * modify Sites made with this version, but script can still access | ||
/** | ||
* Create and access Google Sites. A rebuilt | ||
* Create and access Google Sites. | ||
* A rebuilt | ||
* version of Sites was launched on November 22, 2016. Apps Script cannot currently access or | ||
@@ -252,0 +261,0 @@ * modify Sites made with this version, but script can still access |
{ | ||
"name": "@types/google-apps-script", | ||
"version": "0.0.35", | ||
"version": "0.0.36", | ||
"description": "TypeScript definitions for google-apps-script", | ||
@@ -26,4 +26,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "3a2e229da7f0409a764c038ca7c416579139a62b58086315a190bd0a986dc615", | ||
"typesPublisherContentHash": "51fed79e8cc15bb54e432a27f6c45e4a4731a0abff77d197953e4c5df5d95739", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 07 Jan 2019 16:45:38 GMT | ||
* Last updated: Wed, 23 Jan 2019 23:12:05 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: Browser, CacheService, CalendarApp, CardService, Charset, Charts, ContactsApp, ContentService, DataStudioApp, DigestAlgorithm, DocumentApp, DriveApp, FormApp, GmailApp, GoogleAppsScript, GroupsApp, HtmlService, Jdbc, LanguageApp, LinearOptimizationService, LockService, Logger, MacAlgorithm, MailApp, Maps, PropertiesService, RsaAlgorithm, ScriptApp, ScriptProperties, Session, SitesApp, SlidesApp, SpreadsheetApp, UiApp, UrlFetchApp, UserProperties, Utilities, XmlService, console |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
793789
17579