mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
google-apps-script May 20, 2019 update (#35597)
* FieldType enum: HYPERLINK IMAGE IMAGE_LINK * Documentation text update * May 3, 2019 * May 20, 2019 * fixed?
This commit is contained in:
committed by
Ryan Cavanaugh
parent
5483c8c4f4
commit
e01d6e7abb
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Google Apps Script 2019-04-09
|
||||
// Type definitions for Google Apps Script 2019-05-20
|
||||
// Project: https://developers.google.com/apps-script/
|
||||
// Definitions by: motemen <https://github.com/motemen/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -388,7 +388,7 @@ declare namespace GoogleAppsScript {
|
||||
* var multilineKeyValue = CardService.newKeyValue()
|
||||
* .setTopLabel("Top label - single line)")
|
||||
* .setContent("Content can be multiple lines")
|
||||
* .setMultiline(true)
|
||||
* .setMultiline(true)
|
||||
* .setBottomLabel("Bottom label - single line");
|
||||
*/
|
||||
export interface KeyValue {
|
||||
@@ -444,11 +444,6 @@ declare namespace GoogleAppsScript {
|
||||
setText(text: string): Notification;
|
||||
}
|
||||
|
||||
/**
|
||||
* Type of notification to show.
|
||||
*/
|
||||
export enum NotificationType { INFO, ERROR, WARNING }
|
||||
|
||||
/**
|
||||
* An enum that specifies what to do when a URL opened through an OpenLink is closed.
|
||||
*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Google Apps Script 2019-04-26
|
||||
// Type definitions for Google Apps Script 2019-05-20
|
||||
// Project: https://developers.google.com/apps-script/
|
||||
// Definitions by: motemen <https://github.com/motemen/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -78,7 +78,7 @@ declare namespace GoogleAppsScript {
|
||||
*
|
||||
* fields.newMetric()
|
||||
* .setAggregation(aggregationType.AVG)
|
||||
* .setFieldType(fieldType.CURRENCY_USD);
|
||||
* .setType(fieldType.CURRENCY_USD);
|
||||
*/
|
||||
export interface CommunityConnector {
|
||||
AggregationType: typeof AggregationType;
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Google Apps Script 2018-12-26
|
||||
// Type definitions for Google Apps Script 2019-05-20
|
||||
// Project: https://developers.google.com/apps-script/
|
||||
// Definitions by: motemen <https://github.com/motemen/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -204,7 +204,7 @@ declare namespace GoogleAppsScript {
|
||||
* A comma-separated list of email addresses to BCC.
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* A user-created label in a user's Gmail account.
|
||||
*/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Google Apps Script 2018-07-11
|
||||
// Type definitions for Google Apps Script 2019-05-20
|
||||
// Project: https://developers.google.com/apps-script/
|
||||
// Definitions by: motemen <https://github.com/motemen/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -84,9 +84,11 @@ declare namespace GoogleAppsScript {
|
||||
*/
|
||||
export interface LinearOptimizationEngine {
|
||||
addConstraint(lowerBound: Number, upperBound: Number): LinearOptimizationConstraint;
|
||||
addConstraints(lowerBounds: Number[], upperBounds: Number[], variableNames: string[][], coefficients: Number[][]): LinearOptimizationEngine;
|
||||
addVariable(name: string, lowerBound: Number, upperBound: Number): LinearOptimizationEngine;
|
||||
addVariable(name: string, lowerBound: Number, upperBound: Number, type: VariableType): LinearOptimizationEngine;
|
||||
addVariable(name: string, lowerBound: Number, upperBound: Number, type: VariableType, objectiveCoefficient: Number): LinearOptimizationEngine;
|
||||
addVariables(names: string[], lowerBounds: Number[], upperBounds: Number[], types: VariableType[], objectiveCoefficients: Number[]): LinearOptimizationEngine;
|
||||
setMaximization(): LinearOptimizationEngine;
|
||||
setMinimization(): LinearOptimizationEngine;
|
||||
setObjectiveCoefficient(variableName: string, coefficient: Number): LinearOptimizationEngine;
|
||||
|
||||
Reference in New Issue
Block a user