From 41fcebe6be1f6351e67ebc4dd0218cd5a0e9dc63 Mon Sep 17 00:00:00 2001
From: PopGoesTheWza <32041843+PopGoesTheWza@users.noreply.github.com>
Date: Fri, 26 Apr 2019 20:19:14 +0200
Subject: [PATCH] google-apps-script: April 19, 2019 (#35011)
* FieldType enum:
HYPERLINK
IMAGE
IMAGE_LINK
* Documentation text update
---
.../google-apps-script.data-studio.d.ts | 4 +-
.../google-apps-script.jdbc.d.ts | 62 +++++++++++--------
2 files changed, 39 insertions(+), 27 deletions(-)
diff --git a/types/google-apps-script/google-apps-script.data-studio.d.ts b/types/google-apps-script/google-apps-script.data-studio.d.ts
index eb564d3c06..2f5614e343 100644
--- a/types/google-apps-script/google-apps-script.data-studio.d.ts
+++ b/types/google-apps-script/google-apps-script.data-studio.d.ts
@@ -1,4 +1,4 @@
-// Type definitions for Google Apps Script 2019-04-09
+// Type definitions for Google Apps Script 2019-04-26
// Project: https://developers.google.com/apps-script/
// Definitions by: motemen
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -180,7 +180,7 @@ declare namespace GoogleAppsScript {
/**
* An enum that defines the types that can be set for a Field.
*/
- export enum FieldType { YEAR, YEAR_QUARTER, YEAR_MONTH, YEAR_WEEK, YEAR_MONTH_DAY, YEAR_MONTH_DAY_HOUR, QUARTER, MONTH, WEEK, MONTH_DAY, DAY_OF_WEEK, DAY, HOUR, MINUTE, DURATION, COUNTRY, COUNTRY_CODE, CONTINENT, CONTINENT_CODE, SUB_CONTINENT, SUB_CONTINENT_CODE, REGION, REGION_CODE, CITY, CITY_CODE, METRO, METRO_CODE, LATITUDE_LONGITUDE, NUMBER, PERCENT, TEXT, BOOLEAN, URL, CURRENCY_AED, CURRENCY_ALL, CURRENCY_ARS, CURRENCY_AUD, CURRENCY_BDT, CURRENCY_BGN, CURRENCY_BOB, CURRENCY_BRL, CURRENCY_CAD, CURRENCY_CDF, CURRENCY_CHF, CURRENCY_CLP, CURRENCY_CNY, CURRENCY_COP, CURRENCY_CRC, CURRENCY_CZK, CURRENCY_DKK, CURRENCY_DOP, CURRENCY_EGP, CURRENCY_ETB, CURRENCY_EUR, CURRENCY_GBP, CURRENCY_HKD, CURRENCY_HRK, CURRENCY_HUF, CURRENCY_IDR, CURRENCY_ILS, CURRENCY_INR, CURRENCY_IRR, CURRENCY_ISK, CURRENCY_JMD, CURRENCY_JPY, CURRENCY_KRW, CURRENCY_LKR, CURRENCY_LTL, CURRENCY_MNT, CURRENCY_MVR, CURRENCY_MXN, CURRENCY_MYR, CURRENCY_NOK, CURRENCY_NZD, CURRENCY_PAB, CURRENCY_PEN, CURRENCY_PHP, CURRENCY_PKR, CURRENCY_PLN, CURRENCY_RON, CURRENCY_RSD, CURRENCY_RUB, CURRENCY_SAR, CURRENCY_SEK, CURRENCY_SGD, CURRENCY_THB, CURRENCY_TRY, CURRENCY_TWD, CURRENCY_TZS, CURRENCY_UAH, CURRENCY_USD, CURRENCY_UYU, CURRENCY_VEF, CURRENCY_VND, CURRENCY_YER, CURRENCY_ZAR }
+ export enum FieldType { YEAR, YEAR_QUARTER, YEAR_MONTH, YEAR_WEEK, YEAR_MONTH_DAY, YEAR_MONTH_DAY_HOUR, QUARTER, MONTH, WEEK, MONTH_DAY, DAY_OF_WEEK, DAY, HOUR, MINUTE, DURATION, COUNTRY, COUNTRY_CODE, CONTINENT, CONTINENT_CODE, SUB_CONTINENT, SUB_CONTINENT_CODE, REGION, REGION_CODE, CITY, CITY_CODE, METRO, METRO_CODE, LATITUDE_LONGITUDE, NUMBER, PERCENT, TEXT, BOOLEAN, URL, HYPERLINK, IMAGE, IMAGE_LINK, CURRENCY_AED, CURRENCY_ALL, CURRENCY_ARS, CURRENCY_AUD, CURRENCY_BDT, CURRENCY_BGN, CURRENCY_BOB, CURRENCY_BRL, CURRENCY_CAD, CURRENCY_CDF, CURRENCY_CHF, CURRENCY_CLP, CURRENCY_CNY, CURRENCY_COP, CURRENCY_CRC, CURRENCY_CZK, CURRENCY_DKK, CURRENCY_DOP, CURRENCY_EGP, CURRENCY_ETB, CURRENCY_EUR, CURRENCY_GBP, CURRENCY_HKD, CURRENCY_HRK, CURRENCY_HUF, CURRENCY_IDR, CURRENCY_ILS, CURRENCY_INR, CURRENCY_IRR, CURRENCY_ISK, CURRENCY_JMD, CURRENCY_JPY, CURRENCY_KRW, CURRENCY_LKR, CURRENCY_LTL, CURRENCY_MNT, CURRENCY_MVR, CURRENCY_MXN, CURRENCY_MYR, CURRENCY_NOK, CURRENCY_NZD, CURRENCY_PAB, CURRENCY_PEN, CURRENCY_PHP, CURRENCY_PKR, CURRENCY_PLN, CURRENCY_RON, CURRENCY_RSD, CURRENCY_RUB, CURRENCY_SAR, CURRENCY_SEK, CURRENCY_SGD, CURRENCY_THB, CURRENCY_TRY, CURRENCY_TWD, CURRENCY_TZS, CURRENCY_UAH, CURRENCY_USD, CURRENCY_UYU, CURRENCY_VEF, CURRENCY_VND, CURRENCY_YER, CURRENCY_ZAR }
/**
* Contains a set of Fields for a community connector. This set of fields define which
diff --git a/types/google-apps-script/google-apps-script.jdbc.d.ts b/types/google-apps-script/google-apps-script.jdbc.d.ts
index 9f93cf3661..e081d9c4c3 100644
--- a/types/google-apps-script/google-apps-script.jdbc.d.ts
+++ b/types/google-apps-script/google-apps-script.jdbc.d.ts
@@ -1,4 +1,4 @@
-// Type definitions for Google Apps Script 2018-07-11
+// Type definitions for Google Apps Script 2019-04-26
// Project: https://developers.google.com/apps-script/
// Definitions by: motemen
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -28,7 +28,8 @@ declare namespace GoogleAppsScript {
}
/**
- * A JDBC Array. For documentation of this class, see java.sql.Array.
+ * A JDBC Array. For documentation of this class, see java.sql.Array
+ * .
*/
export interface JdbcArray {
free(): void;
@@ -41,7 +42,8 @@ declare namespace GoogleAppsScript {
}
/**
- * A JDBC Blob. For documentation of this class, see java.sql.Blob.
+ * A JDBC Blob. For documentation of this class, see java.sql.Blob
+ * .
*/
export interface JdbcBlob {
free(): void;
@@ -59,10 +61,8 @@ declare namespace GoogleAppsScript {
}
/**
- * A JDBC CallableStatement. For documentation of this class, see java.sql.CallableStatement.
- * See also
- *
- * CallableStatement
+ * A JDBC CallableStatement. For documentation of this class, see
+ * java.sql.CallableStatement.
*/
export interface JdbcCallableStatement {
addBatch(): void;
@@ -232,7 +232,8 @@ declare namespace GoogleAppsScript {
}
/**
- * A JDBC Clob. For documentation of this class, see java.sql.Clob.
+ * A JDBC Clob. For documentation of this class, see java.sql.Clob
+ * .
*/
export interface JdbcClob {
free(): void;
@@ -250,7 +251,8 @@ declare namespace GoogleAppsScript {
}
/**
- * A JDBC Connection. For documentation of this class, see java.sql.Connection.
+ * A JDBC Connection. For documentation of this class, see
+ * java.sql.Connection.
*/
export interface JdbcConnection {
clearWarnings(): void;
@@ -297,7 +299,8 @@ declare namespace GoogleAppsScript {
}
/**
- * A JDBC DatabaseMetaData. For documentation of this class, see java.sql.DatabaseMetaData.
+ * A JDBC database metadata object. For documentation of this class, see
+ * java.sql.DatabaseMetaData.
*/
export interface JdbcDatabaseMetaData {
allProceduresAreCallable(): boolean;
@@ -475,7 +478,8 @@ declare namespace GoogleAppsScript {
}
/**
- * A JDBC Date. For documentation of this class, see java.sql.Date.
+ * A JDBC Date. For documentation of this class, see java.sql.Date
+ * .
*/
export interface JdbcDate {
after(when: JdbcDate): boolean;
@@ -491,7 +495,8 @@ declare namespace GoogleAppsScript {
}
/**
- * A JDBC ParameterMetaData. For documentation of this class, see java.sql.ParameterMetaData.
+ * A JDBC ParameterMetaData. For documentation of this class, see
+ * java.sql.ParameterMetaData.
*/
export interface JdbcParameterMetaData {
getParameterClassName(param: Integer): string;
@@ -506,7 +511,8 @@ declare namespace GoogleAppsScript {
}
/**
- * A JDBC PreparedStatement. For documentation of this class, see java.sql.PreparedStatement.
+ * A JDBC PreparedStatement. For documentation of this class, see
+ * java.sql.PreparedStatement.
*/
export interface JdbcPreparedStatement {
addBatch(): void;
@@ -598,7 +604,8 @@ declare namespace GoogleAppsScript {
}
/**
- * A JDBC ResultSet. For documentation of this class, see java.sql.ResultSet.
+ * A JDBC ResultSet. For documentation of this class, see java.sql.ResultSet
+ * .
*/
export interface JdbcResultSet {
absolute(row: Integer): boolean;
@@ -743,7 +750,8 @@ declare namespace GoogleAppsScript {
}
/**
- * A JDBC ResultSetMetaData. For documentation of this class, see java.sql.ResultSetMetaData.
+ * A JDBC ResultSetMetaData. For documentation of this class, see
+ * java.sql.ResultSetMetaData.
*/
export interface JdbcResultSetMetaData {
getCatalogName(column: Integer): string;
@@ -770,14 +778,16 @@ declare namespace GoogleAppsScript {
}
/**
- * A JDBC RowId. For documentation of this class, see java.sql.RowId.
+ * A JDBC RowId. For documentation of this class, see java.sql.RowId
+ * .
*/
export interface JdbcRowId {
getBytes(): Byte[];
}
/**
- * A JDBC SQLXML. For documentation of this class, see java.sql.SQLXML.
+ * A JDBC SQLXML. For documentation of this class, see java.sql.SQLXML
+ * .
*/
export interface JdbcSQLXML {
free(): void;
@@ -786,10 +796,8 @@ declare namespace GoogleAppsScript {
}
/**
- * A JDBC Savepoint. For documentation of this class, see java.sql.Savepoint.
- * See also
- *
- * Savepoint
+ * A JDBC Savepoint. For documentation of this class, see java.sql.Savepoint
+ * .
*/
export interface JdbcSavepoint {
getSavepointId(): Integer;
@@ -797,7 +805,8 @@ declare namespace GoogleAppsScript {
}
/**
- * A JDBC Statement. For documentation of this class, see java.sql.Statement.
+ * A JDBC Statement. For documentation of this class, see java.sql.Statement
+ * .
*/
export interface JdbcStatement {
addBatch(sql: string): void;
@@ -843,7 +852,8 @@ declare namespace GoogleAppsScript {
}
/**
- * A JDBC Struct. For documentation of this class, see java.sql.Struct.
+ * A JDBC Struct. For documentation of this class, see java.sql.Struct
+ * .
*/
export interface JdbcStruct {
getAttributes(): Object[];
@@ -851,7 +861,8 @@ declare namespace GoogleAppsScript {
}
/**
- * A JDBC Time. For documentation of this class, see java.sql.Time.
+ * A JDBC Time. For documentation of this class, see java.sql.Time
+ * .
*/
export interface JdbcTime {
after(when: JdbcTime): boolean;
@@ -867,7 +878,8 @@ declare namespace GoogleAppsScript {
}
/**
- * A JDBC Timestamp. For documentation of this class, see java.sql.Timestamp.
+ * A JDBC Timestamp. For documentation of this class, see java.sql.Timestamp
+ * .
*/
export interface JdbcTimestamp {
after(when: JdbcTimestamp): boolean;