mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
update types for Field and Fields (#41727)
This commit is contained in:
+11
-11
@@ -151,14 +151,14 @@ declare namespace GoogleAppsScript {
|
||||
* .setGroup('DATETIME');
|
||||
*/
|
||||
interface Field {
|
||||
getAggregation(): AggregationType;
|
||||
getDescription(): string;
|
||||
getFormula(): string;
|
||||
getGroup(): string;
|
||||
getId(): string;
|
||||
getIsReaggregatable(): boolean;
|
||||
getName(): string;
|
||||
getType(): FieldType;
|
||||
getAggregation(): AggregationType | null;
|
||||
getDescription(): string | null;
|
||||
getFormula(): string | null;
|
||||
getGroup(): string | null;
|
||||
getId(): string | null;
|
||||
getIsReaggregatable(): boolean | null;
|
||||
getName(): string | null;
|
||||
getType(): FieldType | null;
|
||||
isDefault(): boolean;
|
||||
isDimension(): boolean;
|
||||
isHidden(): boolean;
|
||||
@@ -193,9 +193,9 @@ declare namespace GoogleAppsScript {
|
||||
asArray(): Field[];
|
||||
build(): any[];
|
||||
forIds(ids: string[]): Fields;
|
||||
getDefaultDimension(): Field;
|
||||
getDefaultMetric(): Field;
|
||||
getFieldById(fieldId: string): Field;
|
||||
getDefaultDimension(): Field | null;
|
||||
getDefaultMetric(): Field | null;
|
||||
getFieldById(fieldId: string): Field | null;
|
||||
newDimension(): Field;
|
||||
newMetric(): Field;
|
||||
setDefaultDimension(fieldId: string): void;
|
||||
|
||||
Reference in New Issue
Block a user