@types/google-apps-script
Advanced tools
Comparing version 1.0.41 to 1.0.42
@@ -284,2 +284,3 @@ // Type definitions for Google Apps Script 2021-01-24 | ||
newDecoratedText(): DecoratedText; | ||
newDivider(): Divider; | ||
newDriveItemsSelectedActionResponseBuilder(): DriveItemsSelectedActionResponseBuilder; | ||
@@ -317,2 +318,3 @@ newFixedFooter(): FixedFooter; | ||
newTextParagraph(): TextParagraph; | ||
newTimePicker(): TimePicker; | ||
newUniversalActionResponseBuilder(): UniversalActionResponseBuilder; | ||
@@ -694,2 +696,21 @@ newUpdateDraftActionResponseBuilder(): UpdateDraftActionResponseBuilder; | ||
/** | ||
* An input field that allows users to input a time. | ||
* | ||
* // A time picker with default value of 3:30 PM. | ||
* var dateTimePicker = CardService.newTimePicker() | ||
* .setTitle("Enter the time.") | ||
* .setFieldName("time_field") | ||
* .setHours(15) | ||
* .setMinutes(30) | ||
* .setOnChangeAction(CardService.newAction() | ||
* .setFunctionName("handleTimeChange")); | ||
*/ | ||
interface TimePicker { | ||
setFieldName(fieldName: string): TimePicker; | ||
setHours(hours: number): TimePicker; | ||
setMinutes(hours: number): TimePicker; | ||
setOnChangeAction(action: Action): TimePicker; | ||
setTitle(title: string): TimePicker; | ||
} | ||
/** | ||
* A builder for the UniversalActionResponse objects. | ||
@@ -860,2 +881,9 @@ */ | ||
/** | ||
* A horizontal divider. | ||
*/ | ||
// tslint:disable-next-line:no-empty-interface | ||
interface Divider { | ||
} | ||
/** | ||
* An enum that represents the border types that can be applied to widgets. | ||
@@ -862,0 +890,0 @@ */ |
{ | ||
"name": "@types/google-apps-script", | ||
"version": "1.0.41", | ||
"version": "1.0.42", | ||
"description": "TypeScript definitions for google-apps-script", | ||
@@ -38,4 +38,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/google-apps-script", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "8bfbc793b7c55049f5b0b075b4dd0f83ca9ddd1b164c88a56b31145250c21fc3", | ||
"typeScriptVersion": "3.7" | ||
"typesPublisherContentHash": "2f201521a72c315852f76e8ec990e93642d4db1975e353489007e799896c177f", | ||
"typeScriptVersion": "3.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 15 Nov 2021 17:31:55 GMT | ||
* Last updated: Wed, 05 Jan 2022 17:31:31 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `AdminDirectory`, `AdminGroupsMigration`, `AdminGroupsSettings`, `AdminLicenseManager`, `AdminReports`, `AdminReseller`, `Adsense`, `Analytics`, `Analyticsreporting`, `Appsactivity`, `Bigquery`, `Browser`, `CacheService`, `Calendar`, `CalendarApp`, `CardService`, `Charset`, `Charts`, `Classroom`, `ConferenceDataService`, `ContactsApp`, `Content`, `ContentService`, `DataStudioApp`, `Date2`, `Dfareporting`, `DigestAlgorithm`, `Docs`, `DocumentApp`, `Drive`, `DriveActivity`, `DriveApp`, `FormApp`, `Gmail`, `GmailApp`, `GoogleAppsScript`, `GroupsApp`, `HtmlService`, `Jdbc`, `LanguageApp`, `LinearOptimizationService`, `LockService`, `Logger`, `MacAlgorithm`, `MailApp`, `Maps`, `Mirror`, `People`, `PropertiesService`, `RsaAlgorithm`, `ScriptApp`, `ScriptProperties`, `Session`, `Sheets`, `SitesApp`, `Slides`, `SlidesApp`, `SpreadsheetApp`, `TagManager`, `Tasks`, `UrlFetchApp`, `UserProperties`, `Utilities`, `XmlService`, `YouTube`, `YouTubeAnalytics`, `YoutubePartner`, `console` |
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
1711378
35001