@types/google-apps-script
Advanced tools
Comparing version 1.0.38 to 1.0.39
@@ -277,2 +277,3 @@ // Type definitions for Google Apps Script 2021-01-24 | ||
newFixedFooter(): FixedFooter; | ||
newIconImage(): IconImage; | ||
newImage(): Image; | ||
@@ -339,2 +340,13 @@ newImageButton(): ImageButton; | ||
/** | ||
* A widget that shows an icon image. | ||
* | ||
* var icon = CardService.newIconImage().setAltText("A nice icon").setIconUrl("https://example.com/icon.png"); | ||
*/ | ||
interface IconImage { | ||
setAltText(altText: string): IconImage; | ||
setIcon(icon: Icon): IconImage; | ||
setIconUrl(url: string): IconImage; | ||
setImageCropType(imageCropType: ImageCropType): IconImage; | ||
} | ||
/** | ||
* A widget that shows a single image. | ||
@@ -373,2 +385,6 @@ * | ||
/** | ||
* An enum that represents the crop styles applied to image components. | ||
*/ | ||
enum ImageCropType { SQUARE, CIRCLE, RECTANGLE_CUSTOM, RECTANGLE_4_3 } | ||
/** | ||
* An enum that defines an image cropping style. | ||
@@ -808,2 +824,3 @@ */ | ||
setComposeAction(action: Action, composedEmailType: ComposedEmailType): DecoratedText; | ||
setEndIcon(endIcon: IconImage): DecoratedText; | ||
setIcon(icon: Icon): DecoratedText; | ||
@@ -815,2 +832,3 @@ setIconAltText(altText: string): DecoratedText; | ||
setOpenLink(openLink: OpenLink): DecoratedText; | ||
setStartIcon(startIcon: IconImage): DecoratedText; | ||
setSwitchControl(switchToSet: Switch): DecoratedText; | ||
@@ -817,0 +835,0 @@ setText(text: string): DecoratedText; |
{ | ||
"name": "@types/google-apps-script", | ||
"version": "1.0.38", | ||
"version": "1.0.39", | ||
"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": "6681512779af3da4265bb420d8c815105f2978f3d3cef4e3041d7a6238f7ee10", | ||
"typesPublisherContentHash": "4d2e88d72b83cee9e616d85b6b23504ecb434a67613d5d8baa7a734a7cb42db6", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sat, 23 Oct 2021 17:31:19 GMT | ||
* Last updated: Sat, 06 Nov 2021 15:31:28 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
1702833
34730